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

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