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

Disassembly:
sub esp, 0x34
mov eax, dword [0x6ba4fc]
push ebx
push ebp
push esi
push edi
mov edi, dword [0x6ba4f8]
mov esi, ecx
sub eax, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x34], 0x6bc8f8
cmp eax, 0xffffffff
jne 0x50e943
mov ecx, 0x6bc8f8
call fcn.004facc0
jmp 0x50e94e
inc eax
lea ecx, [esp + 0x34]
push eax
call fcn.004fac70
add eax, edi
xor edx, edx
mov ecx, 0x7e
div ecx
inc dl
movsx di, dl
mov eax, edi
mov word [esi], di
xor eax, 0x50
mov dword [esp + 0x14], edi
mov word [esi + 4], ax
mov ecx, edi
mov dword [esp + 0x38], eax
xor ecx, 0x25
mov eax, edi
mov word [esi + 2], cx
xor eax, 0x72
mov word [esi + 0x1a], cx
movzx ebx, ax
mov ecx, edi
mov word [esi + 6], ax
xor ecx, 0x4d
mov eax, edi
mov word [esi + 0xc], bx
xor eax, 0x6f
mov dword [esp + 0x24], ebx
movzx edx, ax
mov word [esi + 8], ax
mov eax, edi
xor eax, 0x67
mov dword [esp + 0x18], edx
movzx edx, ax
mov word [esi + 0xa], ax
mov eax, edi
xor eax, 0x61
mov dword [esp + 0x30], edx
movzx ebp, ax
mov word [esi + 0xe], ax
mov eax, edi
xor eax, 0x6d
mov word [esi + 0x14], bp
movzx edx, ax
mov word [esi + 0x10], ax
mov eax, edi
xor eax, 0x44
mov word [esi + 0x18], bp
mov word [esi + 0x12], ax
mov eax, edi
xor eax, 0x74
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x10]
mov word [esi + 0x16], ax
mov dword [esp + 0x2c], edx
movzx edx, ax
mov eax, edi
xor eax, 0x5c
mov word [ebp + 0x24], bx
movzx esi, ax
mov word [ebp + 0x1c], ax
mov eax, edi
xor eax, 0x69
mov word [ebp + 0x1e], cx
mov word [ebp + 0x20], ax
movzx edi, ax
mov eax, dword [esp + 0x14]
xor eax, 0x63
mov dword [esp + 0x3c], edx
mov word [ebp + 0x22], ax
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x28], esi
mov word [eax + 0x26], bp
mov eax, dword [esp + 0x14]
xor eax, 0x73
movzx ebx, ax
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x10]
mov word [ebx + 0x28], ax
mov eax, ebx
mov ebx, dword [esp + 0x14]
mov word [eax + 0x2a], bp
mov word [eax + 0x2e], dx
mov ebp, ebx
mov word [eax + 0x30], si
xor ebp, 0x66
mov word [eax + 0x2c], bp
mov eax, ebx
xor eax, 0x57
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x10]
mov word [ebp + 0x32], ax
mov eax, ebp
mov word [eax + 0x34], di
mov eax, ebx
xor eax, 0x6e
movzx ebx, ax
mov dword [esp + 0x34], ebx
mov ebx, ebp
mov word [ebx + 0x36], ax
mov eax, ebp
mov ebx, dword [esp + 0x14]
xor ebx, 0x64
mov word [eax + 0x38], bx
mov eax, dword [esp + 0x18]
mov word [ebp + 0x3a], ax
mov eax, dword [esp + 0x14]
xor eax, 0x77
mov word [ebp + 0x3c], ax
mov eax, dword [esp + 0x20]
mov word [ebp + 0x3e], ax
mov eax, ebp
mov word [eax + 0x40], si
mov eax, dword [esp + 0x14]
xor eax, 0x53
mov word [ebp + 0x42], ax
mov eax, ebp
mov word [eax + 0x44], dx
mov eax, dword [esp + 0x1c]
mov word [ebp + 0x46], ax
mov eax, dword [esp + 0x24]
mov word [ebp + 0x48], ax
mov eax, ebp
mov word [eax + 0x4a], dx
mov edx, ebp
mov eax, dword [esp + 0x14]
xor eax, 0x20
movzx esi, ax
mov word [edx + 0x4c], ax
mov word [edx + 0x4e], cx
mov ecx, dword [esp + 0x14]
mov eax, ecx
xor eax, 0x65
xor ecx, 0x75
movzx edx, ax
mov word [ebp + 0x50], ax
mov eax, dword [esp + 0x34]
mov word [ebp + 0x52], ax
mov eax, ebp
mov word [eax + 0x54], cx
mov eax, dword [esp + 0x28]
mov word [ebp + 0x56], ax
mov eax, dword [esp + 0x38]
mov word [ebp + 0x58], ax
mov eax, dword [esp + 0x24]
mov word [ebp + 0x5a], ax
mov eax, dword [esp + 0x18]
mov word [ebp + 0x5c], ax
mov eax, dword [esp + 0x30]
mov word [ebp + 0x5e], ax
mov eax, dword [esp + 0x24]
mov word [ebp + 0x60], ax
mov eax, dword [esp + 0x1c]
mov word [ebp + 0x62], ax
mov eax, dword [esp + 0x2c]
mov word [ebp + 0x64], ax
mov eax, dword [esp + 0x20]
mov word [ebp + 0x66], ax
mov eax, dword [esp + 0x28]
mov word [ebp + 0x68], ax
mov eax, dword [esp + 0x14]
xor eax, 0x52
mov word [ebp + 0x6a], ax
mov eax, ebp
mov word [ebp + 0x88], cx
mov ecx, ebp
mov word [eax + 0x6c], di
mov edi, ebp
mov eax, dword [esp + 0x18]
mov word [ecx + 0x8a], dx
mov word [ecx + 0x8c], si
mov word [edi + 0x6e], ax
mov eax, dword [esp + 0x3c]
mov word [edi + 0x70], ax
mov eax, dword [esp + 0x14]
xor eax, 0x47
mov ecx, dword [esp + 0x18]
mov word [edi + 0x74], ax
mov eax, dword [esp + 0x1c]
mov word [edi + 0x76], ax
mov eax, dword [esp + 0x2c]
mov word [edi + 0x78], ax
mov eax, ebp
mov word [edi + 0x7a], dx
mov word [edi + 0x72], si
mov edi, dword [esp + 0x20]
mov word [eax + 0x7c], di
mov edi, ebp
mov eax, dword [esp + 0x28]
mov word [ebp + 0x8e], cx
mov ecx, dword [esp + 0x10]
mov word [edi + 0x7e], ax
mov eax, dword [esp + 0x14]
xor eax, 0x4c
mov word [edi + 0x82], dx
mov word [edi + 0x80], ax
mov edi, dword [esp + 0x1c]
mov word [ebp + 0x84], di
mov edi, dword [esp + 0x30]
mov word [ebp + 0x86], di
mov ebp, dword [esp + 0x40]
mov word [ecx + 0x90], bp
mov ebp, ecx
mov ecx, dword [esp + 0x34]
mov word [ebp + 0x94], ax
mov word [ebp + 0x96], dx
mov word [ebp + 0x9a], dx
mov edx, dword [esp + 0x14]
mov eax, edx
xor eax, 0x28
mov word [ebp + 0x98], di
mov word [ebp + 0xa4], ax
mov eax, edx
xor eax, 0x78
mov edi, dword [esp + 0x20]
mov word [ebp + 0xa6], ax
mov eax, edx
xor eax, 0x38
mov word [ebp + 0xa0], di
mov word [ebp + 0xa8], ax
mov eax, edx
xor eax, 0x36
mov word [ebp + 0x92], si
mov word [ebp + 0xaa], ax
mov eax, edx
xor eax, 0x29
mov word [ebp + 0xa2], si
mov word [ebp + 0xac], ax
mov eax, edx
xor eax, 0x2e
mov word [ebp + 0x9c], cx
mov word [ebp + 0xae], ax
mov eax, edx
xor eax, 0x6c
mov word [ebp + 0x9e], bx
mov word [ebp + 0xb0], ax
xor edx, 0x6b
xor eax, eax
mov word [ebp + 0xb2], cx
mov word [ebp + 0xb4], dx
pop edi
mov word [ebp + 0xb6], ax
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8