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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e61f0
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x18], ebx
je 0x4cda51
cmp dword [edi + 0xf8], ebx
je 0x4cda51
mov esi, dword [edi + 0xf4]
mov eax, dword [edi + 0xf8]
add eax, esi
cmp esi, eax
jbe 0x4cd813
call fcn.00579468
mov ecx, dword [edi + 0xdc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
mov ebp, 0xf
jmp 0x4cd830
mov eax, dword [edi + 0xf4]
mov esi, dword [edi + 0xf8]
add esi, eax
cmp eax, esi
jbe 0x4cd847
call fcn.00579468
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0xdc]
cmp ecx, ebx
je 0x4cd859
cmp ecx, eax
je 0x4cd85e
call fcn.00579468
cmp dword [esp + 0x20], esi
je 0x4cda35
push ebp
push str.oldcredisplayid
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.00436930
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb8], ebx
call fcn.00437650
mov ecx, eax
call fcn.0044d580
push eax
lea ecx, [esp + 0x78]
call fcn.00448cb0
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x78]
mov byte [esp + 0xbc], 1
call fcn.004480d0
mov ecx, eax
call fcn.00438a30
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x30], edx
mov byte [esp + 0xb8], bl
call fcn.004434f0
or esi, 0xffffffff
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0xb8], esi
jb 0x4cd8fc
mov eax, dword [esp + 0x5c]
push eax
call fcn.00506f70
add esp, 4
push ebp
push str.repcredisplayid
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00436930
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb8], 2
call fcn.00437650
mov ecx, eax
call fcn.0044d580
push eax
lea ecx, [esp + 0x94]
call fcn.00448cb0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x94]
mov byte [esp + 0xbc], 3
call fcn.004480d0
mov ecx, eax
call fcn.00438a30
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x90]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov byte [esp + 0xb8], 2
call fcn.004434f0
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0xb8], esi
jb 0x4cd99b
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00506f70
add esp, 4
fld qword [esp + 0x34]
mov ecx, dword [edi + 0x18]
fnstcw word [esp + 0x1a]
mov dword [esp + 0x54], ebp
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
fldcw word [esp + 0x24]
fistp qword [esp + 0x24]
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [edi + 0xc]
fldcw word [esp + 0x1e]
fld qword [esp + 0x30]
fnstcw word [esp + 0x1e]
movzx eax, word [esp + 0x1e]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp qword [esp + 0x28]
mov eax, dword [esp + 0x28]
push eax
push ecx
fldcw word [esp + 0x26]
push edx
mov ecx, edi
call fcn.004c8d40
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4cda2f
call fcn.00579468
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
cmp dword [esp + 0x20], ecx
jb 0x4cda26
call fcn.00579468
inc dword [esp + 0x20]
jmp 0x4cd830
mov eax, dword [eax]
mov ecx, eax
jmp 0x4cda15
mov eax, 1
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret