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

Disassembly:
push 0xffffffffffffffff
push 0x4d8ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517050]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.0043b09a
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
xor ecx, ecx
mov dword [esi], 0x4ee5dc
mov dword [esi + 0xe4], ebp
mov dword [esi + 0xe8], eax
mov dword [esi + 0x114], ecx
mov eax, dword [eax + 0xa0]
cmp eax, 2
mov dword [esp + 0x78], ecx
mov dword [esi + 0xec], eax
je 0x48d2e8
cmp eax, 3
je 0x48d2e8
xor eax, eax
jmp 0x48d2ed
mov eax, 1
mov ecx, esi
mov dword [esi + 0xf0], eax
call fcn.0048bb90
mov ebx, eax
mov edi, dword [ebx + 0x60]
mov ecx, ebx
call fcn.0045b230
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.0048f840
push 1
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call fcn.0048bc30
mov ecx, dword [ebp + 0x13c]
mov edx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x28]
cmp edx, eax
mov ebp, edx
jl 0x48d335
mov ebp, eax
cmp dword [esp + 0x64], ebp
jle 0x48d341
mov eax, dword [esp + 0x64]
jmp 0x48d34c
cmp edx, eax
mov dword [esp + 0x84], edx
jl 0x48d353
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [ecx + 0x24]
cmp eax, ecx
mov edx, eax
jl 0x48d362
mov edx, ecx
cmp dword [esp + 0x60], edx
jle 0x48d36e
mov ebp, dword [esp + 0x60]
jmp 0x48d376
cmp eax, ecx
mov ebp, eax
jl 0x48d376
mov ebp, ecx
mov ecx, dword [esi + 0xec]
push ecx
mov ecx, ebx
call fcn.0045b270
cmp eax, 3
ja case.default.0x48d389
jmp dword [eax*4 + 0x48d5b0]
mov edx, dword [esp + 0x18]
add ebp, edx
mov dword [esp + 0x20], ebp
jmp case.default.0x48d389
mov eax, dword [esp + 0x20]
sub eax, ebp
mov dword [esp + 0x18], eax
jmp case.default.0x48d389
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x84]
add edx, ecx
mov dword [esp + 0x24], edx
jmp case.default.0x48d389
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.004244da
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0048c580
test eax, eax
je 0x48d416
cmp dword [ebx + 0x78], 0
jne 0x48d416
call fcn.0041cd37
xor ebx, ebx
cmp dword [esi + 0xf0], ebx
setne bl
add ebx, 0x26f2
call fcn.0041cd37
mov eax, dword [eax + 0xc]
movzx ecx, bx
push ecx
push eax
jmp 0x48d41d
push 0x7f00
push 0
call dword [fcn.005210b4]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x100], edx
mov edx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], edx
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.user32.dll_UpdateWindow]
mov ecx, dword [edi + 0x20]
mov ebx, dword [fcn.005210f8]
push 0
push 0
push 0xb
push ecx
call ebx
push 0
push edi
lea edx, [esp + 0x20]
push edx
push 0x46000000
push 0x4fa2a4
push 0
push 0
push ebp
push 0
call fcn.00422e71
push eax
mov ecx, edi
call fcn.00425d52
and eax, 0x400000
push eax
mov ecx, esi
call fcn.0043b14c
mov eax, dword [edi + 0x20]
xor ebp, ebp
push ebp
push 1
push 0xb
push eax
call ebx
fldz
mov ebx, 1
fld st(0)
mov dword [esi + 0xf4], ebp
mov dword [esi + 0xf8], ebx
fld qword [0x519a88]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x48d544
mov ecx, dword [0x519a90]
cmp ecx, ebp
je 0x48d544
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x48d534
cmp dword [esi + 0xf0], ebp
je 0x48d501
mov ecx, dword [esi + 0x108]
sub ecx, dword [esi + 0x100]
mov dword [esp + 0x84], ecx
jmp 0x48d514
mov edx, dword [esi + 0x10c]
sub edx, dword [esi + 0x104]
mov dword [esp + 0x84], edx
fimul dword [esp + 0x84]
fmul qword [0x4ee5d0]
fidiv dword [0x519a90]
call fcn.00442cd0
mov dword [esi + 0xf8], eax
jmp 0x48d548
mov eax, dword [0x519a94]
cdq
idiv ecx
mov dword [esi + 0xf8], eax
jmp 0x48d546
fstp st(0)
fstp st(0)
cmp dword [esi + 0xf8], ebx
jge 0x48d556
mov dword [esi + 0xf8], ebx
cmp dword [esi + 0xf8], ebx
mov edi, dword [sym.imp.user32.dll_SetTimer]
mov dword [esi + 0xfc], ebp
jle 0x48d57b
mov eax, dword [0x519a90]
mov ecx, dword [esi + 0x20]
push ebp
push eax
push 2
push ecx
call edi
jmp 0x48d582
mov ecx, esi
call fcn.0048bcd0
mov edx, dword [0x519aa0]
mov eax, dword [esi + 0x20]
push ebp
push edx
push ebx
push eax
call edi
mov dword [esi + 0x110], ebp
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 8