Function at 0x50ec80
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], 0x6bc918
cmp eax, 0xffffffff
jne 0x50ecb3
mov ecx, 0x6bc918
call fcn.004facf0
jmp 0x50ecbe
inc eax
lea ecx, [esp + 0x34]
push eax
call fcn.004faca0
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
movzx ebx, ax
mov word [esi + 6], ax
mov eax, edi
xor eax, 0x6f
mov word [esi + 0xc], bx
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 dword [esp + 0x2c], edx
mov edx, dword [esp + 0x10]
mov word [esi + 0x12], ax
mov eax, edi
xor eax, 0x74
mov dword [esp + 0x20], ebp
movzx esi, ax
mov word [edx + 0x16], ax
mov eax, edi
xor eax, 0x5c
mov word [edx + 0x18], bp
mov ebp, edx
mov dword [esp + 0x28], ebx
movzx edx, ax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], edx
mov word [ebp + 0x1c], ax
mov eax, edi
xor eax, 0x69
mov word [ebp + 0x1a], cx
mov word [ebp + 0x20], ax
mov ecx, edi
movzx edi, ax
xor ecx, 0x4d
mov eax, dword [esp + 0x14]
xor eax, 0x63
mov word [ebp + 0x24], bx
mov word [ebp + 0x22], ax
mov eax, dword [esp + 0x10]
mov word [ebp + 0x1e], cx
mov ebp, dword [esp + 0x18]
mov word [eax + 0x26], bp
mov eax, dword [esp + 0x14]
xor eax, 0x73
movzx ebx, ax
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x10]
mov word [ebx + 0x28], ax
mov eax, ebx
mov word [eax + 0x2a], bp
mov ebx, dword [esp + 0x14]
mov ebp, ebx
mov word [eax + 0x30], dx
xor ebp, 0x66
mov edx, dword [esp + 0x10]
mov word [eax + 0x2c], bp
mov word [eax + 0x2e], si
mov eax, ebx
xor eax, 0x57
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x10]
xor ebx, 0x6e
mov word [edx + 0x32], ax
mov eax, dword [esp + 0x10]
mov word [edx + 0x34], di
movzx edx, bx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x10]
mov word [edx + 0x36], bx
mov edx, dword [esp + 0x14]
mov ebx, edx
xor ebx, 0x64
mov word [eax + 0x38], bx
mov eax, dword [esp + 0x18]
mov word [ebp + 0x3a], ax
mov eax, edx
xor eax, 0x77
mov word [ebp + 0x3c], ax
mov eax, dword [esp + 0x24]
mov word [ebp + 0x3e], ax
mov eax, dword [esp + 0x1c]
mov word [ebp + 0x40], ax
mov eax, edx
xor eax, 0x53
mov word [ebp + 0x42], ax
mov eax, ebp
mov word [eax + 0x44], si
mov eax, dword [esp + 0x20]
mov word [ebp + 0x46], ax
mov eax, dword [esp + 0x28]
mov word [ebp + 0x48], ax
mov eax, ebp
mov word [eax + 0x4a], si
mov eax, edx
xor eax, 0x20
movzx esi, ax
mov word [ebp + 0x4c], ax
mov eax, ebp
mov word [eax + 0x4e], cx
mov ecx, ebp
mov eax, edx
xor eax, 0x65
movzx edx, ax
mov word [ecx + 0x50], ax
mov eax, dword [esp + 0x34]
mov word [ecx + 0x52], ax
mov eax, ebp
mov ecx, dword [esp + 0x14]
xor ecx, 0x75
mov word [eax + 0x54], cx
mov eax, dword [esp + 0x1c]
mov word [ebp + 0x56], ax
mov eax, dword [esp + 0x38]
mov word [ebp + 0x58], ax
mov eax, dword [esp + 0x28]
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 + 0x28]
mov word [ebp + 0x60], ax
mov eax, dword [esp + 0x20]
mov word [ebp + 0x62], ax
mov eax, dword [esp + 0x2c]
mov word [ebp + 0x64], ax
mov eax, dword [esp + 0x24]
mov word [ebp + 0x66], ax
mov eax, dword [esp + 0x1c]
mov word [ebp + 0x68], ax
mov eax, dword [esp + 0x14]
xor eax, 0x52
mov word [ebp + 0x88], cx
mov word [ebp + 0x6a], ax
mov ecx, ebp
mov eax, ebp
mov word [ecx + 0x8a], dx
mov word [eax + 0x6c], di
mov edi, ebp
mov eax, dword [esp + 0x18]
mov word [ecx + 0x8c], si
mov ecx, dword [esp + 0x18]
mov word [edi + 0x6e], ax
mov eax, dword [esp + 0x3c]
mov word [edi + 0x70], ax
mov eax, dword [esp + 0x14]
xor eax, 0x47
mov word [edi + 0x7a], dx
mov word [edi + 0x74], ax
mov eax, dword [esp + 0x20]
mov word [edi + 0x76], ax
mov eax, dword [esp + 0x2c]
mov word [edi + 0x78], ax
mov eax, ebp
mov word [edi + 0x72], si
mov edi, dword [esp + 0x24]
mov word [ebp + 0x8e], cx
mov ecx, dword [esp + 0x10]
mov word [eax + 0x7c], di
mov edi, ebp
mov eax, dword [esp + 0x1c]
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 + 0x20]
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, 0x2e
mov word [ebp + 0x98], di
mov edi, dword [esp + 0x24]
mov word [ebp + 0xa2], ax
mov eax, edx
xor eax, 0x6c
mov word [ebp + 0xa0], di
mov word [ebp + 0xa4], ax
xor edx, 0x6b
pop edi
mov word [ebp + 0x92], si
xor eax, eax
mov word [ebp + 0x9e], bx
mov word [ebp + 0x9c], cx
mov word [ebp + 0xa6], cx
mov word [ebp + 0xa8], dx
mov word [ebp + 0xaa], ax
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8