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

Disassembly:
push 0xffffffffffffffff
push 0x1009f078
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov eax, dword [esp + 0x150]
mov ebp, dword [esp + 0x154]
mov edi, ecx
xor esi, esi
push 0x5c
lea ecx, [esp + 0xc4]
push esi
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0xc8], esi
call fcn.10079c60
add esp, 0xc
push 0x5c
lea edx, [esp + 0x64]
push esi
push edx
mov dword [esp + 0x68], esi
call fcn.10079c60
add esp, 0xc
cmp ebp, esi
je 0x1004e2cd
cmp edi, esi
je 0x1004e2cd
mov eax, dword [ebp + 0xc]
cmp eax, esi
jne 0x1004e01b
mov eax, 0x100adc28
lea ecx, [esp + 0x120]
call fcn.10006660
mov dword [esp + 0x148], esi
lea ebx, [esp + 0x4c]
lea edi, [esp + 0x120]
call fcn.1000d5d0
mov esi, dword [eax]
mov eax, dword [eax + 4]
lea ebx, [esp + 0x54]
mov dword [esp + 0x40], eax
call fcn.1000d620
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [esp + 0x44]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call fcn.1000d5d0
mov ecx, dword [eax]
mov edx, dword [esp + 0x40]
mov eax, dword [eax + 4]
mov ebx, dword [esp + 0x28]
push edx
mov dword [esp + 0x38], ecx
push esi
mov byte [esp + 0x3c], 0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
push ecx
push edx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1004fc90
add esp, 0x18
cmp dword [esp + 0x134], 0
jbe 0x1004e0fc
mov esi, dword [esp + 0x18]
mov ebx, dword [esi + 0x3ac]
mov edi, dword [esi + 0x394]
lea ecx, [esp + 0x120]
add esi, 0x394
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.1004efb0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x1004e0d4
cmp eax, edi
je 0x1004e0d9
call fcn.100759ec
cmp dword [esi + 4], ebx
je 0x1004e0fc
mov dword [esp + 0x148], 0xffffffff
lea esi, [esp + 0x120]
call fcn.100531f0
xor eax, eax
jmp 0x1004e2d0
mov esi, dword [esp + 0x160]
mov edi, dword [esp + 0x164]
mov eax, esi
or eax, edi
je 0x1004e0de
mov ecx, dword [ebp + 0x18]
or ecx, dword [ebp + 0x1c]
je 0x1004e0de
mov edx, dword [ebp + 0x20]
or edx, dword [ebp + 0x24]
je 0x1004e0de
cmp dword [ebp + 0x28], 0
lea eax, [ebp + 0x28]
mov dword [esp + 0x34], eax
je 0x1004e0de
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x158]
push eax
push ecx
mov eax, ebp
call fcn.1004d030
add esp, 8
test eax, eax
je 0x1004e2b6
mov ebx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x1c]
push edi
push esi
push ebx
push edx
call fcn.1004bb00
add esp, 0x10
test eax, eax
je 0x1004e2b6
push ebp
lea ecx, [esp + 0x34]
call fcn.1004e870
test eax, eax
jne 0x1004e2b6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x15c]
push eax
mov eax, dword [esp + 0x15c]
push ebx
push ecx
mov ecx, dword [esp + 0x3c]
push edi
push esi
push edx
mov edx, dword [esp + 0x30]
push eax
push ebp
push ecx
push edx
call fcn.1004dc40
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x15c]
lea ecx, [esp + 0xbc]
push ecx
mov ecx, dword [esp + 0x15c]
push ebx
push edx
push edi
push esi
push eax
push ecx
push ebp
call fcn.1004d370
push 0x60
push ebp
lea edx, [esp + 0x64]
push 0x60
push edx
call fcn.10075a0c
add esp, 0x10
lea eax, [esp + 0x5c]
mov dword [esp + 0x84], 0
call fcn.1004e540
test eax, eax
jge 0x1004e23b
push 0x60
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x64]
push 0x60
push ecx
call fcn.10075a0c
add esp, 0x10
mov dword [esp + 0x18], 0
jmp 0x1004e301
lea ecx, [esp + 0xbc]
lea eax, [esp + 0x5c]
call fcn.1004dd70
test eax, eax
jne 0x1004e259
mov dword [esp + 0x18], 3
jmp 0x1004e26f
mov ecx, ebp
lea eax, [esp + 0x5c]
call fcn.1004dd70
neg eax
sbb eax, eax
neg eax
inc eax
mov dword [esp + 0x18], eax
lea ebx, [esp + 0xe4]
call fcn.1004d110
cmp dword [esp + 0x18], 1
jne 0x1004e2fa
lea ebx, [esp + 0x84]
call fcn.1004d110
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
push edi
push esi
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + 0xf4]
push edx
push eax
push ecx
call fcn.1004bd00
mov dword [esi + 0xf4], eax
mov dword [esp + 0x148], 0xffffffff
lea esi, [esp + 0x120]
call fcn.100531f0
or eax, 0xffffffff
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.100755ed
add esp, 0x138
ret 0x20
mov ebx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
push edi
push esi
push ebx
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 0xf4]
push edx
push eax
call fcn.1004bd00
cmp dword [esp + 0x18], 2
mov dword [ebx + 0xf4], eax
je 0x1004e411
mov ebp, dword [esp + 0x15c]
mov ebx, dword [esp + 0x158]
mov eax, dword [esp + 0x20]
mov ecx, ebx
push ebp
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], ebp
call fcn.1004d030
mov esi, eax
add esp, 8
test esi, esi
je 0x1004e40d
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x14]
sub edx, eax
mov eax, dword [esi + 0x1c]
sbb edi, ecx
mov ecx, dword [esi + 0x18]
add edx, ebx
adc edi, ebp
sub ecx, ebx
sbb eax, ebp
add ecx, dword [esi + 8]
mov ebp, dword [esp + 0x28]
adc eax, dword [esi + 0xc]
cmp eax, ebp
ja 0x1004e3a9
jb 0x1004e395
cmp ecx, dword [esp + 0x24]
jae 0x1004e3a9
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub eax, ebx
sbb ecx, dword [esp + 0x40]
add eax, dword [esi + 0x18]
adc ecx, dword [esi + 0x1c]
jmp 0x1004e3af
mov eax, dword [esp + 0x24]
mov ecx, ebp
sub dword [esp + 0x24], eax
mov ebx, dword [esp + 0x1c]
sbb ebp, ecx
cmp dword [ebx + 0xe8], 5
mov dword [esp + 0x28], ebp
je 0x1004e3ea
mov ebx, dword [ebx + 0xf4]
mov ebp, eax
or ebp, ecx
jne 0x1004e3d6
mov eax, ebx
jmp 0x1004e3e0
push ecx
push eax
push edi
push edx
push ebx
call fcn.1004bb40
mov edx, dword [esp + 0x1c]
mov dword [edx + 0xf4], eax
mov eax, dword [esp + 0x20]
mov esi, dword [esi]
add eax, 0x28
mov dword [esp + 0x34], eax
cmp esi, dword [eax]
je 0x1004e40d
mov ebp, dword [esi + 0xc]
mov ebx, dword [esi + 8]
mov dword [esp + 0x40], ebp
test esi, esi
jne 0x1004e361
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x34]
mov esi, dword [ebx]
test esi, esi
je 0x1004e435
jmp 0x1004e420
mov eax, dword [esp + 0x1c]
mov ecx, esi
call fcn.1004de90
mov esi, dword [esi]
cmp esi, dword [ebx]
je 0x1004e435
test esi, esi
jne 0x1004e420
call fcn.1004d110
push 0x18
lea eax, [esp + 0x78]
push eax
lea eax, [ebp + 0x18]
push 0x18
push eax
call fcn.10075a0c
mov esi, dword [esp + 0x44]
mov ebx, dword [esi]
add esp, 0x10
test ebx, ebx
je 0x1004e478
lea esp, [esp]
mov eax, dword [esp + 0x1c]
push ebp
call fcn.1004def0
test eax, eax
jl 0x1004e478
mov ebx, dword [ebx]
cmp ebx, dword [esi]
je 0x1004e478
test ebx, ebx
jne 0x1004e460
xor ecx, ecx
cmp dword [esp + 0x18], 2
setne cl
dec ecx
mov esi, ecx
mov dword [esp + 0x148], 0xffffffff
cmp dword [esp + 0x138], 8
jb 0x1004e4aa
mov edx, dword [esp + 0x124]
push edx
call fcn.100755e2
add esp, 4
xor eax, eax
mov word [esp + 0x124], ax
mov dword [esp + 0x138], 7
mov dword [esp + 0x134], 0
mov eax, esi
jmp 0x1004e2d0