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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
cmp dword [esi + 0x80], 0
mov dword [ebp - 4], eax
jne 0x50b096
mov ebx, dword [esi + 0x78]
add ebx, eax
mov ecx, dword [esi + 0x7c]
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
mov eax, ebx
xor edx, dword [ecx*4 + 0x5db928]
shr eax, 0x10
movzx eax, al
mov ecx, dword [esi + 0x74]
shr ebx, 0x18
add edx, dword [eax*4 + 0x5dc128]
sub edx, dword [ebx*4 + 0x5dbd28]
mov ebx, dword [esi + 0x70]
xor edi, edx
sub ebx, edi
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
mov eax, ebx
add edx, dword [ecx*4 + 0x5db928]
shr eax, 0x18
mov ecx, dword [esi + 0x6c]
shr ebx, 0x10
xor edx, dword [eax*4 + 0x5dbd28]
movzx eax, bl
mov ebx, dword [esi + 0x68]
sub edx, dword [eax*4 + 0x5dc128]
mov eax, dword [ebp - 4]
xor eax, edx
xor ebx, eax
mov dword [ebp - 4], eax
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
mov eax, ebx
sub edx, dword [ecx*4 + 0x5db928]
mov ecx, dword [esi + 0x64]
shr eax, 0x18
shr ebx, 0x10
add edx, dword [eax*4 + 0x5dbd28]
movzx eax, bl
mov ebx, dword [esi + 0x60]
xor edx, dword [eax*4 + 0x5dc128]
xor edi, edx
add ebx, edi
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
mov eax, ebx
xor edx, dword [ecx*4 + 0x5db928]
shr eax, 0x10
movzx eax, al
shr ebx, 0x18
add edx, dword [eax*4 + 0x5dc128]
mov eax, dword [ebp - 4]
sub edx, dword [ebx*4 + 0x5dbd28]
xor eax, edx
mov dword [ebp - 4], eax
mov ebx, dword [esi + 0x58]
sub ebx, eax
mov ecx, dword [esi + 0x5c]
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
mov eax, ebx
add edx, dword [ecx*4 + 0x5db928]
shr eax, 0x18
mov ecx, dword [esi + 0x54]
shr ebx, 0x10
xor edx, dword [eax*4 + 0x5dbd28]
movzx eax, bl
mov ebx, dword [esi + 0x50]
sub edx, dword [eax*4 + 0x5dc128]
xor edi, edx
xor ebx, edi
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
mov eax, ebx
sub edx, dword [ecx*4 + 0x5db928]
shr eax, 0x18
mov ecx, dword [esi + 0x4c]
shr ebx, 0x10
add edx, dword [eax*4 + 0x5dbd28]
movzx eax, bl
mov ebx, dword [esi + 0x48]
xor edx, dword [eax*4 + 0x5dc128]
mov eax, dword [ebp - 4]
xor eax, edx
add ebx, eax
mov dword [ebp - 4], eax
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
mov eax, ebx
xor edx, dword [ecx*4 + 0x5db928]
mov ecx, dword [esi + 0x44]
shr eax, 0x10
movzx eax, al
shr ebx, 0x18
add edx, dword [eax*4 + 0x5dc128]
sub edx, dword [ebx*4 + 0x5dbd28]
mov ebx, dword [esi + 0x40]
xor edi, edx
sub ebx, edi
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
mov eax, ebx
add edx, dword [ecx*4 + 0x5db928]
mov ecx, dword [esi + 0x3c]
shr eax, 0x18
shr ebx, 0x10
xor edx, dword [eax*4 + 0x5dbd28]
movzx eax, bl
mov ebx, dword [esi + 0x38]
sub edx, dword [eax*4 + 0x5dc128]
mov eax, dword [ebp - 4]
xor eax, edx
xor ebx, eax
mov dword [ebp - 4], eax
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
sub edx, dword [ecx*4 + 0x5db928]
mov eax, ebx
shr eax, 0x18
mov ecx, dword [esi + 0x34]
shr ebx, 0x10
add edx, dword [eax*4 + 0x5dbd28]
movzx eax, bl
mov ebx, dword [esi + 0x30]
xor edx, dword [eax*4 + 0x5dc128]
xor edi, edx
add ebx, edi
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
mov eax, ebx
xor edx, dword [ecx*4 + 0x5db928]
shr eax, 0x10
movzx eax, al
mov ecx, dword [esi + 0x2c]
shr ebx, 0x18
add edx, dword [eax*4 + 0x5dc128]
mov eax, dword [ebp - 4]
sub edx, dword [ebx*4 + 0x5dbd28]
xor eax, edx
mov ebx, dword [esi + 0x28]
sub ebx, eax
mov dword [ebp - 4], eax
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
mov eax, ebx
add edx, dword [ecx*4 + 0x5db928]
mov ecx, dword [esi + 0x24]
shr eax, 0x18
shr ebx, 0x10
xor edx, dword [eax*4 + 0x5dbd28]
movzx eax, bl
mov ebx, dword [esi + 0x20]
sub edx, dword [eax*4 + 0x5dc128]
xor edi, edx
xor ebx, edi
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
mov eax, ebx
sub edx, dword [ecx*4 + 0x5db928]
mov ecx, dword [esi + 0x1c]
shr eax, 0x18
shr ebx, 0x10
add edx, dword [eax*4 + 0x5dbd28]
movzx eax, bl
mov ebx, dword [esi + 0x18]
xor edx, dword [eax*4 + 0x5dc128]
mov eax, dword [ebp - 4]
xor eax, edx
add ebx, eax
mov dword [ebp - 4], eax
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
mov eax, ebx
xor edx, dword [ecx*4 + 0x5db928]
shr eax, 0x10
movzx eax, al
shr ebx, 0x18
add edx, dword [eax*4 + 0x5dc128]
sub edx, dword [ebx*4 + 0x5dbd28]
mov ebx, dword [esi + 0x10]
xor edi, edx
mov ecx, dword [esi + 0x14]
sub ebx, edi
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
mov eax, ebx
add edx, dword [ecx*4 + 0x5db928]
mov ecx, dword [esi + 0xc]
shr eax, 0x18
shr ebx, 0x10
xor edx, dword [eax*4 + 0x5dbd28]
movzx eax, bl
mov ebx, dword [esi + 8]
sub edx, dword [eax*4 + 0x5dc128]
mov eax, dword [ebp - 4]
xor eax, edx
xor ebx, eax
mov dword [ebp - 4], eax
rol ebx, cl
mov eax, ebx
movzx ecx, bl
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
mov eax, ebx
sub edx, dword [ecx*4 + 0x5db928]
mov ecx, dword [esi + 4]
shr eax, 0x18
shr ebx, 0x10
add edx, dword [eax*4 + 0x5dbd28]
movzx eax, bl
mov ebx, dword [esi]
xor edx, dword [eax*4 + 0x5dc128]
xor edi, edx
add ebx, edi
rol ebx, cl
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x5db528]
movzx eax, bl
mov esi, dword [eax*4 + 0x5db928]
mov eax, ebx
shr eax, 0x18
xor esi, edx
shr ebx, 0x10
mov ecx, dword [eax*4 + 0x5dbd28]
sub esi, ecx
movzx eax, bl
mov ebx, dword [ebp + 8]
mov eax, dword [eax*4 + 0x5dc128]
add esi, eax
xor esi, dword [ebp - 4]
mov dword [ebx + 4], edi
pop edi
mov dword [ebx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret