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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x4b1810]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00445bc0
mov ecx, eax
call fcn.00445b40
mov eax, dword [esp + 0x10]
mov esi, dword [esi + 0x1a0]
cmp esi, dword [eax + 0x1a4]
je 0x43f8dd
push 1
push 0x413bb8
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call fcn.0041a5e0
lea eax, [esp + 0x38]
push eax
push esi
lea ecx, [esp + 0x58]
call fcn.00442920
cmp dword [esp + 0x4c], 0x10
jb 0x43f4fc
push dword [esp + 0x38]
call fcn.0048d7cb
add esp, 4
cmp dword [esp + 0x88], 0
jne 0x43f51b
cmp dword [esp + 0x90], 0
jne 0x43f51b
lea ecx, [esp + 0x50]
call fcn.00443060
jmp 0x43f524
lea ecx, [esp + 0x50]
call fcn.004430f0
test al, al
je 0x43f886
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp ecx, eax
je 0x43f565
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.0041a5e0
cmp dword [esp + 0x4c], 0x10
mov edi, dword [esp + 0x38]
jae 0x43f569
lea edi, [esp + 0x38]
call fcn.00445bc0
push edi
mov ecx, eax
call fcn.00445950
cmp dword [esp + 0x4c], 0x10
mov ebx, eax
mov dword [esp + 0xc], ebx
jb 0x43f58f
push dword [esp + 0x38]
call fcn.0048d7cb
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esp + 0x88], 0
jne 0x43f5c3
cmp dword [esp + 0x90], 0
jne 0x43f5c3
lea ecx, [esp + 0x50]
call fcn.00443060
jmp 0x43f5cc
lea ecx, [esp + 0x50]
call fcn.004430f0
test al, al
je 0x43f886
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
cmp ecx, eax
je 0x43f60d
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.0041a5e0
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x43f611
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.0049487c
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x28]
mov edi, dword [esp + 0x28]
add esp, 8
cmp ecx, 0x10
fstp qword [esp + 0x18]
cmovae eax, edi
cmp dword [esp + 0x14], eax
je 0x43f68a
movsd xmm0, qword [esp + 0x18]
mulsd xmm0, qword [0x414098]
call fcn.004910bf
mov ebx, eax
mov edi, edx
cmp ebx, 0xffffffff
jne 0x43f661
cmp edi, 0x7fffffff
jne 0x43f661
or ebx, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x48], ebx
mov ebx, eax
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
jmp 0x43f863
cmp ecx, 0x10
lea edx, [esp + 0x20]
mov ecx, 6
cmovae edx, edi
mov edi, dword [esp + 0x30]
cmp edi, ecx
cmovb ecx, edi
test ecx, ecx
je 0x43f704
mov edi, 0x413bb0
sub ecx, 4
jb 0x43f6c1
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x43f6c6
add edx, 4
add edi, 4
sub ecx, 4
jae 0x43f6b0
cmp ecx, 0xfffffffc
je 0x43f6fa
mov al, byte [edx]
cmp al, byte [edi]
jne 0x43f6f3
cmp ecx, 0xfffffffd
je 0x43f6fa
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x43f6f3
cmp ecx, 0xfffffffe
je 0x43f6fa
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x43f6f3
cmp ecx, 0xffffffff
je 0x43f6fa
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x43f6fa
sbb eax, eax
or eax, 1
jmp 0x43f6fc
xor eax, eax
mov edi, dword [esp + 0x30]
test eax, eax
jne 0x43f728
cmp edi, 6
jb 0x43f728
xor eax, eax
cmp edi, 6
setne al
test eax, eax
jne 0x43f728
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebx + 0x18], 0
jmp 0x43f863
cmp dword [esp + 0x34], 0x10
lea edx, [esp + 0x20]
mov ecx, 7
cmovae edx, dword [esp + 0x20]
cmp edi, ecx
cmovb ecx, edi
test ecx, ecx
je 0x43f7a4
mov edi, 0x413bc8
sub ecx, 4
jb 0x43f761
mov edi, edi
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x43f766
add edx, 4
add edi, 4
sub ecx, 4
jae 0x43f750
cmp ecx, 0xfffffffc
je 0x43f79a
mov al, byte [edx]
cmp al, byte [edi]
jne 0x43f793
cmp ecx, 0xfffffffd
je 0x43f79a
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x43f793
cmp ecx, 0xfffffffe
je 0x43f79a
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x43f793
cmp ecx, 0xffffffff
je 0x43f79a
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x43f79a
sbb eax, eax
or eax, 1
jmp 0x43f79c
xor eax, eax
mov edi, dword [esp + 0x30]
test eax, eax
jne 0x43f7c8
cmp edi, 7
jb 0x43f7c8
xor eax, eax
cmp edi, 7
setne al
test eax, eax
jne 0x43f7c8
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebx + 0x18], 1
jmp 0x43f863
cmp dword [esp + 0x34], 0x10
lea edx, [esp + 0x20]
mov ecx, 0xb
cmovae edx, dword [esp + 0x20]
cmp edi, ecx
cmovb ecx, edi
test ecx, ecx
je 0x43f844
mov edi, 0x413bbc
sub ecx, 4
jb 0x43f801
mov edi, edi
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x43f806
add edx, 4
add edi, 4
sub ecx, 4
jae 0x43f7f0
cmp ecx, 0xfffffffc
je 0x43f83a
mov al, byte [edx]
cmp al, byte [edi]
jne 0x43f833
cmp ecx, 0xfffffffd
je 0x43f83a
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x43f833
cmp ecx, 0xfffffffe
je 0x43f83a
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x43f833
cmp ecx, 0xffffffff
je 0x43f83a
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x43f83a
sbb eax, eax
or eax, 1
jmp 0x43f83c
xor eax, eax
test eax, eax
jne 0x43f86a
mov edi, dword [esp + 0x30]
cmp edi, 0xb
jb 0x43f86a
xor eax, eax
cmp edi, 0xb
setne al
test eax, eax
jne 0x43f86a
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebx + 0x18], 2
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x34], 0x10
jb 0x43f5a4
push dword [esp + 0x20]
call fcn.0048d7cb
add esp, 4
jmp 0x43f5a4
cmp dword [esp + 0x8c], 0x10
jb 0x43f89c
push dword [esp + 0x78]
call fcn.0048d7cb
add esp, 4
cmp dword [esp + 0x74], 0x10
mov byte [esp + 0x78], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0xf
jb 0x43f8ca
push dword [esp + 0x60]
call fcn.0048d7cb
add esp, 4
mov eax, dword [esp + 0x10]
add esi, 0x18
cmp esi, dword [eax + 0x1a4]
jne 0x43f4b5
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00491511
mov esp, ebp
pop ebp
ret