Function at 0x4305d8
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], ebx
mov dword [ebp - 0x54], 0
mov eax, dword [0x61fc80]
mov dword [ebp - 0x50], eax
mov eax, dword [0x61fc84]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x61fc88]
mov dword [ebp - 0x48], eax
mov eax, dword [0x61fc8c]
mov dword [ebp - 0x44], eax
mov eax, dword [0x61fc90]
mov dword [ebp - 0x40], eax
mov eax, dword [0x61fc94]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x61fc98]
mov dword [ebp - 0x38], eax
mov eax, dword [0x61fc9c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x30], eax
call fcn.00437582
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0x20
jle 0x43065a
mov eax, 0xc
mov ebx, dword [ebp - 4]
leave
ret
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
cmp eax, edx
jge 0x4306d1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx eax, byte [edx + eax]
mov byte [ebp + ecx*4 - 0x50], al
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
movzx eax, byte [edx + eax + 1]
mov byte [ebp + ecx*4 - 0x4f], al
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
movzx eax, byte [edx + eax + 2]
mov byte [ebp + ecx*4 - 0x4e], al
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
movzx eax, byte [edx + eax + 3]
mov byte [ebp + ecx*4 - 0x4d], al
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
cmp eax, edx
jl 0x43066c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 6
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jge 0x430767
mov eax, dword [ebp - 0x18]
inc eax
mov edx, dword [ebp - 0x14]
cmp edx, eax
jl 0x430716
jmp 0x430767
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jl 0x4306fd
jmp 0x430767
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jge 0x430753
mov eax, dword [ebp - 0x20]
cmp eax, 4
jge 0x430753
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
add edx, edx
add edx, edx
add edx, edx
add edx, edx
add edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x50]
mov dword [edx + ecx*4], eax
inc dword [ebp - 0x24]
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jl 0x430720
mov eax, dword [ebp - 0x20]
cmp eax, 4
jne 0x43070a
inc dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
jmp 0x43070a
mov eax, dword [ebp - 0x18]
inc eax
mov edx, dword [ebp - 0x14]
cmp edx, eax
jge 0x43094c
movzx eax, byte [ebp - 0x50]
mov edx, dword [ebp - 0x1c]
movzx edx, byte [ebp + edx*4 - 0x53]
movzx edx, dl
movzx edx, byte [edx + str.cw]
xor eax, edx
mov byte [ebp - 0x50], al
movzx eax, byte [ebp - 0x4f]
mov edx, dword [ebp - 0x1c]
movzx edx, byte [ebp + edx*4 - 0x52]
movzx edx, dl
movzx edx, byte [edx + str.cw]
xor eax, edx
mov byte [ebp - 0x4f], al
movzx eax, byte [ebp - 0x4e]
mov edx, dword [ebp - 0x1c]
movzx edx, byte [ebp + edx*4 - 0x51]
movzx edx, dl
movzx edx, byte [edx + str.cw]
xor eax, edx
mov byte [ebp - 0x4e], al
movzx eax, byte [ebp - 0x4d]
mov edx, dword [ebp - 0x1c]
movzx edx, byte [ebp + edx*4 - 0x54]
movzx edx, dl
movzx edx, byte [edx + str.cw]
xor eax, edx
mov byte [ebp - 0x4d], al
mov eax, dword [ebp - 0x54]
mov edx, eax
inc edx
mov dword [ebp - 0x54], edx
movzx edx, byte [ebp - 0x50]
xor edx, dword [eax*4 + 0x671f40]
mov byte [ebp - 0x50], dl
mov eax, dword [ebp - 0x50]
xor eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
xor eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
xor eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
cmp eax, 8
je 0x43083c
mov eax, dword [ebp - 8]
cmp eax, 6
je 0x4308b5
mov eax, dword [ebp - 8]
cmp eax, 4
je 0x4308c7
jmp 0x430650
movzx eax, byte [ebp - 0x40]
movzx edx, byte [ebp - 0x44]
movzx edx, dl
movzx edx, byte [edx + str.cw]
xor eax, edx
mov byte [ebp - 0x40], al
movzx eax, byte [ebp - 0x3f]
movzx edx, byte [ebp - 0x43]
movzx edx, dl
movzx edx, byte [edx + str.cw]
xor eax, edx
mov byte [ebp - 0x3f], al
movzx eax, byte [ebp - 0x3e]
movzx edx, byte [ebp - 0x42]
movzx edx, dl
movzx edx, byte [edx + str.cw]
xor eax, edx
mov byte [ebp - 0x3e], al
movzx eax, byte [ebp - 0x3d]
movzx edx, byte [ebp - 0x41]
movzx edx, dl
movzx edx, byte [edx + str.cw]
xor eax, edx
mov byte [ebp - 0x3d], al
mov eax, dword [ebp - 0x40]
xor eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
xor eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
jmp 0x4308c7
mov eax, dword [ebp - 0x44]
xor eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
xor eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jge 0x430767
mov eax, dword [ebp - 0x18]
inc eax
mov edx, dword [ebp - 0x14]
cmp edx, eax
jl 0x4308fb
jmp 0x430767
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jl 0x4308dc
jmp 0x430767
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jge 0x430938
mov eax, dword [ebp - 0x20]
cmp eax, 4
jge 0x430938
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
add edx, edx
add edx, edx
add edx, edx
add edx, edx
add edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x50]
mov dword [edx + ecx*4], eax
inc dword [ebp - 0x24]
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jl 0x430905
mov eax, dword [ebp - 0x20]
cmp eax, 4
jne 0x4308ec
inc dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
jmp 0x4308ec
mov eax, dword [ebp + 0x10]
cmp eax, 1
jne 0x430ac6
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jl 0x43097f
jmp 0x430a01
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x430a01
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
cmp eax, 4
jge 0x43096e
mov eax, dword [ebp - 0x14]
add eax, eax
add eax, eax
add eax, eax
add eax, eax
add eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 0x10]
movzx eax, al
movzx edx, byte [ebp - 0xf]
movzx edx, dl
mov edx, dword [edx*4 + 0x671740]
xor edx, dword [eax*4 + 0x671b40]
movzx eax, byte [ebp - 0xe]
movzx eax, al
xor edx, dword [eax*4 + 0x671340]
movzx eax, byte [ebp - 0xd]
movzx eax, al
xor edx, dword [eax*4 + 0x670f40]
mov eax, dword [ebp - 0x14]
add eax, eax
add eax, eax
add eax, eax
add eax, eax
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
mov dword [eax + ecx*4], edx
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, 4
jl 0x43098e
jmp 0x43096e
mov eax, dword [ebp - 0x2c]
cmp eax, 0x17
je 0x430a15
mov eax, dword [ebp - 0x2c]
cmp eax, 0x28
jne 0x430ac6
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
shr eax, 0x1f
add eax, dword [ebp - 0x18]
sar eax, 1
mov edx, dword [ebp - 0x14]
cmp edx, eax
jl 0x430a51
jmp 0x430ac6
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
shr eax, 0x1f
add eax, dword [ebp - 0x18]
sar eax, 1
mov edx, dword [ebp - 0x14]
cmp edx, eax
jge 0x430ac6
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
cmp eax, 4
jge 0x430a39
mov eax, dword [ebp - 0x14]
add eax, eax
add eax, eax
add eax, eax
add eax, eax
add eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
add eax, eax
add eax, eax
add eax, eax
add eax, eax
add eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
add ecx, ecx
add ecx, ecx
add ecx, ecx
add ecx, ecx
add ecx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
mov dword [ecx + ebx*4], eax
mov eax, dword [ebp - 0x20]
add eax, eax
add eax, eax
add eax, eax
add eax, eax
add eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, 4
jl 0x430a60
jmp 0x430a39
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x2c]
cmp eax, 0x17
je 0x430adf
mov eax, dword [ebp - 0x2c]
cmp eax, 0x28
jne 0x430afb
mov eax, dword [ebp + 8]
mov dword [eax + 0x100], 0x443d9c
mov eax, dword [ebp + 8]
mov dword [eax + 0x104], 0x444d60
jmp 0x430b15
mov eax, dword [ebp + 8]
mov dword [eax + 0x100], 0x443e00
mov eax, dword [ebp + 8]
mov dword [eax + 0x104], 0x444dc4
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
je 0x430b44
mov eax, dword [ebp - 0x28]
cmp eax, 0x18
je 0x430b44
mov eax, dword [ebp - 0x28]
cmp eax, 0x20
je 0x430b44
mov eax, dword [ebp + 8]
mov edx, 0x430b6e
mov dword [eax + 0x100], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x104], edx
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x430b5a
mov eax, dword [ebp + 8]
mov dword [eax + 0x104], 0x430b6e
jmp 0x430b67
mov eax, dword [ebp + 8]
mov dword [eax + 0x100], 0x430b6e
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret