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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x47201c]
xor eax, esp
mov dword [esp + 0x60], eax
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.0041c2c0
mov ecx, dword [esi + 0xd8]
sub ecx, dword [esi + 0x41c]
mov edi, dword [esi + 0xd0]
mov edx, dword [esi + 0xd4]
mov eax, dword [esi + 0xdc]
add edi, dword [esi + 0x414]
add edx, dword [esi + 0x418]
sub eax, dword [esi + 0x420]
mov dword [ebp + 0x10], ecx
mov ecx, dword [esi + 0x42c]
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x14], eax
test ecx, ecx
je 0x439050
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x439050
mov ecx, dword [esi + 0x42c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
call edx
sub dword [ebp + 0x10], eax
mov ecx, dword [esi + 0x430]
test ecx, ecx
je 0x439078
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x439078
mov ecx, dword [esi + 0x430]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
call edx
sub dword [ebp + 0x14], eax
cmp dword [esi + 0x40c], 0
jne 0x439088
push 0
jmp 0x4394be
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
sub edi, dword [ebp + 8]
sub ebx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x430]
xor edx, edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
cmp ecx, edx
je 0x4390c8
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x4390c6
mov eax, dword [esi + 0x430]
add edi, dword [eax + 0x408]
mov dword [esp + 0x30], edi
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x40c], edx
jle 0x4391cc
mov ecx, dword [esi + 0x408]
mov edx, dword [esp + 0x1c]
mov edi, dword [ecx + edx*4]
mov eax, dword [edi]
mov edx, dword [eax + 0xc0]
mov ecx, edi
call edx
test al, al
je 0x4391b1
mov eax, dword [edi]
mov edx, dword [eax + 0xec]
mov ecx, edi
call edx
test al, al
jne 0x4391b1
mov ecx, dword [esp + 0x30]
mov eax, dword [edi]
mov eax, dword [eax + 0x10c]
push ebx
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call eax
cmp dword [esp + 0x14], 0
jne 0x43913f
inc dword [esp + 0x24]
jmp 0x43917d
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
cmp dword [esp + 0x14], eax
jge 0x43915b
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
mov dword [esp + 0x14], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
cmp dword [esp + 0x14], eax
jle 0x43917d
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
mov dword [esp + 0x14], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x5c]
push eax
mov ecx, edi
call edx
lea ebx, [eax + 0xc]
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x14]
add eax, dword [ebx]
mov ebx, dword [esp + 0x34]
add dword [esp + 0x18], eax
inc dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esi + 0x40c]
jl 0x4390e6
mov ecx, dword [esp + 0x24]
xor edx, edx
mov eax, dword [esp + 0x20]
mov edi, dword [esi + 0x424]
dec eax
imul edi, eax
add dword [esp + 0x18], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], edx
cmp ecx, edx
jle 0x439205
mov eax, ebx
sub eax, dword [esp + 0x18]
cdq
idiv ecx
xor ecx, ecx
test eax, eax
sets cl
dec ecx
and ecx, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x42c]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x1c], edi
test ecx, ecx
je 0x439234
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x439234
mov ecx, dword [esi + 0x42c]
sub edi, dword [ecx + 0x40c]
mov dword [esp + 0x1c], edi
mov ecx, dword [esi + 0x430]
mov edi, dword [ebp + 8]
mov dword [esp + 0x2c], edi
test ecx, ecx
je 0x439263
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x439263
mov ecx, dword [esi + 0x430]
sub edi, dword [ecx + 0x40c]
mov dword [esp + 0x2c], edi
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
cmp dword [esi + 0x40c], eax
jle 0x4394ae
mov eax, dword [esi + 0x408]
mov ecx, dword [esp + 0x18]
mov edi, dword [eax + ecx*4]
mov edx, dword [edi]
mov eax, dword [edx + 0xc0]
mov ecx, edi
call eax
test al, al
je 0x439499
mov edx, dword [edi]
mov eax, dword [edx + 0xec]
mov ecx, edi
call eax
test al, al
je 0x4392c8
mov edx, dword [esi]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x1a0]
push eax
mov ecx, esi
call edx
jmp 0x439499
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call edx
sub ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x30]
mov edx, dword [edi]
mov edx, dword [edx + 0x10c]
push ebx
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x54], ebx
call edx
cmp dword [esp + 0x14], 0
jne 0x43936a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x24]
jne 0x43932a
sub ebx, dword [esp + 0x58]
mov edx, 0
sub ebx, dword [esp + 0x20]
sets dl
dec edx
and edx, ebx
mov dword [esp + 0x14], edx
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
cmp dword [esp + 0x14], eax
jge 0x439346
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
cmp dword [esp + 0x14], eax
jle 0x4393b0
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov dword [esp + 0x14], eax
jmp 0x4393b0
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
cmp dword [esp + 0x14], eax
jge 0x439386
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x4393ac
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov ecx, eax
mov dword [esp + 0x14], ecx
sub dword [esp + 0x20], ecx
mov eax, dword [edi]
mov edx, dword [eax + 0x58]
mov ecx, edi
call edx
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4393d3
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
test eax, eax
jns 0x4393dd
mov dword [esp + 0x10], 0
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
cmp dword [esp + 0x10], eax
jge 0x4393f9
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
cmp dword [esp + 0x10], eax
jle 0x439415
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + ecx]
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
add eax, dword [esp + 0x2c]
add ebx, ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x58]
sub esp, 0x10
add eax, ecx
add eax, dword [esp + 0x2c]
mov ecx, esp
mov dword [ecx], edx
mov dword [esp + 0x70], ebx
mov edx, dword [esp + 0x70]
mov ebx, dword [edi]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x74]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x34]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esi + 0x424]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x48]
lea edi, [eax + ecx]
add edi, edx
add edi, dword [esp + 0x50]
add eax, ecx
add dword [esp + 0x1c], edi
lea edi, [ecx + edx]
add edi, dword [esp + 0x50]
add eax, edx
add dword [esp + 0x28], edi
sub ebx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x40c]
jl 0x439281
mov eax, dword [esi + 0x424]
imul eax, dword [esp + 0x40]
add eax, dword [esp + 0x28]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x1a4]
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044eeef
mov esp, ebp
pop ebp
ret 0x10