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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 0x1c], eax
mov ecx, dword [edx]
push ebx
mov dword [esp + 0x30], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [edx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
xor ebx, ebx
push edi
mov edx, dword [ecx + eax*4 + 4]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x30], 2
mov bl, byte [edx + esi]
xor edx, edx
mov dl, byte [ebx + edi]
mov ebx, dword [ebp + 0xc]
cmp edx, ebx
je 0x43ffad
cmp edx, 0xff
je 0x43ffad
mov eax, dword [ecx + eax*4]
xor ecx, ecx
mov cl, byte [eax + esi + 1]
xor eax, eax
mov al, byte [ecx + edi]
cmp eax, ebx
je 0x43ffa3
cmp eax, 0xff
je 0x43ffa3
mov dword [esp + 0x2c], 0
jmp 0x43ffb5
mov dword [esp + 0x2c], 1
jmp 0x43ffb5
mov dword [esp + 0x2c], 2
mov edx, dword [ebp + 0x10]
mov eax, 1
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
push edx
push ebx
lea eax, [esp + 0x28]
push 2
lea ecx, [esp + 0x50]
push eax
lea edx, [esp + 0x4c]
push ecx
push edx
mov dword [esp + 0x30], 0
call fcn.00440560
add esp, 0x1c
test eax, eax
je 0x440412
mov edi, dword [ebp + 0x1c]
mov ebx, dword [esp + 0x30]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebx*4 + 0x50bb48]
test eax, eax
mov dword [esp + 0x30], esi
je 0x44032c
fild dword [esp + 0x20]
fild dword [esp + 0x3c]
sub esp, 8
lea ecx, [esp + 0x70]
sub esp, 8
fadd qword [0x4e9da8]
fsubp st(1)
fstp qword [esp + 8]
fild dword [esp + 0x48]
fadd qword [0x4e9da8]
fstp qword [esp]
call fcn.00467fe0
mov eax, dword [0x513b64]
mov ecx, dword [0x513b60]
test eax, eax
jne 0x440078
test ecx, ecx
jne 0x440078
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov esi, eax
inc eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.00468000
push esi
mov ecx, edi
call fcn.00437f70
jmp 0x44039e
mov edx, dword [esp + 0x1c]
shl edx, 4
lea eax, [edx + esi]
mov edx, dword [edx + esi]
cmp edx, 0xffffffff
jne 0x4401ae
fild dword [esp + 0x14]
fcomp qword [0x50bbd0]
fnstsw ax
test ah, 0x41
jne 0x440150
lea ecx, [esp + 0x48]
call fcn.00486830
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 4]
fld qword [esp + 0x68]
mov eax, ecx
shl eax, 4
add edx, eax
fadd qword [edx - 0x10]
fmul qword [0x4e9da8]
fld qword [esp + 0x48]
fcomp qword [0x4ec6f8]
fnstsw ax
test ah, 0x40
je 0x4400e8
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x54], 0x7fefffff
fst qword [esp + 0x48]
fld qword [esp + 0x70]
fadd qword [edx - 8]
fmul qword [0x4e9da8]
fstp qword [esp + 0x30]
fcomp qword [0x4ec6f8]
fnstsw ax
test ah, 0x40
je 0x44011a
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0x7fefffff
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov esi, ecx
inc ecx
mov dword [esp + 0x50], eax
sub esp, 0x10
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x58]
mov ecx, esp
push eax
mov dword [esp + 0x68], edx
call fcn.00468000
push esi
mov ecx, edi
call fcn.00437f70
mov dword [esp + 0x14], 0
mov eax, dword [0x513b64]
test eax, eax
jne 0x440190
mov eax, dword [esp + 0x10]
sub esp, 0x10
mov esi, eax
lea edx, [esp + 0x78]
inc eax
mov ecx, esp
push edx
mov dword [esp + 0x24], eax
call fcn.00468000
push esi
mov ecx, edi
call fcn.00437f70
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 1
jmp 0x44039e
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 1
inc eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x14], eax
jmp 0x44039e
cmp dword [eax + 4], 0xffffffff
jne 0x440240
test ecx, ecx
je 0x440201
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4401e3
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4401e3
mov eax, dword [esp + 0x10]
mov esi, eax
inc eax
mov dword [esp + 0x10], eax
sub esp, 0x10
lea eax, [esp + 0x78]
mov ecx, esp
push eax
jmp 0x440216
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 1
inc eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], eax
jmp 0x44039e
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x68]
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 + 0x14], 0
mov dword [esp + 0x24], 0
jmp 0x44039e
fild dword [esp + 0x14]
fcomp qword [0x50bbd0]
fnstsw ax
test ah, 0x41
jne 0x4402fa
lea ecx, [esp + 0x58]
call fcn.00486830
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 4]
fld qword [esp + 0x68]
mov eax, ecx
shl eax, 4
add edx, eax
fadd qword [edx - 0x10]
fmul qword [0x4e9da8]
fld qword [esp + 0x58]
fcomp qword [0x4ec6f8]
fnstsw ax
test ah, 0x40
je 0x44029a
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0x7fefffff
fst qword [esp + 0x58]
fld qword [esp + 0x70]
fadd qword [edx - 8]
fmul qword [0x4e9da8]
fstp qword [esp + 0x30]
fcomp qword [0x4ec6f8]
fnstsw ax
test ah, 0x40
je 0x4402cc
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], 0x7fefffff
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov esi, ecx
inc ecx
mov dword [esp + 0x60], eax
sub esp, 0x10
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x68]
mov ecx, esp
push eax
mov dword [esp + 0x78], 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 + 0x78]
inc eax
mov ecx, esp
push edx
mov dword [esp + 0x24], 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 0x44039e
xor esi, esi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
lea ecx, [esi + eax*4]
mov eax, dword [edx + ecx*4]
cmp eax, 0xffffffff
je 0x440378
test esi, esi
jne 0x440354
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x440354
mov ecx, 1
jmp 0x440356
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 + 0x4c]
push eax
call fcn.00440640
add esp, 0x18
inc esi
cmp esi, 3
jl 0x44032e
jmp 0x44039e
test esi, esi
jne 0x44039e
mov eax, dword [0x513b64]
test eax, eax
jne 0x44039e
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
push edi
push edx
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.00440960
add esp, 0x14
mov esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x38]
mov byte [eax + ecx], 0xff
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov ebx, dword [edx*4 + 0x50bb58]
mov edx, dword [esp + 0x28]
inc edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x3c], ecx
cmp eax, dword [edx]
jne 0x4403e9
cmp ecx, dword [edx + 4]
jne 0x4403e9
cmp ebx, dword [esp + 0x2c]
je 0x440430
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push eax
push esi
push ecx
lea edx, [esp + 0x28]
push ebx
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.00440560
add esp, 0x1c
test eax, eax
jne 0x43fff8
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0x38]
mov byte [edx + eax], 0xff
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x44054a
fild dword [esp + 0x20]
fild dword [esp + 0x44]
sub esp, 8
lea ecx, [esp + 0x60]
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
fild dword [esp + 0x14]
fcomp qword [0x50bbd0]
fnstsw ax
test ah, 0x41
jne 0x440528
lea ecx, [esp + 0x68]
call fcn.00486830
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 4]
fld qword [esp + 0x58]
mov edx, ecx
shl edx, 4
add edx, eax
fadd qword [edx - 0x10]
fmul qword [0x4e9da8]
fld qword [esp + 0x68]
fcomp qword [0x4ec6f8]
fnstsw ax
test ah, 0x40
je 0x4404c5
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x74], 0x7fefffff
fst qword [esp + 0x68]
fld qword [esp + 0x60]
fadd qword [edx - 8]
fmul qword [0x4e9da8]
fstp qword [esp + 0x30]
fcomp qword [0x4ec6f8]
fnstsw ax
test ah, 0x40
je 0x4404f7
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], 0x7fefffff
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov esi, ecx
inc ecx
mov dword [esp + 0x70], edx
sub esp, 0x10
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x78]
mov ecx, esp
push edx
mov dword [esp + 0x88], 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 + 0x68]
mov ecx, esp
push 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