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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x40592c
sub esp, 0x88
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x405907
mov ecx, dword [eax + 8]
mov dword [esp + 0x5c], ecx
lea edx, [0x5acea0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
call fcn.0040c6e0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
je 0x405057
mov eax, dword [edx + 0x14]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x84], ecx
call fcn.00427a40
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call fcn.00428470
call fcn.00427ab0
add esp, 0x88
ret
lea eax, [0x5ac6c0]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 8], ecx
call fcn.0040c6e0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
jne 0x4058c6
mov eax, dword [esp + 0x5c]
cmp eax, 0xb31a546d
ja 0x405530
cmp eax, 0x7925028c
ja 0x40532d
cmp eax, 0x2ea27ffb
ja 0x405210
cmp eax, 0x13ff06c5
jne 0x4051f8
lea ecx, [0x5a4740]
mov edx, dword [esp + 0x8c]
cmp ecx, edx
jne 0x4051e7
mov ecx, dword [esp + 0x90]
movzx ebx, byte [ecx]
je 0x4051c7
cmp eax, 0x2ea27ffb
jne 0x40510a
lea eax, [0x5a4b80]
cmp eax, edx
jne 0x4051b4
fld qword [ecx]
fld st(0)
fstp qword [esp + 0x78]
fstp st(0)
je 0x405195
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00404f70
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
call fcn.00427a40
lea eax, [0x5db549]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00428470
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call fcn.00428470
lea eax, [0x5db580]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00428470
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
call fcn.004285b0
call fcn.00427ab0
jmp 0x405050
call fcn.00427a40
fld qword [esp + 0x78]
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.00427d10
call fcn.00427ab0
jmp 0x405050
fld qword [0x608598]
fld st(0)
fstp qword [esp + 0x78]
fstp st(0)
jmp 0x405104
mov byte [esp + 0x19], bl
call fcn.00427a40
movzx eax, byte [esp + 0x19]
mov byte [esp], al
call fcn.00427ca0
call fcn.00427ab0
jmp 0x405050
mov ecx, dword [esp + 0x90]
mov ebx, 0
jmp 0x4050df
cmp eax, 0x2ea27ffb
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
jmp 0x4050ea
cmp eax, 0x663e425f
jne 0x405315
lea ecx, [0x5a5e80]
mov edx, dword [esp + 0x8c]
cmp ecx, edx
jne 0x405304
mov ecx, dword [esp + 0x90]
movzx ebx, byte [ecx]
je 0x4052d9
cmp eax, 0x7925028c
jne 0x40510a
lea eax, [0x5a4800]
cmp eax, edx
jne 0x4052bb
fld dword [ecx + 4]
fld st(0)
fstp dword [esp + 0x54]
fld dword [ecx]
fld st(0)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp st(2)
fld st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x54]
fstp st(1)
fld st(0)
fstp dword [esp + 0x30]
fstp st(0)
fstp st(0)
jne 0x40510a
call fcn.00427a40
fld dword [esp + 0x20]
fld st(0)
fstp st(1)
fld st(0)
fstp qword [esp]
fld dword [esp + 0x30]
fstp st(1)
fld st(0)
fstp st(1)
fld st(0)
fstp qword [esp + 8]
fstp st(0)
call fcn.00428110
call fcn.00427ab0
jmp 0x405050
fld dword [0x6083f8]
fld st(0)
fstp dword [esp + 0x20]
fld dword [0x6083f8]
fld st(0)
fstp dword [esp + 0x30]
fstp st(0)
fstp st(0)
jmp 0x405282
mov byte [esp + 0x1b], bl
call fcn.00427a40
movzx eax, byte [esp + 0x1b]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004282c0
call fcn.00427ab0
jmp 0x405050
mov ecx, dword [esp + 0x90]
mov ebx, 0
jmp 0x40523a
cmp eax, 0x7925028c
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
jmp 0x405245
cmp eax, 0x963f9bff
ja 0x405413
cmp eax, 0x86318d2e
jne 0x4053fb
lea ecx, [0x5a5e40]
mov edx, dword [esp + 0x8c]
cmp ecx, edx
jne 0x4053e8
mov ecx, dword [esp + 0x90]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
je 0x4053bd
cmp eax, 0x963f9bff
jne 0x40510a
lea eax, [0x5a5600]
cmp eax, edx
jne 0x4053b1
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
jne 0x40510a
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ebx
call fcn.00427a40
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.004282c0
call fcn.00427ab0
jmp 0x405050
mov eax, 0
mov ebx, 0
jmp 0x405380
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], ebp
call fcn.00427a40
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.00428190
call fcn.00427ab0
jmp 0x405050
mov ecx, dword [esp + 0x90]
mov ebx, 0
mov ebp, ebx
jmp 0x405364
cmp eax, 0x963f9bff
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
jmp 0x40536b
cmp eax, 0xb0c23ed3
jne 0x405518
lea ecx, [0x5a4b40]
mov edx, dword [esp + 0x8c]
cmp ecx, edx
jne 0x4054fe
mov ecx, dword [esp + 0x90]
fld dword [ecx]
fld st(0)
fstp dword [esp + 0x54]
fstp st(0)
je 0x4054db
cmp eax, 0xb31a546d
jne 0x40510a
lea eax, [0x5a47c0]
cmp eax, edx
jne 0x4054bd
fld qword [ecx]
fld st(0)
fstp qword [esp + 0x78]
fld qword [ecx + 8]
fld st(0)
fstp qword [esp + 0x70]
fld qword [esp + 0x78]
fstp st(2)
fld st(1)
fstp qword [esp + 0x60]
fld qword [esp + 0x70]
fstp st(1)
fld st(0)
fstp qword [esp + 0x68]
fstp st(0)
fstp st(0)
jne 0x40510a
call fcn.00427a40
fld qword [esp + 0x60]
fld st(0)
fstp qword [esp]
fld qword [esp + 0x68]
fstp st(1)
fld st(0)
fstp qword [esp + 8]
fstp st(0)
call fcn.00428110
call fcn.00427ab0
jmp 0x405050
fld qword [0x608598]
fld st(0)
fstp qword [esp + 0x60]
fld qword [0x608598]
fld st(0)
fstp qword [esp + 0x68]
fstp st(0)
fstp st(0)
jmp 0x40548c
call fcn.00427a40
fld dword [esp + 0x54]
fld st(0)
fstp st(1)
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.00427d10
call fcn.00427ab0
jmp 0x405050
mov ecx, dword [esp + 0x90]
fld dword [0x6083f8]
fld st(0)
fstp dword [esp + 0x54]
fstp st(0)
jmp 0x405444
cmp eax, 0xb31a546d
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
jmp 0x40544f
cmp eax, 0xd04ae83d
ja 0x4056d1
cmp eax, 0xbd4ad792
ja 0x405607
cmp eax, 0xbbad4102
jne 0x4055ef
lea ecx, [0x5a55c0]
mov edx, dword [esp + 0x8c]
cmp ecx, edx
jne 0x4055de
mov ecx, dword [esp + 0x90]
mov ebx, dword [ecx]
je 0x4055b8
cmp eax, 0xbd4ad792
jne 0x40510a
lea eax, [0x5a5ec0]
cmp eax, edx
jne 0x4055b1
mov eax, dword [ecx]
jne 0x40510a
mov dword [esp + 0x40], eax
call fcn.00427a40
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004282c0
call fcn.00427ab0
jmp 0x405050
mov eax, 0
jmp 0x405584
mov dword [esp + 0x4c], ebx
call fcn.00427a40
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.004282c0
call fcn.00427ab0
jmp 0x405050
mov ecx, dword [esp + 0x90]
mov ebx, 0
jmp 0x40556b
cmp eax, 0xbd4ad792
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
jmp 0x405572
cmp eax, 0xcc06c027
jne 0x4056b9
lea ecx, [0x5a5640]
mov edx, dword [esp + 0x8c]
cmp ecx, edx
jne 0x4056a8
mov ecx, dword [esp + 0x90]
movzx ebx, byte [ecx]
je 0x40567e
cmp eax, 0xd04ae83d
jne 0x40510a
lea eax, [0x5a5e00]
cmp eax, edx
jne 0x405677
mov eax, dword [ecx]
jne 0x40510a
mov dword [esp + 0x44], eax
call fcn.00427a40
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004282c0
call fcn.00427ab0
jmp 0x405050
mov eax, 0
jmp 0x40564a
mov byte [esp + 0x1a], bl
call fcn.00427a40
movzx eax, byte [esp + 0x1a]
movsx eax, al
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.004282c0
call fcn.00427ab0
jmp 0x405050
mov ecx, dword [esp + 0x90]
mov ebx, 0
jmp 0x405631
cmp eax, 0xd04ae83d
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
jmp 0x405638
cmp eax, 0xe0ff5cb4
ja 0x4057b4
cmp eax, 0xd5b87712
jne 0x40579c
lea ecx, [0x5a5d80]
mov edx, dword [esp + 0x8c]
cmp ecx, edx
jne 0x40578b
mov ecx, dword [esp + 0x90]
mov ebx, dword [ecx]
je 0x405764
cmp eax, 0xe0ff5cb4
jne 0x40510a
lea eax, [0x5a5c80]
cmp eax, edx
jne 0x405758
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
jne 0x40510a
mov dword [esp + 0x2c], eax
mov dword [esp + 0x80], ebx
call fcn.00427a40
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00428470
call fcn.00427ab0
jmp 0x405050
mov eax, 0
mov ebx, 0
jmp 0x405721
mov dword [esp + 0x3c], ebx
call fcn.00427a40
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004282c0
call fcn.00427ab0
jmp 0x405050
mov ecx, dword [esp + 0x90]
mov ebx, 0
jmp 0x405705
cmp eax, 0xe0ff5cb4
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
jmp 0x40570c
cmp eax, 0xecd580ce
jne 0x4058b3
lea ecx, [0x5a5580]
mov edx, dword [esp + 0x8c]
cmp ecx, edx
jne 0x4058a2
mov ecx, dword [esp + 0x90]
movzx ebx, word [ecx]
je 0x405877
cmp eax, 0xeff20ea0
jne 0x4057fa
lea ebx, [0x5a5dc0]
cmp ebx, edx
jne 0x405870
movzx ebx, word [ecx]
je 0x405844
cmp eax, 0xf75371fa
jne 0x40510a
lea eax, [0x5a5540]
cmp eax, edx
jne 0x40583d
mov eax, dword [ecx]
jne 0x40510a
mov dword [esp + 0x48], eax
call fcn.00427a40
mov eax, dword [esp + 0x48]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.004282c0
call fcn.00427ab0
jmp 0x405050
mov eax, 0
jmp 0x405811
mov word [esp + 0x1c], bx
call fcn.00427a40
movzx eax, word [esp + 0x1c]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004282c0
call fcn.00427ab0
jmp 0x405050
mov ebx, 0
jmp 0x4057f8
mov word [esp + 0x1e], bx
call fcn.00427a40
movzx eax, word [esp + 0x1e]
movsx eax, ax
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.004282c0
call fcn.00427ab0
jmp 0x405050
mov ecx, dword [esp + 0x90]
mov ebx, 0
jmp 0x4057de
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
jmp 0x4057e4
mov eax, dword [ecx + 0x14]
mov dword [esp], edx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x84], ecx
call fcn.00427a40
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call fcn.00428470
call fcn.00427ab0
jmp 0x405050
call fcn.00427a40
lea eax, [0x5db7b5]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00428470
call fcn.00427ab0
jmp 0x405050
call fcn.0044a520
jmp fcn.00404fb0