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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, eax
movzx eax, byte [edi]
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [edi + 1]
mov ebx, edx
cdq
or ecx, eax
movzx eax, byte [edi + 2]
or ebx, edx
shld ebx, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [edi + 3]
or ebx, edx
shld ebx, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [edi + 4]
or ebx, edx
shld ebx, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [edi + 5]
or ebx, edx
shld ebx, ecx, 8
shl ecx, 8
cdq
or ecx, eax
movzx eax, byte [edi + 6]
or ebx, edx
shld ebx, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 7]
or ebx, edx
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
mov edx, dword [esi + 0x54]
xor ebx, dword [esi + 4]
or ecx, eax
mov eax, dword [esi + 0x50]
xor ecx, dword [esi]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x2c], ecx
call fcn.00401710
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 8]
mov dword [esp + 0x28], edx
cdq
shld edx, eax, 8
shl eax, 8
mov ecx, eax
movzx eax, byte [edi + 9]
mov ebp, edx
cdq
or ecx, eax
movzx eax, byte [edi + 0xa]
or ebp, edx
shld ebp, ecx, 8
cdq
shl ecx, 8
or ecx, eax
or ebp, edx
shld ebp, ecx, 8
movzx eax, byte [edi + 0xb]
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xc]
or ebp, edx
shld ebp, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xd]
or ebp, edx
shld ebp, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xe]
or ebp, edx
shld ebp, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xf]
mov edi, dword [esp + 0x24]
or ebp, edx
shld ebp, ecx, 8
cdq
shl ecx, 8
or ecx, eax
mov eax, ebp
mov ebp, dword [esp + 0x28]
or eax, edx
mov edx, dword [esi + 0x5c]
xor ebp, eax
mov eax, dword [esi + 0x58]
xor ebp, dword [esi + 0xc]
push edx
xor edi, ecx
xor edi, dword [esi + 8]
push eax
push ebp
push edi
call fcn.00401710
mov ecx, dword [esp + 0x3c]
xor ebx, edx
mov edx, dword [esi + 0x64]
xor ecx, eax
mov eax, dword [esi + 0x60]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x4c], ecx
call fcn.00401710
mov ecx, dword [esi + 0x6c]
xor ebp, edx
mov edx, dword [esi + 0x68]
push ecx
push edx
xor edi, eax
push ebp
push edi
call fcn.00401710
mov ecx, dword [esp + 0x5c]
xor ecx, eax
mov eax, dword [esi + 0x74]
add esp, 0x40
xor ebx, edx
mov edx, dword [esi + 0x70]
push eax
push edx
push ebx
push ecx
mov dword [esp + 0x2c], ecx
call fcn.00401710
mov ecx, dword [esi + 0x78]
xor edi, eax
mov eax, dword [esi + 0x7c]
xor ebp, edx
mov dword [esp + 0x28], ebp
push eax
push ecx
push ebp
push edi
call fcn.00401710
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esi + 0x20]
xor ebp, eax
mov eax, dword [esi + 0x24]
xor ebx, edx
and eax, ebx
rol eax, 1
xor eax, ebp
or ecx, eax
xor ebp, ebp
or ebp, eax
mov eax, dword [esi + 0x28]
or eax, edi
xor eax, dword [esp + 0x38]
xor ebx, ecx
mov ecx, dword [esi + 0x2c]
xor edx, edx
or ebx, edx
mov edx, dword [esi + 0x84]
push edx
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x80]
push eax
push ebx
push ebp
mov dword [esp + 0x58], ecx
call fcn.00401710
mov ecx, dword [esp + 0x58]
and ecx, dword [esp + 0x40]
mov dword [esp + 0x60], edx
rol ecx, 1
xor ecx, edi
xor edx, edx
or edx, dword [esp + 0x40]
xor edi, edi
or ecx, edi
xor eax, ecx
mov ecx, dword [esp + 0x60]
xor ecx, edx
mov edx, dword [esi + 0x8c]
push edx
mov edx, dword [esi + 0x88]
push edx
push ecx
push eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
call fcn.00401710
mov ecx, dword [esi + 0x90]
add esp, 0x40
xor ebp, eax
mov eax, dword [esi + 0x94]
push eax
push ecx
xor ebx, edx
push ebx
push ebp
call fcn.00401710
mov edi, dword [esp + 0x24]
mov ecx, dword [esi + 0x98]
xor edi, eax
mov eax, dword [esp + 0x28]
xor eax, edx
mov edx, dword [esi + 0x9c]
push edx
push ecx
push eax
push edi
mov dword [esp + 0x38], eax
call fcn.00401710
xor ebp, eax
mov eax, dword [esi + 0xa0]
xor ebx, edx
mov edx, dword [esi + 0xa4]
push edx
push eax
push ebx
push ebp
call fcn.00401710
mov ecx, dword [esi + 0xac]
xor edi, eax
mov eax, dword [esp + 0x48]
xor eax, edx
mov edx, dword [esi + 0xa8]
push ecx
push edx
push eax
push edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], eax
call fcn.00401710
mov edi, dword [esi + 0x30]
xor ebp, eax
mov eax, dword [esi + 0x34]
xor ebx, edx
and eax, ebx
mov edx, dword [esi + 0x3c]
add esp, 0x40
rol eax, 1
xor eax, ebp
or edi, eax
xor edi, ebx
xor ebx, ebx
or ebx, eax
mov eax, dword [esi + 0x38]
or eax, dword [esp + 0x14]
xor ecx, ecx
xor eax, dword [esp + 0x18]
or edi, ecx
mov ecx, dword [esi + 0xb0]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xb4]
push eax
push ecx
push edi
push ebx
mov dword [esp + 0x40], edx
call fcn.00401710
mov ebp, eax
mov eax, dword [esp + 0x40]
and eax, dword [esp + 0x20]
mov dword [esp + 0x38], edx
rol eax, 1
xor eax, dword [esp + 0x24]
xor ecx, ecx
or eax, ecx
mov ecx, dword [esi + 0xb8]
xor edx, edx
or edx, dword [esp + 0x20]
xor ebp, eax
mov eax, dword [esp + 0x38]
xor eax, edx
mov edx, dword [esi + 0xbc]
push edx
push ecx
push eax
push ebp
mov dword [esp + 0x38], eax
call fcn.00401710
xor edi, edx
mov edx, dword [esi + 0xc4]
xor ebx, eax
mov eax, dword [esi + 0xc0]
push edx
push eax
push edi
push ebx
call fcn.00401710
mov ecx, dword [esi + 0xcc]
xor ebp, eax
mov eax, dword [esp + 0x48]
xor eax, edx
mov edx, dword [esi + 0xc8]
push ecx
push edx
push eax
mov dword [esp + 0x54], eax
push ebp
call fcn.00401710
mov ecx, dword [esi + 0xd0]
add esp, 0x40
xor ebx, eax
mov eax, dword [esi + 0xd4]
push eax
push ecx
xor edi, edx
push edi
push ebx
call fcn.00401710
mov ecx, dword [esi + 0xd8]
xor ebp, eax
mov eax, dword [esp + 0x28]
xor eax, edx
mov edx, dword [esi + 0xdc]
push edx
push ecx
push eax
push ebp
mov dword [esp + 0x38], eax
call fcn.00401710
add esp, 0x20
xor ebx, eax
xor edi, edx
cmp dword [esi + 0x110], 0x80
je 0x401ef6
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
and eax, edi
rol eax, 1
xor eax, ebx
mov ebx, dword [esi + 0x4c]
or ecx, eax
xor edx, edx
or edx, eax
mov eax, dword [esi + 0x48]
xor edi, ecx
xor ecx, ecx
or eax, ebp
xor eax, dword [esp + 0x18]
or edi, ecx
mov ecx, edx
mov edx, dword [esi + 0xe4]
push edx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xe0]
push eax
push edi
push ecx
mov dword [esp + 0x2c], ecx
call fcn.00401710
and ebx, dword [esp + 0x20]
xor ecx, ecx
or ecx, dword [esp + 0x20]
rol ebx, 1
xor ebx, ebp
xor ebp, ebp
xor edx, ecx
mov ecx, dword [esi + 0xe8]
or ebp, ebx
xor ebp, eax
mov eax, edx
mov edx, dword [esi + 0xec]
push edx
push ecx
push eax
push ebp
mov dword [esp + 0x38], eax
call fcn.00401710
mov ebx, dword [esp + 0x3c]
xor edi, edx
mov edx, dword [esi + 0xf4]
xor ebx, eax
mov eax, dword [esi + 0xf0]
push edx
push eax
push edi
push ebx
call fcn.00401710
mov ecx, dword [esi + 0xfc]
xor ebp, eax
mov eax, dword [esp + 0x48]
xor eax, edx
mov edx, dword [esi + 0xf8]
push ecx
push edx
push eax
push ebp
mov dword [esp + 0x58], eax
call fcn.00401710
mov ecx, dword [esi + 0x100]
add esp, 0x40
xor ebx, eax
mov eax, dword [esi + 0x104]
push eax
push ecx
xor edi, edx
push edi
push ebx
call fcn.00401710
mov ecx, dword [esi + 0x108]
xor ebp, eax
mov eax, dword [esp + 0x28]
xor eax, edx
mov edx, dword [esi + 0x10c]
mov dword [esp + 0x28], eax
push edx
push ecx
push eax
push ebp
call fcn.00401710
add esp, 0x20
xor ebx, eax
xor edi, edx
xor edi, dword [esi + 0x1c]
xor ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
mov eax, dword [esp + 0x38]
xor esi, dword [esp + 0x18]
xor ecx, ebp
mov edx, ecx
mov ebp, esi
shrd edx, ebp, 8
mov byte [eax + 6], dl
mov edx, ecx
shr ebp, 8
mov byte [eax + 7], cl
mov ebp, esi
shrd edx, ebp, 0x10
mov byte [eax + 5], dl
mov edx, esi
shrd ecx, edx, 0x18
shr edx, 0x18
mov byte [eax + 4], cl
mov edx, esi
shr edx, 8
mov byte [eax + 2], dl
mov ecx, esi
mov byte [eax + 3], cl
shr ecx, 0x10
mov byte [eax + 1], cl
mov edx, esi
shr edx, 0x18
mov byte [eax], dl
mov ecx, ebx
mov edx, edi
shrd ecx, edx, 8
mov byte [eax + 0xe], cl
shr edx, 8
mov ecx, ebx
mov edx, edi
shrd ecx, edx, 0x10
mov byte [eax + 0xd], cl
mov ecx, edi
mov byte [eax + 0xf], bl
shrd ebx, ecx, 0x18
shr ecx, 0x18
mov ecx, edi
shr ecx, 8
shr edx, 0x10
mov edx, edi
mov byte [eax + 0xa], cl
mov ecx, edi
pop edi
pop esi
shr ebp, 0x10
mov byte [eax + 0xb], dl
shr edx, 0x10
shr ecx, 0x18
pop ebp
mov byte [eax + 0xc], bl
mov byte [eax + 9], dl
mov byte [eax + 8], cl
pop ebx
add esp, 0x24
ret