Function at 0x1001e8a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100e6874
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
push ebp
push esi
mov ebp, ecx
mov ecx, dword [ebp + 0x20]
push edi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x24], ebp
call fcn.10017300
lea ecx, [esp + 0x10]
xor ebx, ebx
push ecx
mov dword [esp + 0x168], ebx
call fcn.100461c0
mov ecx, eax
call fcn.10047380
mov ecx, ebp
call fcn.1001ba30
mov esi, dword [0x100eb588]
test al, al
jne 0x1001e90e
push str.initCloudKitPCS_failed
push 2
push 0x100eb7cc
call esi
add esp, 0xc
mov edx, dword [ebp + 0x20]
push edx
lea ecx, [esp + 0x8c]
call fcn.100050f0
lea eax, [esp + 0x88]
push eax
mov ecx, ebp
mov byte [esp + 0x168], 1
call fcn.1001d390
test al, al
jne 0x1001e98b
push str.ClientCloudKit_doClient_failed
push 2
push 0x100eb7cc
call esi
add esp, 0xc
lea ecx, [esp + 0x88]
mov byte [esp + 0x164], 0
call fcn.10005140
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001e984
mov eax, dword [esp + 0x10]
push eax
call dword [0x100eb564]
add esp, 4
xor al, al
jmp 0x1001f5e6
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x8c]
call fcn.10017300
mov edi, dword [0x100eb560]
add ebp, 0x14
push eax
mov ecx, ebp
mov byte [esp + 0x168], 2
call edi
mov edx, dword [esp + 0x74]
mov byte [esp + 0x164], 1
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x1001e9d5
mov ecx, dword [esp + 0x74]
push ecx
call dword [0x100eb564]
add esp, 4
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x8c]
call fcn.10005230
mov esi, dword [esp + 0x20]
add esi, 0x18
push eax
mov ecx, esi
mov byte [esp + 0x168], 3
call edi
mov eax, dword [esp + 0x78]
mov byte [esp + 0x164], 1
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001ea1d
mov edx, dword [esp + 0x78]
push edx
call dword [0x100eb564]
add esp, 4
mov edi, dword [esp + 0x20]
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x10]
push ecx
lea eax, [edi + 0x1c]
push eax
push esi
push ebp
push edx
lea ecx, [esp + 0xb4]
call fcn.1000aa00
lea eax, [esp + 0xa0]
push eax
mov ecx, edi
mov byte [esp + 0x168], 4
call fcn.1001d390
test al, al
jne 0x1001ea85
push str.ClientZone_doClient_failed
push 2
push 0x100eb7cc
call dword [0x100eb588]
add esp, 0xc
lea ecx, [esp + 0xa0]
mov byte [esp + 0x164], 1
call fcn.1000aa90
jmp 0x1001e94a
lea ecx, [esp + 0x10]
push ecx
call fcn.100461c0
mov ecx, eax
call fcn.10047360
lea ecx, [esp + 0x10]
test eax, eax
jg 0x1001eaf8
lea edx, [esp + 0x4c]
push edx
call dword [0x100eb4ec]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
push eax
push str.no_zone_found_for__s
push 2
push 0x100eb7cc
call dword [0x100eb588]
mov ecx, dword [esp + 0x5c]
add esp, 0x10
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001eadf
mov eax, dword [esp + 0x4c]
push eax
call dword [0x100eb558]
add esp, 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x164], 1
call fcn.1000aa90
jmp 0x1001e94a
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.100461c0
mov ecx, eax
call fcn.100474e0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x16c], 5
call fcn.1002e530
add esp, 8
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x164], 6
mov edx, eax
inc eax
mov dword [esp + 0x2c], eax
test edx, edx
jne 0x1001f534
cmp ecx, dword [esp + 0x34]
je 0x1001f534
mov ebp, dword [ecx]
mov dword [esp + 0x9c], ebp
cmp eax, ebx
je 0x1001f070
lea eax, [ebp + 8]
push str._defaultZone
push eax
call fcn.10007590
add esp, 8
test al, al
jne 0x1001f062
mov eax, dword [0x100eb530]
mov dword [esp + 0x24], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [ebp + 4]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x168], 7
call fcn.10008860
mov edi, dword [esp + 0x20]
mov edx, dword [edi + 0x20]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
push ecx
lea eax, [edi + 0x1c]
push eax
lea eax, [edi + 0x14]
push eax
push edx
lea ecx, [esp + 0xd0]
call fcn.10007640
mov eax, dword [esp + 0x24]
mov byte [esp + 0x164], 9
cmp eax, ebx
je 0x1001ec0c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001ec0c
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.10006830
mov ecx, dword [esi]
test ecx, ecx
jne 0x1001ec0c
push esi
call dword [0x100eb558]
add esp, 4
lea edx, [esp + 0xbc]
push edx
mov ecx, edi
call fcn.1001d390
test al, al
je 0x1001f080
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
lea edi, [ebp + 0x10]
cmp ecx, dword [eax + 8]
jne 0x1001ec53
lea ecx, [esp + 0xbc]
mov byte [esp + 0x164], 6
call fcn.10007670
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
jmp 0x1001eb56
mov eax, dword [0x100eb530]
mov dword [esp + 0x14], eax
mov edx, 1
lock xadd dword [eax], edx
lea eax, [esp + 0x50]
push edi
push eax
mov byte [esp + 0x16c], 0xb
call fcn.1002e530
add esp, 8
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov byte [esp + 0x164], 0xc
jmp 0x1001ec90
mov edx, eax
inc eax
mov dword [esp + 0x54], eax
test edx, edx
jne 0x1001eccc
cmp ecx, dword [esp + 0x5c]
je 0x1001eccc
mov esi, dword [ecx]
cmp eax, ebx
je 0x1001ecbf
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x18]
call fcn.10008860
mov eax, dword [esp + 0x54]
dec eax
mov dword [esp + 0x54], eax
jmp 0x1001eca3
mov ecx, dword [esp + 0x58]
add ecx, 4
mov dword [esp + 0x58], ecx
jmp 0x1001ec90
mov eax, dword [esp + 0x50]
mov byte [esp + 0x164], 0xb
cmp eax, ebx
je 0x1001ecfd
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001ecfd
mov edx, dword [esp + 0x50]
mov eax, dword [edx]
test eax, eax
jne 0x1001ecfd
mov ecx, dword [esp + 0x50]
push ecx
call dword [0x100eb558]
add esp, 4
mov ebp, dword [esp + 0x20]
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x14]
push eax
push ecx
lea ecx, [esp + 0xf4]
call fcn.10009b00
lea edx, [esp + 0xe0]
push edx
mov ecx, ebp
mov byte [esp + 0x168], 0xd
call fcn.1001d390
test al, al
je 0x1001f1aa
lea eax, [esp + 0x38]
push edi
push eax
call fcn.1002e530
add esp, 8
mov eax, dword [esp + 0x40]
mov byte [esp + 0x164], 0xf
lea esp, [esp]
mov ecx, dword [esp + 0x3c]
mov edx, ecx
inc ecx
mov dword [esp + 0x3c], ecx
test edx, edx
jne 0x1001efba
cmp eax, dword [esp + 0x44]
je 0x1001efba
mov eax, dword [eax]
mov dword [esp + 0x84], eax
cmp dword [esp + 0x3c], ebx
je 0x1001efaa
mov edi, dword [esp + 0x84]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0xc]
add edi, 0x10
cmp ecx, dword [eax + 8]
je 0x1001efa1
lea ecx, [esp + 0x14]
call fcn.1001de20
mov esi, dword [0x100eb52c]
mov dword [esp + 0x1c], esi
lea eax, [esi + 0x34]
mov edx, 1
lock xadd dword [eax], edx
lea eax, [esp + 0x64]
push edi
push eax
mov byte [esp + 0x16c], 0x10
call fcn.1002e530
add esp, 8
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov byte [esp + 0x164], 0x11
mov edi, edi
mov edx, eax
inc eax
mov dword [esp + 0x68], eax
test edx, edx
jne 0x1001ee90
cmp ecx, dword [esp + 0x70]
je 0x1001ee90
mov ebp, dword [ecx]
jmp 0x1001ee10
cmp eax, ebx
je 0x1001ee7c
lea edi, [ebp + 0xc]
push edi
lea ecx, [esp + 0x18]
call fcn.10008860
mov eax, dword [esi + 0x34]
cmp eax, 1
je 0x1001ee32
lea ecx, [esp + 0x1c]
call fcn.1002a700
push edi
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0x24]
call fcn.10045610
mov esi, dword [esp + 0x1c]
cmp eax, esi
jne 0x1001ee6e
lea edx, [esp + 0x80]
push edx
push edi
lea eax, [esp + 0x134]
push eax
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x90], ebx
call fcn.1002a620
mov dword [eax - 4], ebp
mov eax, dword [esp + 0x68]
dec eax
mov dword [esp + 0x68], eax
jmp 0x1001ee10
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x20]
add ecx, 4
mov dword [esp + 0x6c], ecx
jmp 0x1001edf0
mov eax, dword [esp + 0x64]
mov byte [esp + 0x164], 0x10
cmp eax, ebx
je 0x1001eec5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001eec5
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
test eax, eax
jne 0x1001eec1
mov ecx, dword [esp + 0x64]
push ecx
call dword [0x100eb558]
add esp, 4
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x118]
call fcn.10009100
push ecx
mov ecx, esp
lea edi, [esi + 0x34]
mov byte [esp + 0x168], 0x12
mov dword [esp + 0x84], esp
mov dword [ecx], esi
mov edx, edi
mov eax, 1
lock xadd dword [edx], eax
mov eax, dword [ecx]
test byte [eax + 0x44], 2
jne 0x1001ef22
mov edx, dword [eax + 0x34]
cmp edx, 1
je 0x1001ef1e
call fcn.1002a700
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x108]
call fcn.100091e0
lea eax, [esp + 0x104]
push eax
mov ecx, ebp
call fcn.1001d390
test al, al
je 0x1001f33e
lea ecx, [esp + 0x104]
mov byte [esp + 0x164], 0x10
call fcn.10009150
mov byte [esp + 0x164], 0xf
cmp esi, ebx
je 0x1001efa1
or ecx, 0xffffffff
lock xadd dword [edi], ecx
jne 0x1001efa1
mov edi, dword [esi + 4]
cmp edi, esi
je 0x1001ef97
mov eax, edi
mov edi, dword [edi + 4]
mov edx, dword [eax - 8]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x1001ef93
mov edx, dword [eax - 8]
push edx
call dword [0x100eb564]
add esp, 4
cmp edi, esi
jne 0x1001ef75
push 8
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QMapData::continueFreeData_int_]
dec dword [esp + 0x3c]
jmp 0x1001ed86
mov eax, dword [esp + 0x40]
add eax, 4
mov dword [esp + 0x40], eax
jmp 0x1001ed60
mov eax, dword [esp + 0x38]
mov byte [esp + 0x164], 0xd
cmp eax, ebx
je 0x1001efeb
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001efeb
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
test eax, eax
jne 0x1001efeb
mov ecx, dword [esp + 0x38]
push ecx
call dword [0x100eb558]
add esp, 4
lea ecx, [esp + 0xe0]
mov byte [esp + 0x164], 0xb
call fcn.10009b30
mov eax, dword [esp + 0x14]
mov byte [esp + 0x164], 9
cmp eax, ebx
je 0x1001f047
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1001f047
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.10006830
mov eax, dword [esi]
test eax, eax
jne 0x1001f047
push esi
call dword [0x100eb558]
add esp, 4
lea ecx, [esp + 0xbc]
mov byte [esp + 0x164], 6
call fcn.10007670
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
jmp 0x1001eb56
mov ecx, dword [esp + 0x30]
add ecx, 4
mov dword [esp + 0x30], ecx
jmp 0x1001eb34
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [ebp + 4]
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLocal8Bit_void_]
mov esi, eax
mov ecx, esi
mov byte [esp + 0x164], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::detach_void_]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push eax
push str.ClientDevice_doClient_failed__s
push 2
push 0x100eb7cc
call dword [0x100eb588]
mov eax, dword [esp + 0x8c]
mov esi, dword [0x100eb558]
add esp, 0x10
mov byte [esp + 0x164], 9
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001f0e3
mov edx, dword [esp + 0x7c]
push edx
call esi
add esp, 4
lea ecx, [esp + 0xbc]
mov byte [esp + 0x164], 6
call fcn.10007670
mov eax, dword [esp + 0x28]
mov byte [esp + 0x164], 5
cmp eax, ebx
je 0x1001f124
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001f124
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
test eax, eax
jne 0x1001f124
mov ecx, dword [esp + 0x28]
push ecx
call esi
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [esp + 0x164], 4
cmp eax, ebx
je 0x1001f151
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1001f151
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
test ecx, ecx
jne 0x1001f151
mov edx, dword [esp + 0x18]
push edx
call esi
add esp, 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x164], 1
call fcn.1000aa90
lea ecx, [esp + 0x88]
mov byte [esp + 0x164], 0
call fcn.10005140
mov eax, dword [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001e984
mov edx, dword [esp + 0x10]
push edx
call dword [0x100eb564]
add esp, 4
xor al, al
jmp 0x1001f5e6
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
lea eax, [eax + ecx*4 + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLocal8Bit_void_]
mov edi, eax
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0xc]
sub esi, dword [eax + 8]
mov ecx, edi
mov byte [esp + 0x164], 0xe
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::detach_void_]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
push esi
push eax
push str.ClientSnapshot_doClient_failed_first_key_:__s_count_:_d
push 2
push 0x100eb7cc
call dword [0x100eb588]
mov ecx, dword [esp + 0x74]
mov edi, dword [0x100eb558]
add esp, 0x14
mov byte [esp + 0x164], 0xd
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001f21f
mov eax, dword [esp + 0x60]
push eax
call edi
add esp, 4
lea ecx, [esp + 0xe0]
mov byte [esp + 0x164], 0xb
call fcn.10009b30
mov eax, dword [esp + 0x14]
mov byte [esp + 0x164], 9
cmp eax, ebx
je 0x1001f277
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001f277
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.10006830
mov ecx, dword [esi]
test ecx, ecx
jne 0x1001f277
push esi
call edi
add esp, 4
lea ecx, [esp + 0xbc]
mov byte [esp + 0x164], 6
call fcn.10007670
mov eax, dword [esp + 0x28]
mov byte [esp + 0x164], 5
cmp eax, ebx
je 0x1001f2b8
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1001f2b8
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
test ecx, ecx
jne 0x1001f2b8
mov edx, dword [esp + 0x28]
push edx
call edi
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [esp + 0x164], 4
cmp eax, ebx
je 0x1001f2e5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001f2e5
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
test eax, eax
jne 0x1001f2e5
mov ecx, dword [esp + 0x18]
push ecx
call edi
add esp, 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x164], 1
call fcn.1000aa90
lea ecx, [esp + 0x88]
mov byte [esp + 0x164], 0
call fcn.10005140
mov edx, dword [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x1001e984
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x100eb564]
add esp, 4
xor al, al
jmp 0x1001f5e6
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x48]
push edx
add ecx, 4
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLocal8Bit_void_]
mov edi, eax
mov ecx, edi
mov byte [esp + 0x164], 0x13
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::detach_void_]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
push eax
push str.ClientManifest_doClient_failed__s
push 2
push 0x100eb7cc
call dword [0x100eb588]
mov ecx, dword [esp + 0x58]
add esp, 0x10
mov byte [esp + 0x164], 0x12
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1001f3a3
mov eax, dword [esp + 0x48]
push eax
call dword [0x100eb558]
add esp, 4
lea ecx, [esp + 0x104]
mov byte [esp + 0x164], 0x10
call fcn.10009150
mov byte [esp + 0x164], 0xf
cmp esi, ebx
je 0x1001f408
lea eax, [esi + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001f408
mov edi, dword [esi + 4]
cmp edi, esi
je 0x1001f3fe
mov ebp, dword [0x100eb564]
lea esp, [esp]
mov eax, edi
mov edi, dword [edi + 4]
mov edx, dword [eax - 8]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x1001f3fa
mov edx, dword [eax - 8]
push edx
call ebp
add esp, 4
cmp edi, esi
jne 0x1001f3e0
push 8
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QMapData::continueFreeData_int_]
mov eax, dword [esp + 0x38]
mov byte [esp + 0x164], 0xd
cmp eax, ebx
je 0x1001f439
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001f439
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
test eax, eax
jne 0x1001f439
mov ecx, dword [esp + 0x38]
push ecx
call dword [0x100eb558]
add esp, 4
lea ecx, [esp + 0xe0]
mov byte [esp + 0x164], 0xb
call fcn.10009b30
mov eax, dword [esp + 0x14]
mov byte [esp + 0x164], 9
cmp eax, ebx
je 0x1001f4b0
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1001f4b0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x14]
lea ebp, [eax + edx*4 + 0x14]
mov ebx, eax
cmp ebp, esi
je 0x1001f49e
mov edi, edi
mov edi, dword [esi - 4]
sub esi, 4
test edi, edi
je 0x1001f49a
mov ecx, edi
call fcn.10006420
push edi
call fcn.100e2a04
add esp, 4
cmp esi, ebp
jne 0x1001f480
mov eax, dword [ebx]
test eax, eax
jne 0x1001f4ae
push ebx
call dword [0x100eb558]
add esp, 4
xor ebx, ebx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x164], 6
call fcn.10007670
mov eax, dword [esp + 0x28]
mov byte [esp + 0x164], 5
cmp eax, ebx
je 0x1001f4f5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001f4f5
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
test eax, eax
jne 0x1001f4f5
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x100eb558]
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [esp + 0x164], 4
cmp eax, ebx
je 0x1001f151
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1001f151
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
test ecx, ecx
jne 0x1001f151
mov edx, dword [esp + 0x18]
push edx
call dword [0x100eb558]
jmp 0x1001f14e
mov eax, dword [esp + 0x28]
mov byte [esp + 0x164], 5
cmp eax, ebx
je 0x1001f565
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001f565
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
test eax, eax
jne 0x1001f565
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x100eb558]
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [esp + 0x164], 4
cmp eax, ebx
je 0x1001f596
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1001f596
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
test ecx, ecx
jne 0x1001f596
mov edx, dword [esp + 0x18]
push edx
call dword [0x100eb558]
add esp, 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x164], 1
call fcn.1000aa90
lea ecx, [esp + 0x88]
mov byte [esp + 0x164], 0
call fcn.10005140
mov eax, dword [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001f5e4
mov edx, dword [esp + 0x10]
push edx
call dword [0x100eb564]
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x158
ret