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

Disassembly:
push 0xffffffffffffffff
push 0x493748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x4aca3c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
xor ebx, ebx
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x64], ebx
call fcn.00482d67
mov ecx, dword [esp + 0x74]
push ecx
lea ecx, [esp + 0x40]
call fcn.00482d67
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
cmp eax, 0xffffffff
mov dword [esp + 0x40], edx
jne 0x43eff4
mov dword [esp + 0x44], ebx
jmp 0x43f022
mov ecx, eax
xor edx, edx
and ecx, 0xff
mov dl, ah
or ecx, 0xffffff00
and edx, 0xff
shl ecx, 8
or ecx, edx
shr eax, 0x10
shl ecx, 8
and eax, 0xff
or ecx, eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x38]
cmp dword [ecx - 8], ebx
je 0x43f39d
mov eax, dword [esi + 0x208]
cmp eax, 0x20
jge 0x43f367
movsx ecx, byte [ecx]
sub ecx, 9
je 0x43f367
dec ecx
je 0x43f34e
sub ecx, 3
je 0x43f367
mov edi, dword [esi + 0x138]
push 0x4a8820
mov ecx, edi
call fcn.0041f260
cmp eax, ebx
jge 0x43f07f
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x58]
call fcn.00417d40
jmp 0x43f085
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], edx
push ecx
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.0043e420
mov edx, dword [esp + 0x40]
xor ecx, ecx
mov dword [esp + 0x74], ecx
mov eax, 0x497680
cmp edx, dword [eax]
jle 0x43f0ca
add eax, 4
inc ecx
cmp eax, 0x497690
jb 0x43f0bb
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x18]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + ecx*4 + 0x3c]
push edx
push eax
call fcn.00404920
mov eax, dword [esi + 0x38]
mov dword [esp + 0x70], ebx
cmp eax, ebx
je 0x43f1e9
mov edx, dword [eax + 8]
mov ecx, dword [esi + 0x78]
cmp ecx, edx
jge 0x43f1e9
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x10]
mov edi, dword [esi + 0x74]
mov ebp, dword [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], edi
mov edx, dword [ebp]
lea ebx, [ecx + eax]
mov ecx, ebp
call dword [edx + 8]
cmp edi, eax
jge 0x43f1e9
jmp 0x43f12c
mov edi, dword [esp + 0x6c]
mov eax, dword [ebp]
push edi
mov ecx, ebp
call dword [eax + 4]
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0xc]
test eax, eax
je 0x43f1e9
mov eax, dword [edi]
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x30]
push edx
mov ecx, dword [esi + ecx*4 + 0x3c]
push eax
mov byte [esp + 0x68], 1
call fcn.00404920
mov edx, dword [eax]
mov eax, dword [esi + 0x3e0]
add ebx, edx
mov edx, dword [esp + 0x68]
push edx
push eax
call fcn.0043f430
add esp, 8
test eax, eax
je 0x43f192
cmp ebx, dword [esp + 0x28]
jg 0x43f1d3
jmp 0x43f1aa
mov ecx, dword [esp + 0x68]
mov eax, dword [esi + 0x3dc]
push ecx
push eax
call fcn.0043f430
add esp, 8
test eax, eax
je 0x43f1db
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 0
call fcn.00482c2a
mov edi, dword [esp + 0x6c]
mov edx, dword [ebp]
inc edi
mov ecx, ebp
mov dword [esp + 0x6c], edi
call dword [edx + 8]
cmp edi, eax
jl 0x43f128
jmp 0x43f1e9
mov dword [esp + 0x70], 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 0
call fcn.00482c2a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add ecx, eax
mov eax, dword [esp + 0x28]
cmp ecx, eax
jle 0x43f213
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0x3dc]
push edx
push eax
call fcn.0043f430
add esp, 8
test eax, eax
je 0x43f21b
mov eax, dword [esp + 0x70]
test eax, eax
je 0x43f25a
mov ecx, dword [esi + 0x208]
inc ecx
mov eax, ecx
mov dword [esi + 0x208], ecx
cmp eax, 0x20
jge 0x43f367
sub esp, 0x10
mov edx, dword [0x4a70d0]
mov ebx, esp
xor eax, eax
mov edi, dword [0x4a70d4]
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, esi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
call fcn.00402ee0
mov eax, dword [esi + 0x208]
push 0
lea ecx, [eax*8]
sub ecx, eax
mov edx, dword [esi + ecx*4 + 0x474]
lea edi, [esi + ecx*4 + 0x46c]
push edx
mov ecx, edi
call fcn.00447720
mov ebx, eax
lea eax, [esp + 0x38]
push eax
lea ebp, [ebx + 8]
mov ecx, ebp
call fcn.00482d17
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [ebp + 4]
call fcn.00482d17
mov edx, dword [esp + 0x40]
mov dword [ebp + 8], edx
mov eax, dword [esp + 0x44]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x43f2b8
mov dword [eax], ebx
jmp 0x43f2bb
mov dword [edi + 4], ebx
sub esp, 0x10
mov dword [edi + 8], ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov ebx, esp
lea ecx, [ecx + eax + 2]
lea edi, [edx + edi + 2]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, esi
mov dword [ebx + 0xc], edi
call fcn.00402ee0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43f367
mov ecx, dword [esi + 0x3c]
lea edx, [esp + 0x20]
push eax
push edx
call fcn.00404920
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov eax, ebx
sub eax, ecx
mov ecx, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
neg ecx
sar eax, 1
add ecx, edx
mov edx, dword [esp + 0x10]
neg eax
add eax, edx
sub esp, 0x10
lea edi, [ecx + edi + 2]
lea edx, [eax + ebx + 2]
mov ebx, esp
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, esi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
call fcn.00402ee0
jmp 0x43f367
lea ecx, [eax*8]
sub ecx, eax
cmp dword [esi + ecx*4 + 0x478], ebx
je 0x43f367
inc eax
mov dword [esi + 0x208], eax
mov eax, dword [esi + 0x2e4]
xor ebx, ebx
cmp eax, ebx
je 0x43f39d
cmp dword [esi + 0x3c4], ebx
jne 0x43f39d
mov edx, dword [esi + 0x3c0]
mov ecx, esi
push edx
call fcn.0043f810
cmp eax, dword [esi + 0x23c]
je 0x43f397
mov dword [esi + 0x238], eax
mov dword [esi + 0x23c], eax
cmp dword [esi + 0x230], ebx
jne 0x43f3e2
mov ecx, esi
call fcn.0043f870
test eax, eax
jne 0x43f3e2
cmp dword [esi + 0x218], ebx
je 0x43f3e2
cmp dword [esi + 0x2c4], 0x64
je 0x43f3e2
mov eax, dword [esi + 0x208]
cmp eax, 0x20
jge 0x43f3ea
lea ecx, [eax*8]
sub ecx, eax
cmp dword [esi + ecx*4 + 0x478], ebx
je 0x43f3ea
push 1
jmp 0x43f3e3
push ebx
mov ecx, esi
call fcn.0042cd10
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60], 2
call fcn.00482c2a
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], 0xffffffff
call fcn.00482c2a
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 0x10