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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x118
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x30], eax
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x1c]
mov dword [esp + 0x34], ebx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x3c], edx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x38], ecx
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe0], edi
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0x103
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], 0xffffffff
call fcn.0046e830
mov ecx, dword [esp + 0x2c]
mov edx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0xec], eax
mov eax, esp
mov dword [eax], ecx
call fcn.00431520
mov dword [esp + 0x44], eax
mov dword [esp + 0x108], 0
mov eax, esp
mov dword [eax], 0
call fcn.00419dd0
mov dword [esp + 0x48], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x104], 0
mov eax, esp
mov dword [eax], 0
call fcn.00419dd0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10c], esi
mov dword [esp + 0x110], eax
mov eax, esp
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], edi
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
lea ecx, [esp + 0x58]
mov dword [eax], ecx
call fcn.0041a5d0
movsd xmm1, qword [esp + 0x58]
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x80], xmm0
lea eax, [esp + 0x78]
mov dword [esp], eax
call fcn.0041b640
mov edx, dword [esp + 0x40]
mov ecx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x88], 0
mov edi, dword [esp + 0x74]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x50], edi
lea edi, [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call fcn.00409fc0
mov dword [esp + 0x54], eax
mov dword [esp + 0xf0], eax
cmp eax, 0x103
je 0x4317ca
mov eax, dword [esp + 0x54]
mov dword [esp + 0x8c], eax
jmp 0x4317fd
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00431530
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.00431510
mov dword [esp + 0x8c], eax
cmp dword [esp + 0x8c], 0x103
jne 0x43182f
lea eax, [esp + 0x91]
mov dword [esp], eax
call fcn.0043df90
mov al, byte [esp + 0x91]
and al, 1
movzx eax, al
cmp eax, 1
je 0x431859
jmp 0x4318fb
lea eax, [esp + 0x8c]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.00409d30
test al, 1
jne 0x43194d
jmp 0x431900
mov eax, dword [esp + 0x92]
mov dword [esp + 0xcb], eax
mov al, byte [esp + 0x96]
mov byte [esp + 0xcf], al
mov eax, dword [esp + 0xcb]
mov dword [esp + 0x97], eax
mov al, byte [esp + 0xcf]
mov byte [esp + 0x9b], al
lea edx, [esp + 0xa4]
lea ecx, [0x489d0c]
lea eax, [esp + 0xbc]
xor esi, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.0042bba0
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x97]
lea eax, [esp + 0xa4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0043a580
lea eax, [esp + 0x9c]
mov dword [esp], eax
call fcn.0040ef10
call fcn.00438890
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xf8], eax
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
sub esp, 4
mov dword [esp + 0xfc], eax
lea ecx, [esp + 0xc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00423da0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc0]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc4]
mov dword [eax + 4], ecx
jmp 0x431969
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov byte [eax], 4
mov eax, dword [esp + 0x28]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret