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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov cl, byte [0x4c8f74]
push ebx
xor ebx, ebx
cmp cl, 1
je 0x472168
xor eax, eax
inc eax
cmp byte [0x4c92bc], bl
je 0x47216b
mov eax, dword [0x4c92b8]
cmp eax, ebx
je 0x472153
shl eax, 0xa
cmp eax, dword [0x4c5a1c]
sbb eax, eax
neg eax
jmp 0x47216b
cmp cl, 3
jne 0x47215c
xor eax, eax
jmp 0x47216b
xor ecx, ecx
call fcn.004720c8
movzx eax, al
jmp 0x47216b
push 2
pop eax
lea eax, [eax*8 + 0x4a4eb4]
mov dword [0x4ba914], 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 [0x4c598c], eax
mov dword [0x4c5998], ecx
cmp byte [0x4c5990], bl
jne 0x4721a2
mov dword [ebp - 4], ebx
cmp byte [0x4c599c], bl
jne 0x4721ad
mov dword [ebp - 8], ebx
mov ecx, 0x4cb4b0
call fcn.0048a6de
fild dword [ebp - 4]
fstp dword [eax]
fild dword [ebp - 8]
fstp dword [eax + 4]
mov ecx, dword [0x4c5a18]
fild dword [0x4c5a18]
test ecx, ecx
jge 0x4721d8
fadd dword [0x4906a0]
fstp dword [eax + 8]
mov ecx, dword [0x4c5a1c]
fild dword [0x4c5a1c]
test ecx, ecx
jge 0x4721f1
fadd dword [0x4906a0]
fstp dword [eax + 0xc]
mov ecx, dword [0x4c5af8]
fild dword [0x4c5af8]
test ecx, ecx
jge 0x47220a
fadd dword [0x4906a0]
fstp dword [eax + 0x10]
mov ecx, dword [0x4c5afc]
fild dword [0x4c5afc]
test ecx, ecx
jge 0x472223
fadd dword [0x4906a0]
fstp dword [eax + 0x14]
mov ecx, dword [0x4c5b30]
fild dword [0x4c5b30]
test ecx, ecx
jge 0x47223c
fadd dword [0x4906a0]
mov ecx, dword [0x4c5a18]
fild dword [0x4c5a18]
test ecx, ecx
jge 0x472252
fadd dword [0x4906a0]
faddp st(1)
fstp dword [eax + 0x18]
mov ecx, dword [0x4c5b34]
fild dword [0x4c5b34]
test ecx, ecx
jge 0x47226d
fadd dword [0x4906a0]
mov ecx, dword [0x4c5a1c]
fild dword [0x4c5a1c]
test ecx, ecx
jge 0x472283
fadd dword [0x4906a0]
faddp st(1)
fstp dword [eax + 0x1c]
cmp byte [0x4b62b9], bl
jne 0x472298
cmp byte [0x4c9313], bl
jne 0x472304
mov ecx, dword [0x4c3ae0]
cmp ecx, ebx
je 0x472304
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
fild dword [ebp - 8]
test ecx, ecx
jge 0x4722b4
fadd dword [0x4906a0]
fstp dword [eax + 0x20]
mov ecx, dword [0x4c3ae0]
mov ecx, dword [ecx + 4]
mov dword [ebp - 8], ecx
fild dword [ebp - 8]
test ecx, ecx
jge 0x4722d0
fadd dword [0x4906a0]
fstp dword [eax + 0x24]
mov ecx, dword [0x4c5d28]
fild dword [0x4c5d28]
test ecx, ecx
jge 0x4722e9
fadd dword [0x4906a0]
fstp dword [eax + 0x28]
mov ecx, dword [0x4c5d2c]
fild dword [0x4c5d2c]
test ecx, ecx
jge 0x47230f
fadd dword [0x4906a0]
jmp 0x47230f
fldz
fst dword [eax + 0x20]
fst dword [eax + 0x24]
fst dword [eax + 0x28]
fstp dword [eax + 0x2c]
mov ecx, dword [0x4c5a88]
fild dword [0x4c5a88]
test ecx, ecx
jge 0x472328
fadd dword [0x4906a0]
fstp dword [eax + 0x30]
mov ecx, dword [0x4c5b68]
fild dword [0x4c5b68]
test ecx, ecx
jge 0x472341
fadd dword [0x4906a0]
fstp dword [eax + 0x34]
mov ecx, dword [0x4c5b6c]
fild dword [0x4c5b6c]
test ecx, ecx
jge 0x47235a
fadd dword [0x4906a0]
fstp dword [eax + 0x38]
mov ecx, dword [0x4c5ba0]
fild dword [0x4c5ba0]
test ecx, ecx
jge 0x472373
fadd dword [0x4906a0]
fstp dword [eax + 0x3c]
mov ecx, dword [0x4c5ba4]
fild dword [0x4c5ba4]
test ecx, ecx
jge 0x47238c
fadd dword [0x4906a0]
fstp dword [eax + 0x40]
mov ecx, dword [0x4c5c10]
fild dword [0x4c5c10]
test ecx, ecx
jge 0x4723a5
fadd dword [0x4906a0]
fstp dword [eax + 0x44]
mov ecx, dword [0x4c5c14]
fild dword [0x4c5c14]
test ecx, ecx
jge 0x4723be
fadd dword [0x4906a0]
fstp dword [eax + 0x48]
mov ecx, dword [0x4c5bd8]
fild dword [0x4c5bd8]
test ecx, ecx
jge 0x4723d7
fadd dword [0x4906a0]
fstp dword [eax + 0x4c]
mov ecx, dword [0x4c5bdc]
fild dword [0x4c5bdc]
test ecx, ecx
jge 0x4723f0
fadd dword [0x4906a0]
fstp dword [eax + 0x50]
mov ecx, dword [0x4c5c48]
fild dword [0x4c5c48]
test ecx, ecx
jge 0x472409
fadd dword [0x4906a0]
fstp dword [eax + 0x54]
mov ecx, dword [0x4c5c4c]
fild dword [0x4c5c4c]
test ecx, ecx
jge 0x472422
fadd dword [0x4906a0]
fstp dword [eax + 0x58]
fild dword [0x4c5958]
fstp dword [eax + 0x5c]
fild dword [0x4c595c]
fstp dword [eax + 0x60]
fild dword [0x4c5960]
fstp dword [eax + 0x64]
fild dword [0x4c5964]
fstp dword [eax + 0x68]
fild dword [0x4c5968]
fstp dword [eax + 0x6c]
fild dword [0x4c596c]
fstp dword [eax + 0x70]
mov ecx, dword [0x4c4050]
fild dword [0x4c4050]
test ecx, ecx
jge 0x472471
fadd dword [0x4906a0]
fstp dword [eax + 0x74]
mov ecx, dword [0x4c4044]
fild dword [0x4c4044]
test ecx, ecx
jge 0x47248a
fadd dword [0x4906a0]
fstp dword [eax + 0x78]
mov ecx, dword [0x4c4018]
fild dword [0x4c4018]
test ecx, ecx
jge 0x4724a3
fadd dword [0x4906a0]
fstp dword [eax + 0x7c]
mov ecx, dword [0x4c400c]
fild dword [0x4c400c]
test ecx, ecx
jge 0x4724bc
fadd dword [0x4906a0]
fstp dword [eax + 0x80]
mov ecx, dword [0x4c406c]
fild dword [0x4c406c]
test ecx, ecx
jge 0x4724d8
fadd dword [0x4906a0]
fstp dword [eax + 0x84]
mov ecx, dword [0x4c4060]
fild dword [0x4c4060]
test ecx, ecx
jge 0x4724f4
fadd dword [0x4906a0]
fstp dword [eax + 0x88]
mov ecx, dword [0x4c4034]
fild dword [0x4c4034]
test ecx, ecx
jge 0x472510
fadd dword [0x4906a0]
fstp dword [eax + 0x8c]
mov ecx, dword [0x4c4028]
fild dword [0x4c4028]
test ecx, ecx
jge 0x47252c
fadd dword [0x4906a0]
fstp dword [eax + 0x90]
mov al, byte [0x4c937d]
cmp al, bl
je 0x47256e
movzx ecx, al
add ecx, ecx
not ecx
and ecx, 2
or ecx, 1
call fcn.004720c8
test al, al
jne 0x47256e
push ebx
push 1
push 0x800b
push dword [0x4c90b4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [0x4c9b5d], 1
jmp 0x47258f
cmp byte [0x4c9b5d], bl
je 0x47258f
push ebx
push ebx
push 0x800b
push dword [0x4c90b4]
mov byte [0x4c9b5d], bl
call dword [sym.imp.USER32.dll_PostMessageW]
inc byte [0x4c9b5c]
cmp byte [0x4c9b5c], 0x3c
jb 0x4725d4
mov byte [0x4c9b5c], bl
cmp byte [0x4c9342], bl
je 0x4725d4
call fcn.004720a2
test al, al
je 0x4725d4
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 0x4725d4
push 1
call eax
call fcn.00445d79
xor edx, edx
mov ecx, 0x3e8
div ecx
pop ebx
mov dword [0x4c9218], eax
leave
ret