Function at 0x426de0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x144
push ebx
push ebp
push esi
push edi
mov edi, eax
mov ecx, dword [edi + 0x29324]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov eax, dword [edi + 0x26350]
lea edx, [esp + 0x40]
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ebp, dword [esp + 0x2c]
mov eax, ebp
cdq
idiv dword [esp + 0x40]
lea ecx, [esp + 0x2c]
push ecx
neg edx
sbb dl, dl
inc dl
mov byte [esp + 0x15c], dl
mov edx, dword [edi + 0x26350]
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
lea eax, [esp + 0x40]
push eax
mov eax, ebp
cdq
idiv dword [esp + 0x30]
and eax, 0x80000007
jns 0x426e69
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, dword [edi + eax*8 + 0x26f78]
push ecx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov eax, dword [edi + 0x26fd8]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [edi + 0x26fe0]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x30], ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [edi + 0x26ff8]
mov ebp, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [edi + 0x26ff0]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x18], eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [0x89835c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
cmp dword [esp + 0x40], 3
mov dword [esp + 0x3c], eax
jne 0x426f82
mov cl, byte [esp + 0x158]
test cl, cl
je 0x426f82
mov ecx, dword [0x5f0798]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push ecx
add ebp, edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp ebp, dword [esp + 0x14]
jle 0x426f5d
mov eax, dword [0x5f0798]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
sub ebp, dword [esp + 0x14]
test ebp, ebp
jge 0x426f82
mov edx, dword [0x5f0798]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
add ebp, dword [esp + 0x14]
mov ecx, dword [edi + 0x29324]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov eax, dword [edi + 0x26350]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x14]
inc eax
cdq
idiv dword [esp + 0x2c]
test edx, edx
jne 0x426fe7
call fcn.005605d0
cdq
mov ecx, 0x1b
idiv ecx
mov dword [esp + 0x3c], edx
call fcn.005605d0
cdq
mov ecx, 0xb4
idiv ecx
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0x202b0]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
test dword [esp + 0x14], 0x10000
je 0x427063
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x29324]
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0x14]
and ecx, 0x80000007
jns 0x42703d
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, dword [esp + 0x28]
add eax, dword [ecx*4 + 0x5ef710]
cmp eax, 0x1a
jle 0x427057
mov dword [esp + 0x28], 0x1a
jmp 0x427063
test eax, eax
jge 0x427067
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x28]
mov edx, dword [0x89835c]
mov cl, byte [esp + 0x3c]
mov byte [edx + 0x89815c], al
mov eax, dword [0x89835c]
mov dl, byte [esp + 0x10]
inc eax
mov dword [0x89835c], eax
mov word [eax + 0x89815c], bp
mov eax, dword [0x89835c]
add eax, 2
mov dword [0x89835c], eax
mov byte [eax + 0x89815c], cl
mov eax, dword [0x89835c]
inc eax
mov dword [0x89835c], eax
mov byte [eax + 0x89815c], dl
mov ebx, dword [0x89835c]
inc ebx
lea eax, [esp + 0x14]
mov dword [0x89835c], ebx
mov ecx, dword [edi + 0x29324]
push eax
push ecx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov eax, dword [edi + 0x26350]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x14]
inc eax
cdq
idiv dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
and eax, 0x80000007
jns 0x42710e
dec eax
or eax, 0xfffffff8
inc eax
mov edx, dword [edi + eax*8 + 0x26f78]
push edx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov eax, dword [0x89835c]
mov cl, byte [esp + 0x14]
mov byte [eax + 0x89815c], cl
mov edx, dword [0x89835c]
mov eax, dword [esp + 0x40]
inc edx
test eax, eax
mov dword [0x89835c], edx
jne 0x427402
mov cl, byte [esp + 0x158]
test cl, cl
je 0x427402
push eax
call fcn.00429770
mov ebp, eax
mov eax, dword [edi + 0x2635c]
lea edx, [esp + 0x14]
push edx
push eax
and ebp, 7
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0x14]
movzx edx, byte [edi + 0x26354]
imul ecx, ecx, 0xb
add ecx, edx
imul ecx, ecx, 0x7d
add ecx, ebp
mov edx, dword [edi + ecx*8 + 0x2ca70]
lea eax, [edi + ecx*8 + 0x2ca6c]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [edi + 0x2635c]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x26354]
imul edx, edx, 0xb
add edx, eax
imul edx, edx, 0x7d
add edx, ebp
lea eax, [edi + edx*8 + 0x2ca2c]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x14]
cmp eax, ebx
jge 0x427211
mov dword [esp + 0x10], ebx
jmp 0x427267
lea esi, [edi + 0x26358]
mov ecx, esi
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, ebp
lea ecx, [edi + eax*8 + 0x2ca6c]
call fcn.004086e0
mov ecx, esi
mov ebx, eax
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, ebp
lea ecx, [edi + eax*8 + 0x2ca2c]
call fcn.004086e0
sub ebx, eax
mov dword [esp + 0x10], ebx
mov ecx, dword [edi + 0x2635c]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x26354]
imul edx, edx, 0xb
add edx, eax
imul edx, edx, 0x7d
add edx, ebp
lea eax, [edi + edx*8 + 0x2ca2c]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
push ebx
call fcn.00429770
xor edx, edx
div dword [esp + 0x10]
mov eax, dword [0x89835c]
mov ecx, dword [esp + 0x14]
mov byte [eax + 0x89815c], 0
mov eax, dword [0x89835c]
push 2
mov esi, edx
add esi, ecx
inc eax
mov dword [0x89835c], eax
call fcn.00429770
mov ecx, dword [0x89835c]
and al, 0x3f
add al, 0x40
mov byte [ecx + 0x89815c], al
mov eax, dword [0x89835c]
inc eax
mov dword [0x89835c], eax
mov word [eax + 0x89815c], si
add dword [0x89835c], 2
mov edx, dword [0x89835c]
mov eax, dword [esp + 0x40]
mov byte [edx + 0x89815c], 0xff
mov ecx, dword [0x89835c]
inc ecx
cmp eax, 2
mov dword [0x89835c], ecx
jne 0x4275e8
mov al, byte [esp + 0x158]
test al, al
je 0x4275e8
push 0
call fcn.00429770
mov ecx, dword [edi + 0x2635c]
mov ebp, eax
lea eax, [esp + 0x14]
push eax
push ecx
and ebp, 7
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x26354]
imul edx, edx, 0xb
add edx, eax
imul edx, edx, 0x7d
add edx, ebp
lea eax, [edi + edx*8 + 0x2caec]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [edi + 0x2635c]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x26354]
imul edx, edx, 0xb
add edx, eax
imul edx, edx, 0x7d
add edx, ebp
lea eax, [edi + edx*8 + 0x2caac]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x14]
cmp eax, ebx
jge 0x4276da
mov dword [esp + 0x10], ebx
jmp 0x427730
mov edx, dword [0x89835c]
mov byte [edx + 0x89815c], 0xff
mov edx, dword [0x89835c]
inc edx
cmp eax, 1
mov dword [0x89835c], edx
jne 0x427310
mov al, byte [esp + 0x158]
test al, al
je 0x427310
push 0
call fcn.00429770
mov ecx, dword [edi + 0x2635c]
mov ebp, eax
lea eax, [esp + 0x14]
push eax
push ecx
and ebp, 7
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x26354]
imul edx, edx, 0xb
add edx, eax
imul edx, edx, 0x7d
add edx, ebp
lea eax, [edi + edx*8 + 0x2c9ec]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [edi + 0x2635c]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x26354]
imul edx, edx, 0xb
add edx, eax
imul edx, edx, 0x7d
add edx, ebp
lea eax, [edi + edx*8 + 0x2c9ac]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x14]
cmp eax, ebx
jge 0x4274e9
mov dword [esp + 0x10], ebx
jmp 0x42753f
lea esi, [edi + 0x26358]
mov ecx, esi
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, ebp
lea ecx, [edi + eax*8 + 0x2c9ec]
call fcn.004086e0
mov ecx, esi
mov ebx, eax
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, ebp
lea ecx, [edi + eax*8 + 0x2c9ac]
call fcn.004086e0
sub ebx, eax
mov dword [esp + 0x10], ebx
mov ecx, dword [edi + 0x2635c]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x26354]
imul edx, edx, 0xb
add edx, eax
imul edx, edx, 0x7d
add edx, ebp
lea eax, [edi + edx*8 + 0x2c9ac]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
push ebx
call fcn.00429770
xor edx, edx
div dword [esp + 0x10]
mov eax, dword [0x89835c]
mov ecx, dword [esp + 0x14]
mov byte [eax + 0x89815c], 0
mov eax, dword [0x89835c]
push 2
mov esi, edx
add esi, ecx
inc eax
mov dword [0x89835c], eax
call fcn.00429770
mov ecx, dword [0x89835c]
and al, 0x3f
add al, 0x40
mov byte [ecx + 0x89815c], al
mov eax, dword [0x89835c]
inc eax
mov dword [0x89835c], eax
mov word [eax + 0x89815c], si
add dword [0x89835c], 2
mov edx, dword [0x89835c]
mov eax, dword [esp + 0x40]
mov byte [edx + 0x89815c], 0xff
mov ecx, dword [0x89835c]
inc ecx
cmp eax, 7
mov dword [0x89835c], ecx
jne 0x4277d9
mov al, byte [esp + 0x158]
test al, al
je 0x4277d9
push 0
call fcn.00429770
mov ecx, dword [edi + 0x2635c]
mov ebp, eax
lea eax, [esp + 0x14]
push eax
push ecx
and ebp, 7
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x26354]
imul edx, edx, 0xb
add edx, eax
imul edx, edx, 0x7d
add edx, ebp
lea eax, [edi + edx*8 + 0x2caec]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [edi + 0x2635c]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x26354]
imul edx, edx, 0xb
add edx, eax
imul edx, edx, 0x7d
add edx, ebp
lea eax, [edi + edx*8 + 0x2cb2c]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x14]
cmp eax, ebx
jge 0x4278cb
mov dword [esp + 0x10], ebx
jmp 0x427927
lea esi, [edi + 0x26358]
mov ecx, esi
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, ebp
lea ecx, [edi + eax*8 + 0x2caec]
call fcn.004086e0
mov ecx, esi
mov ebx, eax
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, ebp
lea ecx, [edi + eax*8 + 0x2caac]
call fcn.004086e0
sub ebx, eax
mov dword [esp + 0x10], ebx
mov ecx, dword [edi + 0x2635c]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x26354]
imul edx, edx, 0xb
add edx, eax
imul edx, edx, 0x7d
add edx, ebp
lea eax, [edi + edx*8 + 0x2caac]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
push ebx
call fcn.00429770
xor edx, edx
div dword [esp + 0x10]
mov eax, dword [0x89835c]
mov ecx, dword [esp + 0x14]
mov byte [eax + 0x89815c], 0
mov eax, dword [0x89835c]
push 2
mov esi, edx
add esi, ecx
inc eax
mov dword [0x89835c], eax
call fcn.00429770
mov ecx, dword [0x89835c]
and al, 0x3f
add al, 0x40
mov byte [ecx + 0x89815c], al
mov eax, dword [0x89835c]
inc eax
mov dword [0x89835c], eax
mov word [eax + 0x89815c], si
add dword [0x89835c], 2
mov edx, dword [0x89835c]
mov eax, dword [esp + 0x40]
mov byte [edx + 0x89815c], 0xff
mov ecx, dword [0x89835c]
inc ecx
cmp eax, 8
mov dword [0x89835c], ecx
jne 0x4279d0
mov al, byte [esp + 0x158]
test al, al
je 0x4279d0
push 0
call fcn.00429770
mov ecx, dword [edi + 0x2635c]
mov ebp, eax
lea eax, [esp + 0x14]
push eax
push ecx
and ebp, 7
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x26354]
imul edx, edx, 0xb
add edx, eax
imul edx, edx, 0x7d
add edx, ebp
lea eax, [edi + edx*8 + 0x2caec]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [edi + 0x2635c]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x26354]
imul edx, edx, 0xb
add edx, eax
imul edx, edx, 0x7d
add edx, ebp
lea eax, [edi + edx*8 + 0x2cbac]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x14]
cmp eax, ebx
jge 0x427a53
mov dword [esp + 0x10], ebx
jmp 0x427aaf
lea esi, [edi + 0x26358]
mov ecx, esi
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, ebp
lea ecx, [edi + eax*8 + 0x2cb2c]
call fcn.004086e0
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, ebp
lea ecx, [edi + eax*8 + 0x2caec]
call fcn.004086e0
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x2635c]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x26354]
imul edx, edx, 0xb
add edx, eax
imul edx, edx, 0x7d
add edx, ebp
lea eax, [edi + edx*8 + 0x2cb2c]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
push ebx
call fcn.00429770
xor edx, edx
div dword [esp + 0x10]
mov eax, dword [0x89835c]
mov ecx, dword [esp + 0x14]
mov byte [eax + 0x89815c], 0
mov eax, dword [0x89835c]
push 2
mov esi, edx
add esi, ecx
inc eax
mov dword [0x89835c], eax
call fcn.00429770
mov ecx, dword [0x89835c]
and al, 0x3f
add al, 0x40
mov byte [ecx + 0x89815c], al
mov eax, dword [0x89835c]
inc eax
mov dword [0x89835c], eax
mov word [eax + 0x89815c], si
add dword [0x89835c], 2
mov edx, dword [0x89835c]
mov eax, dword [esp + 0x40]
mov byte [edx + 0x89815c], 0xff
mov ecx, dword [0x89835c]
inc ecx
cmp eax, 9
mov dword [0x89835c], ecx
jne 0x427b58
mov al, byte [esp + 0x158]
test al, al
je 0x427b58
call fcn.005605d0
cdq
mov ecx, 5
idiv ecx
push 0
mov ebx, edx
mov dword [esp + 0x40], ebx
call fcn.00429770
push ebx
lea edx, [esp + 0x58]
mov esi, eax
push str.joker___d_n
push edx
and esi, 7
call fcn.0055e68c
add esp, 0xc
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp ebx, 4
ja case.default.0x427a4c
jmp dword [ebx*4 + 0x42829c]
lea esi, [edi + 0x26358]
mov ecx, esi
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, ebp
lea ecx, [edi + eax*8 + 0x2cbac]
call fcn.004086e0
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, ebp
lea ecx, [edi + eax*8 + 0x2caec]
call fcn.004086e0
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x2635c]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0x14]
movzx eax, byte [edi + 0x26354]
imul edx, edx, 0xb
add edx, eax
imul edx, edx, 0x7d
add edx, ebp
lea eax, [edi + edx*8 + 0x2ca2c]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
push ebx
call fcn.00429770
xor edx, edx
div dword [esp + 0x10]
mov eax, dword [0x89835c]
mov ecx, dword [esp + 0x14]
mov byte [eax + 0x89815c], 0
mov eax, dword [0x89835c]
push 2
mov esi, edx
add esi, ecx
inc eax
mov dword [0x89835c], eax
call fcn.00429770
mov ecx, dword [0x89835c]
and al, 0x3f
add al, 0x40
mov byte [ecx + 0x89815c], al
mov eax, dword [0x89835c]
inc eax
mov dword [0x89835c], eax
mov word [eax + 0x89815c], si
add dword [0x89835c], 2
mov edx, dword [0x89835c]
mov byte [edx + 0x89815c], 0xff
mov eax, dword [0x89835c]
inc eax
mov ebp, 2
mov ecx, dword [0x8927a4]
mov dword [0x89835c], eax
mov edx, dword [ecx + 0x24590]
lea eax, [esp + 0x14]
push eax
push edx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
cmp dword [esp + 0x14], 3
jne 0x428091
mov ecx, dword [0x8927a4]
mov edx, dword [ecx + 0x80228]
lea eax, [esp + 0x14]
push eax
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0x14], 6
jge 0x428091
mov eax, dword [0x89835c]
mov edx, dword [0x5f0778]
mov byte [eax + 0x89815c], 0
mov eax, dword [0x89835c]
lea ecx, [esp + 0x14]
push ecx
inc eax
push edx
mov dword [0x89835c], eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
call fcn.005605d0
cdq
idiv dword [esp + 0x14]
mov eax, dword [0x89835c]
mov byte [eax + 0x89815c], dl
inc dword [0x89835c]
call fcn.005605d0
mov ecx, dword [0x89835c]
mov word [ecx + 0x89815c], ax
mov eax, dword [0x89835c]
add eax, ebp
jmp 0x4280a4
lea ebp, [edi + 0x26358]
mov ecx, ebp
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2ca6c]
call fcn.004086e0
mov ecx, ebp
mov ebx, eax
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2ca2c]
call fcn.004086e0
sub ebx, eax
cmp ebx, 1
jge 0x427c95
mov ebx, 1
jmp 0x428008
mov ecx, ebp
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2ca6c]
call fcn.004086e0
mov ecx, ebp
mov ebx, eax
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2ca2c]
call fcn.004086e0
jmp 0x428006
lea ebp, [edi + 0x26358]
mov ecx, ebp
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2c9ec]
call fcn.004086e0
mov ecx, ebp
mov ebx, eax
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2c9ac]
call fcn.004086e0
sub ebx, eax
cmp ebx, 1
jge 0x427d42
mov ebx, 1
jmp 0x427d8e
mov ecx, ebp
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2c9ec]
call fcn.004086e0
mov ecx, ebp
mov ebx, eax
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2c9ac]
call fcn.004086e0
sub ebx, eax
mov ecx, ebp
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2c9ac]
jmp 0x428027
lea ebp, [edi + 0x26358]
mov ecx, ebp
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2caec]
call fcn.004086e0
mov ecx, ebp
mov ebx, eax
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2caac]
call fcn.004086e0
sub ebx, eax
cmp ebx, 1
jge 0x427e10
mov ebx, 1
jmp 0x427e5c
mov ecx, ebp
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2caec]
call fcn.004086e0
mov ecx, ebp
mov ebx, eax
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2caac]
call fcn.004086e0
sub ebx, eax
mov ecx, ebp
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2caac]
jmp 0x428027
lea ebp, [edi + 0x26358]
mov ecx, ebp
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2cb2c]
call fcn.004086e0
mov ecx, ebp
mov ebx, eax
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2caec]
call fcn.004086e0
sub eax, ebx
cmp eax, 1
jge 0x427ede
mov ebx, 1
jmp 0x427f32
mov ecx, ebp
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2cb2c]
call fcn.004086e0
mov ecx, ebp
mov dword [esp + 0x10], eax
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2caec]
call fcn.004086e0
mov ebx, eax
mov eax, dword [esp + 0x10]
sub ebx, eax
mov ecx, ebp
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2cb2c]
jmp 0x428027
lea ebp, [edi + 0x26358]
mov ecx, ebp
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2cbac]
call fcn.004086e0
mov ecx, ebp
mov ebx, eax
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2caec]
call fcn.004086e0
sub eax, ebx
cmp eax, 1
jge 0x427fb4
mov ebx, 1
jmp 0x428008
mov ecx, ebp
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2cbac]
call fcn.004086e0
mov ecx, ebp
mov dword [esp + 0x10], eax
call fcn.004086e0
imul eax, eax, 0xb
movzx edx, byte [edi + 0x26354]
add eax, edx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2caec]
call fcn.004086e0
mov ebx, eax
mov eax, dword [esp + 0x10]
sub ebx, eax
mov ecx, ebp
call fcn.004086e0
imul eax, eax, 0xb
movzx ecx, byte [edi + 0x26354]
add eax, ecx
imul eax, eax, 0x7d
add eax, esi
lea ecx, [edi + eax*8 + 0x2ca2c]
call fcn.004086e0
push 1
mov esi, eax
call fcn.00429770
xor edx, edx
div ebx
add esi, edx
mov edx, dword [0x89835c]
mov al, byte [esp + 0x3c]
mov byte [edx + 0x89815c], al
mov ecx, dword [0x89835c]
inc ecx
mov ebp, 2
push ebp
mov dword [0x89835c], ecx
call fcn.00429770
mov ecx, dword [0x89835c]
and al, 0x3f
add al, 0x40
mov byte [ecx + 0x89815c], al
mov eax, dword [0x89835c]
inc eax
mov dword [0x89835c], eax
mov word [eax + 0x89815c], si
mov eax, dword [0x89835c]
add eax, ebp
jmp 0x427b70
mov edx, dword [0x89835c]
mov byte [edx + 0x89815c], 0xff
mov eax, dword [0x89835c]
inc eax
mov ecx, dword [0x8927a4]
mov dword [0x89835c], eax
mov edx, dword [ecx + 0x57f18]
lea eax, [esp + 0x10]
push eax
push edx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
cmp byte [esp + 0x10], bl
jne 0x4280d9
mov byte [esp + 0x158], bl
mov ecx, dword [0x8927a4]
mov edx, dword [ecx + 0x24590]
lea eax, [esp + 0x14]
push eax
push edx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0x14]
mov eax, 4
cmp ecx, eax
jne 0x4281d4
mov ebx, dword [esp + 0x40]
cmp ebx, 0xa
jl 0x4281d4
mov cl, byte [esp + 0x158]
test cl, cl
je 0x4281d4
mov dword [esp + 0x1c], eax
mov eax, dword [0x89835c]
mov byte [eax + 0x89815c], 0
inc dword [0x89835c]
mov eax, dword [edi + 0x1a284]
or esi, 0xffffffff
cmp eax, esi
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], 0x10
jne 0x42817c
call fcn.005605d0
mov ecx, dword [0x89835c]
mov word [ecx + 0x89815c], ax
jmp 0x42818f
mov dx, word [edi + 0x1a284]
mov eax, dword [0x89835c]
mov word [eax + 0x89815c], dx
mov eax, dword [0x89835c]
mov cl, byte [esp + ebx*4 - 0x14]
add eax, ebp
mov dword [0x89835c], eax
mov edx, dword [0x89835c]
lea eax, [esp + ebx*4 - 0x14]
mov eax, dword [eax]
mov byte [edx + 0x89815c], cl
mov ebx, dword [0x89835c]
push eax
inc ebx
push str._AddWeather__ball_type___d_n
mov dword [0x89835c], ebx
call fcn.0044db50
add esp, 8
mov dword [edi + 0x1a284], esi
jmp 0x4281e7
mov ecx, dword [0x89835c]
mov byte [ecx + 0x89815c], 0xff
inc dword [0x89835c]
mov eax, dword [0x8927a4]
mov ecx, dword [eax + 0x24590]
lea edx, [esp + 0x14]
push edx
push ecx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
cmp dword [esp + 0x14], 4
jne 0x428255
mov al, byte [esp + 0x158]
test al, al
je 0x428255
call fcn.005605d0
mov dword [edi + 0x1a284], eax
mov edx, dword [0x89835c]
mov byte [edx + 0x89815c], 0
mov eax, dword [0x89835c]
inc eax
mov dword [0x89835c], eax
mov cx, word [edi + 0x1a284]
mov word [eax + 0x89815c], cx
mov eax, dword [0x89835c]
add eax, ebp
jmp 0x428268
mov edx, dword [0x89835c]
mov byte [edx + 0x89815c], 0xff
mov eax, dword [0x89835c]
inc eax
mov dword [0x89835c], eax
mov ecx, eax
mov eax, dword [esp + 0x50]
sub ecx, eax
lea esi, [eax + 0x89815c]
mov eax, ecx
add edi, 0x29300
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 4