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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
movzx ecx, byte [ebx + 6]
push esi
mov esi, eax
xor eax, eax
mov ah, byte [ebx + 4]
mov edx, dword [esi]
mov al, byte [ebx + 5]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebx + 7]
shl eax, 8
or eax, ecx
mov ecx, dword [esi + 4]
add edx, eax
rol edx, cl
mov dword [ebp - 8], eax
mov eax, 0xff
mov dword [ebp - 4], edx
mov ecx, edx
shr ecx, 0x10
and ecx, eax
shr edx, 0x18
mov dword [ebp - 0xc], edx
mov edx, dword [ecx*4 + 0x418860]
mov ecx, dword [ebp - 0xc]
xor edx, dword [ecx*4 + 0x418460]
movzx ecx, byte [ebp - 3]
sub edx, dword [ecx*4 + 0x418c60]
mov ecx, dword [ebp - 4]
and ecx, eax
add edx, dword [ecx*4 + 0x419060]
xor ecx, ecx
mov ch, byte [ebx]
mov cl, byte [ebx + 1]
movzx ebx, byte [ebx + 2]
shl ecx, 8
or ecx, ebx
mov ebx, dword [ebp + 8]
movzx ebx, byte [ebx + 3]
shl ecx, 8
or ecx, ebx
mov ebx, dword [esi + 8]
xor edx, ecx
mov ecx, dword [esi + 0xc]
xor ebx, edx
rol ebx, cl
mov dword [ebp - 4], ebx
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
movzx ebx, bh
mov ebx, dword [ebx*4 + 0x418c60]
sub ebx, dword [ecx*4 + 0x418860]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
add ebx, dword [ecx*4 + 0x418460]
mov ecx, dword [ebp - 4]
and ecx, eax
xor ebx, dword [ecx*4 + 0x419060]
mov ecx, dword [esi + 0x10]
xor dword [ebp - 8], ebx
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 8]
sub dword [ebp + 8], ecx
mov ecx, dword [esi + 0x14]
mov ebx, dword [ebp + 8]
rol ebx, cl
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x418860]
mov dword [ebp - 4], ebx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x418460]
movzx ebx, byte [ebp - 3]
xor ecx, dword [ebx*4 + 0x418c60]
mov ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
sub ebx, dword [ecx*4 + 0x419060]
mov ecx, dword [esi + 0x18]
xor edx, ebx
add ecx, edx
mov dword [ebp + 8], ecx
mov ebx, ecx
mov ecx, dword [esi + 0x1c]
rol ebx, cl
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x418860]
mov dword [ebp - 4], ebx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x418460]
movzx ebx, byte [ebp - 3]
sub ecx, dword [ebx*4 + 0x418c60]
mov ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add ebx, dword [ecx*4 + 0x419060]
mov ecx, dword [esi + 0x24]
xor dword [ebp - 8], ebx
mov ebx, dword [esi + 0x20]
xor ebx, dword [ebp - 8]
rol ebx, cl
mov dword [ebp - 4], ebx
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
movzx ebx, bh
mov ebx, dword [ebx*4 + 0x418c60]
sub ebx, dword [ecx*4 + 0x418860]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
add ebx, dword [ecx*4 + 0x418460]
mov ecx, dword [ebp - 4]
and ecx, eax
xor ebx, dword [ecx*4 + 0x419060]
mov ecx, dword [esi + 0x28]
xor edx, ebx
sub ecx, edx
mov dword [ebp + 8], ecx
mov ebx, ecx
mov ecx, dword [esi + 0x2c]
rol ebx, cl
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x418860]
mov dword [ebp - 4], ebx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x418460]
movzx ebx, byte [ebp - 3]
xor ecx, dword [ebx*4 + 0x418c60]
mov ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
sub ebx, dword [ecx*4 + 0x419060]
mov ecx, dword [esi + 0x30]
xor dword [ebp - 8], ebx
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 8]
add dword [ebp + 8], ecx
mov ecx, dword [esi + 0x34]
mov ebx, dword [ebp + 8]
rol ebx, cl
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x418860]
mov dword [ebp - 4], ebx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x418460]
movzx ebx, byte [ebp - 3]
sub ecx, dword [ebx*4 + 0x418c60]
mov ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add ebx, dword [ecx*4 + 0x419060]
mov ecx, dword [esi + 0x3c]
xor edx, ebx
mov ebx, dword [esi + 0x38]
xor ebx, edx
rol ebx, cl
mov dword [ebp - 4], ebx
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
movzx ebx, bh
mov ebx, dword [ebx*4 + 0x418c60]
sub ebx, dword [ecx*4 + 0x418860]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
add ebx, dword [ecx*4 + 0x418460]
mov ecx, dword [ebp - 4]
and ecx, eax
xor ebx, dword [ecx*4 + 0x419060]
mov ecx, dword [esi + 0x40]
xor dword [ebp - 8], ebx
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 8]
sub dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x44]
rol ebx, cl
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x418860]
mov dword [ebp - 4], ebx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x418460]
movzx ebx, byte [ebp - 3]
xor ecx, dword [ebx*4 + 0x418c60]
mov ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
sub ebx, dword [ecx*4 + 0x419060]
mov ecx, dword [esi + 0x48]
xor edx, ebx
add ecx, edx
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x4c]
mov ebx, dword [ebp + 8]
rol ebx, cl
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x418860]
mov dword [ebp - 4], ebx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x418460]
movzx ebx, byte [ebp - 3]
sub ecx, dword [ebx*4 + 0x418c60]
mov ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add ebx, dword [ecx*4 + 0x419060]
mov ecx, dword [esi + 0x54]
xor dword [ebp - 8], ebx
mov ebx, dword [esi + 0x50]
xor ebx, dword [ebp - 8]
rol ebx, cl
mov dword [ebp - 4], ebx
mov ecx, ebx
shr ecx, 0x10
movzx ebx, bh
mov ebx, dword [ebx*4 + 0x418c60]
and ecx, eax
sub ebx, dword [ecx*4 + 0x418860]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
add ebx, dword [ecx*4 + 0x418460]
mov ecx, dword [ebp - 4]
and ecx, eax
xor ebx, dword [ecx*4 + 0x419060]
mov ecx, dword [esi + 0x58]
xor edx, ebx
sub ecx, edx
mov dword [ebp + 8], ecx
mov ebx, ecx
mov ecx, dword [esi + 0x5c]
rol ebx, cl
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x418860]
mov dword [ebp - 4], ebx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x418460]
movzx ebx, byte [ebp - 3]
xor ecx, dword [ebx*4 + 0x418c60]
mov ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
sub ebx, dword [ecx*4 + 0x419060]
mov ecx, dword [esi + 0x60]
xor dword [ebp - 8], ebx
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 8]
add dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x64]
rol ebx, cl
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x418860]
mov dword [ebp - 4], ebx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x418460]
movzx ebx, byte [ebp - 3]
sub ecx, dword [ebx*4 + 0x418c60]
mov ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add ebx, dword [ecx*4 + 0x419060]
mov ecx, dword [esi + 0x6c]
xor edx, ebx
mov ebx, dword [esi + 0x68]
xor ebx, edx
rol ebx, cl
mov dword [ebp - 4], ebx
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
movzx ebx, bh
mov ebx, dword [ebx*4 + 0x418c60]
sub ebx, dword [ecx*4 + 0x418860]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
add ebx, dword [ecx*4 + 0x418460]
mov ecx, dword [ebp - 4]
and ecx, eax
xor ebx, dword [ecx*4 + 0x419060]
mov ecx, dword [esi + 0x70]
xor dword [ebp - 8], ebx
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 8]
sub dword [ebp + 8], ecx
mov ecx, dword [esi + 0x74]
mov ebx, dword [ebp + 8]
rol ebx, cl
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x418860]
mov dword [ebp - 4], ebx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x418460]
movzx ebx, byte [ebp - 3]
xor ecx, dword [ebx*4 + 0x418c60]
mov ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
sub ebx, dword [ecx*4 + 0x419060]
mov ecx, dword [esi + 0x7c]
xor edx, ebx
mov ebx, dword [esi + 0x78]
add ebx, edx
rol ebx, cl
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x418860]
mov esi, ebx
shr esi, 0x18
xor ecx, dword [esi*4 + 0x418460]
movzx esi, bh
sub ecx, dword [esi*4 + 0x418c60]
and ebx, eax
add ecx, dword [ebx*4 + 0x419060]
mov eax, dword [ebp - 8]
xor eax, ecx
mov ecx, eax
shr ecx, 0x18
mov byte [edi], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 3], al
mov byte [edi + 1], cl
mov ecx, eax
mov eax, edx
shr eax, 0x18
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 5], al
shr ecx, 8
mov eax, edx
shr eax, 8
pop esi
mov byte [edi + 2], cl
mov byte [edi + 6], al
mov byte [edi + 7], dl
pop ebx
leave
ret