Function at 0x494150
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 0x49418b
mov eax, 0x80
sub eax, ebx
push eax
lea eax, [ebx + esi]
push 0
push eax
call fcn.00542b10
push 1
push esi
push edi
xor ebx, ebx
call fcn.004947e0
add esp, 0x18
mov eax, 0x70
sub eax, ebx
push eax
lea eax, [ebx + esi]
push 0
push eax
call fcn.00542b10
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]
mov eax, dword [edi + 0x44]
shrd ecx, eax, 0x10
mov byte [esi + 0x7d], cl
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x44]
shrd ecx, eax, 0x18
mov byte [esi + 0x7c], cl
mov cl, 0x20
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
call fcn.0053fd00
mov byte [esi + 0x7b], al
mov cl, 0x28
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
call fcn.0053fd00
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]
mov eax, dword [edi + 0x4c]
shrd ecx, eax, 0x10
mov byte [esi + 0x75], cl
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x4c]
shrd ecx, eax, 0x18
mov byte [esi + 0x74], cl
mov cl, 0x20
mov eax, dword [edi + 0x48]
mov edx, dword [edi + 0x4c]
call fcn.0053fd00
mov byte [esi + 0x73], al
mov cl, 0x28
mov eax, dword [edi + 0x48]
mov edx, dword [edi + 0x4c]
call fcn.0053fd00
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.004947e0
mov esi, dword [esp + 0x1c]
add esp, 0xc
test esi, esi
je 0x494625
mov eax, dword [edi + 0xd4]
cmp eax, 0x30
je 0x494498
cmp eax, 0x40
jne 0x494625
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
mov byte [esi + 4], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi + 5], cl
shrd eax, edx, 8
mov byte [esi + 6], al
mov byte [esi + 7], bl
mov edx, dword [edi + 0xc]
mov eax, edx
mov ebx, dword [edi + 8]
mov ecx, ebx
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
mov byte [esi + 0xc], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi + 0xd], cl
shrd eax, edx, 8
mov byte [esi + 0xe], al
mov byte [esi + 0xf], bl
mov edx, dword [edi + 0x14]
mov eax, edx
mov ebx, dword [edi + 0x10]
mov ecx, ebx
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
mov byte [esi + 0x14], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x15], cl
mov byte [esi + 0x16], al
mov byte [esi + 0x17], bl
mov edx, dword [edi + 0x1c]
mov eax, edx
mov ebx, dword [edi + 0x18]
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 byte [esi + 0x1b], dl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
mov byte [esi + 0x1c], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi + 0x1d], cl
shrd eax, edx, 8
mov byte [esi + 0x1e], al
mov byte [esi + 0x1f], bl
mov edx, dword [edi + 0x24]
mov eax, edx
mov ebx, dword [edi + 0x20]
mov ecx, ebx
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
mov byte [esi + 0x24], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi + 0x25], cl
shrd eax, edx, 8
mov byte [esi + 0x26], al
mov byte [esi + 0x27], bl
mov edx, dword [edi + 0x2c]
mov eax, edx
mov ebx, dword [edi + 0x28]
mov ecx, ebx
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
mov byte [esi + 0x2c], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi + 0x2d], cl
shrd eax, edx, 8
mov byte [esi + 0x2e], al
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
mov byte [esi + 0x34], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi + 0x35], cl
shrd eax, edx, 8
mov byte [esi + 0x36], al
mov byte [esi + 0x37], bl
mov ebx, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov ecx, ebx
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
mov byte [esi + 0x3c], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x3d], cl
mov byte [esi + 0x3e], al
mov eax, 1
pop edi
mov byte [esi + 0x3f], bl
pop esi
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
mov byte [esi + 4], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi + 5], cl
shrd eax, edx, 8
mov byte [esi + 6], al
mov byte [esi + 7], bl
mov edx, dword [edi + 0xc]
mov eax, edx
mov ebx, dword [edi + 8]
mov ecx, ebx
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
mov byte [esi + 0xc], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi + 0xd], cl
shrd eax, edx, 8
mov byte [esi + 0xe], al
mov byte [esi + 0xf], bl
mov edx, dword [edi + 0x14]
mov eax, edx
mov ebx, dword [edi + 0x10]
mov ecx, ebx
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
mov byte [esi + 0x14], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x15], cl
mov byte [esi + 0x16], al
mov byte [esi + 0x17], bl
mov edx, dword [edi + 0x1c]
mov eax, edx
mov ebx, dword [edi + 0x18]
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 byte [esi + 0x1b], dl
mov eax, edx
mov ecx, ebx
shrd ecx, eax, 0x18
mov byte [esi + 0x1c], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi + 0x1d], cl
shrd eax, edx, 8
mov byte [esi + 0x1e], al
mov byte [esi + 0x1f], bl
mov edx, dword [edi + 0x24]
mov eax, edx
mov ebx, dword [edi + 0x20]
mov ecx, ebx
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
mov byte [esi + 0x24], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi + 0x25], cl
shrd eax, edx, 8
mov byte [esi + 0x26], al
mov byte [esi + 0x27], bl
mov edx, dword [edi + 0x2c]
mov eax, edx
mov ebx, dword [edi + 0x28]
mov ecx, ebx
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
mov byte [esi + 0x2c], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
shrd eax, edx, 8
mov byte [esi + 0x2d], cl
mov byte [esi + 0x2e], al
mov eax, 1
pop edi
mov byte [esi + 0x2f], bl
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret