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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
lea ebx, [esp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], 0x4f3670
mov dword [esp + 0x38], 0x4f4d5c
mov dword [esp + 0x40], 0x43d5cf
mov dword [esp + 0x3c], ebx
lea ebx, [esp + 0x1c]
mov dword [esp + 0x44], esp
mov dword [esp], ebx
call fcn.00458010
mov eax, dword [esp + 0x10]
mov dword [eax], 0x509024
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
and eax, 3
cmp eax, 3
je 0x43d561
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax]
mov eax, ecx
sub eax, ebx
cmp eax, 0x14
jle 0x43d504
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
xor edx, edx
mov ecx, ebx
test esi, esi
sete dl
imul edx, dword [eax + 0x10]
mov eax, 0x20000
shl eax, cl
add eax, edx
mov edi, dword [esp + 0x10]
lea ebx, [edi + 4]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [esp], eax
mov ecx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], 0xffffffff
call fcn.0041fa20
sub esp, 4
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x74]
mov eax, dword [eax + 8]
mov edx, dword [esi + 0x14]
mov esi, edi
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x74]
mov ecx, edx
mov edx, 0xc
mov eax, dword [eax]
sub ecx, eax
sub edx, eax
add eax, 0x11
cmp ecx, 0x14
cmovle eax, edx
mov edx, ebx
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
mov edi, eax
mov eax, dword [esi + 8]
and edi, 3
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], eax
mov eax, esi
mov esi, dword [ebx + 8]
mov dword [eax + 0x28], esi
mov ebx, dword [ebx + 0xc]
mov dword [eax + 0x30], 0xc000
mov dword [eax + 0x34], 0x1000
mov dword [eax + 0x2c], ebx
mov ebp, dword [edx + 0x18]
mov edx, eax
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x38], ebp
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov eax, 1
shl eax, cl
sub eax, 1
test esi, esi
mov dword [edx + 0x44], eax
mov eax, 1
je 0x43d41d
mov eax, dword [esp + 0x74]
xor edx, edx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x14], eax
sub eax, 1
div esi
add eax, 1
mov edx, dword [esp + 0x10]
mov dword [edx + 0x48], eax
xor eax, eax
test ebx, ebx
je 0x43d43f
mov eax, dword [esp + 0x74]
xor edx, edx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x14], eax
sub eax, 1
div ebx
add eax, 1
mov ecx, dword [esp + 0x10]
add ebx, ebp
cmp ebx, esi
cmovb ebx, esi
mov dword [ecx + 0x4c], eax
mov eax, dword [esp + 0x74]
add ebx, 4
mov dword [ecx + 0x50], ebx
mov edx, dword [eax]
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x68], 0
lea eax, [edx - 4]
cmp edx, 5
mov edx, 0
mov dword [ecx + 0x6c], 0
mov dword [ecx + 0x70], 0
cmovl eax, edx
cmp esi, 3
mov dword [ecx + 0x54], eax
ja 0x43d4b0
cmp edi, 1
je 0x43d510
test esi, esi
jne 0x43d4b0
cmp edi, 2
je 0x43d510
nop
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
test ecx, ecx
sete byte [esp + 0x14]
cmp dword [esi + 4], 4
movzx eax, byte [esp + 0x14]
jle 0x43d4d2
test al, al
jne 0x43d5b0
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x74]
mov eax, dword [eax + 0x14]
sub eax, dword [ebx]
cmp eax, 0x14
jg 0x43d530
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x18], 3
je 0x43d530
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.004580a0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, 1
shl eax, cl
jmp 0x43d320
mov dword [esp], 0x4fb788
mov dword [esp + 0x20], 1
call fcn.00402a80
jmp 0x43d4b0
mov edx, dword [esp + 0x78]
test edx, edx
je 0x43d582
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x78]
mov dword [eax + 0x6c], esi
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x18], 2
jg 0x43d4ee
movzx eax, byte [esp + 0x14]
shl eax, 2
imul eax, dword [edx + 0x20]
add eax, dword [edx + 4]
mov dword [edx + 0x70], eax
jmp 0x43d4ee
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x78]
xor edx, edx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
add eax, 1
test edi, edi
sete dl
imul eax, edx
jmp 0x43d320
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 4]
test edx, edx
mov dword [ebx + 0x6c], eax
je 0x43d543
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.0043c240
jmp 0x43d543
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.0043d1b0
jmp 0x43d4d2