Function at 0x4018a0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [ebp + 8]
shr eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, 8
cmp ecx, 0x20
jb 0x4018d2
mov dword [ebp - 0x2c], 0
jmp 0x4018fb
mov edx, 8
test edx, edx
je 0x4018e9
mov eax, dword [ebp - 0x34]
ror eax, 8
mov dword [ebp - 0x8c], eax
jmp 0x4018f2
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x2c], edx
mov eax, 8
cmp eax, 0x20
jb 0x40190e
mov dword [ebp - 0x30], 0
jmp 0x401937
mov ecx, 8
test ecx, ecx
je 0x401925
mov edx, dword [ebp - 0x34]
rol edx, 8
mov dword [ebp - 0x90], edx
jmp 0x40192e
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
and edx, 0xff00ff
mov eax, dword [ebp - 0x2c]
and eax, 0xff00ff00
or eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x40], edx
mov eax, 8
cmp eax, 0x20
jb 0x401969
mov dword [ebp - 0x38], 0
jmp 0x401992
mov ecx, 8
test ecx, ecx
je 0x401980
mov edx, dword [ebp - 0x40]
ror edx, 8
mov dword [ebp - 0x94], edx
jmp 0x401989
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x38], ecx
mov edx, 8
cmp edx, 0x20
jb 0x4019a5
mov dword [ebp - 0x3c], 0
jmp 0x4019ce
mov eax, 8
test eax, eax
je 0x4019bc
mov ecx, dword [ebp - 0x40]
rol ecx, 8
mov dword [ebp - 0x98], ecx
jmp 0x4019c5
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
and ecx, 0xff00ff
mov edx, dword [ebp - 0x38]
and edx, 0xff00ff00
or edx, ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
mov edx, 8
cmp edx, 0x20
jb 0x401a01
mov dword [ebp - 0x44], 0
jmp 0x401a2a
mov eax, 8
test eax, eax
je 0x401a18
mov ecx, dword [ebp - 0x4c]
ror ecx, 8
mov dword [ebp - 0x9c], ecx
jmp 0x401a21
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x44], eax
mov ecx, 8
cmp ecx, 0x20
jb 0x401a3d
mov dword [ebp - 0x48], 0
jmp 0x401a66
mov edx, 8
test edx, edx
je 0x401a54
mov eax, dword [ebp - 0x4c]
rol eax, 8
mov dword [ebp - 0xa0], eax
jmp 0x401a5d
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
and eax, 0xff00ff
mov ecx, dword [ebp - 0x44]
and ecx, 0xff00ff00
or ecx, eax
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x58], eax
mov ecx, 8
cmp ecx, 0x20
jb 0x401a98
mov dword [ebp - 0x50], 0
jmp 0x401ac1
mov edx, 8
test edx, edx
je 0x401aaf
mov eax, dword [ebp - 0x58]
ror eax, 8
mov dword [ebp - 0xa4], eax
jmp 0x401ab8
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x50], edx
mov eax, 8
cmp eax, 0x20
jb 0x401ad4
mov dword [ebp - 0x54], 0
jmp 0x401afd
mov ecx, 8
test ecx, ecx
je 0x401aeb
mov edx, dword [ebp - 0x58]
rol edx, 8
mov dword [ebp - 0xa8], edx
jmp 0x401af4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
and edx, 0xff00ff
mov eax, dword [ebp - 0x50]
and eax, 0xff00ff00
or eax, edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
xor edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
xor ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
xor edx, dword [ecx + 0xc]
mov dword [ebp - 4], edx
mov eax, 1
test eax, eax
je 0x401dc6
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, 0xff
mov eax, dword [ecx*4 + 0x415628]
xor eax, dword [edx*4 + 0x415a28]
mov ecx, dword [ebp - 0x14]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x415e28]
mov edx, dword [ebp - 0x18]
and edx, 0xff
xor eax, dword [edx*4 + 0x416228]
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 0x10]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x18]
shr edx, 0x18
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [edx*4 + 0x415628]
xor ecx, dword [eax*4 + 0x415a28]
mov edx, dword [ebp - 4]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x415e28]
mov eax, dword [ebp - 0x14]
and eax, 0xff
xor ecx, dword [eax*4 + 0x416228]
mov edx, dword [ebp - 0x24]
xor ecx, dword [edx + 0x14]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x14]
shr eax, 0x18
mov ecx, dword [ebp - 0x18]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x415628]
xor edx, dword [ecx*4 + 0x415a28]
mov eax, dword [ebp - 8]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x415e28]
mov ecx, dword [ebp - 4]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x416228]
mov eax, dword [ebp - 0x24]
xor edx, dword [eax + 0x18]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 4]
shr ecx, 0x18
mov edx, dword [ebp - 0x14]
shr edx, 0x10
and edx, 0xff
mov eax, dword [ecx*4 + 0x415628]
xor eax, dword [edx*4 + 0x415a28]
mov ecx, dword [ebp - 0x18]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x415e28]
mov edx, dword [ebp - 8]
and edx, 0xff
xor eax, dword [edx*4 + 0x416228]
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 0x1c]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x24]
add edx, 0x20
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
jne 0x401c95
jmp 0x401dc6
mov ecx, dword [ebp - 0x28]
shr ecx, 0x18
mov edx, dword [ebp - 0x10]
shr edx, 0x10
and edx, 0xff
mov eax, dword [ecx*4 + 0x415628]
xor eax, dword [edx*4 + 0x415a28]
mov ecx, dword [ebp - 0xc]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x415e28]
mov edx, dword [ebp - 0x1c]
and edx, 0xff
xor eax, dword [edx*4 + 0x416228]
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x1c]
shr edx, 0x18
mov eax, dword [ebp - 0x28]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [edx*4 + 0x415628]
xor ecx, dword [eax*4 + 0x415a28]
mov edx, dword [ebp - 0x10]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x415e28]
mov eax, dword [ebp - 0xc]
and eax, 0xff
xor ecx, dword [eax*4 + 0x416228]
mov edx, dword [ebp - 0x24]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0xc]
shr eax, 0x18
mov ecx, dword [ebp - 0x1c]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [eax*4 + 0x415628]
xor edx, dword [ecx*4 + 0x415a28]
mov eax, dword [ebp - 0x28]
shr eax, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x415e28]
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x416228]
mov eax, dword [ebp - 0x24]
xor edx, dword [eax + 8]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
mov edx, dword [ebp - 0xc]
shr edx, 0x10
and edx, 0xff
mov eax, dword [ecx*4 + 0x415628]
xor eax, dword [edx*4 + 0x415a28]
mov ecx, dword [ebp - 0x1c]
shr ecx, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x415e28]
mov edx, dword [ebp - 0x28]
and edx, 0xff
xor eax, dword [edx*4 + 0x416228]
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 0xc]
mov dword [ebp - 4], eax
jmp 0x401b42
mov edx, dword [ebp - 0x28]
shr edx, 0x18
mov eax, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff0000
xor eax, edx
mov ecx, dword [ebp - 0xc]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff00
xor eax, edx
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff
xor eax, edx
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x1c]
shr edx, 0x18
mov eax, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
mov ecx, dword [ebp - 0x28]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff0000
xor eax, edx
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff00
xor eax, edx
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff
xor eax, edx
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0xc]
shr edx, 0x18
mov eax, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
mov ecx, dword [ebp - 0x1c]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff0000
xor eax, edx
mov ecx, dword [ebp - 0x28]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff00
xor eax, edx
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff
xor eax, edx
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
shr edx, 0x18
mov eax, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff0000
xor eax, edx
mov ecx, dword [ebp - 0x1c]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff00
xor eax, edx
mov ecx, dword [ebp - 0x28]
and ecx, 0xff
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff
xor eax, edx
mov ecx, dword [ebp - 0x24]
xor eax, dword [ecx + 0xc]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x7c], edx
mov eax, 8
cmp eax, 0x20
jb 0x401f9a
mov dword [ebp - 0x5c], 0
jmp 0x401fc3
mov ecx, 8
test ecx, ecx
je 0x401fb1
mov edx, dword [ebp - 0x7c]
ror edx, 8
mov dword [ebp - 0xac], edx
jmp 0x401fba
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x5c], ecx
mov edx, 8
cmp edx, 0x20
jb 0x401fd6
mov dword [ebp - 0x60], 0
jmp 0x401fff
mov eax, 8
test eax, eax
je 0x401fed
mov ecx, dword [ebp - 0x7c]
rol ecx, 8
mov dword [ebp - 0xb0], ecx
jmp 0x401ff6
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
and ecx, 0xff00ff
mov edx, dword [ebp - 0x5c]
and edx, 0xff00ff00
or edx, ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov ecx, 8
cmp ecx, 0x20
jb 0x40202b
mov dword [ebp - 0x64], 0
jmp 0x402054
mov edx, 8
test edx, edx
je 0x402042
mov eax, dword [ebp - 0x80]
ror eax, 8
mov dword [ebp - 0xb4], eax
jmp 0x40204b
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x64], edx
mov eax, 8
cmp eax, 0x20
jb 0x402067
mov dword [ebp - 0x68], 0
jmp 0x402090
mov ecx, 8
test ecx, ecx
je 0x40207e
mov edx, dword [ebp - 0x80]
rol edx, 8
mov dword [ebp - 0xb8], edx
jmp 0x402087
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
and edx, 0xff00ff
mov eax, dword [ebp - 0x64]
and eax, 0xff00ff00
or eax, edx
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 4], eax
mov edx, 8
cmp edx, 0x20
jb 0x4020bc
mov dword [ebp - 0x6c], 0
jmp 0x4020eb
mov eax, 8
test eax, eax
je 0x4020d6
mov ecx, dword [ebp - 0x84]
ror ecx, 8
mov dword [ebp - 0xbc], ecx
jmp 0x4020e2
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x6c], eax
mov ecx, 8
cmp ecx, 0x20
jb 0x4020fe
mov dword [ebp - 0x70], 0
jmp 0x40212d
mov edx, 8
test edx, edx
je 0x402118
mov eax, dword [ebp - 0x84]
rol eax, 8
mov dword [ebp - 0xc0], eax
jmp 0x402124
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
and eax, 0xff00ff
mov ecx, dword [ebp - 0x6c]
and ecx, 0xff00ff00
or ecx, eax
mov edx, dword [ebp + 0x14]
mov dword [edx + 8], ecx
mov eax, 8
cmp eax, 0x20
jb 0x402159
mov dword [ebp - 0x74], 0
jmp 0x402188
mov ecx, 8
test ecx, ecx
je 0x402173
mov edx, dword [ebp - 0x88]
ror edx, 8
mov dword [ebp - 0xc4], edx
jmp 0x40217f
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x74], ecx
mov edx, 8
cmp edx, 0x20
jb 0x40219b
mov dword [ebp - 0x78], 0
jmp 0x4021ca
mov eax, 8
test eax, eax
je 0x4021b5
mov ecx, dword [ebp - 0x88]
rol ecx, 8
mov dword [ebp - 0xc8], ecx
jmp 0x4021c1
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
and ecx, 0xff00ff
mov edx, dword [ebp - 0x74]
and edx, 0xff00ff00
or edx, ecx
mov eax, dword [ebp + 0x14]
mov dword [eax + 0xc], edx
mov esp, ebp
pop ebp
ret 0x10