Function at 0x598a74
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
xor eax, eax
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x49bedc]
call fcn.004a2c60
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x598d31
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.004a46e8
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.004a104c
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.004a1034
mov edx, eax
mov eax, dword [ebp - 4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x6c]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x598ae5
call fcn.004052e4
jmp 0x598d38
push 0xcc0020
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.0049e94c
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004a3578
call fcn.0049e94c
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004a3578
xor ecx, ecx
xor edx, edx
call fcn.0049e304
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x10]
mov dl, 5
call fcn.0049dcf8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
call fcn.0049df7c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fdiv dword [0x598d40]
mov eax, dword [esi]
fstp dword [eax + 0xc0]
wait
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fdiv dword [0x598d40]
mov eax, dword [esi]
fstp dword [eax + 0xc4]
wait
mov eax, dword [esi]
fld dword [eax + 0xc0]
fmul st(0)
fstp xword [ebp - 0x24]
wait
mov eax, dword [esi]
fld dword [eax + 0xc4]
fmul st(0)
fld xword [ebp - 0x24]
faddp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.004035e0
call fcn.004035f0
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0xbc]
mov dword [ebp - 0x14], eax
fld xword [0x598d44]
fmul dword [ebp - 0x14]
fdiv dword [0x598d50]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.004035c0
mov dword [ebp - 0x18], ebx
fild dword [ebp - 0x18]
fmulp st(1)
mov eax, dword [esi]
fsubr dword [eax + 0xc0]
call fcn.004035f0
mov edi, eax
fld xword [0x598d44]
fmul dword [ebp - 0x14]
fdiv dword [0x598d50]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.004035d0
mov dword [ebp - 0x18], ebx
fild dword [ebp - 0x18]
fmulp st(1)
mov eax, dword [esi]
fsubr dword [eax + 0xc4]
call fcn.004035f0
mov dword [ebp - 0xc], eax
fld dword [ebp - 0x14]
mov eax, dword [esi]
fadd dword [eax + 4]
fstp dword [ebp - 0x14]
wait
fld xword [0x598d44]
fmul dword [ebp - 0x14]
fdiv dword [0x598d50]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.004035c0
mov dword [ebp - 0x18], ebx
fild dword [ebp - 0x18]
fmulp st(1)
mov eax, dword [esi]
fsubr dword [eax + 0xc0]
call fcn.004035f0
mov dword [ebp - 0x10], eax
fld xword [0x598d44]
fmul dword [ebp - 0x14]
fdiv dword [0x598d50]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.004035d0
mov dword [ebp - 0x18], ebx
fild dword [ebp - 0x18]
fmulp st(1)
mov eax, dword [esi]
fsubr dword [eax + 0xc4]
call fcn.004035f0
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
add eax, eax
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
add eax, eax
push eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
neg eax
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
neg edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
pop ecx
call fcn.0049e4fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x598d38
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.0049df7c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.0049e0dc
cmp dword [ebp - 8], 0
je 0x598d28
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
call fcn.00404358
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret