Function at 0x406ea0
Capabilities:
Encode data using xor
Encrypt data using aes
Encrypt data using rc4 ksa
Reference aes constants
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x88
push ebx
mov ebx, dword [esp + 0x90]
cmp dword [ebx - 0x14], 0x38
push esi
jne 0x4083f5
mov esi, dword [ebx]
mov eax, dword [esp + 0xa8]
xor edx, edx
div esi
mov dword [esp + 0x40], esi
test edx, edx
jne 0x4083f5
mov ecx, dword [esp + 0x98]
test ecx, ecx
mov eax, dword [ebx + 4]
push ebp
push edi
jne 0x406f05
add ebx, 8
mov edx, 4
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0xa8]
mov ecx, 0x41a2b0
mov edi, str.cw
mov dword [esp + 0x74], edx
jmp 0x406f5e
mov ebp, dword [esp + 0xac]
test ebp, ebp
lea ebx, [ebx + eax*4 + 8]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0xa8]
mov edx, 0xfffffffc
lea ebx, [ebx + esi - 4]
mov ecx, 0x41b2b0
mov edi, 0x41a1b0
mov dword [esp + 0x74], edx
mov dword [esp + 0xa8], ebx
je 0x406f48
lea ebp, [esi + ebp - 4]
mov dword [esp + 0xac], ebp
mov ebp, dword [esp + 0xa4]
test ebp, ebp
je 0x406f65
lea ebp, [esi + ebp - 4]
mov dword [esp + 0xa4], ebp
mov ebp, dword [esp + 0xa4]
sub eax, esi
mov esi, dword [esp + 0x44]
lea eax, [esi + eax*4]
mov esi, dword [esp + 0xb0]
add esi, ebx
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x48]
cmp esi, 0x10
mov dword [esp + 0x70], eax
jne 0x406fc3
mov edx, dword [esp + 0xac]
push edx
mov edx, dword [esp + 0x70]
push edx
push ebx
push ebp
push edi
push eax
mov eax, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.0040c9e0
mov edx, dword [esp + 0xc0]
mov eax, dword [edx]
add esp, 0x24
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x88
ret
test ebp, ebp
je 0x407082
mov eax, dword [ebp]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
bswap eax
add ebp, edx
mov dword [esp + 0x64], eax
mov eax, dword [ebp]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
bswap eax
add ebp, edx
mov dword [esp + 0x5c], eax
mov eax, dword [ebp]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
bswap eax
add ebp, edx
mov dword [esp + 0x54], eax
mov eax, dword [ebp]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
bswap eax
add ebp, edx
cmp esi, 0x10
mov dword [esp + 0x50], eax
mov dword [esp + 0xa4], ebp
jle 0x407082
mov eax, dword [ebp]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
bswap eax
add ebp, edx
mov dword [esp + 0x68], eax
mov eax, dword [ebp]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
bswap eax
add ebp, edx
cmp esi, 0x18
mov dword [esp + 0x58], eax
mov dword [esp + 0xa4], ebp
jle 0x407082
mov eax, dword [ebp]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
bswap eax
add ebp, edx
mov dword [esp + 0x4c], eax
mov eax, dword [ebp]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
bswap eax
add ebp, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0xa4], ebp
cmp ebx, dword [esp + 0x6c]
jae 0x40837b
jmp 0x407095
mov ebx, dword [esp + 0xa8]
mov edx, dword [ebx]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x4071ae
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
bswap eax
mov edx, dword [ebx + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
bswap eax
mov edx, dword [esp + 0xa8]
mov ebx, eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
bswap eax
mov edx, dword [edx + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
bswap eax
mov edx, eax
cmp dword [esp + 0x48], 0x18
jle 0x407147
mov eax, dword [esp + 0xa8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa8]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x2c], eax
test ebp, ebp
je 0x4072cf
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x28]
xor ebp, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x20]
xor ebp, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x18]
xor ebp, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x14]
xor ebx, eax
mov eax, dword [esp + 0x68]
xor ebp, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x24]
xor edx, eax
mov eax, dword [esp + 0x4c]
xor ebp, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], ebp
xor dword [esp + 0x2c], eax
jmp 0x4072cf
mov edx, dword [ebx - 4]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x20], eax
mov eax, dword [ebx - 8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
bswap eax
mov edx, dword [ebx - 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
bswap eax
mov edx, dword [esp + 0xa8]
mov ebx, eax
mov eax, dword [edx - 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
bswap eax
mov edx, dword [edx - 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
bswap eax
mov edx, eax
cmp dword [esp + 0x48], 0x18
jle 0x40723d
mov eax, dword [esp + 0xa8]
mov eax, dword [eax - 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa8]
mov eax, dword [eax - 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x2c], eax
test ebp, ebp
je 0x4072cf
mov eax, dword [esp + 0x64]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0xa8]
add ebp, eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [esp + 0xa8], ebp
mov ebp, dword [esp + 0x28]
xor ebp, eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x20]
xor ebp, eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x18]
xor ebp, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], ebp
mov ebp, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
xor ebx, ebp
mov ebp, dword [esp + 0x14]
xor ebp, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], ebp
mov ebp, dword [eax + 0x14]
mov eax, dword [esp + 0x48]
xor edx, ebp
cmp eax, 0x18
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], edx
jne 0x407973
lea esp, [esp]
mov eax, dword [esp + 0x18]
movzx ebp, byte [esp + 0x22]
shr eax, 8
movzx eax, al
mov dword [esp + 0x10], ebp
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x400]
mov eax, ebx
and eax, 0xff
xor ebp, dword [ecx + eax*4 + 0xc00]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ebp
shr eax, 0x18
xor ebp, dword [ecx + eax*4]
xor ebp, dword [esi + 0x18]
mov dword [esp + 0x34], ebp
movzx ebp, byte [esp + 0x1a]
mov dword [esp + 0x10], ebp
movzx eax, bh
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x400]
mov eax, dword [esp + 0x14]
and eax, 0xff
mov eax, dword [ecx + eax*4 + 0xc00]
mov dword [esp + 0x10], ebp
xor ebp, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ebp
shr eax, 0x18
xor ebp, dword [ecx + eax*4]
xor ebp, dword [esi + 0x1c]
movzx eax, byte [esp + 0x15]
mov dword [esp + 0x38], ebp
movzx ebp, byte [esp + 0x3e]
mov dword [esp + 0x10], ebp
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x400]
mov eax, edx
and eax, 0xff
xor ebp, dword [ecx + eax*4 + 0xc00]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], ebp
shr eax, 0x18
xor ebp, dword [ecx + eax*4]
xor ebp, dword [esi + 0x20]
mov dword [esp + 0x30], ebp
movzx ebp, byte [esp + 0x16]
mov dword [esp + 0x10], ebp
movzx eax, dh
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x400]
shr ebx, 0x18
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
and ebp, 0xff
xor eax, dword [ecx + ebp*4 + 0xc00]
mov ebp, dword [ecx + ebx*4]
mov ebx, dword [esi + 0x24]
xor eax, ebp
movzx ebp, byte [esp + 0x29]
xor eax, ebx
movzx ebx, byte [esp + 0x1e]
mov dword [esp + 0x10], ebp
mov ebp, dword [ecx + ebx*4 + 0x400]
mov ebx, dword [esp + 0x10]
xor ebp, dword [ecx + ebx*4 + 0x800]
mov ebx, dword [esp + 0x20]
and ebx, 0xff
mov dword [esp + 0x10], ebp
xor ebp, dword [ecx + ebx*4 + 0xc00]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
shr ebx, 0x18
xor ebp, dword [ecx + ebx*4]
xor ebp, dword [esi + 0x28]
movzx ebx, byte [esp + 0x21]
mov ebx, dword [ecx + ebx*4 + 0x800]
mov dword [esp + 0x14], ebp
movzx ebp, byte [esp + 0x2a]
xor ebx, dword [ecx + ebp*4 + 0x400]
mov ebp, dword [esp + 0x18]
and ebp, 0xff
xor ebx, dword [ecx + ebp*4 + 0xc00]
shr edx, 0x18
mov ebp, dword [ecx + edx*4]
mov edx, dword [esi + 0x2c]
xor ebx, ebp
xor ebx, edx
movzx edx, byte [esp + 0x31]
mov edx, dword [ecx + edx*4 + 0x800]
movzx ebp, byte [esp + 0x3a]
xor edx, dword [ecx + ebp*4 + 0x400]
mov ebp, eax
and ebp, 0xff
xor edx, dword [ecx + ebp*4 + 0xc00]
mov ebp, dword [esp + 0x34]
shr ebp, 0x18
xor edx, dword [ecx + ebp*4]
xor edx, dword [esi + 0x30]
movzx ebp, byte [esp + 0x32]
mov dword [esp + 0x28], edx
movzx edx, ah
mov edx, dword [ecx + edx*4 + 0x800]
xor edx, dword [ecx + ebp*4 + 0x400]
mov ebp, dword [esp + 0x14]
and ebp, 0xff
xor edx, dword [ecx + ebp*4 + 0xc00]
mov ebp, dword [esp + 0x38]
shr ebp, 0x18
xor edx, dword [ecx + ebp*4]
xor edx, dword [esi + 0x34]
movzx ebp, byte [esp + 0x42]
mov dword [esp + 0x20], edx
movzx edx, byte [esp + 0x15]
mov edx, dword [ecx + edx*4 + 0x800]
xor edx, dword [ecx + ebp*4 + 0x400]
mov ebp, ebx
and ebp, 0xff
xor edx, dword [ecx + ebp*4 + 0xc00]
mov ebp, dword [esp + 0x30]
shr ebp, 0x18
xor edx, dword [ecx + ebp*4]
xor edx, dword [esi + 0x38]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], edx
movzx edx, bh
movzx ebx, byte [esp + 0x16]
mov ebp, dword [ecx + edx*4 + 0x800]
xor ebp, dword [ecx + ebx*4 + 0x400]
mov edx, dword [esp + 0x34]
shr eax, 0x18
mov ebx, edx
and ebx, 0xff
xor ebp, dword [ecx + ebx*4 + 0xc00]
xor ebp, dword [ecx + eax*4]
mov ebx, dword [esi + 0x3c]
movzx eax, dh
movzx edx, byte [esp + 0x12]
xor ebx, ebp
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [ecx + edx*4 + 0x400]
mov edx, dword [esp + 0x38]
xor ebp, eax
mov eax, edx
and eax, 0xff
xor ebp, dword [ecx + eax*4 + 0xc00]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
shr eax, 0x18
xor ebp, dword [ecx + eax*4]
xor ebp, dword [esi + 0x40]
movzx eax, byte [esp + 0x36]
movzx edx, dh
mov edx, dword [ecx + edx*4 + 0x800]
mov dword [esp + 0x14], ebp
mov ebp, dword [ecx + eax*4 + 0x400]
mov eax, dword [esp + 0x30]
xor edx, ebp
and eax, 0xff
mov ebp, dword [ecx + eax*4 + 0xc00]
mov eax, dword [esp + 0x10]
xor edx, ebp
shr eax, 0x18
mov ebp, dword [ecx + eax*4]
mov eax, dword [esp + 0x70]
xor edx, ebp
xor edx, dword [esi + 0x44]
add esi, 0x30
cmp esi, eax
mov dword [esp + 0x1c], edx
jb 0x407350
movzx ebp, byte [esp + 0x22]
movzx eax, byte [esp + 0x19]
mov dword [esp + 0x10], ebp
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x400]
mov eax, ebx
and eax, 0xff
xor ebp, dword [ecx + eax*4 + 0xc00]
mov eax, dword [esp + 0x28]
shr eax, 0x18
xor ebp, dword [ecx + eax*4]
xor ebp, dword [esi + 0x18]
mov dword [esp + 0x34], ebp
movzx ebp, byte [esp + 0x1a]
mov dword [esp + 0x10], ebp
movzx eax, bh
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x400]
mov eax, dword [esp + 0x14]
and eax, 0xff
xor ebp, dword [ecx + eax*4 + 0xc00]
mov eax, dword [esp + 0x20]
shr eax, 0x18
xor ebp, dword [ecx + eax*4]
xor ebp, dword [esi + 0x1c]
movzx eax, byte [esp + 0x15]
mov dword [esp + 0x38], ebp
movzx ebp, byte [esp + 0x3e]
mov dword [esp + 0x10], ebp
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x400]
mov eax, edx
and eax, 0xff
xor ebp, dword [ecx + eax*4 + 0xc00]
mov eax, dword [esp + 0x18]
shr eax, 0x18
xor ebp, dword [ecx + eax*4]
xor ebp, dword [esi + 0x20]
mov dword [esp + 0x30], ebp
movzx ebp, byte [esp + 0x16]
mov dword [esp + 0x10], ebp
movzx eax, dh
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x400]
mov eax, dword [esp + 0x28]
and eax, 0xff
xor ebp, dword [ecx + eax*4 + 0xc00]
shr ebx, 0x18
mov eax, ebx
mov dword [esp + 0x10], ebx
mov ebx, dword [ecx + eax*4]
movzx eax, byte [esp + 0x1e]
xor ebp, ebx
xor ebp, dword [esi + 0x24]
movzx ebx, byte [esp + 0x29]
mov dword [esp + 0x40], ebp
mov ebp, dword [ecx + eax*4 + 0x400]
xor ebp, dword [ecx + ebx*4 + 0x800]
mov eax, dword [esp + 0x20]
and eax, 0xff
mov ebx, dword [ecx + eax*4 + 0xc00]
mov eax, dword [esp + 0x14]
shr eax, 0x18
xor ebp, ebx
mov ebx, dword [ecx + eax*4]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x28]
xor ebp, ebx
movzx ebx, byte [esp + 0x2a]
xor ebp, eax
movzx eax, byte [esp + 0x21]
mov dword [esp + 0x14], ebp
mov ebp, dword [ecx + ebx*4 + 0x400]
mov eax, dword [ecx + eax*4 + 0x800]
mov ebx, dword [esp + 0x18]
shr edx, 0x18
and ebx, 0xff
mov dword [esp + 0x10], ebx
xor eax, ebp
mov ebp, dword [ecx + ebx*4 + 0xc00]
mov ebx, dword [ecx + edx*4]
mov edx, dword [esp + 0x34]
shr edx, 0x18
xor eax, ebp
xor eax, ebx
xor ebx, ebx
mov bh, byte [edx + edi]
mov edx, dword [esp + 0x38]
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + edi]
xor ebx, edx
mov edx, dword [esp + 0x30]
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + edi]
mov ebp, dword [esi + 0x2c]
shl ebx, 8
xor ebx, edx
movzx edx, byte [esp + 0x40]
movzx edx, byte [edx + edi]
shl ebx, 8
xor ebx, edx
mov edx, dword [esp + 0x38]
shr edx, 0x18
xor eax, ebp
xor ebx, dword [esi + 0x30]
mov dword [esp + 0x28], ebx
xor ebx, ebx
mov bh, byte [edx + edi]
mov edx, dword [esp + 0x30]
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + edi]
xor ebx, edx
mov edx, dword [esp + 0x40]
shr edx, 8
mov ebp, dword [esi + 0x34]
movzx edx, dl
movzx edx, byte [edx + edi]
shl ebx, 8
xor ebx, edx
movzx edx, byte [esp + 0x14]
movzx edx, byte [edx + edi]
shl ebx, 8
xor ebx, edx
mov edx, dword [esp + 0x30]
xor ebx, ebp
shr edx, 0x18
mov dword [esp + 0x20], ebx
xor ebx, ebx
mov bh, byte [edx + edi]
mov edx, dword [esp + 0x40]
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + edi]
xor ebx, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esi + 0x38]
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + edi]
shl ebx, 8
xor ebx, edx
movzx edx, al
movzx edx, byte [edx + edi]
shl ebx, 8
xor ebx, edx
xor ebx, ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x18], ebx
shr ebp, 0x18
mov ebx, dword [esp + 0x14]
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [ebx + edi]
xor edx, edx
mov dh, byte [edi + ebp]
mov ebp, dword [esp + 0x14]
shr ebp, 0x18
xor edx, ebx
mov ebx, eax
shr ebx, 8
movzx ebx, bl
movzx ebx, byte [ebx + edi]
shl edx, 8
xor edx, ebx
movzx ebx, byte [esp + 0x34]
movzx ebx, byte [ebx + edi]
shl edx, 8
xor edx, ebx
xor edx, dword [esi + 0x3c]
xor ebx, ebx
mov bh, byte [edi + ebp]
mov dword [esp + 0x3c], edx
mov edx, eax
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + edi]
xor ebx, edx
mov edx, dword [esp + 0x34]
shr edx, 8
shl ebx, 8
movzx edx, dl
movzx edx, byte [edx + edi]
xor ebx, edx
mov edx, dword [esp + 0x38]
shl ebx, 8
movzx ebp, dl
movzx ebp, byte [edi + ebp]
xor ebx, ebp
xor ebx, dword [esi + 0x40]
mov dword [esp + 0x14], ebx
shr eax, 0x18
xor ebx, ebx
mov bh, byte [eax + edi]
mov eax, dword [esp + 0x34]
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + edi]
xor ebx, eax
shr edx, 8
movzx edx, dl
movzx eax, byte [edx + edi]
movzx edx, byte [esp + 0x30]
shl ebx, 8
xor ebx, eax
movzx eax, byte [edx + edi]
shl ebx, 8
xor ebx, eax
xor ebx, dword [esi + 0x44]
mov eax, dword [esp + 0x2c]
mov ebp, ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x1c], ebp
jmp 0x4081de
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x18]
mov ebp, dword [esp + 0x24]
xor ebp, eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x24], ebp
xor dword [esp + 0x2c], eax
nop
movzx ebp, byte [esp + 0x22]
mov dword [esp + 0x10], ebp
movzx eax, bh
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x400]
mov eax, dword [esp + 0x14]
and eax, 0xff
mov eax, dword [ecx + eax*4 + 0xc00]
mov dword [esp + 0x10], ebp
xor ebp, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ebp
shr eax, 0x18
xor ebp, dword [ecx + eax*4]
xor ebp, dword [esi + 0x20]
movzx eax, byte [esp + 0x15]
mov dword [esp + 0x34], ebp
movzx ebp, byte [esp + 0x1a]
mov dword [esp + 0x10], ebp
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x400]
mov eax, edx
and eax, 0xff
xor ebp, dword [ecx + eax*4 + 0xc00]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ebp
shr eax, 0x18
xor ebp, dword [ecx + eax*4]
xor ebp, dword [esi + 0x24]
mov dword [esp + 0x38], ebp
movzx ebp, byte [esp + 0x3e]
mov dword [esp + 0x10], ebp
movzx eax, dh
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x400]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], ebp
and eax, 0xff
mov eax, dword [ecx + eax*4 + 0xc00]
xor ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], ebp
shr eax, 0x18
xor ebp, dword [ecx + eax*4]
xor ebp, dword [esi + 0x28]
movzx eax, byte [esp + 0x26]
mov dword [esp + 0x30], ebp
movzx ebp, byte [esp + 0x29]
mov dword [esp + 0x10], ebp
mov ebp, dword [ecx + eax*4 + 0x400]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x800]
shr edx, 0x18
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
and ebp, 0xff
xor eax, dword [ecx + ebp*4 + 0xc00]
mov ebp, dword [ecx + edx*4]
mov edx, dword [esi + 0x34]
xor eax, ebp
movzx ebp, byte [esp + 0x16]
xor eax, edx
movzx edx, byte [esp + 0x25]
mov dword [esp + 0x3c], ebp
mov ebp, dword [ecx + edx*4 + 0x800]
mov edx, dword [esp + 0x3c]
xor ebp, dword [ecx + edx*4 + 0x400]
mov edx, dword [esp + 0x2c]
and edx, 0xff
mov dword [esp + 0x3c], ebp
xor ebp, dword [ecx + edx*4 + 0xc00]
mov edx, ebx
mov dword [esp + 0x10], eax
shr edx, 0x18
xor ebp, dword [ecx + edx*4]
xor ebp, dword [esi + 0x2c]
movzx edx, byte [esp + 0x2d]
mov dword [esp + 0x40], ebp
movzx ebp, byte [esp + 0x1e]
mov dword [esp + 0x1c], ebp
mov ebp, dword [ecx + edx*4 + 0x800]
mov edx, dword [esp + 0x1c]
xor ebp, dword [ecx + edx*4 + 0x400]
mov edx, dword [esp + 0x28]
and edx, 0xff
xor ebp, dword [ecx + edx*4 + 0xc00]
mov edx, dword [esp + 0x14]
shr edx, 0x18
xor ebp, dword [ecx + edx*4]
xor ebp, dword [esi + 0x30]
movzx edx, byte [esp + 0x21]
mov dword [esp + 0x14], ebp
movzx ebp, byte [esp + 0x2e]
mov dword [esp + 0x1c], ebp
mov ebp, dword [ecx + edx*4 + 0x800]
mov edx, dword [esp + 0x1c]
xor ebp, dword [ecx + edx*4 + 0x400]
mov edx, dword [esp + 0x18]
and edx, 0xff
mov edx, dword [ecx + edx*4 + 0xc00]
mov dword [esp + 0x1c], ebp
xor ebp, edx
mov edx, dword [esp + 0x24]
shr edx, 0x18
mov dword [esp + 0x1c], ebp
xor ebp, dword [ecx + edx*4]
xor ebp, dword [esi + 0x38]
movzx edx, byte [esp + 0x19]
mov dword [esp + 0x24], ebp
movzx ebp, byte [esp + 0x2a]
mov dword [esp + 0x1c], ebp
mov ebp, dword [ecx + edx*4 + 0x800]
mov edx, dword [esp + 0x1c]
xor ebp, dword [ecx + edx*4 + 0x400]
and ebx, 0xff
xor ebp, dword [ecx + ebx*4 + 0xc00]
mov edx, dword [esp + 0x2c]
shr edx, 0x18
mov ebx, dword [ecx + edx*4]
mov edx, dword [esi + 0x3c]
xor ebp, ebx
mov ebx, dword [esp + 0x40]
xor ebp, edx
mov dword [esp + 0x2c], ebp
movzx ebp, byte [esp + 0x3a]
movzx edx, bh
mov edx, dword [ecx + edx*4 + 0x800]
xor edx, dword [ecx + ebp*4 + 0x400]
mov ebp, dword [esp + 0x14]
and ebp, 0xff
xor edx, dword [ecx + ebp*4 + 0xc00]
mov ebp, dword [esp + 0x34]
shr ebp, 0x18
xor edx, dword [ecx + ebp*4]
xor edx, dword [esi + 0x40]
movzx ebp, byte [esp + 0x32]
mov dword [esp + 0x28], edx
movzx edx, byte [esp + 0x15]
mov edx, dword [ecx + edx*4 + 0x800]
xor edx, dword [ecx + ebp*4 + 0x400]
mov ebp, eax
and ebp, 0xff
xor edx, dword [ecx + ebp*4 + 0xc00]
mov ebp, dword [esp + 0x38]
shr ebp, 0x18
xor edx, dword [ecx + ebp*4]
xor edx, dword [esi + 0x44]
mov dword [esp + 0x20], edx
movzx edx, ah
mov edx, dword [ecx + edx*4 + 0x800]
movzx ebp, byte [esp + 0x42]
xor edx, dword [ecx + ebp*4 + 0x400]
mov ebp, dword [esp + 0x24]
and ebp, 0xff
xor edx, dword [ecx + ebp*4 + 0xc00]
mov ebp, dword [esp + 0x30]
shr ebp, 0x18
xor edx, dword [ecx + ebp*4]
xor edx, dword [esi + 0x48]
movzx ebp, byte [esp + 0x26]
shr eax, 0x18
mov dword [esp + 0x18], edx
movzx edx, byte [esp + 0x35]
mov edx, dword [ecx + edx*4 + 0x800]
xor edx, dword [ecx + ebp*4 + 0x400]
mov ebp, dword [esp + 0x38]
and ebp, 0xff
xor edx, dword [ecx + ebp*4 + 0xc00]
mov ebp, dword [ecx + eax*4]
mov eax, dword [esi + 0x54]
xor edx, ebp
movzx ebp, byte [esp + 0x16]
xor edx, eax
movzx eax, byte [esp + 0x25]
mov eax, dword [ecx + eax*4 + 0x800]
xor eax, dword [ecx + ebp*4 + 0x400]
mov ebp, dword [esp + 0x2c]
and ebp, 0xff
xor eax, dword [ecx + ebp*4 + 0xc00]
shr ebx, 0x18
xor eax, dword [ecx + ebx*4]
mov ebx, dword [esi + 0x4c]
movzx ebp, byte [esp + 0x12]
xor ebx, eax
movzx eax, byte [esp + 0x2d]
mov eax, dword [ecx + eax*4 + 0x800]
xor eax, dword [ecx + ebp*4 + 0x400]
mov ebp, dword [esp + 0x34]
and ebp, 0xff
xor eax, dword [ecx + ebp*4 + 0xc00]
mov ebp, dword [esp + 0x14]
shr ebp, 0x18
xor eax, dword [ecx + ebp*4]
xor eax, dword [esi + 0x50]
movzx ebp, byte [esp + 0x2e]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x39]
mov eax, dword [ecx + eax*4 + 0x800]
xor eax, dword [ecx + ebp*4 + 0x400]
mov ebp, dword [esp + 0x30]
and ebp, 0xff
xor eax, dword [ecx + ebp*4 + 0xc00]
mov ebp, dword [esp + 0x24]
shr ebp, 0x18
xor eax, dword [ecx + ebp*4]
xor eax, dword [esi + 0x58]
movzx ebp, byte [esp + 0x36]
mov dword [esp + 0x24], eax
movzx eax, byte [esp + 0x31]
mov eax, dword [ecx + eax*4 + 0x800]
xor eax, dword [ecx + ebp*4 + 0x400]
mov ebp, dword [esp + 0x40]
and ebp, 0xff
xor eax, dword [ecx + ebp*4 + 0xc00]
mov ebp, dword [esp + 0x2c]
shr ebp, 0x18
xor eax, dword [ecx + ebp*4]
xor eax, dword [esi + 0x5c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x70]
add esi, 0x40
cmp esi, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], ebx
jb 0x407990
movzx ebp, byte [esp + 0x22]
mov dword [esp + 0x10], ebp
movzx eax, bh
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x400]
mov eax, dword [esp + 0x14]
and eax, 0xff
mov eax, dword [ecx + eax*4 + 0xc00]
mov dword [esp + 0x10], ebp
xor ebp, eax
mov eax, dword [esp + 0x28]
shr eax, 0x18
mov dword [esp + 0x10], ebp
xor ebp, dword [ecx + eax*4]
xor ebp, dword [esi + 0x20]
movzx eax, byte [esp + 0x15]
mov dword [esp + 0x34], ebp
movzx ebp, byte [esp + 0x1a]
mov dword [esp + 0x10], ebp
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x400]
mov eax, edx
and eax, 0xff
xor ebp, dword [ecx + eax*4 + 0xc00]
mov eax, dword [esp + 0x20]
shr eax, 0x18
mov dword [esp + 0x10], ebp
xor ebp, dword [ecx + eax*4]
xor ebp, dword [esi + 0x24]
mov dword [esp + 0x38], ebp
movzx ebp, byte [esp + 0x3e]
mov dword [esp + 0x10], ebp
movzx eax, dh
mov ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x400]
mov eax, dword [esp + 0x24]
and eax, 0xff
mov eax, dword [ecx + eax*4 + 0xc00]
mov dword [esp + 0x10], ebp
xor ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], ebp
shr eax, 0x18
xor ebp, dword [ecx + eax*4]
xor ebp, dword [esi + 0x28]
movzx eax, byte [esp + 0x26]
mov dword [esp + 0x30], ebp
movzx ebp, byte [esp + 0x29]
mov dword [esp + 0x10], ebp
mov ebp, dword [ecx + eax*4 + 0x400]
mov eax, dword [esp + 0x10]
xor ebp, dword [ecx + eax*4 + 0x800]
mov eax, dword [esp + 0x20]
shr edx, 0x18
mov dword [esp + 0x10], ebp
and eax, 0xff
xor ebp, dword [ecx + eax*4 + 0xc00]
mov eax, dword [ecx + edx*4]
movzx edx, byte [esp + 0x25]
xor ebp, eax
xor ebp, dword [esi + 0x34]
movzx eax, byte [esp + 0x16]
mov dword [esp + 0x10], ebp
mov ebp, dword [ecx + edx*4 + 0x800]
mov edx, dword [ecx + eax*4 + 0x400]
mov eax, dword [esp + 0x2c]
xor ebp, edx
mov edx, eax
and edx, 0xff
xor ebp, dword [ecx + edx*4 + 0xc00]
mov edx, ebx
shr edx, 0x18
xor ebp, dword [ecx + edx*4]
xor ebp, dword [esi + 0x2c]
movzx edx, byte [esp + 0x1e]
mov dword [esp + 0x40], ebp
mov ebp, dword [ecx + edx*4 + 0x400]
mov edx, dword [esp + 0x28]
and edx, 0xff
mov dword [esp + 0x1c], edx
movzx eax, ah
mov eax, dword [ecx + eax*4 + 0x800]
xor eax, ebp
mov ebp, dword [ecx + edx*4 + 0xc00]
mov edx, dword [esp + 0x14]
shr edx, 0x18
mov dword [esp + 0x1c], edx
xor eax, ebp
mov ebp, dword [ecx + edx*4]
mov edx, dword [esi + 0x30]
xor eax, ebp
movzx ebp, byte [esp + 0x2e]
xor eax, edx
movzx edx, byte [esp + 0x21]
mov dword [esp + 0x1c], ebp
mov ebp, dword [ecx + edx*4 + 0x800]
mov edx, dword [esp + 0x1c]
xor ebp, dword [ecx + edx*4 + 0x400]
mov edx, dword [esp + 0x18]
and edx, 0xff
mov dword [esp + 0x1c], ebp
xor ebp, dword [ecx + edx*4 + 0xc00]
mov edx, dword [esp + 0x24]
shr edx, 0x18
xor ebp, dword [ecx + edx*4]
xor ebp, dword [esi + 0x38]
movzx edx, byte [esp + 0x19]
mov dword [esp + 0x24], ebp
movzx ebp, byte [esp + 0x2a]
and ebx, 0xff
mov dword [esp + 0x1c], ebp
mov ebp, dword [ecx + edx*4 + 0x800]
mov edx, dword [esp + 0x1c]
xor ebp, dword [ecx + edx*4 + 0x400]
xor ebp, dword [ecx + ebx*4 + 0xc00]
mov edx, dword [esp + 0x2c]
shr edx, 0x18
mov ebx, dword [ecx + edx*4]
mov edx, dword [esi + 0x3c]
xor ebp, ebx
xor ebp, edx
mov edx, dword [esp + 0x34]
shr edx, 0x18
xor ebx, ebx
mov bh, byte [edx + edi]
mov edx, dword [esp + 0x38]
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + edi]
xor ebx, edx
mov edx, dword [esp + 0x40]
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + edi]
shl ebx, 8
xor ebx, edx
movzx edx, al
movzx edx, byte [edx + edi]
shl ebx, 8
xor ebx, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x2c], ebp
xor ebx, dword [esi + 0x40]
shr edx, 0x18
mov dword [esp + 0x28], ebx
xor ebx, ebx
mov bh, byte [edx + edi]
mov edx, dword [esp + 0x30]
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + edi]
xor ebx, edx
shl ebx, 8
mov edx, eax
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + edi]
xor ebx, edx
movzx edx, byte [esp + 0x10]
movzx edx, byte [edx + edi]
mov ebp, dword [esi + 0x44]
shl ebx, 8
xor ebx, edx
mov edx, dword [esp + 0x30]
xor ebx, ebp
mov dword [esp + 0x20], ebx
shr edx, 0x18
xor ebx, ebx
mov bh, byte [edx + edi]
mov edx, dword [esp + 0x40]
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + edi]
xor ebx, edx
mov edx, dword [esp + 0x10]
shr edx, 8
mov ebp, dword [esi + 0x48]
shl ebx, 8
movzx edx, dl
movzx edx, byte [edx + edi]
xor ebx, edx
movzx edx, byte [esp + 0x24]
movzx edx, byte [edx + edi]
shl ebx, 8
xor ebx, edx
mov edx, dword [esp + 0x40]
xor ebx, ebp
mov dword [esp + 0x18], ebx
xor ebx, ebx
shr edx, 0x18
mov bh, byte [edx + edi]
mov edx, eax
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + edi]
xor ebx, edx
mov edx, dword [esp + 0x24]
shl ebx, 8
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + edi]
xor ebx, edx
mov edx, dword [esp + 0x2c]
shl ebx, 8
movzx ebp, dl
movzx ebp, byte [edi + ebp]
xor ebx, ebp
mov ebp, dword [esi + 0x4c]
shr eax, 0x18
xor ebx, ebp
mov dword [esp + 0x3c], ebx
xor ebx, ebx
mov bh, byte [eax + edi]
mov eax, dword [esp + 0x10]
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + edi]
xor ebx, eax
mov eax, edx
shr eax, 8
movzx eax, al
movzx eax, byte [eax + edi]
shl ebx, 8
xor ebx, eax
movzx eax, byte [esp + 0x34]
movzx eax, byte [eax + edi]
shl ebx, 8
xor ebx, eax
xor ebx, dword [esi + 0x50]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
shr eax, 0x10
movzx eax, al
movzx ebp, byte [eax + edi]
mov eax, dword [esp + 0x10]
shr eax, 0x18
xor ebx, ebx
mov bh, byte [eax + edi]
mov eax, dword [esp + 0x34]
shr eax, 8
movzx eax, al
movzx eax, byte [eax + edi]
xor ebp, ebx
shl ebp, 8
xor ebp, eax
movzx eax, byte [esp + 0x38]
movzx eax, byte [eax + edi]
shl ebp, 8
xor ebp, eax
xor ebp, dword [esi + 0x54]
mov eax, dword [esp + 0x24]
shr eax, 0x18
xor ebx, ebx
mov bh, byte [eax + edi]
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + edi]
xor ebx, eax
mov eax, dword [esp + 0x38]
shr eax, 8
movzx eax, al
movzx eax, byte [eax + edi]
shl ebx, 8
xor ebx, eax
movzx eax, byte [esp + 0x30]
movzx eax, byte [eax + edi]
shl ebx, 8
xor ebx, eax
xor ebx, dword [esi + 0x58]
xor eax, eax
shr edx, 0x18
mov ah, byte [edx + edi]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
shr eax, 0x10
movzx edx, al
movzx eax, byte [edx + edi]
mov edx, dword [esp + 0x10]
xor edx, eax
mov eax, dword [esp + 0x30]
shr eax, 8
movzx eax, al
movzx eax, byte [eax + edi]
shl edx, 8
xor edx, eax
movzx eax, byte [esp + 0x40]
movzx eax, byte [eax + edi]
shl edx, 8
xor edx, eax
mov eax, dword [esi + 0x5c]
xor eax, edx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x4082a0
mov edx, dword [esp + 0xa0]
test edx, edx
jne 0x40822e
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], edx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x60], eax
jmp 0x4082a0
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x28]
xor esi, edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x20]
xor esi, edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x18]
xor esi, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x3c]
xor esi, edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x14]
xor esi, edx
xor ebp, dword [esp + 0x84]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x14], esi
xor ebx, dword [esp + 0x8c]
xor eax, edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0xac]
test edx, edx
je 0x40835b
mov eax, dword [esp + 0x28]
bswap eax
mov dword [edx], eax
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x40830a
mov eax, dword [esp + 0x20]
bswap eax
mov dword [edx + 4], eax
mov eax, dword [esp + 0x18]
bswap eax
mov dword [edx + 8], eax
mov eax, dword [esp + 0x3c]
bswap eax
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x14]
bswap eax
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x1c]
bswap eax
mov dword [edx + 0x14], eax
cmp dword [esp + 0x48], 0x18
jle 0x408350
mov eax, dword [esp + 0x24]
bswap eax
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x2c]
bswap eax
mov dword [edx + 0x1c], eax
jmp 0x408350
mov eax, dword [esp + 0x20]
bswap eax
mov dword [edx - 4], eax
mov eax, dword [esp + 0x18]
bswap eax
mov dword [edx - 8], eax
mov eax, dword [esp + 0x3c]
bswap eax
mov dword [edx - 0xc], eax
mov eax, dword [esp + 0x14]
bswap eax
mov dword [edx - 0x10], eax
mov eax, dword [esp + 0x1c]
bswap eax
mov dword [edx - 0x14], eax
cmp dword [esp + 0x48], 0x18
jle 0x408350
mov eax, dword [esp + 0x24]
bswap eax
mov dword [edx - 0x18], eax
mov eax, dword [esp + 0x2c]
bswap eax
mov dword [edx - 0x1c], eax
add edx, dword [esp + 0x48]
mov dword [esp + 0xac], edx
mov eax, dword [esp + 0xa8]
cmp eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0xa4]
jb 0x40708e
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x48]
test ebp, ebp
je 0x4083e1
cmp esi, 0x10
jle 0x4083b5
cmp esi, 0x18
jle 0x40839f
sub ebp, edx
mov eax, dword [esp + 0x60]
bswap eax
mov dword [ebp], eax
sub ebp, edx
mov eax, dword [esp + 0x4c]
bswap eax
mov dword [ebp], eax
sub ebp, edx
mov eax, dword [esp + 0x58]
bswap eax
mov dword [ebp], eax
sub ebp, edx
mov eax, dword [esp + 0x68]
bswap eax
mov dword [ebp], eax
sub ebp, edx
mov eax, dword [esp + 0x50]
bswap eax
mov dword [ebp], eax
sub ebp, edx
mov eax, dword [esp + 0x54]
bswap eax
mov dword [ebp], eax
sub ebp, edx
mov eax, dword [esp + 0x5c]
bswap eax
mov dword [ebp], eax
mov eax, dword [esp + 0x64]
bswap eax
sub ebp, edx
mov dword [ebp], eax
mov ecx, dword [esp + 0x9c]
mov eax, dword [ecx]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x88
ret
pop esi
mov eax, 0x80000003
pop ebx
add esp, 0x88
ret