Function at 0x46bf60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x632b20]
xor eax, ebp
mov dword [ebp - 0x8c], eax
push esi
push edi
mov byte [ebp - 0x88], 0
mov byte [ebp - 0x87], 0
mov byte [ebp - 0x86], 0
mov byte [ebp - 0x85], 5
mov byte [ebp - 0x84], 0x80
mov byte [ebp - 0x83], 0
mov byte [ebp - 0x82], 0
mov byte [ebp - 0x81], 5
mov byte [ebp - 0x80], 0
mov byte [ebp - 0x7f], 0x80
mov byte [ebp - 0x7e], 0
mov byte [ebp - 0x7d], 5
mov byte [ebp - 0x7c], 0x80
mov byte [ebp - 0x7b], 0x80
mov byte [ebp - 0x7a], 0
mov byte [ebp - 0x79], 5
mov byte [ebp - 0x78], 0
mov byte [ebp - 0x77], 0
mov byte [ebp - 0x76], 0x80
mov byte [ebp - 0x75], 5
mov byte [ebp - 0x74], 0x80
mov byte [ebp - 0x73], 0
mov byte [ebp - 0x72], 0x80
mov byte [ebp - 0x71], 5
mov byte [ebp - 0x70], 0
mov byte [ebp - 0x6f], 0x80
mov byte [ebp - 0x6e], 0x80
mov byte [ebp - 0x6d], 5
mov byte [ebp - 0x6c], 0xc0
mov byte [ebp - 0x6b], 0xc0
mov byte [ebp - 0x6a], 0xc0
mov byte [ebp - 0x69], 5
mov byte [ebp - 0x68], 0xc0
mov byte [ebp - 0x67], 0xdc
mov byte [ebp - 0x66], 0xc0
mov byte [ebp - 0x65], 5
mov byte [ebp - 0x64], 0xa6
mov byte [ebp - 0x63], 0xca
mov byte [ebp - 0x62], 0xf0
mov byte [ebp - 0x61], 5
mov byte [ebp - 0x60], 0xde
mov byte [ebp - 0x5f], 0
mov byte [ebp - 0x5e], 0
mov byte [ebp - 0x5d], 5
mov byte [ebp - 0x5c], 0xff
mov byte [ebp - 0x5b], 0x5f
mov byte [ebp - 0x5a], 0
mov byte [ebp - 0x59], 5
mov byte [ebp - 0x58], 0xff
mov byte [ebp - 0x57], 0xff
mov byte [ebp - 0x56], 0xa0
mov byte [ebp - 0x55], 5
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x53], 0x5f
mov byte [ebp - 0x52], 0xd2
mov byte [ebp - 0x51], 5
mov byte [ebp - 0x50], 0x50
mov byte [ebp - 0x4f], 0xd2
mov byte [ebp - 0x4e], 0xff
mov byte [ebp - 0x4d], 5
mov byte [ebp - 0x4c], 0x28
mov byte [ebp - 0x4b], 0xe1
mov byte [ebp - 0x4a], 0x28
mov byte [ebp - 0x49], 5
mov byte [ebp - 0x48], 0xf5
mov byte [ebp - 0x47], 0xc3
mov byte [ebp - 0x46], 0x96
mov byte [ebp - 0x45], 5
mov byte [ebp - 0x44], 0xe1
mov byte [ebp - 0x43], 0xa0
mov byte [ebp - 0x42], 0x5f
mov byte [ebp - 0x41], 5
mov byte [ebp - 0x40], 0xc3
mov byte [ebp - 0x3f], 0x7d
mov byte [ebp - 0x3e], 0x46
mov byte [ebp - 0x3d], 5
mov byte [ebp - 0x3c], 0x9b
mov byte [ebp - 0x3b], 0x55
mov byte [ebp - 0x3a], 0x1e
mov byte [ebp - 0x39], 5
mov byte [ebp - 0x38], 0x46
mov byte [ebp - 0x37], 0x41
mov byte [ebp - 0x36], 0x37
mov byte [ebp - 0x35], 5
mov byte [ebp - 0x34], 0x28
mov byte [ebp - 0x33], 0x23
mov byte [ebp - 0x32], 0x1e
mov byte [ebp - 0x31], 5
mov byte [ebp - 0x30], 0xff
mov byte [ebp - 0x2f], 0xfb
mov byte [ebp - 0x2e], 0xf0
mov byte [ebp - 0x2d], 5
mov byte [ebp - 0x2c], 0xa0
mov byte [ebp - 0x2b], 0xa0
mov byte [ebp - 0x2a], 0xa4
mov byte [ebp - 0x29], 5
mov byte [ebp - 0x28], 0x80
mov byte [ebp - 0x27], 0x80
mov byte [ebp - 0x26], 0x80
mov byte [ebp - 0x25], 5
mov byte [ebp - 0x24], 0xff
mov byte [ebp - 0x23], 0
mov byte [ebp - 0x22], 0
mov byte [ebp - 0x21], 5
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0xff
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 5
mov byte [ebp - 0x1c], 0xff
mov byte [ebp - 0x1b], 0xff
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x19], 5
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 0xff
mov byte [ebp - 0x15], 5
mov byte [ebp - 0x14], 0xff
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x12], 0xff
mov byte [ebp - 0x11], 5
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0xff
mov byte [ebp - 0xe], 0xff
mov byte [ebp - 0xd], 5
mov byte [ebp - 0xc], 0xff
mov byte [ebp - 0xb], 0xff
mov byte [ebp - 0xa], 0xff
mov byte [ebp - 9], 5
mov dword [ebp - 4], 0
jmp 0x46c1a2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
jge 0x46c236
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov al, byte [ebp + edx*4 - 0x86]
mov byte [ecx*4 + 0x6b9ee2], al
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov al, byte [ebp + edx*4 - 0x87]
mov byte [ecx*4 + 0x6b9ee1], al
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov al, byte [ebp + edx*4 - 0x88]
mov byte [ecx*4 + 0x6b9ee0], al
mov ecx, dword [ebp - 4]
mov byte [ecx*4 + 0x6b9ee3], 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + eax*4 - 0x2e]
mov byte [edx*4 + 0x6ba2ba], cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + eax*4 - 0x2f]
mov byte [edx*4 + 0x6ba2b9], cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + eax*4 - 0x30]
mov byte [edx*4 + 0x6ba2b8], cl
mov edx, dword [ebp - 4]
mov byte [edx*4 + 0x6ba2bb], 2
jmp 0x46c199
mov dword [ebp - 4], 0
jmp 0x46c248
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 6
jge 0x46c2d3
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov al, byte [ebp + edx*4 - 0x5e]
mov byte [ecx*4 + 0x6b9f0a], al
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov al, byte [ebp + edx*4 - 0x5f]
mov byte [ecx*4 + 0x6b9f09], al
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov al, byte [ebp + edx*4 - 0x60]
mov byte [ecx*4 + 0x6b9f08], al
mov ecx, dword [ebp - 4]
mov byte [ecx*4 + 0x6b9f0b], 5
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + eax*4 - 0x46]
mov byte [edx*4 + 0x6ba2a2], cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + eax*4 - 0x47]
mov byte [edx*4 + 0x6ba2a1], cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + eax*4 - 0x48]
mov byte [edx*4 + 0x6ba2a0], cl
mov edx, dword [ebp - 4]
mov byte [edx*4 + 0x6ba2a3], 5
jmp 0x46c23f
cmp dword [0x6b9ed8], 0
jne 0x46c3c2
push str.palpalet_00.cgp
push 0x607f78
push 0x5e9e9c
lea eax, [ebp - 0x290]
push eax
call fcn.005cc4f5
add esp, 0x10
push 0x5e9ea4
lea ecx, [ebp - 0x290]
push ecx
call fcn.005cd6b5
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46c33b
push 0x10
push str.Error_Code__13
push 0x5e9eb8
mov edx, dword [0x9cef70]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x46c6fa
mov dword [ebp - 4], 0x10
jmp 0x46c34d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xf0
jge 0x46c3a5
mov ecx, dword [ebp - 8]
push ecx
call fcn.005ce115
add esp, 4
mov edx, dword [ebp - 4]
mov byte [edx*4 + 0x6b9ee2], al
mov eax, dword [ebp - 8]
push eax
call fcn.005ce115
add esp, 4
mov ecx, dword [ebp - 4]
mov byte [ecx*4 + 0x6b9ee1], al
mov edx, dword [ebp - 8]
push edx
call fcn.005ce115
add esp, 4
mov ecx, dword [ebp - 4]
mov byte [ecx*4 + 0x6b9ee0], al
mov edx, dword [ebp - 4]
mov byte [edx*4 + 0x6b9ee3], 5
jmp 0x46c344
mov eax, dword [ebp - 8]
push eax
call fcn.005cd459
add esp, 4
mov ecx, 0x100
mov esi, 0x6b9ee0
mov edi, 0x6bbc58
rep movsd dword es:[edi], dword [esi]
mov byte [0x6ba182], 0
mov byte [0x6ba181], 0
mov byte [0x6ba180], 0
push 0
mov ecx, dword [0x6ba8fc]
add ecx, 0x90
push ecx
push 0x6b9ee0
push 4
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 4]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 4]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x14]
call ecx
mov edx, dword [0x6ba8fc]
cmp dword [edx + 0x90], 0
jne 0x46c435
push 0x10
push str.Error_Code__15
push 0x5e9edc
mov eax, dword [0x9cef70]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x46c6fa
cmp dword [0x600f80], 8
jne 0x46c48e
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0x90]
push edx
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 8]
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 8]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x7c]
call edx
test eax, eax
je 0x46c48e
push 0x35
push str.Error_Code__16
push 0x5e9efc
mov eax, dword [0x9cef70]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x46c48c
xor eax, eax
jmp 0x46c6fa
jmp 0x46c43e
cmp dword [0x600f80], 0x10
jne 0x46c54b
mov dword [ebp - 4], 0
jmp 0x46c4ad
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jge 0x46c53e
mov edx, dword [ebp - 4]
movzx eax, byte [edx*4 + 0x6b9ee2]
mov ecx, dword [0x6bc058]
sar eax, cl
mov ecx, dword [0x6bbc54]
shl eax, cl
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx*4 + 0x6b9ee1]
mov ecx, dword [0x6bc068]
sar edx, cl
mov ecx, dword [0x6ba2e0]
shl edx, cl
add eax, edx
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx*4 + 0x6b9ee0]
mov ecx, dword [0x6b9acc]
sar edx, cl
mov ecx, dword [0x6ba6ec]
shl edx, cl
add eax, edx
mov ecx, dword [ebp - 4]
mov word [ecx*2 + 0x6b98c8], ax
mov edx, dword [ebp - 4]
movzx eax, word [edx*2 + 0x6b98c8]
test eax, eax
jne 0x46c539
mov ecx, 1
mov edx, dword [ebp - 4]
mov word [edx*2 + 0x6b98c8], cx
jmp 0x46c4a4
xor eax, eax
mov word [0x6b98c8], ax
jmp 0x46c692
cmp dword [0x600f80], 0x18
jne 0x46c612
mov dword [ebp - 4], 0
jmp 0x46c56a
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jge 0x46c5f8
mov edx, dword [ebp - 4]
imul edx, edx, 3
mov eax, dword [ebp - 4]
mov cl, byte [eax*4 + 0x6b9ee0]
mov byte [edx + 0x6bb94a], cl
mov edx, dword [ebp - 4]
imul edx, edx, 3
mov eax, dword [ebp - 4]
mov cl, byte [eax*4 + 0x6b9ee1]
mov byte [edx + 0x6bb949], cl
mov edx, dword [ebp - 4]
imul edx, edx, 3
mov eax, dword [ebp - 4]
mov cl, byte [eax*4 + 0x6b9ee2]
mov byte [edx + 0x6bb948], cl
mov edx, dword [ebp - 4]
imul edx, edx, 3
movzx eax, byte [edx + 0x6bb94a]
mov ecx, dword [ebp - 4]
imul ecx, ecx, 3
movzx edx, byte [ecx + 0x6bb949]
or eax, edx
mov ecx, dword [ebp - 4]
imul ecx, ecx, 3
movzx edx, byte [ecx + 0x6bb948]
or eax, edx
jne 0x46c5f3
mov eax, dword [ebp - 4]
imul eax, eax, 3
mov byte [eax + 0x6bb948], 1
jmp 0x46c561
mov byte [0x6bb94a], 0
mov byte [0x6bb949], 0
mov byte [0x6bb948], 0
jmp 0x46c692
cmp dword [0x600f80], 0x20
jl 0x46c692
mov dword [ebp - 4], 0
jmp 0x46c62d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jge 0x46c688
mov edx, dword [ebp - 4]
movzx eax, byte [edx*4 + 0x6b9ee2]
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx*4 + 0x6b9ee1]
shl edx, 8
add eax, edx
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx*4 + 0x6b9ee0]
shl edx, 0x10
add eax, edx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x6ba2e8], eax
mov edx, dword [ebp - 4]
cmp dword [edx*4 + 0x6ba2e8], 0
jne 0x46c686
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x6ba2e8], 1
jmp 0x46c624
mov dword [0x6ba2e8], 0
cmp dword [0x6b9ed8], 0
jne 0x46c6e1
mov dword [ebp - 4], 0
jmp 0x46c6ad
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jge 0x46c6e1
mov edx, dword [0x6026fc]
add edx, dword [ebp - 4]
mov al, byte [ebp - 4]
mov byte [edx], al
mov ecx, dword [0x602700]
add ecx, dword [ebp - 4]
mov dl, byte [ebp - 4]
mov byte [ecx], dl
mov eax, dword [0x602704]
add eax, dword [ebp - 4]
mov cl, byte [ebp - 4]
mov byte [eax], cl
jmp 0x46c6a4
mov dword [0x6b9ed8], 1
mov dword [0x6ba8f8], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 0x8c]
xor ecx, ebp
call fcn.005cbcfe
mov esp, ebp
pop ebp
ret