Function at 0x1004a430
Capabilities:
Contain obfuscated stackstrings
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x10093034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x44], ecx
cmp dword [ebp + 8], 0
jne 0x1004a505
mov eax, 1
imul ecx, eax, 3
mov byte [ebp + ecx - 0x10], 0x74
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x10], 0x45
mov ecx, 1
imul edx, ecx, 6
mov byte [ebp + edx - 0x10], 0x6b
mov eax, 1
imul ecx, eax, 5
mov byte [ebp + ecx - 0x10], 0x20
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x10], 0x70
mov eax, 1
shl eax, 2
mov byte [ebp + eax - 0x10], 0x79
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0x10], 0x65
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x10], 0x6d
mov ecx, 1
imul edx, ecx, 9
mov dword [ebp - 0x74], edx
cmp dword [ebp - 0x74], 0xa
jae 0x1004a4cb
jmp 0x1004a4d0
call fcn.1004f3f2
mov eax, dword [ebp - 0x74]
mov byte [ebp + eax - 0x10], 0
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x10], 0x79
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x98]
call fcn.100496d0
push 0x10090660
lea eax, [ebp - 0x98]
push eax
call fcn.100501e4
cmp dword [ebp + 0x10], 0x10
je 0x1004a666
cmp dword [ebp + 0x10], 0x18
je 0x1004a666
cmp dword [ebp + 0x10], 0x20
je 0x1004a666
mov ecx, 1
imul edx, ecx, 0xb
mov byte [ebp + edx - 0x28], 0x65
mov eax, 1
imul ecx, eax, 7
mov byte [ebp + ecx - 0x28], 0x63
mov edx, 1
imul eax, edx, 0xf
mov byte [ebp + eax - 0x28], 0x65
mov ecx, 1
imul edx, ecx, 0x14
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0x15
jae 0x1004a55d
jmp 0x1004a562
call fcn.1004f3f2
mov eax, dword [ebp - 0x78]
mov byte [ebp + eax - 0x28], 0
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x28], 0x6f
mov eax, 1
imul ecx, eax, 0x13
mov byte [ebp + ecx - 0x28], 0x68
mov edx, 1
imul eax, edx, 6
mov byte [ebp + eax - 0x28], 0x65
mov ecx, 1
imul edx, ecx, 0xd
mov byte [ebp + edx - 0x28], 0x20
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x28], 0x63
mov ecx, 1
imul edx, ecx, 0x12
mov byte [ebp + edx - 0x28], 0x74
mov eax, 1
shl eax, 2
mov byte [ebp + eax - 0x28], 0x72
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x28], 0x49
mov eax, 1
imul ecx, eax, 0xc
mov byte [ebp + ecx - 0x28], 0x79
mov edx, 1
imul eax, edx, 5
mov byte [ebp + eax - 0x28], 0x72
mov ecx, 1
imul edx, ecx, 0x11
mov byte [ebp + edx - 0x28], 0x67
mov eax, 1
imul ecx, eax, 0xa
mov byte [ebp + ecx - 0x28], 0x6b
mov edx, 1
imul eax, edx, 9
mov byte [ebp + eax - 0x28], 0x20
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x28], 0x74
mov edx, 1
shl edx, 4
mov byte [ebp + edx - 0x28], 0x6e
mov eax, 1
imul ecx, eax, 0xe
mov byte [ebp + ecx - 0x28], 0x6c
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x28], 0x6e
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa4]
call fcn.100496d0
push 0x10090660
lea ecx, [ebp - 0xa4]
push ecx
call fcn.100501e4
cmp dword [ebp + 0x14], 0x10
je 0x1004a7e1
cmp dword [ebp + 0x14], 0x18
je 0x1004a7e1
cmp dword [ebp + 0x14], 0x20
je 0x1004a7e1
mov edx, 1
imul eax, edx, 0xf
mov byte [ebp + eax - 0x40], 0x20
mov ecx, 1
imul edx, ecx, 0xb
mov byte [ebp + edx - 0x40], 0x6c
mov eax, 1
imul ecx, eax, 0xa
mov byte [ebp + ecx - 0x40], 0x62
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x40], 0x6e
mov eax, 1
imul ecx, eax, 0x16
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x7c], 0x17
jae 0x1004a6cb
jmp 0x1004a6d0
call fcn.1004f3f2
mov edx, dword [ebp - 0x7c]
mov byte [ebp + edx - 0x40], 0
mov eax, 1
imul ecx, eax, 0x13
mov byte [ebp + ecx - 0x40], 0x67
mov edx, 1
shl edx, 3
mov byte [ebp + edx - 0x40], 0x74
mov eax, 1
imul ecx, eax, 0x14
mov byte [ebp + ecx - 0x40], 0x74
mov edx, 1
imul eax, edx, 6
mov byte [ebp + eax - 0x40], 0x65
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x40], 0x6f
mov eax, 1
imul ecx, eax, 0x11
mov byte [ebp + ecx - 0x40], 0x65
mov edx, 1
shl edx, 4
mov byte [ebp + edx - 0x40], 0x6c
mov eax, 1
imul ecx, eax, 0x12
mov byte [ebp + ecx - 0x40], 0x6e
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x40], 0x49
mov ecx, 1
imul edx, ecx, 9
mov byte [ebp + edx - 0x40], 0x20
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x40], 0x63
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0x40], 0x63
mov eax, 1
imul ecx, eax, 0xe
mov byte [ebp + ecx - 0x40], 0x6b
mov edx, 1
imul eax, edx, 0xc
mov byte [ebp + eax - 0x40], 0x6f
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0x40], 0x72
mov edx, 1
imul eax, edx, 5
mov byte [ebp + eax - 0x40], 0x72
mov ecx, 1
imul edx, ecx, 0x15
mov byte [ebp + edx - 0x40], 0x68
mov eax, 1
imul ecx, eax, 0xd
mov byte [ebp + ecx - 0x40], 0x63
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0xb0]
call fcn.100496d0
push 0x10090660
lea eax, [ebp - 0xb0]
push eax
call fcn.100501e4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x3c8], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x3cc], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x3cc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x44]
add edx, 0x3d4
push edx
call fcn.100515d0
add esp, 0xc
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x3cc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x3f4
push eax
call fcn.100515d0
add esp, 0xc
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x3c8]
mov dword [ebp - 0x80], edx
cmp dword [ebp - 0x80], 0x10
je 0x1004a855
cmp dword [ebp - 0x80], 0x18
je 0x1004a8ac
jmp 0x1004a8df
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x3cc], 0x10
jne 0x1004a86d
mov dword [ebp - 0x88], 0xa
jmp 0x1004a89b
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x3cc], 0x18
jne 0x1004a885
mov dword [ebp - 0x84], 0xc
jmp 0x1004a88f
mov dword [ebp - 0x84], 0xe
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x88]
mov dword [eax + 0x3d0], ecx
jmp 0x1004a8ec
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x3cc], 0x20
je 0x1004a8c4
mov dword [ebp - 0x8c], 0xc
jmp 0x1004a8ce
mov dword [ebp - 0x8c], 0xe
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x8c]
mov dword [eax + 0x3d0], ecx
jmp 0x1004a8ec
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x3d0], 0xe
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x3cc]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x4c], 0
jmp 0x1004a913
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
cmp eax, dword [edx + 0x3d0]
jg 0x1004a956
mov dword [ebp - 0x48], 0
jmp 0x1004a933
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x60]
jge 0x1004a954
mov eax, dword [ebp - 0x4c]
shl eax, 5
mov ecx, dword [ebp - 0x44]
lea edx, [ecx + eax + 8]
mov eax, dword [ebp - 0x48]
mov dword [edx + eax*4], 0
jmp 0x1004a92a
jmp 0x1004a90a
mov dword [ebp - 0x4c], 0
jmp 0x1004a968
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
cmp eax, dword [edx + 0x3d0]
jg 0x1004a9ae
mov dword [ebp - 0x48], 0
jmp 0x1004a988
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x60]
jge 0x1004a9ac
mov eax, dword [ebp - 0x4c]
shl eax, 5
mov ecx, dword [ebp - 0x44]
lea edx, [ecx + eax + 0x1e8]
mov eax, dword [ebp - 0x48]
mov dword [edx + eax*4], 0
jmp 0x1004a97f
jmp 0x1004a95f
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x3d0]
add edx, 1
imul edx, dword [ebp - 0x60]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x3c8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x414
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x4c], 0
jmp 0x1004a9fa
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebp - 0x5c]
jge 0x1004aa78
mov edx, dword [ebp - 0x58]
movzx eax, byte [edx]
shl eax, 0x18
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax]
shl ecx, 0x10
mov edx, dword [ebp - 0x64]
or ecx, dword [edx]
mov eax, dword [ebp - 0x64]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x58]
add ecx, 1
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
movzx eax, byte [edx]
shl eax, 8
mov ecx, dword [ebp - 0x64]
or eax, dword [ecx]
mov edx, dword [ebp - 0x64]
mov dword [edx], eax
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x64]
or edx, dword [eax]
mov ecx, dword [ebp - 0x64]
mov dword [ecx], edx
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x64]
add eax, 4
mov dword [ebp - 0x64], eax
jmp 0x1004a9f1
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
jmp 0x1004aa9a
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x5c]
jge 0x1004ab0d
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x70]
jge 0x1004ab0d
mov eax, dword [ebp - 0x50]
cdq
idiv dword [ebp - 0x60]
shl eax, 5
mov edx, dword [ebp - 0x44]
lea ecx, [edx + eax + 8]
mov eax, dword [ebp - 0x50]
cdq
idiv dword [ebp - 0x60]
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
mov eax, dword [esi + eax*4 + 0x414]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0x50]
cdq
idiv dword [ebp - 0x60]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x3d0]
sub edx, eax
shl edx, 5
mov eax, dword [ebp - 0x44]
lea ecx, [eax + edx + 0x1e8]
mov eax, dword [ebp - 0x50]
cdq
idiv dword [ebp - 0x60]
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
mov eax, dword [esi + eax*4 + 0x414]
mov dword [ecx + edx*4], eax
jmp 0x1004aa88
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x70]
jge 0x1004ae27
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + edx*4 + 0x410]
mov dword [ebp - 0x54], ecx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x54]
sar ecx, 0x10
and ecx, 0xff
movsx edx, byte [ecx + str.cw]
and edx, 0xff
shl edx, 0x18
mov ecx, dword [ebp - 0x54]
sar ecx, 8
and ecx, 0xff
movsx ecx, byte [ecx + str.cw]
and ecx, 0xff
shl ecx, 0x10
xor edx, ecx
mov ecx, dword [ebp - 0x54]
and ecx, 0xff
movsx ecx, byte [ecx + str.cw]
and ecx, 0xff
shl ecx, 8
xor edx, ecx
mov ecx, dword [ebp - 0x54]
sar ecx, 0x18
and ecx, 0xff
movsx ecx, byte [ecx + str.cw]
and ecx, 0xff
xor edx, ecx
mov ecx, dword [ebp - 0x6c]
movsx ecx, byte [ecx + 0x1007edb8]
and ecx, 0xff
shl ecx, 0x18
xor edx, ecx
mov ecx, dword [ebp - 0x44]
xor edx, dword [ecx + eax + 0x414]
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 0x44]
mov dword [eax + ecx + 0x414], edx
mov ecx, dword [ebp - 0x6c]
add ecx, 1
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x5c], 8
je 0x1004ac3e
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x5c]
jge 0x1004ac39
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
mov eax, dword [ecx + eax*4 + 0x414]
xor eax, dword [esi + edx*4 + 0x414]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x44]
mov dword [edx + ecx*4 + 0x414], eax
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
jmp 0x1004abf6
jmp 0x1004ad94
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x5c]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x4c], eax
jge 0x1004ac94
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
mov edx, dword [eax + edx*4 + 0x414]
xor edx, dword [esi + ecx*4 + 0x414]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + eax*4 + 0x414], edx
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
jmp 0x1004ac4c
mov eax, dword [ebp - 0x5c]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + eax*4 + 0x410]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x5c]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x54]
and ecx, 0xff
movsx ecx, byte [ecx + str.cw]
and ecx, 0xff
mov edx, dword [ebp - 0x54]
sar edx, 8
and edx, 0xff
movsx edx, byte [edx + str.cw]
and edx, 0xff
shl edx, 8
xor ecx, edx
mov edx, dword [ebp - 0x54]
sar edx, 0x10
and edx, 0xff
movsx edx, byte [edx + str.cw]
and edx, 0xff
shl edx, 0x10
xor ecx, edx
mov edx, dword [ebp - 0x54]
sar edx, 0x18
and edx, 0xff
movsx edx, byte [edx + str.cw]
and edx, 0xff
shl edx, 0x18
xor ecx, edx
mov edx, dword [ebp - 0x44]
xor ecx, dword [edx + eax*4 + 0x414]
mov eax, dword [ebp - 0x5c]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x44]
mov dword [edx + eax*4 + 0x414], ecx
mov eax, dword [ebp - 0x5c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebp - 0x5c]
jge 0x1004ad94
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
mov edx, dword [eax + edx*4 + 0x414]
xor edx, dword [esi + ecx*4 + 0x414]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + eax*4 + 0x414], edx
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
jmp 0x1004ad51
mov dword [ebp - 0x48], 0
jmp 0x1004adaf
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x5c]
jge 0x1004ae22
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x70]
jge 0x1004ae22
mov eax, dword [ebp - 0x50]
cdq
idiv dword [ebp - 0x60]
shl eax, 5
mov edx, dword [ebp - 0x44]
lea ecx, [edx + eax + 8]
mov eax, dword [ebp - 0x50]
cdq
idiv dword [ebp - 0x60]
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
mov eax, dword [esi + eax*4 + 0x414]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0x50]
cdq
idiv dword [ebp - 0x60]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x3d0]
sub edx, eax
shl edx, 5
mov eax, dword [ebp - 0x44]
lea ecx, [eax + edx + 0x1e8]
mov eax, dword [ebp - 0x50]
cdq
idiv dword [ebp - 0x60]
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
mov eax, dword [esi + eax*4 + 0x414]
mov dword [ecx + edx*4], eax
jmp 0x1004ad9d
jmp 0x1004ab14
mov dword [ebp - 0x68], 1
jmp 0x1004ae39
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x68]
cmp eax, dword [edx + 0x3d0]
jge 0x1004aee5
mov dword [ebp - 0x48], 0
jmp 0x1004ae5d
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x60]
jge 0x1004aee0
mov eax, dword [ebp - 0x68]
shl eax, 5
mov ecx, dword [ebp - 0x44]
lea edx, [ecx + eax + 0x1e8]
mov eax, dword [ebp - 0x48]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
sar edx, 0x18
and edx, 0xff
mov eax, dword [ebp - 0x54]
sar eax, 0x10
and eax, 0xff
mov ecx, dword [edx*4 + 0x1007ddb8]
xor ecx, dword [eax*4 + 0x1007e1b8]
mov edx, dword [ebp - 0x54]
sar edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x1007e5b8]
mov eax, dword [ebp - 0x54]
and eax, 0xff
xor ecx, dword [eax*4 + 0x1007e9b8]
mov edx, dword [ebp - 0x68]
shl edx, 5
mov eax, dword [ebp - 0x44]
lea edx, [eax + edx + 0x1e8]
mov eax, dword [ebp - 0x48]
mov dword [edx + eax*4], ecx
jmp 0x1004ae54
jmp 0x1004ae30
mov ecx, dword [ebp - 0x44]
mov byte [ecx + 4], 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004f6b2
mov esp, ebp
pop ebp
ret 0x10