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

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
lea esi, [edi + 0x50]
mov ebx, dword [edi + 0xd0]
mov byte [ebx + esi], 0x80
inc ebx
cmp ebx, 0x70
jbe 0x4c587b
mov eax, 0x80
sub eax, ebx
push eax
lea eax, [ebx + esi]
push 0
push eax
call fcn.00556fd0
push 1
push esi
push edi
xor ebx, ebx
call fcn.0040be00
add esp, 0x18
mov eax, 0x70
sub eax, ebx
push eax
lea eax, [ebx + esi]
push 0
push eax
call fcn.00556fd0
movzx eax, byte [edi + 0x40]
add esp, 0xc
mov byte [esi + 0x7f], al
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x44]
shrd ecx, eax, 8
mov byte [esi + 0x7e], cl
mov ecx, dword [edi + 0x40]
shr eax, 8
mov eax, dword [edi + 0x44]
shrd ecx, eax, 0x10
mov byte [esi + 0x7d], cl
mov ecx, dword [edi + 0x40]
shr eax, 0x10
mov eax, dword [edi + 0x44]
shrd ecx, eax, 0x18
mov byte [esi + 0x7c], cl
mov cl, 0x20
mov edx, dword [edi + 0x44]
shr eax, 0x18
mov eax, dword [edi + 0x40]
call fcn.005553f0
mov byte [esi + 0x7b], al
mov cl, 0x28
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
call fcn.005553f0
mov byte [esi + 0x7a], al
movzx eax, byte [edi + 0x46]
mov byte [esi + 0x79], al
movzx eax, byte [edi + 0x47]
mov byte [esi + 0x78], al
movzx eax, byte [edi + 0x48]
mov byte [esi + 0x77], al
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x4c]
shrd ecx, eax, 8
mov byte [esi + 0x76], cl
mov ecx, dword [edi + 0x48]
shr eax, 8
mov eax, dword [edi + 0x4c]
shrd ecx, eax, 0x10
mov byte [esi + 0x75], cl
mov ecx, dword [edi + 0x48]
shr eax, 0x10
mov eax, dword [edi + 0x4c]
shrd ecx, eax, 0x18
mov byte [esi + 0x74], cl
mov cl, 0x20
mov edx, dword [edi + 0x4c]
shr eax, 0x18
mov eax, dword [edi + 0x48]
call fcn.005553f0
mov byte [esi + 0x73], al
mov cl, 0x28
mov eax, dword [edi + 0x48]
mov edx, dword [edi + 0x4c]
call fcn.005553f0
mov byte [esi + 0x72], al
movzx eax, byte [edi + 0x4e]
push 1
mov byte [esi + 0x71], al
movzx eax, byte [edi + 0x4f]
push esi
push edi
mov byte [esi + 0x70], al
call fcn.0040be00
mov esi, dword [esp + 0x1c]
add esp, 0xc
test esi, esi
jne 0x4c5975
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [edi + 0xd4]
cmp eax, 0x30
je 0x4c5bf0
cmp eax, 0x40
jne 0x4c596f
mov edx, dword [edi + 4]
mov eax, edx
mov ebx, dword [edi]
mov ecx, ebx
shr eax, 0x18
mov byte [esi], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, edx
shr eax, 8
mov byte [esi + 2], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [esi + 3], dl
shr eax, 0x18
mov byte [esi + 4], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 5], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 6], al
mov byte [esi + 7], bl
mov ebx, dword [edi + 8]
mov ecx, ebx
shr edx, 8
mov edx, dword [edi + 0xc]
mov eax, edx
shr eax, 0x18
mov byte [esi + 8], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 9], al
mov eax, edx
shr eax, 8
mov byte [esi + 0xa], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [esi + 0xb], dl
shr eax, 0x18
mov byte [esi + 0xc], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0xd], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0xe], al
mov byte [esi + 0xf], bl
mov ebx, dword [edi + 0x10]
mov ecx, ebx
shr edx, 8
mov edx, dword [edi + 0x14]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x10], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x11], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x12], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [esi + 0x13], dl
shr eax, 0x18
mov byte [esi + 0x14], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov eax, ebx
mov byte [esi + 0x15], cl
shrd eax, edx, 8
mov byte [esi + 0x16], al
shr edx, 8
mov byte [esi + 0x17], bl
mov edx, dword [edi + 0x1c]
mov eax, edx
mov ebx, dword [edi + 0x18]
mov ecx, ebx
shr eax, 0x18
mov byte [esi + 0x18], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x19], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x1a], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [esi + 0x1b], dl
shr eax, 0x18
mov byte [esi + 0x1c], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0x1d], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x1e], al
mov byte [esi + 0x1f], bl
mov ebx, dword [edi + 0x20]
mov ecx, ebx
shr edx, 8
mov edx, dword [edi + 0x24]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x20], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x21], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x22], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [esi + 0x23], dl
shr eax, 0x18
mov byte [esi + 0x24], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0x25], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x26], al
mov byte [esi + 0x27], bl
mov ebx, dword [edi + 0x28]
mov ecx, ebx
shr edx, 8
mov edx, dword [edi + 0x2c]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x28], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x29], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x2a], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [esi + 0x2b], dl
shr eax, 0x18
mov byte [esi + 0x2c], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov eax, ebx
mov byte [esi + 0x2d], cl
shrd eax, edx, 8
mov byte [esi + 0x2e], al
shr edx, 8
mov byte [esi + 0x2f], bl
mov edx, dword [edi + 0x34]
mov eax, edx
mov ebx, dword [edi + 0x30]
mov ecx, ebx
shr eax, 0x18
mov byte [esi + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x32], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [esi + 0x33], dl
shr eax, 0x18
mov byte [esi + 0x34], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0x35], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x36], al
mov byte [esi + 0x37], bl
mov ebx, dword [edi + 0x38]
mov ecx, ebx
shr edx, 8
mov edx, dword [edi + 0x3c]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x38], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x39], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x3a], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [esi + 0x3b], dl
shr eax, 0x18
mov byte [esi + 0x3c], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
pop edi
shr eax, 0x10
mov eax, ebx
mov byte [esi + 0x3d], cl
shrd eax, edx, 8
mov byte [esi + 0x3e], al
mov eax, 1
mov byte [esi + 0x3f], bl
pop esi
shr edx, 8
pop ebx
ret
mov edx, dword [edi + 4]
mov eax, edx
mov ebx, dword [edi]
mov ecx, ebx
shr eax, 0x18
mov byte [esi], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, edx
shr eax, 8
mov byte [esi + 2], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [esi + 3], dl
shr eax, 0x18
mov byte [esi + 4], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 5], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 6], al
mov byte [esi + 7], bl
mov ebx, dword [edi + 8]
mov ecx, ebx
shr edx, 8
mov edx, dword [edi + 0xc]
mov eax, edx
shr eax, 0x18
mov byte [esi + 8], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 9], al
mov eax, edx
shr eax, 8
mov byte [esi + 0xa], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [esi + 0xb], dl
shr eax, 0x18
mov byte [esi + 0xc], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0xd], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0xe], al
mov byte [esi + 0xf], bl
mov ebx, dword [edi + 0x10]
mov ecx, ebx
shr edx, 8
mov edx, dword [edi + 0x14]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x10], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x11], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x12], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [esi + 0x13], dl
shr eax, 0x18
mov byte [esi + 0x14], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov eax, ebx
mov byte [esi + 0x15], cl
shrd eax, edx, 8
mov byte [esi + 0x16], al
shr edx, 8
mov byte [esi + 0x17], bl
mov edx, dword [edi + 0x1c]
mov eax, edx
mov ebx, dword [edi + 0x18]
mov ecx, ebx
shr eax, 0x18
mov byte [esi + 0x18], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x19], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x1a], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [esi + 0x1b], dl
shr eax, 0x18
mov byte [esi + 0x1c], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0x1d], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x1e], al
mov byte [esi + 0x1f], bl
mov ebx, dword [edi + 0x20]
mov ecx, ebx
shr edx, 8
mov edx, dword [edi + 0x24]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x20], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x21], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x22], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [esi + 0x23], dl
shr eax, 0x18
mov byte [esi + 0x24], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0x25], cl
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x26], al
mov byte [esi + 0x27], bl
mov ebx, dword [edi + 0x28]
mov ecx, ebx
shr edx, 8
mov edx, dword [edi + 0x2c]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0x28], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0x29], al
mov eax, edx
shr eax, 8
mov byte [esi + 0x2a], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [esi + 0x2b], dl
shr eax, 0x18
mov byte [esi + 0x2c], cl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x10
shr eax, 0x10
mov eax, ebx
mov byte [esi + 0x2d], cl
shrd eax, edx, 8
mov byte [esi + 0x2e], al
mov byte [esi + 0x2f], bl
shr edx, 8
pop edi
pop esi
mov eax, 1
pop ebx
ret