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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x18
push 0
push 0
dec ecx
jne 0x4f1941
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404ed4
mov eax, dword [ebp - 0xc]
call fcn.00404ed4
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x4f235d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4f231c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
call fcn.004f0418
push 0x4f2378
push dword [ebp - 8]
push 0x4f26a4
push dword [ebp - 0xc]
push 0x4f26c0
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.00404dac
mov eax, dword [esi]
call fcn.004c8de0
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x14]
mov eax, esi
xor edx, edx
call fcn.004dc218
mov eax, dword [ebp - 0x14]
mov edx, 0x4f26e0
call fcn.00404e30
je 0x4f19ee
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x408bbc]
call fcn.0040e488
call fcn.004043d4
mov eax, dword [ebp + 8]
mov edx, 0x4f26e0
call fcn.00404a88
jmp 0x4f2303
push 0x53
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
mov edx, 0x4f26ec
mov eax, dword [esi]
call fcn.004dba84
push 0x46
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4f26fc
mov edx, 0x4f270c
mov eax, dword [esi]
call fcn.004dba84
mov edx, 0x4f271c
mov eax, dword [ebp - 0x18]
call fcn.00409a04
test al, al
jne 0x4f1a4d
mov edx, 0x4f2730
mov eax, dword [ebp - 0x18]
call fcn.00409a04
test al, al
je 0x4f1aa9
mov edx, 0x4f271c
mov eax, dword [ebp - 0x18]
call fcn.00409a04
test al, al
je 0x4f1a70
mov eax, dword [ebp - 0x1c]
call fcn.0040bec4
mov eax, dword [ebp + 0x10]
fstp xword [eax + 0xb8]
wait
mov edx, 0x4f2730
mov eax, dword [ebp - 0x18]
call fcn.00409a04
test al, al
je 0x4f1a9d
mov eax, dword [ebp - 0x1c]
call fcn.0040bec4
mov eax, dword [ebp + 0x10]
fstp xword [eax + 0xc2]
wait
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x8f], 1
mov eax, dword [esi]
call fcn.004b361c
jmp 0x4f2303
mov edx, dword [0x4ca654]
mov eax, 0x1a0
call fcn.00405a8c
mov ebx, eax
push 0x46
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x4f26fc
mov edx, 0x4f2744
mov eax, dword [esi]
call fcn.004dba84
mov eax, dword [ebp - 0x20]
call fcn.0040bec4
fstp xword [ebx + 0xf4]
wait
push 0x53
lea eax, [ebp - 0x24]
push eax
xor ecx, ecx
mov edx, 0x4f2754
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0xa8]
call fcn.00404a88
mov eax, dword [ebx + 0xa8]
mov edx, 0x4f2764
call fcn.00404e30
jne 0x4f1b39
fld xword [ebx + 0xf4]
fcomp dword [0x4f2768]
fnstsw ax
sahf
jae 0x4f1b39
fld xword [ebx + 0xf4]
fmul dword [0x4f276c]
fstp xword [ebx + 0xf4]
wait
push 0x49
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x4f2778
mov edx, 0x4f2784
mov eax, dword [esi]
call fcn.004dba84
mov eax, dword [ebp - 0x28]
call fcn.0040a1d0
mov dword [ebx], eax
push 0x53
lea eax, [ebp - 0x2c]
push eax
xor ecx, ecx
mov edx, 0x4f2794
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x18]
call fcn.00404a88
push 0x46
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x4f26fc
mov edx, 0x4f27a4
mov eax, dword [esi]
call fcn.004dba84
mov eax, dword [ebp - 0x30]
call fcn.0040bec4
fstp xword [ebx + 0xe0]
wait
push 0x46
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x4f26fc
mov edx, 0x4f27b8
mov eax, dword [esi]
call fcn.004dba84
mov eax, dword [ebp - 0x34]
call fcn.0040bec4
fstp xword [ebx + 0xfe]
wait
fld xword [ebx + 0xe0]
fld xword [ebx + 0xf4]
fmulp st(1)
fld xword [ebx + 0xfe]
fsubp st(1)
fstp xword [ebx + 0x108]
wait
mov eax, dword [ebx + 0xa8]
mov edx, 0x4f2764
call fcn.00404e30
jne 0x4f1c1a
push 0x46
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x4f26fc
mov edx, 0x4f270c
mov eax, dword [esi]
call fcn.004dba84
mov eax, dword [ebp - 0x38]
call fcn.0040bec4
fstp xword [ebx + 0x108]
wait
push 0x53
lea eax, [ebp - 0x3c]
push eax
xor ecx, ecx
mov edx, 0x4f27d0
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x90]
call fcn.00404a88
cmp dword [ebx + 0x90], 0
je 0x4f1cab
mov eax, dword [ebx + 0x90]
mov edx, 0x4f27e4
call fcn.00404e30
je 0x4f1cab
push 0x46
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x4f26fc
mov edx, 0x4f27f0
mov eax, dword [esi]
call fcn.004dba84
mov eax, dword [ebp - 0x40]
call fcn.0040bec4
fstp xword [ebx + 0xe0]
wait
push 0x46
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x4f26fc
mov edx, 0x4f27f0
mov eax, dword [esi]
call fcn.004dba84
mov eax, dword [ebp - 0x44]
call fcn.0040bec4
fld xword [ebx + 0xf4]
fmulp st(1)
fstp xword [ebx + 0x108]
wait
push 0x53
lea eax, [ebp - 0x48]
push eax
xor ecx, ecx
mov edx, 0x4f26ec
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0xc]
call fcn.00404a88
xor eax, eax
mov dword [ebx + 8], eax
push 0x53
lea eax, [ebp - 0x4c]
push eax
xor ecx, ecx
mov edx, 0x4f2804
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0x14]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0x50]
push eax
xor ecx, ecx
mov edx, 0x4f2814
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0x20]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0x54]
push eax
xor ecx, ecx
mov edx, 0x4f2828
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x10]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0x58]
push eax
xor ecx, ecx
mov edx, 0x4f2840
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x58]
lea eax, [ebx + 0x24]
call fcn.00404a88
lea eax, [ebx + 0x28]
call fcn.00404a34
lea eax, [ebx + 0x40]
call fcn.00404a34
xor eax, eax
mov dword [ebx + 0x112], eax
mov dword [ebx + 0x116], eax
mov word [ebx + 0x11a], ax
push 0x46
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x4f26fc
mov edx, 0x4f2854
mov eax, dword [esi]
call fcn.004dba84
mov eax, dword [ebp - 0x5c]
call fcn.0040bec4
fstp xword [ebx + 0x11c]
wait
mov eax, dword [ebx + 0xf4]
mov dword [ebx + 0x126], eax
mov eax, dword [ebx + 0xf8]
mov dword [ebx + 0x12a], eax
mov ax, word [ebx + 0xfc]
mov word [ebx + 0x12e], ax
lea eax, [ebx + 0x54]
call fcn.00404a34
push 0x53
lea eax, [ebp - 0x60]
push eax
xor ecx, ecx
mov edx, 0x4f2868
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x60]
lea eax, [ebx + 0x1c]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0x64]
push eax
xor ecx, ecx
mov edx, 0x4f287c
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x64]
lea eax, [ebx + 0x64]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0x68]
push eax
xor ecx, ecx
mov edx, 0x4f2894
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x68]
lea eax, [ebx + 0x68]
call fcn.00404a88
push 0x46
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x4f26fc
mov edx, 0x4f28a4
mov eax, dword [esi]
call fcn.004dba84
mov eax, dword [ebp - 0x6c]
call fcn.0040bec4
fstp xword [ebx + 0xea]
wait
push 0x53
lea eax, [ebp - 0x70]
push eax
xor ecx, ecx
mov edx, 0x4f28b8
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x70]
lea eax, [ebx + 0x74]
call fcn.00404a88
lea eax, [ebx + 0x78]
mov edx, 0x4f28cc
call fcn.00404a88
lea eax, [ebx + 0x6c]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 0x80]
call fcn.00404a88
lea eax, [ebx + 0x70]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 0x84]
call fcn.00404a88
push 0x46
lea eax, [ebp - 0x74]
push eax
mov ecx, 0x4f26fc
mov edx, 0x4f27a4
mov eax, dword [esi]
call fcn.004dba84
mov eax, dword [ebp - 0x74]
call fcn.0040bec4
fstp xword [ebx + 0x13a]
wait
push 0x53
lea eax, [ebp - 0x78]
push eax
xor ecx, ecx
mov edx, 0x4f28d8
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x78]
lea eax, [ebx + 0x7c]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0x7c]
push eax
xor ecx, ecx
mov edx, 0x4f28e8
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x7c]
lea eax, [ebx + 0x34]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0x80]
push eax
xor ecx, ecx
mov edx, 0x4f2900
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x80]
lea eax, [ebx + 0x98]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0x84]
push eax
xor ecx, ecx
mov edx, 0x4f2914
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x84]
lea eax, [ebx + 0x9c]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0x88]
push eax
xor ecx, ecx
mov edx, 0x4f2924
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x88]
lea eax, [ebx + 0xa0]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0x8c]
push eax
xor ecx, ecx
mov edx, 0x4f2934
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x8c]
lea eax, [ebx + 0x50]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0x90]
push eax
xor ecx, ecx
mov edx, 0x4f2948
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x90]
lea eax, [ebx + 0x80]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0x94]
push eax
xor ecx, ecx
mov edx, 0x4f2958
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x94]
lea eax, [ebx + 0x84]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0x98]
push eax
xor ecx, ecx
mov edx, 0x4f2968
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x98]
lea eax, [ebx + 0x88]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0x9c]
push eax
xor ecx, ecx
mov edx, 0x4f2978
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0x9c]
lea eax, [ebx + 0x8c]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0xa0]
push eax
xor ecx, ecx
mov edx, 0x4f298c
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0xa0]
lea eax, [ebx + 0x94]
call fcn.00404a88
push 0x46
lea eax, [ebp - 0xa4]
push eax
mov ecx, 0x4f26fc
mov edx, 0x4f29a0
mov eax, dword [esi]
call fcn.004dba84
mov eax, dword [ebp - 0xa4]
call fcn.0040bec4
fstp xword [ebx + 0x14e]
wait
push 0x46
lea eax, [ebp - 0xa8]
push eax
mov ecx, 0x4f26fc
mov edx, 0x4f29b4
mov eax, dword [esi]
call fcn.004dba84
mov eax, dword [ebp - 0xa8]
call fcn.0040bec4
fstp xword [ebx + 0x158]
wait
lea eax, [ebx + 0x38]
mov edx, 0x4f29cc
call fcn.00404a88
push 0x53
lea eax, [ebp - 0xac]
push eax
xor ecx, ecx
mov edx, 0x4f29d8
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0xac]
lea eax, [ebx + 0xb0]
call fcn.00404a88
lea eax, [ebx + 0xb4]
call fcn.00404a34
lea eax, [ebx + 0x2c]
mov edx, 0x4f28cc
call fcn.00404a88
push 0x44
lea eax, [ebp - 0xb0]
push eax
call fcn.0040c500
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0xb4]
mov eax, 0x4f29e8
call fcn.0040d294
mov ecx, dword [ebp - 0xb4]
mov edx, 0x4f2a04
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0xb0]
lea eax, [ebx + 0xb8]
call fcn.00404a88
xor eax, eax
mov dword [ebx + 0x162], eax
mov dword [ebx + 0x166], eax
mov word [ebx + 0x16a], ax
xor eax, eax
mov dword [ebx + 0x16c], eax
mov dword [ebx + 0x170], eax
mov word [ebx + 0x174], ax
xor eax, eax
mov dword [ebx + 0x144], eax
mov dword [ebx + 0x148], eax
mov word [ebx + 0x14c], ax
xor eax, eax
mov dword [ebx + 0x130], eax
mov dword [ebx + 0x134], eax
mov word [ebx + 0x138], ax
lea eax, [ebx + 0xa4]
call fcn.00404a34
lea eax, [ebx + 0x44]
call fcn.00404a34
lea eax, [ebx + 0x48]
call fcn.00404a34
lea eax, [ebx + 0x4c]
call fcn.00404a34
lea eax, [ebx + 0xac]
call fcn.00404a34
lea eax, [ebx + 0xbc]
call fcn.00404a34
lea eax, [ebx + 0x3c]
call fcn.00404a34
lea eax, [ebx + 0x30]
call fcn.00404a34
lea eax, [ebx + 0x58]
call fcn.00404a34
lea eax, [ebx + 0x5c]
call fcn.00404a34
lea eax, [ebx + 0x60]
call fcn.00404a34
lea eax, [ebx + 0xc0]
call fcn.00404a34
lea eax, [ebx + 0xc4]
call fcn.00404a34
xor eax, eax
mov dword [ebx + 0x176], eax
mov dword [ebx + 0x17a], eax
mov word [ebx + 0x17e], ax
xor eax, eax
mov dword [ebx + 0x180], eax
mov dword [ebx + 0x184], eax
mov word [ebx + 0x188], ax
xor eax, eax
mov dword [ebx + 0x18a], eax
mov dword [ebx + 0x18e], 0xc8000000
mov word [ebx + 0x192], 0x4005
lea eax, [ebx + 0xc8]
call fcn.00404a34
mov eax, dword [ebx]
mov dword [ebx + 4], eax
push 0x53
lea eax, [ebp - 0xb8]
push eax
xor ecx, ecx
mov edx, 0x4f2a18
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0xb8]
lea eax, [ebx + 0xcc]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 0x4f2a28
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0xbc]
lea eax, [ebx + 0xd0]
call fcn.00404a88
push 0x53
lea eax, [ebp - 0xc0]
push eax
xor ecx, ecx
mov edx, 0x4f2a38
mov eax, dword [esi]
call fcn.004dba84
mov edx, dword [ebp - 0xc0]
lea eax, [ebx + 0xd4]
call fcn.00404a88
lea edx, [ebp - 0xc4]
mov eax, dword [ebx]
call fcn.0040a0f0
mov edx, dword [ebp - 0xc4]
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [esi]
call fcn.004b361c
mov eax, dword [esi]
cmp byte [eax + 0xa1], 0
je 0x4f1a00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f233f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f2364
lea eax, [ebp - 0xc4]
mov edx, 0x30
call fcn.00404a58
ret