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

Disassembly:
push 0xffffffffffffffff
push 0x5a3d34
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6e50b4]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebp
push esi
push edi
mov eax, dword [0x6e50b4]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [esp + 0x70]
mov eax, dword [edi + 0x40c]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edi
test eax, eax
je 0x4941d7
lea eax, [edi + 0x5dc]
mov dword [esp + 0x14], eax
jmp 0x4941e1
lea ecx, [edi + 0x5c8]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
movzx eax, word [edx]
push eax
mov ecx, 0x6fcfb8
call fcn.0052f100
mov esi, eax
test esi, esi
jne 0x494200
xor eax, eax
jmp 0x49459a
mov ecx, dword [esp + 0x14]
movzx edx, word [ecx + 2]
imul edx, edx, 0x68
lea eax, [edx + esi - 0xc]
test eax, eax
je 0x4941f9
movzx ecx, word [eax + 0x10]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fmul dword [eax + 0xc]
call fcn.00582f70
push eax
mov ecx, edi
call fcn.0049f710
push 1
push 0xa
push edi
lea edx, [esi + 0x15]
push edx
mov ecx, ebp
call fcn.0054b7b0
push str.NULL.MOD
push 1
mov ecx, ebp
call fcn.0054a9c0
push str.NULL.MOD
push 5
mov ecx, ebp
call fcn.0054a9c0
mov eax, dword [esp + 0x14]
cmp word [eax + 6], 0
jne 0x4942ba
push 0x98
call fcn.00582660
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x68], 0
test eax, eax
je 0x49428e
mov ecx, eax
call fcn.0054a350
mov edi, eax
jmp 0x494290
xor edi, edi
push 0
push 0xa
push 0
add esi, 0x36
push esi
mov ecx, edi
mov dword [esp + 0x78], 0xffffffff
call fcn.0054b7b0
push 0x5bb4b0
push edi
mov ecx, ebp
call fcn.0054b130
mov edi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + eax*2 + 6]
test ax, ax
je 0x494480
push eax
mov ecx, 0x6f54b8
call fcn.004ac9c0
test eax, eax
je 0x494480
movzx ecx, word [eax + 0x9c]
movzx esi, word [eax + 0x9e]
cmp ecx, 0xffffffff
je 0x494480
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4943f6
mov edx, dword [0x716320]
mov eax, dword [edx + esi*4]
push eax
push ecx
mov ecx, ebp
call fcn.0054a9c0
xor eax, eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov byte [esp + 0x59], al
mov eax, dword [0x716320]
mov byte [esp + 0x3c], 0
mov esi, dword [eax + esi*4]
mov eax, esi
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x494350
sub eax, ecx
inc eax
push eax
lea ecx, [esp + 0x40]
push esi
push ecx
call fcn.0052b8b0
lea edx, [esp + 0x48]
push str._h02_
push edx
call fcn.005846e0
lea ecx, [esp + 0x50]
add esp, 0x14
lea esi, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x494380
sub ecx, esi
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x494390
sub eax, esi
sub ecx, eax
push 0x98
mov byte [esp + ecx + 0x43], 0x31
call fcn.00582660
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], 1
test eax, eax
je 0x4943c8
mov ecx, eax
call fcn.0054a350
mov esi, eax
jmp 0x4943ca
xor esi, esi
push 0
push 0xa
push 0
lea eax, [esp + 0x48]
push eax
mov ecx, esi
mov dword [esp + 0x78], 0xffffffff
call fcn.0054b7b0
push 0x5bb4b0
push esi
mov ecx, ebp
call fcn.0054b130
jmp 0x494480
cmp eax, 4
jne 0x494409
mov ecx, dword [0x716320]
mov edx, dword [ecx + esi*4]
push edx
push 5
jmp 0x494479
cmp eax, 5
jne 0x494469
push 0x98
call fcn.00582660
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], 2
test eax, eax
je 0x494436
mov ecx, eax
call fcn.0054a350
mov edi, eax
jmp 0x494438
xor edi, edi
mov eax, dword [0x716320]
mov ecx, dword [eax + esi*4]
push 0
push 0xa
push 0
push ecx
mov ecx, edi
mov dword [esp + 0x78], 0xffffffff
call fcn.0054b7b0
push 0x5bb5d0
push edi
mov ecx, ebp
call fcn.0054b130
mov edi, dword [esp + 0x1c]
jmp 0x494480
cmp ecx, 5
je 0x494480
mov edx, dword [0x716320]
mov eax, dword [edx + esi*4]
push eax
push ecx
mov ecx, ebp
call fcn.0054a9c0
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 7
jl 0x4942c0
mov ecx, edi
call fcn.0049f300
cmp al, 3
je 0x4944b3
mov ecx, edi
call fcn.0049f300
cmp al, 8
je 0x4944b3
mov ecx, dword [esp + 0x10]
push ebp
push edi
call fcn.004920b0
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 4]
cmp eax, 0x5f
jbe 0x4944cb
mov edx, 0x5f
mov word [ecx + 4], dx
jmp 0x4944d9
cmp eax, 0x55
jae 0x4944d9
mov eax, 0x55
mov word [ecx + 4], ax
movzx ecx, word [ecx + 4]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul qword [0x5b6c30]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fst dword [esp + 0x28]
mov eax, dword [esp + 0x28]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
lea edx, [esp + 0x30]
mov dword [esp + 0x38], ecx
push edx
mov ecx, ebp
mov dword [esp + 0x38], eax
call fcn.0054a960
push 1
mov ecx, ebp
call fcn.0054aa50
mov eax, dword [edi]
mov edx, dword [eax + 0x84]
lea ecx, [edi + 0x14c]
push ecx
mov ecx, edi
call edx
fld dword [edi + 0x24c]
fdiv qword [0x5b35a0]
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
push ecx
mov ecx, edi
fmul qword [0x5b35a8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call edx
mov eax, dword [edi + 0x129]
cmp eax, dword [0x6f48a0]
jne 0x49458a
lea ecx, [edi + 0x284]
call fcn.0054ac90
push edi
mov ecx, 0x6f54b8
call fcn.004af140
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.005825b3
add esp, 0x5c
ret 8