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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x17c
mov eax, dword [0x56800c]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
mov eax, edx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
push edi
test eax, eax
je 0x43ae65
mov ebx, eax
lea ecx, [ebx + 2]
lea esp, [esp]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x43ae50
sub ebx, ecx
sar ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x43ae6d
mov dword [esp + 0x10], 0
lea eax, [esp + 0x44]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x68]
xor eax, eax
mov dword [esp + 0x64], 0
sub esp, 8
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call fcn.0040bd10
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*8]
cmp ecx, eax
jae 0x43b00a
lea edi, [ecx + 4]
mov dword [esp + 0x14], edi
jmp 0x43aee0
cmp dword [edi - 4], 0
jne 0x43afef
mov eax, dword [edi]
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
shl eax, 5
add eax, ebx
cmp ebx, eax
jae 0x43afef
nop
mov esi, dword [ebx]
test esi, esi
je 0x43afbd
lea ebx, [ebx]
mov eax, dword [esi]
mov edi, dword [esi + 8]
shl eax, 4
add eax, edi
cmp edi, eax
jae 0x43af45
mov edi, edi
lea eax, [esp + 0x68]
mov edx, edi
push eax
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.0043abb0
mov eax, dword [esi]
add edi, 0x10
shl eax, 4
add esp, 8
add eax, dword [esi + 8]
cmp edi, eax
jb 0x43af20
cmp dword [esi], 0
je 0x43afae
cmp dword [esi + 0x68], 0
je 0x43afae
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x43af64
mov eax, dword [esp + 0x40]
cmp word [eax + ecx*2 - 2], 0x20
je 0x43afae
push 0x20
lea ecx, [esp + 0x38]
call fcn.0040c040
mov edi, dword [esp + 0x68]
mov ecx, edi
shl ecx, 4
add ecx, dword [esp + 0x74]
mov eax, dword [ecx - 0xc]
mov edx, dword [ecx - 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ecx - 8]
add edx, eax
mov ecx, dword [ecx - 4]
mov dword [esp + 0x24], edx
cdq
sub eax, edx
mov dword [esp + 0x30], ecx
sar eax, 1
lea ecx, [esp + 0x68]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
push edi
call fcn.00436180
mov esi, dword [esi + 0x68]
test esi, esi
jne 0x43af10
mov edi, dword [esp + 0x14]
push dword [esp + 0x10]
lea edx, [esp + 0x6c]
push dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
call fcn.0043ad30
mov eax, dword [edi]
add ebx, 0x20
add esp, 8
mov ecx, dword [eax + 0x10]
shl ecx, 5
add ecx, dword [eax + 0x18]
cmp ebx, ecx
jb 0x43af00
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x18]
add edi, 8
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x14], edi
lea ecx, [eax + ecx*8]
lea eax, [edi - 4]
cmp eax, ecx
jb 0x43aee0
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x43b085
mov esi, dword [esp + 0x74]
lea eax, [esp + 0x78]
cmp esi, eax
jne 0x43b058
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x178]
lea edi, [edi + 1]
shl edi, 4
push edi
test ecx, ecx
jne 0x43b03e
call fcn.004c8cd1
add esp, 4
jmp 0x43b043
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
test esi, esi
je 0x43b058
push edi
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.004e0070
add esp, 0xc
push 0x100
lea eax, [esp + 0x7c]
mov dword [esp + 0x6c], 0
push 0
push eax
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x80], eax
call fcn.004bef30
add esp, 0xc
mov dword [ebx], esi
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x44]
cmp esi, eax
jne 0x43b0c9
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
lea edi, [eax*2 + 2]
push edi
test ecx, ecx
jne 0x43b0af
call fcn.004c8cd1
add esp, 4
jmp 0x43b0b4
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
test esi, esi
je 0x43b0c9
push edi
lea eax, [esp + 0x48]
push eax
push esi
call fcn.004e0070
add esp, 0xc
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x44]
xor eax, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x40], ecx
cmp edx, eax
je 0x43b12e
mov ecx, dword [esp + 0x178]
push edx
test ecx, ecx
jne 0x43b125
call fcn.004bf8aa
add esp, 4
jmp 0x43b12a
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x44]
cmp ecx, eax
je 0x43b165
mov edx, dword [esp + 0x64]
push ecx
test edx, edx
jne 0x43b15e
call fcn.004bf8aa
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov ecx, dword [esp + 0x184]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret