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

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