Function at 0x582320
Capabilities:
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 1
jmp 0x582358
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0x100
jge 0x5823ba
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp - 0x410]
mov dword [ebp + ecx*4 - 0x408], edx
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x414]
mov dword [ebp + eax*4 - 0x818], ecx
mov edx, dword [ebp - 0x410]
shl edx, 1
mov eax, dword [ebp - 0x410]
and eax, 0x80
neg eax
sbb eax, eax
and eax, 0x1b
xor edx, eax
xor edx, dword [ebp - 0x410]
and edx, 0xff
mov dword [ebp - 0x410], edx
jmp 0x582349
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 1
jmp 0x5823df
mov ecx, dword [ebp - 0x414]
add ecx, 1
mov dword [ebp - 0x414], ecx
cmp dword [ebp - 0x414], 0xa
jge 0x582426
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 0x410]
mov dword [edx*4 + 0x704160], eax
mov ecx, dword [ebp - 0x410]
shl ecx, 1
mov edx, dword [ebp - 0x410]
and edx, 0x80
neg edx
sbb edx, edx
and edx, 0x1b
xor ecx, edx
and ecx, 0xff
mov dword [ebp - 0x410], ecx
jmp 0x5823d0
mov byte [0x703860], 0x63
mov byte [0x7059eb], 0
mov dword [ebp - 0x414], 1
jmp 0x58244f
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0x100
jge 0x58257a
mov ecx, dword [ebp - 0x414]
mov edx, 0xff
sub edx, dword [ebp + ecx*4 - 0x818]
mov eax, dword [ebp + edx*4 - 0x408]
mov dword [ebp - 0x410], eax
mov ecx, dword [ebp - 0x410]
mov dword [ebp - 0x40c], ecx
mov edx, dword [ebp - 0x40c]
shl edx, 1
mov eax, dword [ebp - 0x40c]
sar eax, 7
or edx, eax
and edx, 0xff
mov dword [ebp - 0x40c], edx
mov ecx, dword [ebp - 0x410]
xor ecx, dword [ebp - 0x40c]
mov dword [ebp - 0x410], ecx
mov edx, dword [ebp - 0x40c]
shl edx, 1
mov eax, dword [ebp - 0x40c]
sar eax, 7
or edx, eax
and edx, 0xff
mov dword [ebp - 0x40c], edx
mov ecx, dword [ebp - 0x410]
xor ecx, dword [ebp - 0x40c]
mov dword [ebp - 0x410], ecx
mov edx, dword [ebp - 0x40c]
shl edx, 1
mov eax, dword [ebp - 0x40c]
sar eax, 7
or edx, eax
and edx, 0xff
mov dword [ebp - 0x40c], edx
mov ecx, dword [ebp - 0x410]
xor ecx, dword [ebp - 0x40c]
mov dword [ebp - 0x410], ecx
mov edx, dword [ebp - 0x40c]
shl edx, 1
mov eax, dword [ebp - 0x40c]
sar eax, 7
or edx, eax
and edx, 0xff
mov dword [ebp - 0x40c], edx
mov ecx, dword [ebp - 0x40c]
xor ecx, 0x63
xor ecx, dword [ebp - 0x410]
mov dword [ebp - 0x410], ecx
mov edx, dword [ebp - 0x414]
mov al, byte [ebp - 0x410]
mov byte [edx + 0x703860], al
mov ecx, dword [ebp - 0x410]
mov dl, byte [ebp - 0x414]
mov byte [ecx + 0x705988], dl
jmp 0x582440
mov dword [ebp - 0x414], 0
jmp 0x582595
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0x100
jge 0x5828a6
mov ecx, dword [ebp - 0x414]
movzx edx, byte [ecx + 0x703860]
mov dword [ebp - 0x410], edx
mov eax, dword [ebp - 0x410]
shl eax, 1
mov ecx, dword [ebp - 0x410]
and ecx, 0x80
neg ecx
sbb ecx, ecx
and ecx, 0x1b
xor eax, ecx
and eax, 0xff
mov dword [ebp - 0x40c], eax
mov edx, dword [ebp - 0x40c]
xor edx, dword [ebp - 0x410]
and edx, 0xff
mov dword [ebp - 0x81c], edx
mov eax, dword [ebp - 0x410]
shl eax, 8
xor eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x410]
shl ecx, 0x10
xor eax, ecx
mov edx, dword [ebp - 0x81c]
shl edx, 0x18
xor eax, edx
mov ecx, dword [ebp - 0x414]
mov dword [ecx*4 + 0x705588], eax
mov edx, dword [ebp - 0x414]
mov eax, dword [edx*4 + 0x705588]
shl eax, 8
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx*4 + 0x705588]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x414]
mov dword [ecx*4 + 0x705188], eax
mov edx, dword [ebp - 0x414]
mov eax, dword [edx*4 + 0x705188]
shl eax, 8
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx*4 + 0x705188]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x414]
mov dword [ecx*4 + 0x704d88], eax
mov edx, dword [ebp - 0x414]
mov eax, dword [edx*4 + 0x704d88]
shl eax, 8
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx*4 + 0x704d88]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x414]
mov dword [ecx*4 + 0x704988], eax
mov edx, dword [ebp - 0x414]
movzx eax, byte [edx + 0x705988]
mov dword [ebp - 0x410], eax
mov ecx, 0xe
test ecx, ecx
je 0x582706
cmp dword [ebp - 0x410], 0
je 0x582706
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x7e0]
add eax, dword [ebp + edx*4 - 0x818]
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp + edx*4 - 0x408]
mov dword [ebp - 0x820], edx
jmp 0x582710
mov dword [ebp - 0x820], 0
mov eax, 9
test eax, eax
je 0x58274c
cmp dword [ebp - 0x410], 0
je 0x58274c
mov ecx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x7f4]
add eax, dword [ebp + ecx*4 - 0x818]
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp + edx*4 - 0x408]
mov dword [ebp - 0x824], edx
jmp 0x582756
mov dword [ebp - 0x824], 0
mov eax, 0xd
test eax, eax
je 0x582792
cmp dword [ebp - 0x410], 0
je 0x582792
mov ecx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x7e4]
add eax, dword [ebp + ecx*4 - 0x818]
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp + edx*4 - 0x408]
mov dword [ebp - 0x828], edx
jmp 0x58279c
mov dword [ebp - 0x828], 0
mov eax, 0xb
test eax, eax
je 0x5827d8
cmp dword [ebp - 0x410], 0
je 0x5827d8
mov ecx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x7ec]
add eax, dword [ebp + ecx*4 - 0x818]
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp + edx*4 - 0x408]
mov dword [ebp - 0x82c], edx
jmp 0x5827e2
mov dword [ebp - 0x82c], 0
mov eax, dword [ebp - 0x824]
shl eax, 8
xor eax, dword [ebp - 0x820]
mov ecx, dword [ebp - 0x828]
shl ecx, 0x10
xor eax, ecx
mov edx, dword [ebp - 0x82c]
shl edx, 0x18
xor eax, edx
mov ecx, dword [ebp - 0x414]
mov dword [ecx*4 + 0x704588], eax
mov edx, dword [ebp - 0x414]
mov eax, dword [edx*4 + 0x704588]
shl eax, 8
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx*4 + 0x704588]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x414]
mov dword [ecx*4 + 0x704188], eax
mov edx, dword [ebp - 0x414]
mov eax, dword [edx*4 + 0x704188]
shl eax, 8
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx*4 + 0x704188]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x414]
mov dword [ecx*4 + 0x703d60], eax
mov edx, dword [ebp - 0x414]
mov eax, dword [edx*4 + 0x703d60]
shl eax, 8
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx*4 + 0x703d60]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x414]
mov dword [ecx*4 + 0x703960], eax
jmp 0x582586
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058a6b9
mov esp, ebp
pop ebp
ret