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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x1a8]
mov ecx, dword [eax + 0x28]
xor ebx, ebx
mov esi, dword [edx + 0x78]
test esi, esi
jne 0x43d4c8
mov edx, dword [edx + 0x38]
and edx, 2
je 0x43d27e
mov esi, dword [eax + 0x2c]
xor edi, edi
add ecx, esi
adc ebx, edi
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x74]
mov dword [ebp - 0x30], edx
mov edi, dword [eax + 0x30]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x43d573
mov edx, eax
mov esi, 1
nop
mov dword [edx + 0x88], esi
inc esi
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x43d2a0
cmp esi, 0x7fff
jg 0x43d520
mov edx, dword [ebp - 0x30]
imul edx, edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0
add dword [ebp - 0x30], ecx
adc dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], 0
xor edi, edi
jmp 0x43d395
mov ecx, dword [eax + 0x3c]
mov edx, 1
shl edx, cl
and esi, 0x100
je 0x43d30b
and ebx, 1
je 0x43d30b
mov ecx, dword [eax + 0x1c]
sub ecx, dword [ebp - 0x30]
and ecx, 0xfff
xor ebx, ebx
add dword [ebp - 0x30], ecx
adc dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov dword [eax + 0x50], ebx
mov dword [eax + 0x54], esi
mov esi, dword [eax + 0x24]
mov ecx, esi
xor ebx, ebx
add ecx, dword [ebp - 0x30]
adc ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
test edi, edi
jne 0x43d450
lea edi, [edx + esi - 1]
cmp esi, edi
ja 0x43d490
neg edx
and edx, edi
mov dword [ebp - 0x30], edx
mov edi, dword [ebp - 0x30]
mov dword [eax + 0x24], edi
xor edx, edx
cmp edi, esi
setne dl
mov dword [ebp - 0x34], edx
mov edx, edi
sub edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0
add dword [ebp - 0x30], ecx
adc dword [ebp - 0x2c], ebx
mov esi, dword [eax]
mov edi, 0x4e78dc
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
jne 0x43d408
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
or byte [eax + 0x18], 1
mov edi, eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x43d411
mov ebx, dword [eax + 0x14]
test bh, 1
je 0x43d38e
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x38]
mov ecx, esi
and ecx, 2
mov dword [ebp - 0x34], ecx
je 0x43d2e0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov ecx, dword [eax + 0x3c]
mov edx, 1
shl edx, cl
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx + edx - 1]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x38], ecx
ja 0x43d49c
mov ecx, edx
neg ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x3c]
and dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 0
test edi, edi
je 0x43d2ea
mov ecx, dword [edi + 0x24]
sub ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x30]
mov dword [edi + 0x24], ecx
jmp 0x43d2ea
mov edi, eax
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x43d395
mov edi, dword [ebp - 0x34]
test edi, edi
jne 0x43d4e4
mov edx, dword [ebp - 0x30]
lea eax, [edx + 3]
cmp edx, eax
jbe 0x43d4dc
mov eax, 0xffffffff
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0xa8]
mov dword [edx + 0x20], eax
or byte [esi + 0xb4], 0x20
mov eax, 1
add esp, 0x4c
pop ebx
pop esi
pop edi
leave
ret
mov dword [ebp - 0x3c], ecx
lea edi, [edx + ecx - 1]
cmp ecx, edi
ja 0x43d4b0
neg edx
and edx, edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], edx
mov edi, dword [ebp - 0x30]
xor edi, ecx
mov edx, dword [ebp - 0x2c]
xor edx, ebx
or edx, edi
setne dl
movzx edx, dl
mov dword [ebp - 0x34], edx
sub esi, dword [ebp - 0x3c]
add esi, dword [ebp - 0x38]
mov dword [eax + 0x24], esi
jmp 0x43d366
mov dword [ebp - 0x30], 0xffffffff
jmp 0x43d342
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0
jmp 0x43d3ee
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0
jmp 0x43d46c
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x38]
or edx, 2
mov dword [edi + 0x38], edx
jmp 0x43d270
and eax, 0xfffffffc
jmp 0x43d42f
mov byte [ebp - 0x19], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call fcn.0043be6c
test eax, eax
je 0x43d54e
xor eax, eax
add esp, 0x4c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp], 0x12
call fcn.004328a0
mov dword [esp + 8], esi
mov edi, dword [ebp + 8]
mov dword [esp + 4], edi
mov dword [esp], 0x4e78c1
call dword [0x49e8c0]
xor eax, eax
add esp, 0x4c
pop ebx
pop esi
pop edi
leave
ret
mov ebx, dword [ebp + 8]
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
lea eax, [ebp - 0x19]
mov dword [esp], eax
call fcn.0043bd50
dec eax
je 0x43d41c
xor eax, eax
jmp 0x43d515
mov edx, dword [ebp - 0x30]
imul edx, edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0
add dword [ebp - 0x30], ecx
adc dword [ebp - 0x2c], ebx
jmp 0x43d41c