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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov cl, byte [0x88d9e0]
push ebx
xor ebx, ebx
cmp cl, 1
je 0x4cd885
xor eax, eax
inc eax
cmp byte [0x88f8d4], bl
je 0x4cd888
mov eax, dword [0x88f8d0]
cmp eax, ebx
je 0x4cd870
shl eax, 0xa
cmp eax, dword [0x88cc04]
sbb eax, eax
neg eax
jmp 0x4cd888
cmp cl, 3
jne 0x4cd879
xor eax, eax
jmp 0x4cd888
xor ecx, ecx
call fcn.004cd7d9
movzx eax, al
jmp 0x4cd888
push 2
pop eax
mov edx, dword [0x88dcf0]
lea eax, [eax*8 + 0x534270]
mov dword [0x55a03c], 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 [0x88ce0c], eax
mov dword [0x88ce18], ecx
cmp edx, ebx
je 0x4cd8ca
mov dword [edx + 0xc], ecx
mov ecx, dword [0x88dcf0]
mov dword [ecx + 8], eax
cmp byte [0x88ce10], bl
jne 0x4cd8d5
mov dword [ebp - 4], ebx
cmp byte [0x88ce1c], bl
jne 0x4cd8e0
mov dword [ebp - 8], ebx
push esi
push edi
mov ecx, 0x890d48
call fcn.004f424b
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 [0x88cc00]
fild dword [0x88cc00]
test eax, eax
jge 0x4cd91b
fadd dword [0x511520]
fstp dword [esi + 8]
mov eax, dword [0x88cc04]
fild dword [0x88cc04]
test eax, eax
jge 0x4cd933
fadd dword [0x511520]
fstp dword [esi + 0xc]
mov eax, dword [0x88cce0]
fild dword [0x88cce0]
test eax, eax
jge 0x4cd94b
fadd dword [0x511520]
fstp dword [esi + 0x10]
mov eax, dword [0x88cce4]
fild dword [0x88cce4]
test eax, eax
jge 0x4cd963
fadd dword [0x511520]
fstp dword [esi + 0x14]
mov eax, dword [0x88cf18]
fild dword [0x88cf18]
test eax, eax
jge 0x4cd97b
fadd dword [0x511520]
mov eax, dword [0x88cc00]
fild dword [0x88cc00]
test eax, eax
jge 0x4cd990
fadd dword [0x511520]
faddp st(1)
fstp dword [esi + 0x18]
mov eax, dword [0x88cf1c]
fild dword [0x88cf1c]
test eax, eax
jge 0x4cd9aa
fadd dword [0x511520]
mov eax, dword [0x88cc04]
fild dword [0x88cc04]
test eax, eax
jge 0x4cd9bf
fadd dword [0x511520]
faddp st(1)
fstp dword [esi + 0x1c]
cmp byte [0x5599c1], bl
jne 0x4cd9d4
cmp byte [0x88f947], bl
jne 0x4cda3d
mov eax, dword [0x88dcec]
cmp eax, ebx
je 0x4cda3d
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
test eax, eax
jge 0x4cd9f0
fadd dword [0x511520]
fstp dword [esi + 0x20]
mov eax, dword [0x88dcec]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
test eax, eax
jge 0x4cda0b
fadd dword [0x511520]
fstp dword [esi + 0x24]
mov eax, dword [0x88ce98]
fild dword [0x88ce98]
test eax, eax
jge 0x4cda23
fadd dword [0x511520]
fstp dword [esi + 0x28]
mov eax, dword [0x88ce9c]
fild dword [0x88ce9c]
test eax, eax
jge 0x4cda48
fadd dword [0x511520]
jmp 0x4cda48
fldz
fst dword [esi + 0x20]
fst dword [esi + 0x24]
fst dword [esi + 0x28]
fstp dword [esi + 0x2c]
mov eax, dword [0x88cd5c]
fild dword [0x88cd5c]
test eax, eax
jge 0x4cda60
fadd dword [0x511520]
fstp dword [esi + 0x30]
mov eax, dword [0x88cca8]
fild dword [0x88cca8]
test eax, eax
jge 0x4cda78
fadd dword [0x511520]
fstp dword [esi + 0x34]
mov eax, dword [0x88ccac]
fild dword [0x88ccac]
test eax, eax
jge 0x4cda90
fadd dword [0x511520]
fstp dword [esi + 0x38]
mov eax, dword [0x88cc38]
fild dword [0x88cc38]
test eax, eax
jge 0x4cdaa8
fadd dword [0x511520]
fstp dword [esi + 0x3c]
mov eax, dword [0x88cc3c]
fild dword [0x88cc3c]
test eax, eax
jge 0x4cdac0
fadd dword [0x511520]
fstp dword [esi + 0x40]
mov eax, dword [0x88cf50]
fild dword [0x88cf50]
test eax, eax
jge 0x4cdad8
fadd dword [0x511520]
fstp dword [esi + 0x44]
mov eax, dword [0x88cf54]
fild dword [0x88cf54]
test eax, eax
jge 0x4cdaf0
fadd dword [0x511520]
fstp dword [esi + 0x48]
mov eax, dword [0x88cff8]
fild dword [0x88cff8]
test eax, eax
jge 0x4cdb08
fadd dword [0x511520]
fstp dword [esi + 0x4c]
mov eax, dword [0x88cffc]
fild dword [0x88cffc]
test eax, eax
jge 0x4cdb20
fadd dword [0x511520]
fstp dword [esi + 0x50]
mov eax, dword [0x88cc70]
fild dword [0x88cc70]
test eax, eax
jge 0x4cdb38
fadd dword [0x511520]
fstp dword [esi + 0x54]
mov eax, dword [0x88cc74]
fild dword [0x88cc74]
test eax, eax
jge 0x4cdb50
fadd dword [0x511520]
fstp dword [esi + 0x58]
fild dword [0x88cbb0]
fstp dword [esi + 0x5c]
fild dword [0x88cbb4]
fstp dword [esi + 0x60]
fild dword [0x88cbb8]
fstp dword [esi + 0x64]
fild dword [0x88cbbc]
fstp dword [esi + 0x68]
fild dword [0x88cbc0]
fstp dword [esi + 0x6c]
fild dword [0x88cbc4]
fstp dword [esi + 0x70]
call fcn.004fff25
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp dword [esi + 0x74]
mov eax, dword [0x56b078]
fild dword [0x56b078]
test eax, eax
jge 0x4cdbac
fadd dword [0x511520]
fstp dword [esi + 0x78]
mov eax, dword [0x56b06c]
fild dword [0x56b06c]
test eax, eax
jge 0x4cdbc4
fadd dword [0x511520]
fstp dword [esi + 0x7c]
mov eax, dword [0x56b040]
fild dword [0x56b040]
test eax, eax
jge 0x4cdbdc
fadd dword [0x511520]
fstp dword [esi + 0x80]
mov eax, dword [0x56b034]
fild dword [0x56b034]
test eax, eax
jge 0x4cdbf7
fadd dword [0x511520]
fstp dword [esi + 0x84]
mov eax, dword [0x56b094]
fild dword [0x56b094]
test eax, eax
jge 0x4cdc12
fadd dword [0x511520]
fstp dword [esi + 0x88]
mov eax, dword [0x56b088]
fild dword [0x56b088]
test eax, eax
jge 0x4cdc2d
fadd dword [0x511520]
fstp dword [esi + 0x8c]
mov eax, dword [0x56b05c]
fild dword [0x56b05c]
test eax, eax
jge 0x4cdc48
fadd dword [0x511520]
fstp dword [esi + 0x90]
mov eax, dword [0x56b050]
fild dword [0x56b050]
test eax, eax
jge 0x4cdc63
fadd dword [0x511520]
fstp dword [esi + 0x94]
mov al, byte [0x88f9e6]
pop edi
pop esi
cmp al, bl
je 0x4cdca7
movzx ecx, al
add ecx, ecx
not ecx
and ecx, 2
or ecx, 1
call fcn.004cd7d9
test al, al
jne 0x4cdca7
push ebx
push 1
push 0x800b
push dword [0x88f7f8]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [0x890531], 1
jmp 0x4cdcc8
cmp byte [0x890531], bl
je 0x4cdcc8
push ebx
push ebx
push 0x800b
push dword [0x88f7f8]
mov byte [0x890531], bl
call dword [sym.imp.USER32.dll_PostMessageW]
inc byte [0x890530]
cmp byte [0x890530], 0x3c
jb 0x4cdd27
mov byte [0x890530], bl
cmp byte [0x88f9a7], bl
je 0x4cdd27
call fcn.004cd775
test al, al
je 0x4cdd27
test byte [0x89052c], 1
jne 0x4cdd1a
or dword [0x89052c], 1
push 0x534fa0
push 0x517ff4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x890528], eax
mov eax, dword [0x890528]
cmp eax, ebx
je 0x4cdd27
push 1
call eax
call fcn.004b892d
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x88f684], ebx
pop ebx
mov dword [0x88f680], eax
leave
ret