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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 4]
push edi
xor edi, edi
mov dword [esp + 0x40], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x20], ecx
dec ecx
mov ebx, 2
cmp eax, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
jge 0x43f979
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + eax*4 + 4]
mov ecx, dword [edx]
xor edx, edx
mov dl, byte [eax + ecx]
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov al, byte [edx + ecx]
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
je 0x43f981
cmp eax, 0xff
je 0x43f981
mov dword [esp + 0x38], 1
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push edx
push esi
push eax
lea ecx, [esp + 0x28]
push ebx
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
call fcn.00440560
add esp, 0x1c
test eax, eax
je 0x43fdda
mov edi, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x18]
test eax, eax
mov ebx, dword [ecx*4 + 0x50bb48]
je 0x43fcf0
fild dword [esp + 0x20]
fild dword [esp + 0x44]
sub esp, 8
lea ecx, [esp + 0x78]
sub esp, 8
fadd qword [0x4e9da8]
fsubp st(1)
fstp qword [esp + 8]
fild dword [esp + 0x50]
fadd qword [0x4e9da8]
fstp qword [esp]
call fcn.00467fe0
mov eax, dword [0x513b64]
mov ecx, dword [0x513b60]
test eax, eax
jne 0x43fa3c
test ecx, ecx
jne 0x43fa3c
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov esi, eax
lea edx, [esp + 0x80]
inc eax
mov ecx, esp
push edx
mov dword [esp + 0x24], eax
call fcn.00468000
push esi
mov ecx, edi
call fcn.00437f70
jmp 0x43fd62
mov eax, dword [esp + 0x1c]
shl eax, 4
add eax, ebx
cmp dword [eax], 0xffffffff
jne 0x43fb71
fild dword [esp + 0x14]
fcomp qword [0x50bbd0]
fnstsw ax
test ah, 0x41
jne 0x43fb10
lea ecx, [esp + 0x50]
call fcn.00486830
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 4]
fld qword [esp + 0x70]
mov edx, ecx
shl edx, 4
add edx, eax
fadd qword [edx - 0x10]
fmul qword [0x4e9da8]
fld qword [esp + 0x50]
fcomp qword [0x4ec6f8]
fnstsw ax
test ah, 0x40
je 0x43faa8
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], 0x7fefffff
fst qword [esp + 0x50]
fld qword [esp + 0x78]
fadd qword [edx - 8]
fmul qword [0x4e9da8]
fstp qword [esp + 0x28]
fcomp qword [0x4ec6f8]
fnstsw ax
test ah, 0x40
je 0x43fada
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x54], 0x7fefffff
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov esi, ecx
inc ecx
mov dword [esp + 0x58], edx
sub esp, 0x10
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x60]
mov ecx, esp
push edx
mov dword [esp + 0x70], eax
call fcn.00468000
push esi
mov ecx, edi
call fcn.00437f70
mov dword [esp + 0x14], 0
mov eax, dword [0x513b64]
test eax, eax
jne 0x43fb53
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov esi, eax
inc eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x80]
mov ecx, esp
push eax
call fcn.00468000
push esi
mov ecx, edi
call fcn.00437f70
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 1
jmp 0x43fd62
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 1
inc eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x14], eax
jmp 0x43fd62
cmp dword [eax + 4], 0xffffffff
jne 0x43fbfe
test ecx, ecx
je 0x43fbe4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43fbc6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43fbc6
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x70]
mov esi, eax
inc eax
sub esp, 0x10
mov dword [esp + 0x20], eax
mov ecx, esp
push edx
call fcn.00468000
push esi
mov ecx, edi
call fcn.00437f70
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
jmp 0x43fd62
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 1
inc eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], eax
jmp 0x43fd62
mov eax, dword [esp + 0x10]
mov esi, eax
inc eax
mov dword [esp + 0x10], eax
sub esp, 0x10
lea eax, [esp + 0x80]
mov ecx, esp
push eax
jmp 0x43fba4
fild dword [esp + 0x14]
fcomp qword [0x50bbd0]
fnstsw ax
test ah, 0x41
jne 0x43fcbb
lea ecx, [esp + 0x60]
call fcn.00486830
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 4]
fld qword [esp + 0x70]
mov edx, ecx
shl edx, 4
add edx, eax
fadd qword [edx - 0x10]
fmul qword [0x4e9da8]
fld qword [esp + 0x60]
fcomp qword [0x4ec6f8]
fnstsw ax
test ah, 0x40
je 0x43fc58
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], 0x7fefffff
fst qword [esp + 0x60]
fld qword [esp + 0x78]
fadd qword [edx - 8]
fmul qword [0x4e9da8]
fstp qword [esp + 0x28]
fcomp qword [0x4ec6f8]
fnstsw ax
test ah, 0x40
je 0x43fc8a
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0x7fefffff
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov esi, ecx
inc ecx
mov dword [esp + 0x68], edx
sub esp, 0x10
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x70]
mov ecx, esp
push edx
mov dword [esp + 0x80], eax
call fcn.00468000
push esi
mov ecx, edi
call fcn.00437f70
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov esi, eax
inc eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x80]
mov ecx, esp
push eax
call fcn.00468000
push esi
mov ecx, edi
call fcn.00437f70
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
jmp 0x43fd62
xor esi, esi
mov ecx, dword [esp + 0x1c]
lea edx, [esi + ecx*4]
mov eax, dword [ebx + edx*4]
cmp eax, 0xffffffff
je 0x43fd38
test esi, esi
jne 0x43fd14
mov ecx, dword [esp + 0x34]
test ecx, ecx
jle 0x43fd14
mov ecx, 1
jmp 0x43fd16
xor ecx, ecx
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x24]
push edi
push edx
push ecx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00440640
add esp, 0x18
inc esi
cmp esi, 3
jl 0x43fcf2
jmp 0x43fd62
test esi, esi
jne 0x43fd62
mov eax, dword [0x513b64]
test eax, eax
jne 0x43fd62
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
push edi
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.00440960
add esp, 0x14
mov esi, dword [ebp + 0x10]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x34]
mov edx, dword [esi + 0xc]
inc ebx
mov dword [esp + 0x34], ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [edx + eax*4]
mov edx, dword [esp + 0x40]
mov byte [ecx + edx], 0xff
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [edx*4 + 0x50bb58]
cmp eax, dword [ebx]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], edx
jne 0x43fdb1
cmp ecx, dword [ebx + 4]
jne 0x43fdb1
cmp edx, dword [esp + 0x38]
je 0x43fdf5
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push eax
push esi
push ecx
push edx
lea edx, [esp + 0x2c]
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.00440560
add esp, 0x1c
test eax, eax
jne 0x43f9b9
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x44]
mov ecx, dword [edx + eax*4]
mov edx, dword [esp + 0x40]
xor eax, eax
mov byte [ecx + edx], 0xff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x43ff12
fild dword [esp + 0x20]
fild dword [esp + 0x4c]
sub esp, 8
lea ecx, [esp + 0x68]
sub esp, 8
fadd qword [0x4e9da8]
fsubp st(1)
fstp qword [esp + 8]
fild dword [esp + 0x58]
fadd qword [0x4e9da8]
fstp qword [esp]
call fcn.00467fe0
fild dword [esp + 0x14]
fcomp qword [0x50bbd0]
fnstsw ax
test ah, 0x41
jne 0x43fef0
lea ecx, [esp + 0x70]
call fcn.00486830
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 4]
fld qword [esp + 0x60]
mov eax, ecx
shl eax, 4
add edx, eax
fadd qword [edx - 0x10]
fmul qword [0x4e9da8]
fld qword [esp + 0x70]
fcomp qword [0x4ec6f8]
fnstsw ax
test ah, 0x40
je 0x43fe8a
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0x7fefffff
fst qword [esp + 0x70]
fld qword [esp + 0x68]
fadd qword [edx - 8]
fmul qword [0x4e9da8]
fstp qword [esp + 0x38]
fcomp qword [0x4ec6f8]
fnstsw ax
test ah, 0x40
je 0x43febc
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x74], 0x7fefffff
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov esi, ecx
inc ecx
mov dword [esp + 0x78], eax
sub esp, 0x10
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x80]
mov ecx, esp
push eax
mov dword [esp + 0x90], edx
call fcn.00468000
push esi
mov ecx, edi
call fcn.00437f70
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov esi, eax
lea edx, [esp + 0x70]
inc eax
mov ecx, esp
push edx
mov dword [esp + 0x24], eax
call fcn.00468000
push esi
mov ecx, edi
call fcn.00437f70
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret