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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d0af8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
xor edi, edi
mov eax, 0x5e3de0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], eax
mov eax, dword [0x627488]
mov ebx, dword [ebp + 8]
push eax
lea ecx, [esp + 0x38]
push ebx
push ecx
mov byte [esp + 0x74], 1
mov dword [esp + 0x30], edi
call fcn.004a2d00
add esp, 0xc
test eax, eax
je 0x49c844
mov edx, dword [ebx]
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call dword [edx + 0x30]
mov dword [esp + 0x24], eax
mov eax, 0x3e8
push 0x61e074
lea ecx, [esp + 0x24]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call fcn.005c0fb0
mov eax, dword [esp + 0x20]
mov edx, dword [ebx]
lea esi, [esp + 0x50]
push 0x520
mov ecx, dword [eax - 8]
push esi
push ecx
push eax
mov ecx, ebx
mov byte [esp + 0x78], 2
call dword [edx + 0x70]
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 1
call sub.mfc42u.dll_CString::CString
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov esi, dword [ebp + 0xc]
sub eax, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x58]
fild dword [esp + 0x20]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], edi
sub ecx, edx
mov dword [esp + 0x18], edi
fdiv qword [esi + 0x20]
mov dword [esp + 0x20], ecx
xor eax, eax
mov dword [esp + 0x10], eax
fstp qword [esp + 0x44]
fild dword [esp + 0x20]
mov dword [esp + 0x20], edi
mov edi, dword [ebp + 0x2c]
fdiv qword [esi + 0x28]
mov ecx, dword [edi + 8]
test ecx, ecx
fstp qword [esp + 0x3c]
jle 0x49ca2b
jmp 0x49c8ef
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 4]
mov ecx, dword [edx + eax*4]
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x1c], 0
mov ecx, dword [edi + 4]
mov eax, dword [ecx + eax*4]
lea ecx, [edx + 0x2e0]
push eax
call fcn.004d80d0
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx + ecx + 2]
cmp ecx, eax
jne 0x49ca17
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + eax*4]
call fcn.0050b030
fld qword [eax + 0x20]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x49ca06
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*4]
call fcn.0050b030
fld qword [eax + 0x28]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 0x41
jne 0x49ca06
mov ecx, dword [esp + 0x20]
mov eax, dword [0x6274b0]
inc ecx
test eax, eax
mov dword [esp + 0x20], ecx
je 0x49c98b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1ec]
mov eax, 1
mov edx, dword [ecx]
cmp dword [edx + 4], eax
jne 0x49c98d
xor eax, eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*4]
xor edx, edx
cmp byte [ebp + 0x18], dl
sete dl
and edx, dword [0x6274dc]
push edx
mov edx, dword [0x6274e0]
push edx
mov edx, dword [0x6274b8]
push edx
mov edx, dword [0x6274b4]
push edx
mov edx, dword [0x6274c0]
push edx
mov edx, dword [0x6274a4]
push eax
mov eax, dword [0x6274a8]
push eax
mov eax, dword [0x6274d4]
push edx
push eax
mov eax, dword [esp + 0x38]
xor edx, edx
cmp byte [eax + 0x275], 1
mov eax, dword [0x6274cc]
setne dl
push edx
mov edx, dword [0x627498]
push edx
mov edx, dword [0x6274c8]
push 1
push eax
push edx
push esi
push ebx
call fcn.004e9fa0
jmp 0x49ca17
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x1c], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x49c8eb
mov edx, dword [0x627494]
lea eax, [esp + 0x2c]
push edx
push ebx
push eax
call fcn.004a2d00
add esp, 0xc
test eax, eax
je 0x49ca50
mov edx, dword [ebx]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call dword [edx + 0x30]
push 0x61e068
lea ecx, [esp + 0x14]
call fcn.005c0fb0
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
lea ecx, [esp + 0x50]
push 0x520
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, ebx
mov byte [esp + 0x78], 3
call dword [edx + 0x70]
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 1
call sub.mfc42u.dll_CString::CString
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
sub edx, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x50]
fild dword [esp + 0x10]
sub eax, edx
mov ecx, dword [edi + 8]
mov dword [esp + 0x10], eax
xor eax, eax
fdiv qword [esi + 0x20]
test ecx, ecx
fstp qword [esp + 0x44]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fdiv qword [esi + 0x28]
fstp qword [esp + 0x3c]
jle 0x49cc72
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x49cc5e
mov eax, dword [0x62749c]
test eax, eax
je 0x49cb14
mov edx, dword [esp + 0x1c]
mov eax, dword [0x6274b0]
inc edx
test eax, eax
mov dword [esp + 0x1c], edx
je 0x49cb10
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x1ec]
mov edx, dword [eax]
mov eax, 1
cmp dword [edx + 4], eax
jne 0x49cb7b
xor eax, eax
jmp 0x49cb7b
inc dword [esp + 0x18]
call fcn.0050b030
fld qword [eax + 0x20]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x49cbe3
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x10]
mov ecx, dword [eax + ecx*4]
call fcn.0050b030
fld qword [eax + 0x28]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 0x41
jne 0x49cbe3
mov eax, dword [0x6274b0]
test eax, eax
je 0x49cb6f
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x1ec]
mov ecx, dword [eax]
mov eax, 1
cmp dword [ecx + 4], eax
jne 0x49cb71
xor eax, eax
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x10]
mov ecx, dword [edx + ecx*4]
xor edx, edx
cmp byte [ebp + 0x18], dl
sete dl
and edx, dword [0x6274dc]
push edx
mov edx, dword [0x6274e0]
push edx
mov edx, dword [0x6274b8]
push edx
mov edx, dword [0x6274b4]
push edx
mov edx, dword [0x6274c0]
push edx
mov edx, dword [0x6274a4]
push eax
mov eax, dword [0x6274a8]
push eax
mov eax, dword [0x6274d4]
push edx
push eax
mov eax, dword [esp + 0x38]
xor edx, edx
cmp byte [eax + 0x275], 1
mov eax, dword [0x6274cc]
setne dl
push edx
mov edx, dword [0x627498]
push edx
mov edx, dword [0x6274c8]
push 1
push eax
push edx
jmp 0x49cc57
mov eax, dword [0x6274b0]
test eax, eax
je 0x49cc02
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1ec]
mov eax, 1
mov edx, dword [ecx]
cmp dword [edx + 4], eax
jne 0x49cc04
xor eax, eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*4]
xor edx, edx
cmp byte [ebp + 0x18], dl
sete dl
and edx, dword [0x6274dc]
push edx
mov edx, dword [0x6274e0]
push edx
mov edx, dword [0x6274b8]
push edx
mov edx, dword [0x6274b4]
push edx
mov edx, dword [0x6274c0]
push edx
mov edx, dword [0x6274cc]
push eax
mov eax, dword [0x6274a8]
push eax
mov eax, dword [0x6274c8]
push 0
push 0
push 1
push 0
push 0
push edx
push eax
push esi
push ebx
call fcn.004e9fa0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x49cace
mov eax, dword [esp + 0x24]
test eax, eax
je 0x49cc82
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x30]
mov al, byte [ebp + 0x10]
mov edi, dword [ebp + 0x30]
test al, al
jne 0x49cd9e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add eax, ecx
add eax, edx
test eax, eax
jle 0x49cd9e
lea ecx, [esp + 0x10]
call sub.mfc42u.dll_CString::CString_3
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
mov edx, dword [esi]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x78], 4
call dword [edx + 0xc]
mov edx, dword [esp + 0x14]
lea ecx, [edx + 0x2e0]
mov dword [esp + 0x14], ecx
call fcn.004e3090
test al, al
je 0x49ccf3
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x14]
fld qword [eax + ecx*8 + 0x568]
jmp 0x49cd35
mov ecx, dword [esp + 0x14]
call fcn.004e3060
mov ecx, dword [esp + 0x14]
test al, al
je 0x49cd2a
call fcn.004dfab0
fld qword [0x5e27a0]
fsub qword [eax + 0x28]
fdivr qword [0x5e27a0]
fmul qword [eax + 0xc0]
fld dword [eax + 0xf4]
fadd st(0), st(0)
faddp st(1)
jmp 0x49cd35
call fcn.004dfab0
fld dword [eax + 0xf0]
fstp qword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push 0
push 1
push edx
push eax
call fcn.004aab40
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax]
add esp, 0x10
inc edx
lea eax, [esp + 0x10]
push ecx
push edx
push 0x61aa20
push eax
call sub.mfc42u.dll_CString::Format_1
mov eax, dword [esi + 8]
mov ecx, dword [0x627488]
sub eax, ecx
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov edx, dword [ebx]
mov ecx, dword [ecx - 8]
sub eax, 0xa
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push eax
mov eax, dword [esi + 4]
mov ecx, ebx
push eax
call dword [edx + 0x64]
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 1
call sub.mfc42u.dll_CString::CString
mov al, byte [ebp + 0x18]
test al, al
jne 0x49ce81
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add edx, eax
add edx, ecx
test edx, edx
jle 0x49ce81
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [esi]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push eax
push ecx
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
mov ecx, ebx
call sub.mfc42u.dll_CDC::MoveTo
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [esi]
push eax
mov eax, dword [edi + 0x14]
push ecx
mov ecx, dword [edi + 0x10]
push eax
push ecx
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, ebx
call sub.mfc42u.dll_CDC::LineTo
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
mov edx, dword [esi]
push eax
mov eax, dword [edi + 0x14]
push ecx
mov ecx, dword [edi + 0x10]
push eax
push ecx
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, ebx
call sub.mfc42u.dll_CDC::LineTo
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
mov edx, dword [esi]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push eax
push ecx
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, ebx
call sub.mfc42u.dll_CDC::LineTo
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [esi]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push eax
push ecx
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, ebx
call sub.mfc42u.dll_CDC::LineTo
mov esi, 0x5e3df4
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 5
call sub.mfc42u.dll_CGdiObject::DeleteObject
mov dword [esp + 0x2c], 0x5e262c
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x68], 6
call sub.mfc42u.dll_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x2c