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

Disassembly:
push ebp
mov ebp, dword [esp + 8]
test ebp, ebp
je 0x43d267
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x43d266
push esi
push ebp
call fcn.0043cd90
add esp, 8
test byte [esi + 8], 8
je 0x43d176
movzx eax, word [esi + 0x14]
mov ecx, dword [esi + 0x10]
push eax
push ecx
push ebp
call fcn.004445f0
add esp, 0xc
test byte [esi + 8], 0x10
je 0x43d001
test dword [ebp + 0x74], 0x80000
je 0x43cfe6
cmp byte [esi + 0x19], 3
jne 0x43cfe6
xor edx, edx
xor eax, eax
cmp dx, word [esi + 0x16]
jae 0x43cfe6
nop
mov ecx, dword [esi + 0x4c]
or dl, 0xff
sub dl, byte [ecx + eax]
inc eax
mov byte [ecx + eax - 1], dl
movzx ecx, word [esi + 0x16]
cmp eax, ecx
jl 0x43cfd0
movzx edx, byte [esi + 0x19]
movzx eax, word [esi + 0x16]
push edx
mov edx, dword [esi + 0x4c]
push eax
lea ecx, [esi + 0x50]
push ecx
push edx
push ebp
call fcn.00444bc0
add esp, 0x14
test byte [esi + 8], 0x20
je 0x43d019
movzx eax, byte [esi + 0x19]
push eax
lea ecx, [esi + 0x5a]
push ecx
push ebp
call fcn.00444d30
add esp, 0xc
test byte [esi + 8], 0x40
je 0x43d031
movzx edx, word [esi + 0x14]
mov eax, dword [esi + 0x7c]
push edx
push eax
push ebp
call fcn.00444ea0
add esp, 0xc
test dword [esi + 8], 0x100
je 0x43d050
movzx ecx, byte [esi + 0x6c]
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x64]
push ecx
push edx
push eax
push ebp
call fcn.00445560
add esp, 0x10
test dword [esi + 8], 0x400
je 0x43d095
mov ecx, dword [esi + 0xb0]
mov edx, dword [esi + 0xac]
movzx eax, byte [esi + 0xb5]
push ecx
movzx ecx, byte [esi + 0xb4]
push edx
mov edx, dword [esi + 0xa8]
push eax
mov eax, dword [esi + 0xa4]
push ecx
mov ecx, dword [esi + 0xa0]
push edx
push eax
push ecx
push ebp
call fcn.00445610
add esp, 0x20
test dword [esi + 8], 0x4000
je 0x43d0bd
mov edx, dword [esi + 0xe4]
mov eax, dword [esi + 0xe0]
movzx ecx, byte [esi + 0xdc]
push edx
push eax
push ecx
push ebp
call fcn.00445840
add esp, 0x10
test byte [esi + 8], 0x80
je 0x43d0d9
movzx edx, byte [esi + 0x78]
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
push edx
push eax
push ecx
push ebp
call fcn.00445900
add esp, 0x10
push edi
mov edi, 0x200
test dword [esi + 8], edi
je 0x43d0f4
lea edx, [esi + 0x3c]
push edx
push ebp
call fcn.004459b0
add esp, 8
or dword [ebp + 0x6c], edi
test dword [esi + 8], 0x2000
push ebx
je 0x43d12e
xor edi, edi
cmp dword [esi + 0xd8], edi
jle 0x43d12e
xor ebx, ebx
lea ebx, [ebx]
mov eax, dword [esi + 0xd4]
add eax, ebx
push eax
push ebp
call fcn.00446240
inc edi
add esp, 8
add ebx, 0x10
cmp edi, dword [esi + 0xd8]
jl 0x43d110
xor ebx, ebx
cmp dword [esi + 0x30], ebx
jle 0x43d1e1
xor edi, edi
jmp 0x43d140
mov ecx, dword [esi + 0x38]
mov eax, dword [edi + ecx]
test eax, eax
jle 0x43d186
mov edx, dword [edi + ecx + 0x18]
lea eax, [edi + ecx]
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 0x14]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
push ebp
call fcn.00445350
mov ecx, dword [esi + 0x38]
add esp, 0x18
mov dword [edi + ecx], 0xfffffffd
jmp 0x43d1d4
cmp byte [esi + 0x19], 3
jne 0x43cfb0
push ebp
call fcn.00437ff0
jne 0x43d1ae
mov edx, dword [edi + ecx + 8]
lea eax, [edi + ecx]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ecx
push 0
push edx
push eax
push ebp
call fcn.00445230
mov ecx, dword [esi + 0x38]
add esp, 0x14
mov dword [edi + ecx], 0xfffffffe
jmp 0x43d1d4
cmp eax, 0xffffffff
jne 0x43d1d4
mov edx, dword [edi + ecx + 4]
lea eax, [edi + ecx]
mov ecx, dword [eax + 8]
push 0
push ecx
push edx
push ebp
call fcn.00445140
mov eax, dword [esi + 0x38]
add esp, 0x10
mov dword [edi + eax], 0xfffffffd
inc ebx
add edi, 0x1c
cmp ebx, dword [esi + 0x30]
jl 0x43d140
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x43d264
mov ecx, dword [esi + 0xbc]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*4]
cmp ecx, eax
jae 0x43d264
lea edi, [ecx + 0x10]
mov edi, edi
lea ebx, [edi - 0x10]
push ebx
push ebp
call fcn.00435c60
add esp, 8
cmp eax, 1
je 0x43d248
mov cl, byte [edi]
test cl, cl
je 0x43d248
test cl, 2
je 0x43d248
test cl, 0xc
jne 0x43d248
test byte [edi - 0xd], 0x20
jne 0x43d236
cmp eax, 3
je 0x43d236
test dword [ebp + 0x70], 0x10000
je 0x43d248
mov ecx, dword [edi - 4]
mov edx, dword [edi - 8]
push ecx
push edx
push ebx
push ebp
call fcn.00443b70
add esp, 0x10
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xbc]
lea eax, [eax + eax*4]
add edi, 0x14
lea edx, [ecx + eax*4]
lea eax, [edi - 0x10]
cmp eax, edx
jb 0x43d200
pop ebx
pop edi
pop esi
pop ebp
ret