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

Disassembly:
sub esp, 0x16c
push ebx
push ebp
mov ebp, dword [esp + 0x180]
push esi
mov esi, dword [esp + 0x180]
mov edx, dword [ebp + 0x510]
mov ebx, dword [ebp + 0x504]
mov eax, dword [esi + 0x40]
mov dword [esp + 0xc], edx
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1c]
lea ecx, [eax + 0x720]
mov eax, dword [eax + 0xb20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x30], ecx
test eax, eax
je 0x43b26d
push edi
xor edi, edi
test ebx, ebx
jle 0x43ade1
mov ebp, eax
lea esp, [esp]
mov ecx, dword [ebp + edi*4]
mov esi, ecx
mov eax, dword [edx + 0x340]
and esi, 0x7fff
dec eax
cmp eax, 3
ja case.default.0x43ad98
jmp dword [eax*4 + 0x43b2ac]
sar esi, 2
jmp case.default.0x43ad98
sar esi, 3
jmp case.default.0x43ad98
mov eax, 0x2aaaaaab
imul esi
sar edx, 1
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [esp + 0x10]
jmp case.default.0x43ad98
sar esi, 4
and ecx, 0x8000
or ecx, esi
mov dword [ebp + edi*4], ecx
inc edi
cmp edi, ebx
jl 0x43ad80
mov ebp, dword [esp + 0x188]
mov eax, dword [esp + 0x18c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
cmp ebx, 2
jle 0x43af49
mov esi, dword [esp + 0x18c]
lea eax, [edx + 0x34c]
mov ecx, dword [esp + 0x188]
mov dword [esp + 0x14], eax
add ecx, 0x30c
lea eax, [esp + 0x78]
mov dword [esp + 0x28], ecx
sub eax, esi
lea ebp, [esi + 8]
add ebx, 0xfffffffe
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
lea ecx, [ecx]
mov eax, dword [ecx + 0xfc]
mov ecx, dword [ecx]
mov edi, dword [esi + ecx*4]
and edi, 0x7fff
mov ebx, dword [edx + eax*4 + 0x344]
lea eax, [esi + eax*4]
mov dword [esp + 0x30], eax
lea edx, [esi + ecx*4]
mov eax, dword [eax]
and eax, 0x7fff
mov dword [esp + 0x2c], edx
sub edi, eax
mov dword [esp + 0x1c], eax
mov eax, edi
cdq
mov esi, eax
mov eax, dword [esp + 0x14]
xor esi, edx
sub esi, edx
mov eax, dword [eax]
sub eax, ebx
imul esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + ecx*4 + 0x344]
mov eax, esi
sub ecx, ebx
cdq
idiv ecx
test edi, edi
mov edi, dword [esp + 0x1c]
jns 0x43ae97
mov esi, edi
sub esi, eax
jmp 0x43ae9a
lea esi, [eax + edi]
mov ecx, dword [ebp]
test ecx, 0x8000
jne 0x43aefe
cmp esi, ecx
je 0x43aefe
mov eax, dword [esp + 0x188]
mov edx, dword [eax + 0x50c]
sub edx, esi
cmp edx, esi
jl 0x43aebe
mov edx, esi
sub ecx, esi
jns 0x43aedb
mov eax, edx
neg eax
cmp ecx, eax
jge 0x43aed1
sub edx, ecx
lea ecx, [edx - 1]
jmp 0x43aee5
lea eax, [ecx + ecx]
or ecx, 0xffffffff
sub ecx, eax
jmp 0x43aee5
cmp ecx, edx
jl 0x43aee3
add ecx, edx
jmp 0x43aee5
add ecx, ecx
mov eax, dword [esp + 0x24]
mov dword [eax + ebp], ecx
mov eax, dword [esp + 0x30]
mov dword [eax], edi
mov eax, dword [esp + 0x2c]
and dword [eax], 0x7fff
jmp 0x43af12
mov eax, dword [esp + 0x24]
or esi, 0x8000
mov dword [ebp], esi
mov dword [eax + ebp], 0
mov ecx, dword [esp + 0x28]
add ebp, 4
add dword [esp + 0x14], 4
add ecx, 4
dec dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18c]
mov dword [esp + 0x28], ecx
jne 0x43ae30
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x188]
mov ebx, dword [esp + 0x180]
push 1
push 1
push ebx
call fcn.00440580
mov ecx, dword [ebp + 0x50c]
add esp, 0xc
inc dword [ebp + 0x51c]
xor edx, edx
dec ecx
mov eax, ecx
je 0x43af75
inc edx
shr eax, 1
jne 0x43af70
lea eax, [edx + edx]
add dword [ebp + 0x518], eax
xor eax, eax
test ecx, ecx
je 0x43af89
inc eax
shr ecx, 1
jne 0x43af84
push eax
push esi
push ebx
call fcn.00440580
mov eax, dword [ebp + 0x50c]
add esp, 0xc
mov ecx, 0
dec eax
je 0x43afa7
inc ecx
shr eax, 1
jne 0x43afa2
push ecx
push edi
push ebx
call fcn.00440580
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 2
cmp dword [eax], 0
jle 0x43b18e
lea ecx, [eax + 4]
mov dword [esp + 0x24], ecx
mov edi, dword [ecx]
mov edx, 1
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [eax + edi*4 + 0xc0]
mov ebp, dword [eax + edi*4 + 0x80]
shl edx, cl
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x43b109
xor ecx, ecx
test edx, edx
jle 0x43b086
lea esi, [edi + 0xa]
mov edi, dword [esp + 0x34]
shl esi, 5
add esi, eax
lea esp, [esp]
mov eax, dword [esi]
test eax, eax
jns 0x43b070
mov dword [esp + ecx*4 + 0x58], 1
jmp 0x43b07a
mov eax, dword [edi + eax*4]
mov eax, dword [eax + 4]
mov dword [esp + ecx*4 + 0x58], eax
inc ecx
add esi, 4
cmp ecx, edx
jl 0x43b060
mov edi, dword [esp + 0x18]
xor esi, esi
test ebp, ebp
jle 0x43b0d5
mov eax, dword [esp + 0x14]
lea edi, [esp + 0x78]
lea edi, [edi + eax*4]
xor eax, eax
test edx, edx
jle 0x43b0b1
mov ecx, dword [edi]
nop
cmp ecx, dword [esp + eax*4 + 0x58]
jl 0x43b0ad
inc eax
cmp eax, edx
jl 0x43b0a0
jmp 0x43b0b1
mov dword [esp + esi*4 + 0x38], eax
mov eax, dword [esp + esi*4 + 0x38]
mov ecx, ebx
add ebx, dword [esp + 0x2c]
inc esi
shl eax, cl
add edi, 4
mov ecx, dword [esp + 0x1c]
or ecx, eax
mov dword [esp + 0x1c], ecx
cmp esi, ebp
jl 0x43b097
mov edi, dword [esp + 0x18]
jmp 0x43b0d7
mov ecx, ebx
mov eax, dword [esp + 0x10]
push dword [esp + 0x180]
push ecx
imul eax, dword [eax + edi*4 + 0x100], 0x2c
add eax, dword [esp + 0x28]
push eax
call fcn.00439440
mov ecx, dword [esp + 0x194]
add esp, 0xc
add dword [ecx + 0x514], eax
mov eax, dword [esp + 0x10]
xor esi, esi
test ebp, ebp
jle 0x43b16e
mov eax, dword [esp + 0x14]
lea ebx, [edi*8 + 0x50]
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0x78]
lea edi, [edi + eax*4]
mov eax, dword [esp + esi*4 + 0x38]
add eax, ebx
mov eax, dword [ecx + eax*4]
test eax, eax
js 0x43b162
mov ecx, dword [edi]
imul eax, eax, 0x2c
add eax, dword [esp + 0x20]
cmp ecx, dword [eax + 4]
jge 0x43b15e
push dword [esp + 0x180]
push ecx
push eax
call fcn.00439440
mov ecx, dword [esp + 0x194]
add esp, 0xc
add dword [ecx + 0x518], eax
mov ecx, dword [esp + 0x10]
inc esi
add edi, 4
cmp esi, ebp
jl 0x43b125
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
inc esi
add dword [esp + 0x14], ebp
add ecx, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
cmp esi, dword [eax]
jl 0x43afd6
mov ebx, dword [eax + 0x340]
xor edi, edi
mov ecx, dword [esp + 0x18c]
mov ebp, 1
mov eax, dword [esp + 0x188]
mov dword [esp + 0x20], edi
imul ebx, dword [ecx]
cmp dword [eax + 0x504], ebp
jle 0x43b224
add eax, 0x108
mov dword [esp + 0x18], eax
mov edx, dword [eax]
mov eax, dword [ecx + edx*4]
mov ecx, eax
and ecx, 0x7fff
cmp ecx, eax
jne 0x43b202
mov eax, dword [esp + 0x10]
push dword [esp + 0x190]
mov esi, dword [eax + 0x340]
mov edi, dword [eax + edx*4 + 0x344]
imul esi, ecx
push esi
push ebx
push edi
push dword [esp + 0x30]
call fcn.0043bc70
add esp, 0x14
mov dword [esp + 0x20], edi
mov ebx, esi
mov ecx, dword [esp + 0x188]
inc ebp
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
cmp ebp, dword [ecx + 0x504]
mov ecx, dword [esp + 0x18c]
jl 0x43b1c1
mov ecx, dword [esp + 0x184]
mov eax, dword [ecx + 0x24]
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jge 0x43b257
jmp 0x43b240
mov eax, dword [esp + 0x190]
mov dword [eax + edi*4], ebx
inc edi
mov eax, dword [ecx + 0x24]
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jl 0x43b240
inc dword [0x4b8864]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
push 1
push 0
push dword [esp + 0x184]
call fcn.00440580
mov eax, dword [esi + 0x24]
cdq
sub eax, edx
sar eax, 1
shl eax, 2
push eax
push 0
push dword [esp + 0x1a0]
call sub.MSVCRT.dll_memset
inc dword [0x4b8864]
add esp, 0x18
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret