Function at 0x582110
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 0x582148
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0x100
jge 0x5821aa
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 0x582139
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 1
jmp 0x5821cf
mov ecx, dword [ebp - 0x414]
add ecx, 1
mov dword [ebp - 0x414], ecx
cmp dword [ebp - 0x414], 0xa
jge 0x582216
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 0x410]
mov dword [edx*4 + 0x7048f0], 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 0x5821c0
mov byte [0x703ff0], 0x63
mov byte [0x70617b], 0
mov dword [ebp - 0x414], 1
jmp 0x58223f
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0x100
jge 0x58236a
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 + 0x703ff0], al
mov ecx, dword [ebp - 0x410]
mov dl, byte [ebp - 0x414]
mov byte [ecx + 0x706118], dl
jmp 0x582230
mov dword [ebp - 0x414], 0
jmp 0x582385
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0x100
jge 0x582696
mov ecx, dword [ebp - 0x414]
movzx edx, byte [ecx + 0x703ff0]
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 + 0x705d18], eax
mov edx, dword [ebp - 0x414]
mov eax, dword [edx*4 + 0x705d18]
shl eax, 8
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx*4 + 0x705d18]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x414]
mov dword [ecx*4 + 0x705918], eax
mov edx, dword [ebp - 0x414]
mov eax, dword [edx*4 + 0x705918]
shl eax, 8
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx*4 + 0x705918]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x414]
mov dword [ecx*4 + 0x705518], eax
mov edx, dword [ebp - 0x414]
mov eax, dword [edx*4 + 0x705518]
shl eax, 8
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx*4 + 0x705518]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x414]
mov dword [ecx*4 + 0x705118], eax
mov edx, dword [ebp - 0x414]
movzx eax, byte [edx + 0x706118]
mov dword [ebp - 0x410], eax
mov ecx, 0xe
test ecx, ecx
je 0x5824f6
cmp dword [ebp - 0x410], 0
je 0x5824f6
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 0x582500
mov dword [ebp - 0x820], 0
mov eax, 9
test eax, eax
je 0x58253c
cmp dword [ebp - 0x410], 0
je 0x58253c
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 0x582546
mov dword [ebp - 0x824], 0
mov eax, 0xd
test eax, eax
je 0x582582
cmp dword [ebp - 0x410], 0
je 0x582582
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 0x58258c
mov dword [ebp - 0x828], 0
mov eax, 0xb
test eax, eax
je 0x5825c8
cmp dword [ebp - 0x410], 0
je 0x5825c8
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 0x5825d2
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 + 0x704d18], eax
mov edx, dword [ebp - 0x414]
mov eax, dword [edx*4 + 0x704d18]
shl eax, 8
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx*4 + 0x704d18]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x414]
mov dword [ecx*4 + 0x704918], eax
mov edx, dword [ebp - 0x414]
mov eax, dword [edx*4 + 0x704918]
shl eax, 8
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx*4 + 0x704918]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x414]
mov dword [ecx*4 + 0x7044f0], eax
mov edx, dword [ebp - 0x414]
mov eax, dword [edx*4 + 0x7044f0]
shl eax, 8
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx*4 + 0x7044f0]
shr edx, 0x18
or eax, edx
mov ecx, dword [ebp - 0x414]
mov dword [ecx*4 + 0x7040f0], eax
jmp 0x582376
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058a4a9
mov esp, ebp
pop ebp
ret