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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov cl, byte [0x5499b0]
push ebx
xor ebx, ebx
cmp cl, 1
je 0x4b7e03
xor eax, eax
inc eax
cmp byte [0x54b0dc], bl
je 0x4b7e06
mov eax, dword [0x54b0d8]
cmp eax, ebx
je 0x4b7dee
shl eax, 0xa
cmp eax, dword [0x548dcc]
sbb eax, eax
neg eax
jmp 0x4b7e06
cmp cl, 3
jne 0x4b7df7
xor eax, eax
jmp 0x4b7e06
xor ecx, ecx
call fcn.004b7d56
movzx eax, al
jmp 0x4b7e06
push 2
pop eax
mov edx, dword [0x549ad0]
lea eax, [eax*8 + 0x51081c]
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 [0x548fd4], eax
mov dword [0x548fe0], ecx
cmp edx, ebx
je 0x4b7e48
mov dword [edx + 0xc], ecx
mov ecx, dword [0x549ad0]
mov dword [ecx + 8], eax
cmp byte [0x548fd8], bl
jne 0x4b7e53
mov dword [ebp - 4], ebx
cmp byte [0x548fe4], bl
jne 0x4b7e5e
mov dword [ebp - 8], ebx
push esi
push edi
mov ecx, 0x54c010
call fcn.004db639
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 [0x548dc8]
fild dword [0x548dc8]
test eax, eax
jge 0x4b7e99
fadd dword [0x4f2400]
fstp dword [esi + 8]
mov eax, dword [0x548dcc]
fild dword [0x548dcc]
test eax, eax
jge 0x4b7eb1
fadd dword [0x4f2400]
fstp dword [esi + 0xc]
mov eax, dword [0x548ea8]
fild dword [0x548ea8]
test eax, eax
jge 0x4b7ec9
fadd dword [0x4f2400]
fstp dword [esi + 0x10]
mov eax, dword [0x548eac]
fild dword [0x548eac]
test eax, eax
jge 0x4b7ee1
fadd dword [0x4f2400]
fstp dword [esi + 0x14]
mov eax, dword [0x5490e0]
fild dword [0x5490e0]
test eax, eax
jge 0x4b7ef9
fadd dword [0x4f2400]
mov eax, dword [0x548dc8]
fild dword [0x548dc8]
test eax, eax
jge 0x4b7f0e
fadd dword [0x4f2400]
faddp st(1)
fstp dword [esi + 0x18]
mov eax, dword [0x5490e4]
fild dword [0x5490e4]
test eax, eax
jge 0x4b7f28
fadd dword [0x4f2400]
mov eax, dword [0x548dcc]
fild dword [0x548dcc]
test eax, eax
jge 0x4b7f3d
fadd dword [0x4f2400]
faddp st(1)
fstp dword [esi + 0x1c]
cmp byte [0x537419], bl
jne 0x4b7f52
cmp byte [0x54b14f], bl
jne 0x4b7fbb
mov eax, dword [0x549acc]
cmp eax, ebx
je 0x4b7fbb
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
test eax, eax
jge 0x4b7f6e
fadd dword [0x4f2400]
fstp dword [esi + 0x20]
mov eax, dword [0x549acc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
test eax, eax
jge 0x4b7f89
fadd dword [0x4f2400]
fstp dword [esi + 0x24]
mov eax, dword [0x549060]
fild dword [0x549060]
test eax, eax
jge 0x4b7fa1
fadd dword [0x4f2400]
fstp dword [esi + 0x28]
mov eax, dword [0x549064]
fild dword [0x549064]
test eax, eax
jge 0x4b7fc6
fadd dword [0x4f2400]
jmp 0x4b7fc6
fldz
fst dword [esi + 0x20]
fst dword [esi + 0x24]
fst dword [esi + 0x28]
fstp dword [esi + 0x2c]
mov eax, dword [0x548f24]
fild dword [0x548f24]
test eax, eax
jge 0x4b7fde
fadd dword [0x4f2400]
fstp dword [esi + 0x30]
mov eax, dword [0x548e70]
fild dword [0x548e70]
test eax, eax
jge 0x4b7ff6
fadd dword [0x4f2400]
fstp dword [esi + 0x34]
mov eax, dword [0x548e74]
fild dword [0x548e74]
test eax, eax
jge 0x4b800e
fadd dword [0x4f2400]
fstp dword [esi + 0x38]
mov eax, dword [0x548e00]
fild dword [0x548e00]
test eax, eax
jge 0x4b8026
fadd dword [0x4f2400]
fstp dword [esi + 0x3c]
mov eax, dword [0x548e04]
fild dword [0x548e04]
test eax, eax
jge 0x4b803e
fadd dword [0x4f2400]
fstp dword [esi + 0x40]
mov eax, dword [0x549118]
fild dword [0x549118]
test eax, eax
jge 0x4b8056
fadd dword [0x4f2400]
fstp dword [esi + 0x44]
mov eax, dword [0x54911c]
fild dword [0x54911c]
test eax, eax
jge 0x4b806e
fadd dword [0x4f2400]
fstp dword [esi + 0x48]
mov eax, dword [0x5491c0]
fild dword [0x5491c0]
test eax, eax
jge 0x4b8086
fadd dword [0x4f2400]
fstp dword [esi + 0x4c]
mov eax, dword [0x5491c4]
fild dword [0x5491c4]
test eax, eax
jge 0x4b809e
fadd dword [0x4f2400]
fstp dword [esi + 0x50]
mov eax, dword [0x548e38]
fild dword [0x548e38]
test eax, eax
jge 0x4b80b6
fadd dword [0x4f2400]
fstp dword [esi + 0x54]
mov eax, dword [0x548e3c]
fild dword [0x548e3c]
test eax, eax
jge 0x4b80ce
fadd dword [0x4f2400]
fstp dword [esi + 0x58]
fild dword [0x548d78]
fstp dword [esi + 0x5c]
fild dword [0x548d7c]
fstp dword [esi + 0x60]
fild dword [0x548d80]
fstp dword [esi + 0x64]
fild dword [0x548d84]
fstp dword [esi + 0x68]
fild dword [0x548d88]
fstp dword [esi + 0x6c]
fild dword [0x548d8c]
fstp dword [esi + 0x70]
call fcn.004e4190
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp dword [esi + 0x74]
mov eax, dword [0x547e50]
fild dword [0x547e50]
test eax, eax
jge 0x4b812a
fadd dword [0x4f2400]
fstp dword [esi + 0x78]
mov eax, dword [0x547e44]
fild dword [0x547e44]
test eax, eax
jge 0x4b8142
fadd dword [0x4f2400]
fstp dword [esi + 0x7c]
mov eax, dword [0x547e18]
fild dword [0x547e18]
test eax, eax
jge 0x4b815a
fadd dword [0x4f2400]
fstp dword [esi + 0x80]
mov eax, dword [0x547e0c]
fild dword [0x547e0c]
test eax, eax
jge 0x4b8175
fadd dword [0x4f2400]
fstp dword [esi + 0x84]
mov eax, dword [0x547e6c]
fild dword [0x547e6c]
test eax, eax
jge 0x4b8190
fadd dword [0x4f2400]
fstp dword [esi + 0x88]
mov eax, dword [0x547e60]
fild dword [0x547e60]
test eax, eax
jge 0x4b81ab
fadd dword [0x4f2400]
fstp dword [esi + 0x8c]
mov eax, dword [0x547e34]
fild dword [0x547e34]
test eax, eax
jge 0x4b81c6
fadd dword [0x4f2400]
fstp dword [esi + 0x90]
mov eax, dword [0x547e28]
fild dword [0x547e28]
test eax, eax
jge 0x4b81e1
fadd dword [0x4f2400]
fstp dword [esi + 0x94]
mov al, byte [0x54b1ea]
pop edi
pop esi
cmp al, bl
je 0x4b8225
movzx ecx, al
add ecx, ecx
not ecx
and ecx, 2
or ecx, 1
call fcn.004b7d56
test al, al
jne 0x4b8225
push ebx
push 1
push 0x800b
push dword [0x54b004]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [0x54bca5], 1
jmp 0x4b8246
cmp byte [0x54bca5], bl
je 0x4b8246
push ebx
push ebx
push 0x800b
push dword [0x54b004]
mov byte [0x54bca5], bl
call dword [sym.imp.USER32.dll_PostMessageW]
inc byte [0x54bca4]
cmp byte [0x54bca4], 0x3c
jb 0x4b82a5
mov byte [0x54bca4], bl
cmp byte [0x54b1ac], bl
je 0x4b82a5
call fcn.004b7cf2
test al, al
je 0x4b82a5
test byte [0x54bca0], 1
jne 0x4b8298
or dword [0x54bca0], 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 [0x54bc9c], eax
mov eax, dword [0x54bc9c]
cmp eax, ebx
je 0x4b82a5
push 1
call eax
call fcn.004a4145
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x54aecc], ebx
pop ebx
mov dword [0x54aec8], eax
leave
ret