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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov cl, byte [0x5499a8]
push ebx
xor ebx, ebx
cmp cl, 1
je 0x4b7d7a
xor eax, eax
inc eax
cmp byte [0x54b0d4], bl
je 0x4b7d7d
mov eax, dword [0x54b0d0]
cmp eax, ebx
je 0x4b7d65
shl eax, 0xa
cmp eax, dword [0x548dc4]
sbb eax, eax
neg eax
jmp 0x4b7d7d
cmp cl, 3
jne 0x4b7d6e
xor eax, eax
jmp 0x4b7d7d
xor ecx, ecx
call fcn.004b7cce
movzx eax, al
jmp 0x4b7d7d
push 2
pop eax
mov edx, dword [0x549ac8]
lea eax, [eax*8 + 0x5107dc]
mov dword [0x537888], 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 [0x548fcc], eax
mov dword [0x548fd8], ecx
cmp edx, ebx
je 0x4b7dbf
mov dword [edx + 0xc], ecx
mov ecx, dword [0x549ac8]
mov dword [ecx + 8], eax
cmp byte [0x548fd0], bl
jne 0x4b7dca
mov dword [ebp - 4], ebx
cmp byte [0x548fdc], bl
jne 0x4b7dd5
mov dword [ebp - 8], ebx
push esi
push edi
mov ecx, 0x54c008
call fcn.004db34d
fild dword [ebp - 4]
mov esi, eax
push 0xf
xor eax, eax
lea edi, [esi + 0x98]
pop ecx
rep stosd dword es:[edi], eax
fstp dword [esi]
fild dword [ebp - 8]
fstp dword [esi + 4]
mov eax, dword [0x548dc0]
fild dword [0x548dc0]
test eax, eax
jge 0x4b7e10
fadd dword [0x4f23f8]
fstp dword [esi + 8]
mov eax, dword [0x548dc4]
fild dword [0x548dc4]
test eax, eax
jge 0x4b7e28
fadd dword [0x4f23f8]
fstp dword [esi + 0xc]
mov eax, dword [0x548ea0]
fild dword [0x548ea0]
test eax, eax
jge 0x4b7e40
fadd dword [0x4f23f8]
fstp dword [esi + 0x10]
mov eax, dword [0x548ea4]
fild dword [0x548ea4]
test eax, eax
jge 0x4b7e58
fadd dword [0x4f23f8]
fstp dword [esi + 0x14]
mov eax, dword [0x5490d8]
fild dword [0x5490d8]
test eax, eax
jge 0x4b7e70
fadd dword [0x4f23f8]
mov eax, dword [0x548dc0]
fild dword [0x548dc0]
test eax, eax
jge 0x4b7e85
fadd dword [0x4f23f8]
faddp st(1)
fstp dword [esi + 0x18]
mov eax, dword [0x5490dc]
fild dword [0x5490dc]
test eax, eax
jge 0x4b7e9f
fadd dword [0x4f23f8]
mov eax, dword [0x548dc4]
fild dword [0x548dc4]
test eax, eax
jge 0x4b7eb4
fadd dword [0x4f23f8]
faddp st(1)
fstp dword [esi + 0x1c]
cmp byte [0x537419], bl
jne 0x4b7ec9
cmp byte [0x54b147], bl
jne 0x4b7f32
mov eax, dword [0x549ac4]
cmp eax, ebx
je 0x4b7f32
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
test eax, eax
jge 0x4b7ee5
fadd dword [0x4f23f8]
fstp dword [esi + 0x20]
mov eax, dword [0x549ac4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
test eax, eax
jge 0x4b7f00
fadd dword [0x4f23f8]
fstp dword [esi + 0x24]
mov eax, dword [0x549058]
fild dword [0x549058]
test eax, eax
jge 0x4b7f18
fadd dword [0x4f23f8]
fstp dword [esi + 0x28]
mov eax, dword [0x54905c]
fild dword [0x54905c]
test eax, eax
jge 0x4b7f3d
fadd dword [0x4f23f8]
jmp 0x4b7f3d
fldz
fst dword [esi + 0x20]
fst dword [esi + 0x24]
fst dword [esi + 0x28]
fstp dword [esi + 0x2c]
mov eax, dword [0x548f1c]
fild dword [0x548f1c]
test eax, eax
jge 0x4b7f55
fadd dword [0x4f23f8]
fstp dword [esi + 0x30]
mov eax, dword [0x548e68]
fild dword [0x548e68]
test eax, eax
jge 0x4b7f6d
fadd dword [0x4f23f8]
fstp dword [esi + 0x34]
mov eax, dword [0x548e6c]
fild dword [0x548e6c]
test eax, eax
jge 0x4b7f85
fadd dword [0x4f23f8]
fstp dword [esi + 0x38]
mov eax, dword [0x548df8]
fild dword [0x548df8]
test eax, eax
jge 0x4b7f9d
fadd dword [0x4f23f8]
fstp dword [esi + 0x3c]
mov eax, dword [0x548dfc]
fild dword [0x548dfc]
test eax, eax
jge 0x4b7fb5
fadd dword [0x4f23f8]
fstp dword [esi + 0x40]
mov eax, dword [0x549110]
fild dword [0x549110]
test eax, eax
jge 0x4b7fcd
fadd dword [0x4f23f8]
fstp dword [esi + 0x44]
mov eax, dword [0x549114]
fild dword [0x549114]
test eax, eax
jge 0x4b7fe5
fadd dword [0x4f23f8]
fstp dword [esi + 0x48]
mov eax, dword [0x5491b8]
fild dword [0x5491b8]
test eax, eax
jge 0x4b7ffd
fadd dword [0x4f23f8]
fstp dword [esi + 0x4c]
mov eax, dword [0x5491bc]
fild dword [0x5491bc]
test eax, eax
jge 0x4b8015
fadd dword [0x4f23f8]
fstp dword [esi + 0x50]
mov eax, dword [0x548e30]
fild dword [0x548e30]
test eax, eax
jge 0x4b802d
fadd dword [0x4f23f8]
fstp dword [esi + 0x54]
mov eax, dword [0x548e34]
fild dword [0x548e34]
test eax, eax
jge 0x4b8045
fadd dword [0x4f23f8]
fstp dword [esi + 0x58]
fild dword [0x548d70]
fstp dword [esi + 0x5c]
fild dword [0x548d74]
fstp dword [esi + 0x60]
fild dword [0x548d78]
fstp dword [esi + 0x64]
fild dword [0x548d7c]
fstp dword [esi + 0x68]
fild dword [0x548d80]
fstp dword [esi + 0x6c]
fild dword [0x548d84]
fstp dword [esi + 0x70]
call fcn.004e3ea6
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp dword [esi + 0x74]
mov eax, dword [0x547e50]
fild dword [0x547e50]
test eax, eax
jge 0x4b80a1
fadd dword [0x4f23f8]
fstp dword [esi + 0x78]
mov eax, dword [0x547e44]
fild dword [0x547e44]
test eax, eax
jge 0x4b80b9
fadd dword [0x4f23f8]
fstp dword [esi + 0x7c]
mov eax, dword [0x547e18]
fild dword [0x547e18]
test eax, eax
jge 0x4b80d1
fadd dword [0x4f23f8]
fstp dword [esi + 0x80]
mov eax, dword [0x547e0c]
fild dword [0x547e0c]
test eax, eax
jge 0x4b80ec
fadd dword [0x4f23f8]
fstp dword [esi + 0x84]
mov eax, dword [0x547e6c]
fild dword [0x547e6c]
test eax, eax
jge 0x4b8107
fadd dword [0x4f23f8]
fstp dword [esi + 0x88]
mov eax, dword [0x547e60]
fild dword [0x547e60]
test eax, eax
jge 0x4b8122
fadd dword [0x4f23f8]
fstp dword [esi + 0x8c]
mov eax, dword [0x547e34]
fild dword [0x547e34]
test eax, eax
jge 0x4b813d
fadd dword [0x4f23f8]
fstp dword [esi + 0x90]
mov eax, dword [0x547e28]
fild dword [0x547e28]
test eax, eax
jge 0x4b8158
fadd dword [0x4f23f8]
fstp dword [esi + 0x94]
mov al, byte [0x54b1e2]
pop edi
pop esi
cmp al, bl
je 0x4b819c
movzx ecx, al
add ecx, ecx
not ecx
and ecx, 2
or ecx, 1
call fcn.004b7cce
test al, al
jne 0x4b819c
push ebx
push 1
push 0x800b
push dword [0x54affc]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [0x54bc9d], 1
jmp 0x4b81bd
cmp byte [0x54bc9d], bl
je 0x4b81bd
push ebx
push ebx
push 0x800b
push dword [0x54affc]
mov byte [0x54bc9d], bl
call dword [sym.imp.USER32.dll_PostMessageW]
inc byte [0x54bc9c]
cmp byte [0x54bc9c], 0x3c
jb 0x4b821c
mov byte [0x54bc9c], bl
cmp byte [0x54b1a4], bl
je 0x4b821c
call fcn.004b7c6a
test al, al
je 0x4b821c
test byte [0x54bc98], 1
jne 0x4b820f
or dword [0x54bc98], 1
push str.SetThreadExecutionState
push str.kernel32
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x54bc94], eax
mov eax, dword [0x54bc94]
cmp eax, ebx
je 0x4b821c
push 1
call eax
call fcn.004a3f4a
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x54aec4], ebx
pop ebx
mov dword [0x54aec0], eax
leave
ret