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

Disassembly:
mov eax, dword [esp + 8]
movzx ecx, byte [eax + 4]
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [ebx + 4]
push edi
mov edi, dword [eax]
add edi, esi
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov edx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
mov ecx, edi
shr ecx, 0x10
and ecx, 0xff
and ebp, 0xff
xor edx, dword [ebp*4 + 0x5bf978]
shr edi, 0x18
add edx, dword [ecx*4 + 0x5c0178]
movzx ecx, byte [eax + 0xc]
sub edx, dword [edi*4 + 0x5bfd78]
mov edi, dword [eax + 8]
xor edx, dword [ebx]
xor edi, edx
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
and ebp, 0xff
sub ecx, dword [ebp*4 + 0x5bf978]
mov ebp, edi
shr ebp, 0x18
add ecx, dword [ebp*4 + 0x5bfd78]
shr edi, 0x10
and edi, 0xff
xor ecx, dword [edi*4 + 0x5c0178]
mov edi, dword [eax + 0x10]
xor esi, ecx
movzx ecx, byte [eax + 0x14]
sub edi, esi
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
and ebp, 0xff
add ecx, dword [ebp*4 + 0x5bf978]
mov ebp, edi
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x5bfd78]
shr edi, 0x10
and edi, 0xff
sub ecx, dword [edi*4 + 0x5c0178]
mov edi, dword [eax + 0x18]
xor edx, ecx
movzx ecx, byte [eax + 0x1c]
add edi, edx
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x5bf978]
mov ebp, edi
shr ebp, 0x10
and ebp, 0xff
add ecx, dword [ebp*4 + 0x5c0178]
shr edi, 0x18
sub ecx, dword [edi*4 + 0x5bfd78]
mov edi, dword [eax + 0x20]
xor esi, ecx
xor edi, esi
movzx ecx, byte [eax + 0x24]
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
and ebp, 0xff
sub ecx, dword [ebp*4 + 0x5bf978]
mov ebp, edi
shr ebp, 0x18
add ecx, dword [ebp*4 + 0x5bfd78]
shr edi, 0x10
and edi, 0xff
xor ecx, dword [edi*4 + 0x5c0178]
mov edi, dword [eax + 0x28]
xor edx, ecx
movzx ecx, byte [eax + 0x2c]
sub edi, edx
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
and ebp, 0xff
add ecx, dword [ebp*4 + 0x5bf978]
mov ebp, edi
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x5bfd78]
shr edi, 0x10
and edi, 0xff
sub ecx, dword [edi*4 + 0x5c0178]
mov edi, dword [eax + 0x30]
xor esi, ecx
movzx ecx, byte [eax + 0x34]
add edi, esi
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x5bf978]
mov ebp, edi
shr ebp, 0x10
and ebp, 0xff
add ecx, dword [ebp*4 + 0x5c0178]
shr edi, 0x18
sub ecx, dword [edi*4 + 0x5bfd78]
mov edi, dword [eax + 0x38]
xor edx, ecx
movzx ecx, byte [eax + 0x3c]
xor edi, edx
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
and ebp, 0xff
sub ecx, dword [ebp*4 + 0x5bf978]
mov ebp, edi
shr ebp, 0x18
add ecx, dword [ebp*4 + 0x5bfd78]
shr edi, 0x10
and edi, 0xff
xor ecx, dword [edi*4 + 0x5c0178]
mov edi, dword [eax + 0x40]
xor esi, ecx
movzx ecx, byte [eax + 0x44]
sub edi, esi
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
and ebp, 0xff
add ecx, dword [ebp*4 + 0x5bf978]
mov ebp, edi
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x5bfd78]
shr edi, 0x10
and edi, 0xff
sub ecx, dword [edi*4 + 0x5c0178]
mov edi, dword [eax + 0x48]
xor edx, ecx
movzx ecx, byte [eax + 0x4c]
add edi, edx
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x5bf978]
mov ebp, edi
shr ebp, 0x10
and ebp, 0xff
add ecx, dword [ebp*4 + 0x5c0178]
shr edi, 0x18
sub ecx, dword [edi*4 + 0x5bfd78]
mov edi, dword [eax + 0x50]
xor esi, ecx
movzx ecx, byte [eax + 0x54]
xor edi, esi
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
and ebp, 0xff
sub ecx, dword [ebp*4 + 0x5bf978]
mov ebp, edi
shr ebp, 0x18
add ecx, dword [ebp*4 + 0x5bfd78]
shr edi, 0x10
and edi, 0xff
xor ecx, dword [edi*4 + 0x5c0178]
mov edi, dword [eax + 0x58]
xor edx, ecx
movzx ecx, byte [eax + 0x5c]
sub edi, edx
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
and ebp, 0xff
add ecx, dword [ebp*4 + 0x5bf978]
mov ebp, edi
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x5bfd78]
shr edi, 0x10
and edi, 0xff
sub ecx, dword [edi*4 + 0x5c0178]
xor esi, ecx
cmp dword [eax + 0x80], 0
jne 0x506fca
movzx ecx, byte [eax + 0x64]
mov edi, dword [eax + 0x60]
add edi, esi
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x5bf978]
mov ebp, edi
shr ebp, 0x10
and ebp, 0xff
add ecx, dword [ebp*4 + 0x5c0178]
shr edi, 0x18
sub ecx, dword [edi*4 + 0x5bfd78]
mov edi, dword [eax + 0x68]
xor edx, ecx
movzx ecx, byte [eax + 0x6c]
xor edi, edx
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
and ebp, 0xff
sub ecx, dword [ebp*4 + 0x5bf978]
mov ebp, edi
shr edi, 0x10
shr ebp, 0x18
add ecx, dword [ebp*4 + 0x5bfd78]
and edi, 0xff
xor ecx, dword [edi*4 + 0x5c0178]
mov edi, dword [eax + 0x70]
xor esi, ecx
movzx ecx, byte [eax + 0x74]
sub edi, esi
rol edi, cl
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5bf578]
mov ebp, edi
and ebp, 0xff
add ecx, dword [ebp*4 + 0x5bf978]
mov ebp, edi
shr edi, 0x10
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x5bfd78]
and edi, 0xff
sub ecx, dword [edi*4 + 0x5c0178]
mov edi, dword [eax + 0x78]
xor edx, ecx
movzx ecx, byte [eax + 0x7c]
add edi, edx
rol edi, cl
mov eax, edi
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x5bf578]
mov ecx, edi
and ecx, 0xff
xor eax, dword [ecx*4 + 0x5bf978]
mov ecx, edi
shr ecx, 0x10
and ecx, 0xff
add eax, dword [ecx*4 + 0x5c0178]
shr edi, 0x18
sub eax, dword [edi*4 + 0x5bfd78]
xor esi, eax
pop edi
mov dword [ebx], esi
pop esi
pop ebp
mov dword [ebx + 4], edx
pop ebx
ret