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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffb04
mov dword [esp + 4], ecx
mov esi, edx
mov dword [esp], eax
cmp dword [esp + 4], 0
jne 0x43ddd2
lea eax, [esp + 0x18]
xor ecx, ecx
mov edx, 8
call fcn.004032f4
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
xor ecx, ecx
mov edx, 0x4c0
call fcn.004032f4
xor ebx, ebx
cmp dword [esi + 0x5c], 0
je 0x43de0c
mov eax, dword [esi + 0x5c]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0xa4], eax
mov edx, dword [esi + 4]
imul eax, ebx, 0x13
mov dword [esp + eax*8 + 0x3c], edx
movzx edx, byte [esi + 8]
mov byte [esp + eax*8 + 0x40], dl
movzx edx, word [esi]
mov word [esp + eax*8 + 0x70], dx
mov edx, dword [esp + 0xc]
or edx, 0x800000
mov dword [esp + eax*8 + 0x6c], edx
mov dword [esp + eax*8 + 0x48], 0xe
inc ebx
mov edx, dword [esi + 0xc]
test edx, edx
je 0x43de68
imul eax, ebx, 0x13
mov dword [esp + eax*8 + 0x3c], edx
test byte [esi + 0x1e], 4
setne dl
mov byte [esp + eax*8 + 0x40], dl
mov edx, dword [esi + 0x10]
mov dword [esp + eax*8 + 0x44], edx
inc ebx
cmp dword [esp + 0x10], 0
je 0x43dede
test byte [esp + 0xe], 2
setne byte [esp + 0x14]
lea edx, [esp + 0x14]
mov eax, dword [esp + 0x10]
call fcn.004146e8
mov dword [esp + 0x10], eax
imul ebp, ebx, 0x13
mov dword [esp + ebp*8 + 0x3c], 1
cmp byte [esp + 0x14], 0
je 0x43deb8
mov dword [esp + ebp*8 + 0x48], 0xfffffffd
mov edx, 0x7fff
mov eax, dword [esp + 0x10]
call fcn.0040d9e4
mov dword [esp + ebp*8 + 0x54], eax
jmp 0x43decd
mov dword [esp + ebp*8 + 0x48], 0xfffffffe
mov eax, dword [esp + 0x10]
call fcn.00408154
mov dword [esp + ebp*8 + 0x54], eax
mov dword [esp + ebp*8 + 0x6c], 2
mov dword [esp + ebp*8 + 0x58], 4
inc ebx
mov word [esp + 8], 0
cmp dword [esi + 0x2c], 0
je 0x43e046
mov edx, dword [esi + 0x20]
cmp edx, 0xb
jne 0x43dfca
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, ebx
add ax, 0x400
mov word [esp + 8], ax
mov eax, dword [esi + 0x30]
dec eax
test eax, eax
jl 0x43e046
inc eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], 0
imul ebp, ebx, 0x13
mov dword [esp + ebp*8 + 0x3c], 1
mov eax, dword [esp + 0x2c]
mov dword [esp + ebp*8 + 0x4c], eax
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x30]
mov eax, dword [esi + 0x2c]
mov edx, dword [esp + 0x24]
call fcn.00414854
mov dword [esp + ebp*8 + 0x5c], eax
mov dword [esp + ebp*8 + 0x48], 0xb
movzx eax, word [esp + 8]
add ax, word [esp + 0x24]
mov word [esp + ebp*8 + 0x70], ax
mov eax, dword [esi + 0x24]
and eax, 0xfffffdff
mov dword [esp + ebp*8 + 0x6c], eax
cmp byte [esp + 0x30], 0
je 0x43df83
or dword [esp + ebp*8 + 0x6c], 0x200
mov eax, dword [esi + 0x28]
test eax, eax
je 0x43df95
mov edx, dword [esp + 0x24]
mov eax, dword [eax + edx*4]
mov dword [esp + ebp*8 + 0x74], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x43dfb9
mov edx, dword [esi + 0x4c]
cmp edx, dword [esp + 0x24]
jne 0x43dfb9
or dword [esp + ebp*8 + 0x6c], 8
mov dword [esp + ebp*8 + 0x78], eax
movzx eax, byte [esi + 0x50]
mov byte [esp + ebp*8 + 0x80], al
inc ebx
inc dword [esp + 0x24]
dec dword [esp + 0x38]
jne 0x43df25
jmp 0x43e046
imul eax, ebx, 0x13
mov dword [esp + eax*8 + 0x3c], 1
test edx, edx
jne 0x43dfe3
mov dword [esp + eax*8 + 0x48], 5
jmp 0x43dfe7
mov dword [esp + eax*8 + 0x48], edx
mov dword [esp + eax*8 + 0x58], 4
mov edx, dword [esi + 0x24]
mov dword [esp + eax*8 + 0x6c], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + eax*8 + 0x5c], edx
mov edx, dword [esi + 0x30]
mov dword [esp + eax*8 + 0x60], edx
mov edx, dword [esi + 0x34]
mov dword [esp + eax*8 + 0x64], edx
mov edx, dword [esi + 0x38]
mov dword [esp + eax*8 + 0x68], edx
movzx edx, word [esi + 0x3c]
mov word [esp + eax*8 + 0x70], dx
cmp dword [esi + 0x48], 0
je 0x43e045
or dword [esp + eax*8 + 0x6c], 8
mov edx, dword [esi + 0x48]
mov dword [esp + eax*8 + 0x78], edx
mov edx, dword [esi + 0x4c]
or edx, 0x8000
mov dword [esp + eax*8 + 0x7c], edx
movzx edx, byte [esi + 0x50]
mov byte [esp + eax*8 + 0x80], dl
inc ebx
mov edx, dword [esi + 0x18]
test edx, edx
je 0x43e062
imul eax, ebx, 0x13
mov dword [esp + eax*8 + 0x48], 0xf
mov dword [esp + eax*8 + 0x3c], edx
mov byte [esp + eax*8 + 0x40], 0
inc ebx
mov edx, dword [esi + 0x40]
test edx, edx
je 0x43e097
imul eax, ebx, 0x13
mov dword [esp + eax*8 + 0x48], 0x10
mov dword [esp + eax*8 + 0x5c], edx
mov edx, dword [esi + 0x54]
test edx, edx
je 0x43e096
mov dword [esp + eax*8 + 0x78], edx
movsx edx, word [esi + 0x58]
mov dword [esp + eax*8 + 0x7c], edx
movzx edx, byte [esi + 0x5a]
mov byte [esp + eax*8 + 0x80], dl
inc ebx
cmp dword [esp + 0x10], 0
jne 0x43e0ce
cmp dword [esp + 4], 0
je 0x43e0ab
cmp dword [esi + 0x20], 0xb
jne 0x43e0b5
xor eax, eax
mov dword [esp + 0x20], eax
xor ebp, ebp
jmp 0x43e101
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], eax
mov ebp, 4
jmp 0x43e101
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
cmp dword [esp + 4], 0
je 0x43e0e3
cmp dword [esi + 0x20], 0xb
jne 0x43e0ea
mov ebp, 4
jmp 0x43e0f9
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov ebp, 8
lea eax, [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
push eax
push ebp
lea edx, [esp + 0x44]
mov ecx, ebx
mov eax, dword [esp + 8]
call fcn.00441e98
movsx edi, ax
test byte [esp + 0xd], 0x80
je 0x43e125
cmp edi, 2
je 0x43e101
test edi, edi
jle 0x43e179
cmp edi, 2
je 0x43e179
cmp dword [esp + 4], 0
je 0x43e179
cmp dword [esi + 0x20], 0xb
jne 0x43e15c
movsx eax, word [esp + 8]
cmp edi, eax
jl 0x43e179
mov edx, edi
sub edx, eax
cmp edx, dword [esi + 0x30]
jge 0x43e179
sub edi, eax
mov eax, dword [esp + 4]
mov dword [eax], edi
mov edi, 1
jmp 0x43e179
cmp dword [esp + 0x10], 0
jne 0x43e16f
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x18]
mov dword [eax], edx
jmp 0x43e179
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
mov eax, edi
add esp, 0x4fc
pop ebp
pop edi
pop esi
pop ebx
ret