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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov dword [esp + 0x10], ecx
mov ebx, dword [ecx + 4]
add ebx, 0x1c
mov dword [esp], ebx
lea ecx, [esp + 0x20]
call fcn.004c4d50
sub esp, 4
test byte [esp + 0x28], 1
jne 0x4cdb47
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4cd9e8
mov eax, dword [esp + 0x20]
add eax, 0x28
imul ecx, ecx, 0x38
nop dword [eax]
cmp dword [eax - 0x28], 0x6474e550
je 0x4cd9c3
add eax, 0x38
add ecx, 0xffffffc8
jne 0x4cd9b0
jmp 0x4cd9e8
mov ecx, dword [eax + 4]
xor ecx, dword [eax - 4]
mov edx, dword [eax]
xor edx, dword [eax - 8]
or edx, ecx
jne 0x4cdbbf
add eax, 0xffffffd8
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
call fcn.004cdc10
sub esp, 4
mov dword [esp], ebx
lea ecx, [esp + 0x2c]
call fcn.004c2130
sub esp, 4
test byte [esp + 0x34], 1
jne 0x4cdb83
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x4cdae7
mov esi, dword [esp + 0x2c]
shl ebp, 6
lea edi, [esp + 0x14]
jmp 0x4cda2c
add esi, 0x40
add ebp, 0xffffffc0
je 0x4cdacb
mov dword [esp + 0x44], 0x43a5a0
mov dword [esp + 0x58], 0x43abd0
lea eax, [esp + 0x44]
mov dword [esp + 0x5c], eax
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], ebx
mov ecx, edi
call fcn.004c6440
sub esp, 0x10
test byte [esp + 0x1c], 1
jne 0x4cdb0b
cmp dword [esp + 0x18], 9
jne 0x4cda20
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 8], 9
mov dword [esp + 4], str..eh_frame
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x4cda20
mov dword [esp], esi
mov ecx, dword [esp + 0x10]
call fcn.004ce650
sub esp, 4
test byte [esp + 0x1c], 1
je 0x4cda20
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x4cda20
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4cda20
test byte [esp + 0x34], 1
je 0x4cdae7
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
test ecx, ecx
je 0x4cdae7
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x28], 1
je 0x4cdb03
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test ecx, ecx
je 0x4cdb03
mov eax, dword [ecx]
call dword [eax + 4]
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
call fcn.0054f8a2
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.0052c500
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
call fcn.0054f8a2
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], eax
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.0052c500
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
call fcn.0054f8a2
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], eax
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.0052c500
mov dword [esp + 0x2c], str.p_memsz_does_not_match_p_filesz_for_GNU_EH_FRAME
mov word [esp + 0x3c], 0x103
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
lea esi, [esp + 0x78]
mov dword [esp], esi
call fcn.0041ba30
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
call fcn.0054f8a2
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], eax
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
call fcn.0052c500
int3