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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov cl, byte [0x4c5e0c]
push ebx
xor ebx, ebx
cmp cl, 1
je 0x470c52
xor eax, eax
inc eax
cmp byte [0x4c6154], bl
je 0x470c55
mov eax, dword [0x4c6150]
cmp eax, ebx
je 0x470c3d
shl eax, 0xa
cmp eax, dword [0x4c28c4]
sbb eax, eax
neg eax
jmp 0x470c55
cmp cl, 3
jne 0x470c46
xor eax, eax
jmp 0x470c55
xor ecx, ecx
call fcn.00470baf
movzx eax, al
jmp 0x470c55
push 2
pop eax
lea eax, [eax*8 + 0x4a2cb4]
mov dword [0x4b78bc], eax
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx]
mov eax, dword [eax]
shl ecx, 0xa
shl eax, 0xa
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov dword [0x4c2834], eax
mov dword [0x4c2840], ecx
cmp byte [0x4c2838], bl
jne 0x470c8c
mov dword [ebp - 4], ebx
cmp byte [0x4c2844], bl
jne 0x470c97
mov dword [ebp - 8], ebx
mov ecx, 0x4c8340
call fcn.00488ba4
fild dword [ebp - 4]
fstp dword [eax]
fild dword [ebp - 8]
fstp dword [eax + 4]
mov ecx, dword [0x4c28c0]
fild dword [0x4c28c0]
test ecx, ecx
jge 0x470cc2
fadd dword [0x48e6a0]
fstp dword [eax + 8]
mov ecx, dword [0x4c28c4]
fild dword [0x4c28c4]
test ecx, ecx
jge 0x470cdb
fadd dword [0x48e6a0]
fstp dword [eax + 0xc]
mov ecx, dword [0x4c29a0]
fild dword [0x4c29a0]
test ecx, ecx
jge 0x470cf4
fadd dword [0x48e6a0]
fstp dword [eax + 0x10]
mov ecx, dword [0x4c29a4]
fild dword [0x4c29a4]
test ecx, ecx
jge 0x470d0d
fadd dword [0x48e6a0]
fstp dword [eax + 0x14]
mov ecx, dword [0x4c29d8]
fild dword [0x4c29d8]
test ecx, ecx
jge 0x470d26
fadd dword [0x48e6a0]
mov ecx, dword [0x4c28c0]
fild dword [0x4c28c0]
test ecx, ecx
jge 0x470d3c
fadd dword [0x48e6a0]
faddp st(1)
fstp dword [eax + 0x18]
mov ecx, dword [0x4c29dc]
fild dword [0x4c29dc]
test ecx, ecx
jge 0x470d57
fadd dword [0x48e6a0]
mov ecx, dword [0x4c28c4]
fild dword [0x4c28c4]
test ecx, ecx
jge 0x470d6d
fadd dword [0x48e6a0]
faddp st(1)
fstp dword [eax + 0x1c]
cmp byte [0x4b32b9], bl
jne 0x470d82
cmp byte [0x4c61ab], bl
jne 0x470dee
mov ecx, dword [0x4c09b8]
cmp ecx, ebx
je 0x470dee
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
fild dword [ebp - 8]
test ecx, ecx
jge 0x470d9e
fadd dword [0x48e6a0]
fstp dword [eax + 0x20]
mov ecx, dword [0x4c09b8]
mov ecx, dword [ecx + 4]
mov dword [ebp - 8], ecx
fild dword [ebp - 8]
test ecx, ecx
jge 0x470dba
fadd dword [0x48e6a0]
fstp dword [eax + 0x24]
mov ecx, dword [0x4c2bd0]
fild dword [0x4c2bd0]
test ecx, ecx
jge 0x470dd3
fadd dword [0x48e6a0]
fstp dword [eax + 0x28]
mov ecx, dword [0x4c2bd4]
fild dword [0x4c2bd4]
test ecx, ecx
jge 0x470df9
fadd dword [0x48e6a0]
jmp 0x470df9
fldz
fst dword [eax + 0x20]
fst dword [eax + 0x24]
fst dword [eax + 0x28]
fstp dword [eax + 0x2c]
mov ecx, dword [0x4c2930]
fild dword [0x4c2930]
test ecx, ecx
jge 0x470e12
fadd dword [0x48e6a0]
fstp dword [eax + 0x30]
mov ecx, dword [0x4c2a10]
fild dword [0x4c2a10]
test ecx, ecx
jge 0x470e2b
fadd dword [0x48e6a0]
fstp dword [eax + 0x34]
mov ecx, dword [0x4c2a14]
fild dword [0x4c2a14]
test ecx, ecx
jge 0x470e44
fadd dword [0x48e6a0]
fstp dword [eax + 0x38]
mov ecx, dword [0x4c2a48]
fild dword [0x4c2a48]
test ecx, ecx
jge 0x470e5d
fadd dword [0x48e6a0]
fstp dword [eax + 0x3c]
mov ecx, dword [0x4c2a4c]
fild dword [0x4c2a4c]
test ecx, ecx
jge 0x470e76
fadd dword [0x48e6a0]
fstp dword [eax + 0x40]
mov ecx, dword [0x4c2ab8]
fild dword [0x4c2ab8]
test ecx, ecx
jge 0x470e8f
fadd dword [0x48e6a0]
fstp dword [eax + 0x44]
mov ecx, dword [0x4c2abc]
fild dword [0x4c2abc]
test ecx, ecx
jge 0x470ea8
fadd dword [0x48e6a0]
fstp dword [eax + 0x48]
mov ecx, dword [0x4c2a80]
fild dword [0x4c2a80]
test ecx, ecx
jge 0x470ec1
fadd dword [0x48e6a0]
fstp dword [eax + 0x4c]
mov ecx, dword [0x4c2a84]
fild dword [0x4c2a84]
test ecx, ecx
jge 0x470eda
fadd dword [0x48e6a0]
fstp dword [eax + 0x50]
mov ecx, dword [0x4c2af0]
fild dword [0x4c2af0]
test ecx, ecx
jge 0x470ef3
fadd dword [0x48e6a0]
fstp dword [eax + 0x54]
mov ecx, dword [0x4c2af4]
fild dword [0x4c2af4]
test ecx, ecx
jge 0x470f0c
fadd dword [0x48e6a0]
fstp dword [eax + 0x58]
mov ecx, dword [0x4c0f18]
fild dword [0x4c0f18]
test ecx, ecx
jge 0x470f25
fadd dword [0x48e6a0]
fstp dword [eax + 0x5c]
mov ecx, dword [0x4c0f0c]
fild dword [0x4c0f0c]
test ecx, ecx
jge 0x470f3e
fadd dword [0x48e6a0]
fstp dword [eax + 0x60]
mov ecx, dword [0x4c0ee0]
fild dword [0x4c0ee0]
test ecx, ecx
jge 0x470f57
fadd dword [0x48e6a0]
fstp dword [eax + 0x64]
mov ecx, dword [0x4c0ed4]
fild dword [0x4c0ed4]
test ecx, ecx
jge 0x470f70
fadd dword [0x48e6a0]
fstp dword [eax + 0x68]
mov ecx, dword [0x4c0f34]
fild dword [0x4c0f34]
test ecx, ecx
jge 0x470f89
fadd dword [0x48e6a0]
fstp dword [eax + 0x6c]
mov ecx, dword [0x4c0f28]
fild dword [0x4c0f28]
test ecx, ecx
jge 0x470fa2
fadd dword [0x48e6a0]
fstp dword [eax + 0x70]
mov ecx, dword [0x4c0efc]
fild dword [0x4c0efc]
test ecx, ecx
jge 0x470fbb
fadd dword [0x48e6a0]
fstp dword [eax + 0x74]
mov ecx, dword [0x4c0ef0]
fild dword [0x4c0ef0]
test ecx, ecx
jge 0x470fd4
fadd dword [0x48e6a0]
fstp dword [eax + 0x78]
mov al, byte [0x4c6215]
cmp al, bl
je 0x471013
movzx ecx, al
add ecx, ecx
not ecx
and ecx, 2
or ecx, 1
call fcn.00470baf
test al, al
jne 0x471013
push ebx
push 1
push 0x800b
push dword [0x4c5f4c]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [0x4c69f5], 1
jmp 0x471034
cmp byte [0x4c69f5], bl
je 0x471034
push ebx
push ebx
push 0x800b
push dword [0x4c5f4c]
mov byte [0x4c69f5], bl
call dword [sym.imp.USER32.dll_PostMessageW]
inc byte [0x4c69f4]
cmp byte [0x4c69f4], 0x3c
jb 0x471079
mov byte [0x4c69f4], bl
cmp byte [0x4c61da], bl
je 0x471079
call fcn.00470b89
test al, al
je 0x471079
push str.SetThreadExecutionState
push str.kernel32
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, ebx
je 0x471079
push 1
call eax
call fcn.00444c69
xor edx, edx
mov ecx, 0x3e8
div ecx
pop ebx
mov dword [0x4c60b0], eax
leave
ret