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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
cmp dword [0x10143d14], 0
mov eax, dword [ebp + 0x20]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x18], ebx
je 0x5de68b
test eax, eax
je 0x5de68b
mov dword [eax], 0
lea eax, [esp + 0x14]
push 4
push eax
call fcn.00575280
mov edi, dword [ebp + 0x10]
lea esi, [edi + 4]
add esp, 8
cmp dword [esi], 0
je 0x5de7f6
lea edx, [esp + 0x14]
push edx
lea ecx, [ebx + 0x14]
push esi
mov dword [esp + 0x78], ecx
call fcn.005bfbb0
test eax, eax
je 0x5de7f6
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x18]
push edx
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
test eax, eax
jne 0x5de7af
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
test eax, eax
jne 0x5de7af
lea ecx, [esp + 0x20]
push 4
push ecx
call fcn.00575280
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
add esp, 8
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [edi + 8]
push eax
call edx
test eax, eax
je 0x5de764
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [ecx], 0
mov dword [edx], eax
lea ecx, [esp + 0x20]
call fcn.005a6e90
lea ecx, [esp + 0x18]
call fcn.005a6e90
lea ecx, [esp + 0x14]
call fcn.005a6e90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [esp + 0x20]
push eax
mov ecx, ebx
call fcn.005dbbf0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x2c]
mov esi, eax
push edx
mov dword [esp + 0x30], esi
call fcn.005db690
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x5de79b
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [eax], 0
jmp 0x5de740
mov ecx, dword [ebp + 0x24]
mov eax, dword [esp + 0x18]
test eax, eax
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], 0xc000017c
je 0x5de7d9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5dfbf8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0xb0]
call fcn.005f0170
push 0
lea eax, [esp + 0xb4]
push eax
push edi
mov ecx, ebx
call fcn.005de4e0
test eax, eax
jne 0x5de8c4
cmp dword [0x10143d58], eax
je 0x5de84e
push 0x10092ccc
push 0x10092c90
lea ecx, [esp + 0x6c]
call fcn.0058adf0
mov ecx, eax
call fcn.00589d20
mov ecx, eax
call fcn.00589d20
lea ecx, [esp + 0x64]
call fcn.00589c30
cmp dword [ebx + 0x38], 1
jne 0x5de8b9
mov esi, dword [esi]
test esi, esi
je 0x5de87e
push esi
call fcn.005ea840
add esp, 4
test eax, eax
je 0x5de87e
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], 0xc000017c
jmp 0x5dfbe3
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0xb0]
call fcn.005d9380
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5dfbf8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 1
jmp 0x5de890
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xb4]
call fcn.005f0090
jmp 0x5de8e0
lea ecx, [esp + 0xb0]
call fcn.005edc00
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x44], esi
call eax
test eax, eax
je 0x5dee32
mov ecx, esi
call fcn.005ea6a0
test eax, eax
jne 0x5df283
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
je 0x5deb03
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x3c]
push eax
call edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 0x30]
push edx
call eax
xor ebx, ebx
cmp dword [esp + 0x30], ebx
je 0x5df518
lea ecx, [esp + 0xe8]
push ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x104]
push eax
call edx
mov ecx, eax
call fcn.005d82e0
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
push edx
mov edx, dword [ebp + 0x18]
push edx
lea edx, [esp + 0xf0]
push edx
mov edx, dword [esp + 0x3c]
push edx
lea edx, [esp + 0x60]
push edx
call eax
lea ecx, [esp + 0x100]
call fcn.005d82d0
lea ecx, [esp + 0x78]
push 4
push ecx
call fcn.00575280
lea edx, [esp + 0x84]
push 4
push edx
call fcn.00575280
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x40]
add esp, 0x10
push eax
push ecx
lea ecx, [esp + 0x80]
call fcn.005d9080
mov edx, dword [edi + 0xc]
push edx
lea ecx, [esp + 0xa4]
call fcn.005f0110
mov ecx, dword [ebp + 0x10]
push ebx
lea eax, [esp + 0xb4]
push eax
push ecx
mov ecx, edi
call fcn.005de4e0
test eax, eax
je 0x5df29a
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0xb4]
call fcn.005f0090
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov esi, dword [esp + 0x80]
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov ecx, esi
mov dword [esp + 0x44], eax
call edx
mov ecx, dword [esp + 0x44]
cmp eax, ecx
je 0x5df320
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x5dea59
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x80]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x5dea8a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x5dea8a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x80], ebx
lea ecx, [esp + 0xa0]
call fcn.005f0140
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x5deaaa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x5deabe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x5dead2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x5deae6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x5de8e0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x3c], ebx
jmp 0x5de8e0
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x38], 1
jne 0x5ded03
lea eax, [esp + 0x38]
push 4
push eax
call fcn.00575280
lea ecx, [esp + 0x40]
push ecx
call fcn.0059f530
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
jne 0x5df52b
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x40]
push eax
call edx
cmp dword [esp + 0x40], ebx
je 0x5df804
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xfc]
push eax
call edx
mov ecx, eax
call fcn.005d82e0
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
push edx
mov edx, dword [ebp + 0x18]
push edx
lea edx, [esp + 0xf8]
push edx
mov edx, dword [esp + 0x4c]
push edx
lea edx, [esp + 0x30]
push edx
call eax
lea ecx, [esp + 0xf8]
call fcn.005d82d0
lea ecx, [esp + 0x90]
push 4
push ecx
call fcn.00575280
lea edx, [esp + 0x9c]
push 4
push edx
call fcn.00575280
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
add esp, 0x10
push eax
push ecx
lea ecx, [esp + 0x98]
call fcn.005d9080
mov edx, dword [edi + 0xc]
push edx
lea ecx, [esp + 0x74]
call fcn.005f0110
mov ecx, dword [ebp + 0x10]
push ebx
lea eax, [esp + 0xb4]
push eax
push ecx
mov ecx, edi
call fcn.005de4e0
test eax, eax
je 0x5df5a6
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0xb4]
call fcn.005f0090
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov esi, dword [esp + 0x10]
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov ecx, esi
mov dword [esp + 0x44], eax
call edx
mov ecx, dword [esp + 0x44]
cmp ecx, eax
je 0x5df61b
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x5dec50
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x8c]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x5dec81
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x5dec81
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x8c], ebx
lea ecx, [esp + 0x70]
call fcn.005f0140
mov eax, dword [esp + 0x94]
cmp eax, ebx
je 0x5deca4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x94], ebx
mov eax, dword [esp + 0x90]
cmp eax, ebx
je 0x5decbe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x90], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x5decd2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x5dece6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x5de8e0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x38], ebx
jmp 0x5de8e0
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov ecx, dword [0x10143fa4]
push ebx
push eax
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
add ecx, 0x6a4
push eax
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
cmp dword [edi + 0x38], 1
mov esi, eax
jne 0x5ded79
cmp esi, 0xc0000022
jne 0x5ded79
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov ecx, dword [0x10143fa4]
push ebx
push eax
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [ecx + 0x6a4]
add ecx, 0x6a4
push 0x2000000
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
mov esi, eax
test esi, esi
jne 0x5df8a4
test ebx, ebx
je 0x5ded8b
mov dword [ebx], 1
mov ecx, dword [edi + 0xc]
push ecx
lea ecx, [esp + 0x4c]
call fcn.005f0110
mov eax, dword [ebp + 0x10]
push 0
lea edx, [esp + 0xb4]
push edx
push eax
mov ecx, edi
call fcn.005de4e0
test eax, eax
je 0x5df817
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0xb4]
call fcn.005f0090
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov edi, dword [esp + 0x10]
call eax
mov edx, dword [edi]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
cmp ebx, eax
je 0x5df887
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5dedf8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x5dee24
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5dee24
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x48]
call fcn.005f0140
jmp 0x5de8e0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
test eax, eax
jne 0x5df8b7
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x38], 1
jne 0x5dfbd1
mov ecx, esi
call fcn.005ea6a0
test eax, eax
je 0x5df9eb
lea ecx, [esp + 0x5c]
push 4
push ecx
call fcn.00575280
lea edx, [esp + 0x68]
push 4
push edx
call fcn.00575280
lea eax, [esp + 0x34]
push 4
push eax
call fcn.00575280
mov edi, dword [esp + 0x28]
xor ebx, ebx
add esp, 0x18
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x5dee9f
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
lea ecx, [esp + 0xa8]
call fcn.005ea7a0
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call fcn.005ea710
test eax, eax
je 0x5df0b6
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x10c]
push edx
call fcn.005ea6b0
mov esi, dword [0x10143fa4]
push ebx
push pe_nt_image_headers32
push eax
push ebx
lea ecx, [esp + 0x120]
mov dword [esp + 0x2c], ebx
add esi, 0x854
call fcn.005bd370
mov ecx, eax
call fcn.005d8300
mov edx, dword [esi]
push eax
push 1
lea eax, [esp + 0x24]
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
call eax
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [esp + 0x1c]
add esi, 1
call fcn.00576590
cmp esi, ebx
je 0x5df015
lea ecx, [esp + 0x54]
push 4
push ecx
call fcn.00575280
mov edx, dword [edi]
mov edx, dword [edx + 0x64]
add esp, 8
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
call edx
test eax, eax
je 0x5defc7
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
lea eax, [esp + 0xa8]
push eax
push edi
lea eax, [esp + 0x30]
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x5def8e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x54], ebx
mov eax, dword [esi]
cmp eax, ebx
mov dword [esp + 0x54], eax
je 0x5defa4
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x5defbc
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], ebx
push eax
push edi
lea ecx, [esp + 0x64]
call fcn.005d9080
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov edi, dword [esp + 0x54]
cmp edi, ebx
je 0x5deff3
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x5deff3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0xa8]
push eax
call fcn.005ea710
test eax, eax
jne 0x5deec2
mov dword [esp + 0x1c], edi
jmp 0x5df0b6
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], edi
call fcn.005ea6a0
test eax, eax
jne 0x5df9f9
lea ecx, [esp + 0x24]
push ecx
call fcn.0059f530
add esp, 4
cmp eax, ebx
jne 0x5dfa27
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
push edx
mov edx, dword [ebp + 0x18]
push edx
lea edx, [esp + 0xb0]
push edx
push edi
lea edx, [esp + 0xb4]
push edx
call eax
mov ecx, dword [esp + 0xa4]
push ecx
push edi
lea ecx, [esp + 0x64]
call fcn.005d9080
cmp edi, ebx
je 0x5df085
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov edi, dword [esp + 0xa4]
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x5df0b6
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esp + 0xa4]
cmp eax, ebx
je 0x5df0b6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xa4], ebx
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
test eax, eax
je 0x5dfa38
lea eax, [esp + 0x58]
push 4
push eax
call fcn.00575280
mov eax, dword [esp + 0x2c]
mov edx, dword [ebp + 0xc]
mov esi, dword [eax]
add esp, 8
lea ecx, [esp + 0x58]
push ecx
push edx
push 0x1008341c
lea ecx, [esp + 0xe4]
mov ebx, eax
add esi, 0x10
call fcn.005bd3c0
mov ecx, eax
call fcn.005d8300
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
test eax, eax
jne 0x5dfaae
lea ecx, [esp + 0x4c]
push 4
push ecx
call fcn.00575280
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x60]
add esp, 8
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
push 0x1008341c
lea ecx, [esp + 0x74]
call fcn.005bd3c0
mov ecx, eax
call fcn.005d8300
push eax
push edi
call fcn.005a0b00
add esp, 0x14
test eax, eax
jne 0x5dfacf
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0xc]
push edx
lea ecx, [esp + 0x78]
call fcn.005f0110
mov ecx, dword [ebp + 0x10]
push 0
lea eax, [esp + 0xb4]
push eax
push ecx
mov ecx, esi
call fcn.005de4e0
test eax, eax
je 0x5dfaf9
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0xb4]
call fcn.005f0090
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 0x10]
call edx
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x44], eax
call edx
mov ecx, dword [esp + 0x44]
cmp ecx, eax
je 0x5dfb66
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, esi
je 0x5df1d4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x84]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x5df205
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x5df205
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x84], esi
lea ecx, [esp + 0x74]
call fcn.005f0140
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x5df222
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x5df236
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x58], esi
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x5df252
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x5df266
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x5de8e0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x5c], esi
jmp 0x5de8e0
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0xc0000034
jmp 0x5dfbda
cmp dword [0x10143d58], ebx
je 0x5df2cc
push 0x10092ccc
push 0x10092c90
lea ecx, [esp + 0x6c]
call fcn.0058adf0
mov ecx, eax
call fcn.00589d20
mov ecx, eax
call fcn.00589d20
lea ecx, [esp + 0x64]
call fcn.00589c30
cmp dword [edi + 0x38], 1
jne 0x5df315
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], ebx
mov dword [eax], 0xc0000229
lea ecx, [esp + 0xa0]
call fcn.005f0140
lea ecx, [esp + 0x78]
call fcn.005d9350
lea ecx, [esp + 0x50]
call fcn.005a6e90
lea ecx, [esp + 0x30]
call fcn.005a6e90
lea ecx, [esp + 0x3c]
call fcn.005a6e90
jmp 0x5dfbda
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 1
jmp 0x5df2e0
lea ecx, [esp + 0x78]
call fcn.005d9010
lea ecx, [esp + 0x80]
call fcn.005a6e90
lea ecx, [esp + 0xa0]
call fcn.005f0140
lea edx, [esp + 0x9c]
push 4
push edx
call fcn.00575280
mov eax, dword [esp + 0x44]
mov esi, dword [eax]
mov ecx, dword [ebp + 0xc]
add esp, 8
mov ebx, eax
lea eax, [esp + 0x9c]
push eax
push ecx
push 0x1008341c
lea ecx, [esp + 0x70]
add esi, 0x10
call fcn.005bd3c0
mov ecx, eax
call fcn.005d8300
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
mov esi, eax
test esi, esi
je 0x5df415
cmp dword [0x10143d58], 0
je 0x5df3f0
push 0x10083b00
push esi
lea ecx, [esp + 0xe0]
call fcn.005d98e0
push eax
push 0x10092a4c
push 0x10092c90
lea ecx, [esp + 0x74]
call fcn.0058adf0
mov ecx, eax
call fcn.00589d20
mov ecx, eax
call fcn.00589d20
mov ecx, eax
call fcn.0058aeb0
mov ecx, eax
call fcn.00589d20
lea ecx, [esp + 0x64]
call fcn.00589c30
lea ecx, [esp + 0xd8]
call fcn.00576e70
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x9c]
call fcn.005a6e90
jmp 0x5df2ec
lea edx, [esp + 0x88]
push 4
push edx
call fcn.00575280
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0x58]
add esp, 8
lea eax, [esp + 0x88]
push eax
push ecx
push edx
push 0x1008341c
lea ecx, [esp + 0x74]
call fcn.005bd3c0
mov ecx, eax
call fcn.005d8300
push eax
push esi
call fcn.005a0b00
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5df4c8
cmp dword [0x10143d58], 0
je 0x5df497
push 0x10092c60
push 0x10092c90
lea ecx, [esp + 0x6c]
call fcn.0058adf0
mov ecx, eax
call fcn.00589d20
mov ecx, eax
call fcn.00589d20
lea ecx, [esp + 0x64]
call fcn.00589c30
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x88]
call fcn.005a6e90
lea ecx, [esp + 0x9c]
call fcn.005a6e90
jmp 0x5df2ec
mov edx, dword [esp + 0x88]
push edx
mov ecx, edi
call fcn.005dbbf0
mov esi, eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x14]
mov dword [esp + 0x30], esi
call fcn.005db690
mov eax, dword [ebp + 0x20]
test eax, eax
mov edx, dword [ebp + 8]
mov dword [edx], esi
je 0x5df504
mov dword [eax], 1
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0
jmp 0x5df4ab
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], ebx
mov dword [eax], 0xc0000229
jmp 0x5df2fe
cmp dword [0x10143d58], ebx
je 0x5df58a
push 0x10083b00
push eax
lea ecx, [esp + 0xe0]
call fcn.005d98e0
push eax
push 0x10092a74
push 0x10092c90
lea ecx, [esp + 0x74]
call fcn.0058adf0
mov ecx, eax
call fcn.00589d20
mov ecx, eax
call fcn.00589d20
mov ecx, eax
call fcn.0058aeb0
mov ecx, eax
call fcn.00589d20
lea ecx, [esp + 0x64]
call fcn.00589c30
lea ecx, [esp + 0xd8]
call fcn.00576e70
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], ebx
lea ecx, [esp + 0x38]
mov dword [edx], 0xc0000229
call fcn.005a6e90
jmp 0x5dfbda
cmp dword [0x10143d58], ebx
je 0x5df5d8
push 0x10092ccc
push 0x10092c90
lea ecx, [esp + 0x6c]
call fcn.0058adf0
mov ecx, eax
call fcn.00589d20
mov ecx, eax
call fcn.00589d20
lea ecx, [esp + 0x64]
call fcn.00589c30
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], ebx
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x70]
call fcn.005f0140
lea ecx, [esp + 0x90]
call fcn.005d9350
lea ecx, [esp + 0x20]
call fcn.005a6e90
lea ecx, [esp + 0x40]
call fcn.005a6e90
lea ecx, [esp + 0x38]
call fcn.005a6e90
jmp 0x5dfbda
lea ecx, [esp + 0x90]
call fcn.005d9010
lea ecx, [esp + 0x8c]
call fcn.005a6e90
lea ecx, [esp + 0x70]
call fcn.005f0140
lea edx, [esp + 0x34]
push 4
push edx
call fcn.00575280
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
mov ecx, dword [ebp + 0xc]
add esp, 8
mov ebx, eax
lea eax, [esp + 0x34]
push eax
push ecx
push 0x1008341c
lea ecx, [esp + 0x70]
add esi, 0x10
call fcn.005bd3c0
mov ecx, eax
call fcn.005d8300
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
mov esi, eax
test esi, esi
je 0x5df707
cmp dword [0x10143d58], 0
je 0x5df6e5
push 0x10083b00
push esi
lea ecx, [esp + 0xe0]
call fcn.005d98e0
push eax
push 0x10092a4c
push 0x10092c90
lea ecx, [esp + 0x74]
call fcn.0058adf0
mov ecx, eax
call fcn.00589d20
mov ecx, eax
call fcn.00589d20
mov ecx, eax
call fcn.0058aeb0
mov ecx, eax
call fcn.00589d20
lea ecx, [esp + 0x64]
call fcn.00589c30
lea ecx, [esp + 0xd8]
call fcn.00576e70
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x34]
call fcn.005a6e90
jmp 0x5df5ef
lea edx, [esp + 0x98]
push 4
push edx
call fcn.00575280
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
add esp, 8
lea eax, [esp + 0x98]
push eax
push ecx
push edx
push 0x1008341c
lea ecx, [esp + 0x74]
call fcn.005bd3c0
mov ecx, eax
call fcn.005d8300
push eax
push esi
call fcn.005a0b00
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5df7b4
cmp dword [0x10143d58], 0
je 0x5df786
push 0x10092c60
push 0x10092c90
lea ecx, [esp + 0x6c]
call fcn.0058adf0
mov ecx, eax
call fcn.00589d20
mov ecx, eax
call fcn.00589d20
lea ecx, [esp + 0x64]
call fcn.00589c30
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x98]
call fcn.005a6e90
lea ecx, [esp + 0x34]
call fcn.005a6e90
jmp 0x5df5ef
mov edx, dword [esp + 0x98]
push edx
mov ecx, edi
call fcn.005dbbf0
mov esi, eax
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x14]
mov dword [esp + 0x30], esi
call fcn.005db690
mov eax, dword [ebp + 0x20]
test eax, eax
mov edx, dword [ebp + 8]
mov dword [edx], esi
je 0x5df7f0
mov dword [eax], 1
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0
jmp 0x5df79a
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], ebx
mov dword [eax], 0xc0000229
jmp 0x5df604
cmp dword [0x10143d58], 0
je 0x5df84a
push 0x10092ccc
push 0x10092c90
lea ecx, [esp + 0x6c]
call fcn.0058adf0
mov ecx, eax
call fcn.00589d20
mov ecx, eax
call fcn.00589d20
lea ecx, [esp + 0x64]
call fcn.00589c30
cmp dword [edi + 0x38], 1
jne 0x5df870
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
lea ecx, [esp + 0x48]
mov dword [edx], 0xc0000229
call fcn.005f0140
jmp 0x5dfbda
mov eax, dword [ebp + 0x24]
lea ecx, [esp + 0x48]
mov dword [eax], 1
call fcn.005f0140
jmp 0x5dfbda
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
lea ecx, [esp + 0x2c]
call fcn.005a6e90
lea ecx, [esp + 0x48]
call fcn.005f0140
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], esi
jmp 0x5dfbda
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
lea edx, [esp + 0x48]
push edx
call eax
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x48]
call fcn.005ea6e0
lea edx, [esp + 0x34]
push 4
push edx
call fcn.00575280
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
add esp, 8
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x74]
push edx
mov edx, dword [ebp + 0x18]
push esi
push edx
lea edx, [esp + 0xb8]
push edx
call eax
test eax, eax
je 0x5df93a
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
and eax, 0xefffffff
lea ecx, [esp + 0x34]
mov dword [edx], eax
call fcn.005a6e90
lea ecx, [esp + 0x48]
call fcn.005a6e90
jmp 0x5dfbda
lea eax, [esp + 0x2c]
push 4
push eax
call fcn.00575280
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push edx
lea eax, [esp + 0xbc]
push eax
push ecx
call fcn.005a0b00
add esp, 0x1c
test eax, eax
je 0x5df99d
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [edx], 0
mov dword [ecx], eax
lea ecx, [esp + 0x2c]
call fcn.005a6e90
lea ecx, [esp + 0x34]
call fcn.005a6e90
lea ecx, [esp + 0x48]
call fcn.005a6e90
jmp 0x5dfbda
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
push edx
mov ecx, edi
call fcn.005dbbf0
mov esi, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x14]
mov dword [esp + 0x30], esi
call fcn.005db690
mov eax, dword [ebp + 0x20]
test eax, eax
mov edx, dword [ebp + 8]
mov dword [edx], esi
je 0x5df9d7
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], 0
mov dword [eax], 0
jmp 0x5df97d
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 1
jmp 0x5dfbda
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov dword [edx], ebx
mov dword [eax], 0xc0000034
lea ecx, [esp + 0x1c]
call fcn.005a6e90
lea ecx, [esp + 0x24]
call fcn.005a6e90
lea ecx, [esp + 0x5c]
call fcn.005d9350
jmp 0x5dfbda
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [ecx], ebx
mov dword [edx], eax
jmp 0x5dfa07
mov ecx, dword [0x10143fa4]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx + 0x854]
mov esi, dword [ebp + 8]
push edi
add ecx, 0x854
push eax
mov eax, dword [edx + 0x24]
push esi
call eax
call eax
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x38], 1
jne 0x5dfa8e
cmp eax, 0xc0000022
jne 0x5dfa8e
mov ecx, dword [0x10143fa4]
mov edx, dword [ecx + 0x854]
mov eax, dword [edx + 0x24]
push edi
add ecx, 0x854
push 0x2000000
push esi
call eax
call eax
cmp eax, ebx
jne 0x5dfa9f
mov ecx, dword [ebp + 0x20]
cmp ecx, ebx
je 0x5dfa9f
mov dword [ecx], 2
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], ebx
mov dword [edx], eax
jmp 0x5dfa07
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
and eax, 0xefffffff
lea ecx, [esp + 0x58]
mov dword [edx], eax
call fcn.005a6e90
jmp 0x5dfa07
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
and eax, 0xefffffff
mov dword [ecx], 0
mov dword [edx], eax
lea ecx, [esp + 0x4c]
call fcn.005a6e90
lea ecx, [esp + 0x58]
call fcn.005a6e90
jmp 0x5dfa07
cmp dword [0x10143d58], 0
je 0x5dfb2c
push 0x10092ccc
push 0x10092c90
lea ecx, [esp + 0x6c]
call fcn.0058adf0
mov ecx, eax
call fcn.00589d20
mov ecx, eax
call fcn.00589d20
lea ecx, [esp + 0x64]
call fcn.00589c30
cmp dword [esi + 0x38], 1
jne 0x5dfb4f
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x74]
call fcn.005f0140
jmp 0x5dfae2
mov edx, dword [ebp + 0x24]
lea ecx, [esp + 0x74]
mov dword [edx], 1
call fcn.005f0140
jmp 0x5dfae2
lea ecx, [esp + 0x5c]
call fcn.005d9010
lea ecx, [esp + 0x84]
call fcn.005a6e90
lea ecx, [esp + 0x74]
call fcn.005f0140
mov eax, dword [esp + 0x4c]
push eax
mov ecx, esi
call fcn.005dbbf0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x2c]
mov edi, eax
push edx
lea ecx, [esi + 0x14]
mov dword [esp + 0x30], edi
call fcn.005db690
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x5dfbba
mov dword [eax], 1
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ecx], 0
mov dword [edx], 0
jmp 0x5dfae2
mov eax, dword [ebp + 0x24]
mov dword [eax], 1
lea ecx, [esp + 0x10]
call fcn.005a6e90
lea ecx, [esp + 0xb0]
call fcn.005d9380
lea ecx, [esp + 0x14]
call fcn.005a6e90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24