Function at 0x40211c
Capabilities:
Print debug messages

Disassembly:
jmp 0x47a970
push 0xffffffffffffffff
push 0x526abb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [esp + 0x7c]
push ebx
push ebp
push esi
mov ebx, dword [eax]
push edi
mov dword [esp + 0x10], ecx
cmp dword [ebx + 4], 0x40b
jne 0x47a9ad
mov ecx, dword [ebx + 8]
push ecx
mov ecx, 0x554220
call fcn.004021da
cmp dword [ebx + 4], 0x40c
jne 0x47a9d0
lea edx, [ebx + 0x68]
lea eax, [ebx + 0x48]
push edx
lea ecx, [ebx + 0x28]
push eax
lea edx, [ebx + 8]
push ecx
push edx
mov ecx, 0x554220
call fcn.00402f81
cmp dword [ebx + 4], 0x40a
jne 0x47aa6a
mov eax, dword [0x546a6c]
test eax, eax
jne 0x47aa09
mov ecx, dword [0x54626c]
test ecx, ecx
je case.0x47b8f5.3
mov eax, dword [ebx + 0x108]
add ebx, 8
push eax
push ebx
call fcn.004017cb
jmp case.0x47b8f5.3
mov ecx, dword [0x5469ac]
mov eax, 1
mov edx, dword [ecx + 0x21c]
cmp dword [ebx + edx*4 + 0x10c], eax
jne case.0x47b8f5.3
cmp dword [0x54c598], eax
je 0x47aa42
push 0xffffffffffffffff
push 0x190
push 0xffffffffffffffff
mov ecx, 0x54cba4
call fcn.0040381e
mov eax, dword [0x546270]
test eax, eax
je case.0x47b8f5.3
mov eax, dword [ebx + 0x108]
mov ecx, dword [0x546274]
add ebx, 8
push eax
push ebx
call fcn.004017cb
jmp case.0x47b8f5.3
mov eax, dword [0x546a6c]
xor ebp, ebp
cmp eax, ebp
je 0x47aa91
call fcn.00402531
mov ecx, eax
shl ecx, 5
add ecx, eax
lea edx, [eax + ecx*2]
cmp dword [edx*4 + 0x552dd4], ebp
jne case.0x47b8f5.3
mov eax, dword [0x5537f0]
cmp eax, ebp
mov eax, dword [ebx + 4]
jne 0x47aae9
sub eax, 0x3f5
je 0x47aad1
sub eax, 2
jne case.0x47aaff.1038
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 0xc]
push ecx
mov ecx, dword [ebx + 8]
push edx
push eax
push ecx
mov ecx, dword [0x5468ac]
call fcn.00402059
jmp case.0x47aaff.1038
mov eax, dword [ebx + 8]
mov ecx, dword [0x5468ac]
lea edx, [ebx + 0xc]
push edx
push eax
call fcn.00403986
jmp case.0x47aaff.1038
add eax, 0xfffffc0b
cmp eax, 0x35
ja case.0x47aaff.1038
xor ecx, ecx
mov cl, byte [eax + 0x47bc00]
jmp dword [ecx*4 + 0x47bb98]
mov eax, dword [ebx + 8]
mov ecx, dword [0x5538dc]
lea edx, [ebx + 0xc]
push edx
push eax
call fcn.00401cc1
jmp case.0x47aaff.1038
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
push ecx
mov ecx, dword [ebx + 0xc]
push edx
mov edx, dword [ebx + 8]
push eax
push ecx
mov ecx, dword [0x5538dc]
push edx
call fcn.004019a1
jmp case.0x47aaff.1038
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push eax
push ecx
mov ecx, dword [0x5538dc]
push edx
call fcn.00401fa5
jmp case.0x47aaff.1038
call fcn.00402d51
jmp case.0x47aaff.1038
call fcn.00401b90
jmp case.0x47aaff.1038
call fcn.00401b04
jmp case.0x47aaff.1038
mov eax, dword [ebx + 8]
push eax
call fcn.004013bb
add esp, 4
jmp case.0x47aaff.1038
call fcn.00403206
jmp case.0x47aaff.1038
mov ecx, dword [ebx + 8]
push ecx
call fcn.0040193d
add esp, 4
jmp case.0x47aaff.1038
call fcn.00401bcc
jmp case.0x47aaff.1038
mov dword [0x549548], 1
jmp case.0x47aaff.1038
mov edx, dword [ebx + 8]
push edx
call fcn.0040178a
add esp, 4
jmp case.0x47aaff.1038
lea eax, [ebx + 8]
push eax
call fcn.00401686
add esp, 4
jmp case.0x47aaff.1038
lea ecx, [ebx + 0x6c]
lea edx, [ebx + 0x4c]
push ecx
mov ecx, dword [ebx + 0x28]
lea eax, [ebx + 0x2c]
push edx
push eax
lea edx, [ebx + 8]
push ecx
push edx
call fcn.00402b76
add esp, 0x14
jmp case.0x47aaff.1038
mov eax, dword [ebx + 8]
mov ecx, dword [0x5538dc]
push eax
call fcn.004020e5
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.004021b7
add esp, 8
jmp case.0x47aaff.1038
mov eax, dword [ebx + 0x20]
cmp eax, 0x1e
je 0x47acf3
cmp eax, 0x1c
je 0x47acf3
cmp eax, 0x3c
jne 0x47ac67
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
push ebp
push eax
mov eax, dword [ebx + 8]
push ecx
mov ecx, dword [0x553c68]
push edx
push eax
add ecx, 0x28
call fcn.00401636
jmp case.0x47aaff.1038
cmp eax, 0x3d
jne 0x47ac90
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
push 1
push edx
mov edx, dword [ebx + 8]
push eax
mov eax, dword [0x553c68]
push ecx
push edx
lea ecx, [eax + 0x28]
call fcn.00401636
jmp case.0x47aaff.1038
cmp eax, 0x32
jne 0x47acc0
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x14]
push ecx
mov ecx, dword [ebx + 0x10]
push edx
mov edx, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 8]
push ecx
mov ecx, dword [0x553c68]
push edx
push eax
add ecx, 0x28
call fcn.00402af9
jmp case.0x47aaff.1038
cmp eax, 0x28
je 0x47acce
cmp eax, 0x29
jne case.0x47aaff.1038
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
push edx
mov edx, dword [ebx + 8]
push eax
mov eax, dword [0x553c68]
push ecx
push edx
lea ecx, [eax + 0xd68]
call fcn.00401f05
jmp case.0x47aaff.1038
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
push ecx
mov ecx, dword [ebx + 0xc]
push edx
mov edx, dword [ebx + 8]
push eax
mov eax, dword [0x553c68]
push ecx
push edx
lea ecx, [eax + 0x28]
call fcn.00401500
jmp case.0x47aaff.1038
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 0x10]
push ecx
mov ecx, dword [0x553c68]
push edx
push eax
add ecx, 0x28
call fcn.00402f0e
jmp case.0x47aaff.1038
mov edx, dword [0x553c68]
mov edi, dword [edx + 0x68]
cmp dword [edi + 0x14], ebp
jle 0x47ad68
mov eax, dword [edi + 0x18]
cmp eax, ebp
je 0x47ad5f
mov esi, dword [eax + 8]
push eax
call fcn.0050ef54
add esp, 4
cmp esi, ebp
mov eax, esi
jne 0x47ad4d
mov dword [edi + 0x1c], ebp
mov dword [edi + 0x18], ebp
mov dword [edi + 0x14], ebp
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov edx, dword [0x553c68]
push eax
push ecx
lea ecx, [edx + 0x28]
call fcn.004020a4
mov edi, eax
mov eax, dword [0x553c68]
push 0x10
mov esi, dword [eax + 0x68]
add esi, 0x14
call fcn.0050ef5f
mov ecx, dword [esi]
add esp, 4
mov dword [eax], ecx
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], ebp
mov edx, dword [esi + 8]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 8]
cmp ecx, ebp
je 0x47adb6
mov dword [ecx + 8], eax
jmp 0x47adb9
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [0x553c68]
push eax
push ecx
lea ecx, [edx + 0x28]
call fcn.004020a4
mov edi, eax
mov eax, dword [0x553c68]
push 0x10
mov esi, dword [eax + 0x68]
add esi, 0x14
call fcn.0050ef5f
mov ecx, dword [esi]
add esp, 4
mov dword [eax], ecx
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], ebp
mov edx, dword [esi + 8]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 8]
cmp ecx, ebp
je 0x47ae0a
mov dword [ecx + 8], eax
jmp 0x47ae0d
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [0x553c68]
mov ecx, dword [eax + 0x68]
mov eax, 0x63
mov dword [ecx + 4], eax
mov edx, dword [0x553c68]
mov ecx, dword [edx + 0x68]
mov edx, dword [0x5538dc]
mov dword [edx + 0x278], ecx
mov ecx, dword [0x5538dc]
mov edx, dword [ecx + 0x278]
mov dword [edx + 4], eax
jmp 0x47af2a
mov eax, dword [0x546f48]
mov dword [0x546fcc], 1
cmp eax, ebp
je 0x47ae8b
mov edx, dword [0x553c68]
mov ecx, dword [0x5538dc]
mov eax, dword [edx + 0xd34]
mov edx, dword [ecx + 0x278]
push eax
mov eax, dword [0x546efc]
push edx
push eax
mov ecx, 0x542a20
call fcn.00402883
jmp case.0x47aaff.1038
mov ecx, dword [0x553c68]
mov eax, dword [0x5538dc]
mov edx, dword [ecx + 0xd34]
mov ecx, dword [eax + 0x278]
push edx
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x40204a
call fcn.00402d29
add esp, 0x14
mov dword [0x54a768], eax
jmp case.0x47aaff.1038
mov eax, dword [0x553c68]
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xd34], edx
mov eax, dword [ebx + 0x10]
cmp eax, ebp
jne 0x47af44
mov esi, dword [ebx + 8]
mov ecx, dword [0x553c68]
lea edx, [esi + esi*8 + 0x1b]
lea eax, [ecx + edx*4]
mov edx, dword [0x5538dc]
push eax
mov eax, dword [edx + 0x278]
push eax
call fcn.00402f27
mov ecx, dword [0x550480]
mov eax, dword [0x5538dc]
shl esi, 5
movsx edx, byte [esi + ecx]
mov ecx, dword [eax + 0x278]
mov dword [ecx], edx
mov edx, dword [0x5538dc]
mov ecx, dword [0x550480]
mov eax, dword [edx + 0x278]
mov edx, dword [esi + ecx + 4]
mov dword [eax + 8], edx
mov eax, dword [0x5538dc]
mov edx, dword [0x553c68]
mov ecx, dword [eax + 0x278]
push ecx
lea ecx, [edx + 0x28]
call fcn.00401622
mov eax, dword [0x5538dc]
mov dword [eax + 0x260], 5
mov ecx, dword [0x5538dc]
mov dword [ecx + 0x230], 1
jmp case.0x47aaff.1038
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x28]
push edx
lea ecx, [ebx + 8]
push eax
push ecx
mov ecx, dword [0x553c68]
call fcn.004037a6
jmp case.0x47aaff.1038
mov edx, dword [ebx + 0x694]
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x10]
push edx
mov edx, dword [ebx + 8]
push eax
push ecx
mov ecx, dword [0x5538dc]
push edx
call fcn.004011ea
jmp case.0x47aaff.1038
call fcn.00401730
jmp case.0x47aaff.1038
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
cmp eax, 0xffffffff
je case.0x47aaff.1036
call fcn.00402531
cmp esi, eax
jne 0x47afe6
mov eax, esi
mov edx, esi
shl eax, 5
add eax, esi
shl edx, 5
lea ecx, [esi + eax*2]
add edx, esi
mov ecx, dword [ecx*4 + 0x552dc0]
lea eax, [esi + edx*2]
mov edx, dword [ebx + 0xc]
add ecx, eax
mov dword [ecx*4 + 0x552cf8], edx
mov eax, esi
shl eax, 5
add eax, esi
lea esi, [esi + eax*2]
inc dword [esi*4 + 0x552dc0]
jmp case.0x47aaff.1038
lea ecx, [ebx + 0x28]
lea edx, [ebx + 8]
push ecx
mov ecx, dword [0x5538dc]
push edx
call fcn.00402496
mov eax, dword [ebx + 4]
add eax, 0xfffffc18
cmp eax, 0x38
ja case.0x47b8f5.3
xor ecx, ecx
mov cl, byte [eax + 0x47bcc0]
jmp dword [ecx*4 + 0x47bc38]
cmp dword [0x546a6c], ebp
jne case.0x47b8f5.3
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov ecx, dword [0x552530]
push edx
push eax
call fcn.00401f5f
test eax, eax
push 0xc
je 0x47b090
call fcn.0050ef5f
add esp, 4
cmp eax, ebp
je 0x47b06f
mov dword [eax + 4], 0x3e8
mov dword [eax + 8], ebp
mov dword [eax], 0x529338
jmp 0x47b071
xor eax, eax
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
add ecx, 8
push edx
push ecx
mov ecx, eax
call fcn.00401df7
jmp case.0x47b8f5.3
call fcn.0050ef5f
add esp, 4
cmp eax, ebp
je 0x47b0b2
mov dword [eax + 4], 0x3e8
mov dword [eax + 8], 1
mov dword [eax], 0x529338
jmp 0x47b0b4
xor eax, eax
mov edx, dword [esp + 0x8c]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x10]
add edx, 8
push ecx
push edx
mov ecx, eax
call fcn.00401df7
jmp case.0x47b8f5.3
mov eax, dword [ebx + 8]
mov ecx, 0x549c10
push eax
call fcn.00402095
jmp case.0x47b8f5.3
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x3b8], ebp
je 0x47b111
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
push edx
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
mov ecx, 0x549c10
call fcn.004017b2
jmp case.0x47b8f5.3
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
mov ecx, 0x549c10
call fcn.0040136b
jmp case.0x47b8f5.3
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
mov ecx, 0x549c10
call fcn.00403b61
jmp case.0x47b8f5.3
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x3b8], ebp
jne case.0x47b8f5.3
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x38]
push ecx
push edx
add ebx, 8
push eax
push ebx
mov ecx, 0x549c10
call fcn.004039c7
jmp case.0x47b8f5.3
cmp dword [0x546a6c], ebp
je case.0x47b8f5.3
cmp dword [0x546270], ebp
je 0x47b21b
mov ecx, 0xfffffff0
lea esi, [ebx + 0x10]
sub ecx, ebx
lea eax, [esp + 0x14]
lea edi, [ebx + 0x30]
mov dword [esp + 0x8c], ecx
mov dl, byte [esi]
mov dword [eax], ebp
cmp dl, 0x53
jne 0x47b1ce
mov ecx, dword [edi - 0x18]
mov ebp, ecx
shl ebp, 5
add ebp, ecx
lea ecx, [ecx + ebp*2]
xor ebp, ebp
lea ecx, [ecx*4 + 0x552ce8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
cmp dl, 0x4e
jne 0x47b1d7
mov edx, dword [edi]
mov dword [eax], edx
inc esi
add edi, 4
add eax, 4
lea edx, [ecx + esi]
cmp edx, 6
jl 0x47b1a6
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [ebx + 0xc]
push ecx
mov ecx, dword [ebx + 8]
push edx
mov edx, dword [0x546270]
push eax
push ecx
push edx
call fcn.00402a8b
add esp, 0x24
cmp dword [0x54c598], ebp
je case.0x47b8f5.3
push 0xffffffffffffffff
push 0x190
push 0xffffffffffffffff
mov ecx, 0x54cb28
call fcn.0040381e
jmp case.0x47b8f5.3
cmp dword [0x546a6c], ebp
je case.0x47b8f5.3
mov ecx, dword [0x546270]
cmp ecx, ebp
je 0x47b262
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push eax
push edx
call fcn.00401a64
cmp dword [0x54c598], ebp
je case.0x47b8f5.3
push 0xffffffffffffffff
push 0x190
push 0xffffffffffffffff
mov ecx, 0x54cb28
call fcn.0040381e
jmp case.0x47b8f5.3
cmp dword [0x5537f0], ebp
jne 0x47b2b1
call fcn.00402531
mov ecx, dword [0x5469ac]
cmp dword [ecx + 0x24], eax
jne case.0x47b8f5.3
mov ecx, 0x546280
call fcn.004011f4
jmp case.0x47b8f5.3
mov ecx, 0x548e80
call fcn.0040387d
jmp case.0x47b8f5.3
cmp dword [0x5537f0], 1
jne 0x47b305
mov esi, dword [ebx + 8]
call fcn.00402531
cmp eax, esi
je 0x47b2f5
mov edx, dword [0x5538dc]
mov dword [edx + 0x1b8], esi
mov eax, dword [ebx + 8]
mov ecx, dword [0x5538dc]
push eax
call fcn.00401799
jmp case.0x47b8f5.3
mov ecx, dword [0x5538dc]
mov edx, dword [ecx]
call dword [edx + 0x38]
jmp case.0x47b8f5.3
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
push eax
push ecx
mov ecx, dword [0x5468ac]
call fcn.00401c71
jmp case.0x47b8f5.3
mov ebx, dword [ebx + 8]
mov edx, ebx
shl edx, 5
add edx, ebx
lea eax, [ebx + edx*2]
mov dword [eax*4 + 0x552dd4], 2
jmp case.0x47b8f5.3
mov ecx, dword [ebx + 8]
push ecx
call fcn.0040193d
add esp, 4
jmp case.0x47b8f5.3
call fcn.00403206
jmp case.0x47b8f5.3
call fcn.00401730
jmp case.0x47b8f5.3
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
push edx
mov edx, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 8]
push ecx
push edx
push eax
call fcn.00403684
add esp, 0x14
jmp case.0x47b8f5.3
add ebx, 8
push ebx
call fcn.00403b9d
add esp, 4
jmp case.0x47b8f5.3
call fcn.00401bcc
jmp case.0x47b8f5.3
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
push ecx
mov ecx, dword [ebx + 8]
push edx
push eax
push ecx
call fcn.00402cc5
add esp, 0x10
jmp case.0x47b8f5.3
mov eax, dword [0x546f48]
mov dword [0x546fcc], 1
cmp eax, ebp
je 0x47b3f6
mov edx, dword [ebx + 0x610]
mov eax, dword [ebx + 0x60c]
mov ecx, dword [ebx + 0x608]
push edx
mov edx, dword [0x546efc]
push eax
push ecx
push edx
mov ecx, 0x542a20
call fcn.004027b1
jmp case.0x47b8f5.3
mov eax, dword [ebx + 0x610]
mov ecx, dword [ebx + 0x60c]
mov edx, dword [ebx + 0x608]
push eax
push ecx
push edx
push 0xbf800000
push 0xbf800000
call fcn.00403ad0
add esp, 0x14
mov dword [0x54a754], eax
jmp case.0x47b8f5.3
mov eax, dword [ebx + 8]
mov ecx, dword [0x5468ac]
push eax
call fcn.00401ab4
mov ecx, dword [ebx + 0xc]
push ecx
mov ecx, dword [0x5468ac]
call fcn.004032a1
jmp case.0x47b8f5.3
mov ecx, dword [0x5469ac]
add ebx, 8
push ebx
call fcn.0040198d
mov ecx, dword [0x54a790]
call fcn.004011db
mov edx, dword [0x5469ac]
mov dword [edx + 0x24], eax
jmp case.0x47b8f5.3
mov eax, dword [ebx + 8]
lea edi, [ebx + 0x10]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea edx, [eax + ecx*2]
shl edx, 2
mov dword [edx + 0x552cdc], eax
mov eax, dword [ebx + 0x24]
mov dword [edx + 0x552dd0], eax
mov ecx, dword [ebx + 0xc]
mov dword [edx + 0x552dc4], ecx
or ecx, 0xffffffff
xor eax, eax
lea esi, [edx + 0x552ce8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x8c], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x8c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
mov esi, dword [esp + 0x10]
mov dword [edx + 0x552ce4], ecx
mov eax, dword [edx + 0x552dd0]
mov edi, dword [esi + 0x1bc]
xor ecx, ecx
cmp eax, edi
sete cl
mov dword [edx + 0x552dc8], ecx
mov eax, dword [ebx + 0x20]
xor ecx, ecx
mov dword [edx + 0x552dcc], eax
mov dword [edx + 0x552dd4], ebp
mov dword [0x552b84], ecx
mov eax, 0x552dd4
cmp dword [eax], ebp
jne 0x47b513
inc ecx
add eax, 0x10c
cmp eax, 0x553634
jl 0x47b50e
mov dword [0x552b84], ecx
mov dword [0x552b80], ecx
jmp case.0x47b8f5.3
mov dword [0x552b84], 0
mov ebp, 0x552cdc
add ebx, 0x18
lea ecx, [ebp - 4]
call fcn.004036c0
movsx ecx, byte [ebx - 0x10]
mov dword [ebp], ecx
mov edx, dword [ebx]
mov dword [ebp + 0xf4], edx
lea edi, [ebx - 0xf]
movsx eax, byte [ebx - 2]
mov dword [ebp + 0xe8], eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp + 0xe8], 0xffffffff
je 0x47b5a4
mov eax, dword [0x552b84]
mov dword [ebp + 0xf8], 0
inc eax
mov dword [0x552b84], eax
mov ecx, dword [ebp + 0xf4]
mov eax, dword [0x551be4]
cmp ecx, eax
jne 0x47b5bf
mov dword [ebp + 0xec], 1
jmp 0x47b5c9
mov dword [ebp + 0xec], 0
add ebp, 0x10c
add ebx, 0x14
cmp ebp, 0x55353c
jl 0x47b542
mov edx, dword [0x552b84]
mov dword [0x552b80], edx
jmp case.0x47b8f5.3
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x3b8], ebp
je 0x47b64d
mov ecx, dword [0x552b84]
xor eax, eax
cmp ecx, ebp
jle case.0x47b8f5.3
mov esi, dword [esp + 0x8c]
xor ecx, ecx
mov edx, 0x552dd0
mov edi, 1
mov ebx, dword [edx]
mov ebp, dword [esi + 4]
cmp ebx, ebp
jne 0x47b634
mov ebx, dword [0x552530]
mov dword [ecx + ebx + 0x8c], edi
mov ebx, dword [0x552b84]
inc eax
add edx, 0x10c
add ecx, 0x28
cmp eax, ebx
jl 0x47b61e
jmp case.0x47b8f5.3
mov eax, dword [0x551ee8]
cmp eax, 4
je 0x47b660
cmp eax, 6
jne case.0x47b8f5.3
push 8
mov dword [0x551ee4], ebp
call fcn.0050ef5f
add esp, 4
cmp eax, ebp
je 0x47b683
mov dword [eax + 4], 0x3ef
mov dword [eax], 0x529734
jmp 0x47b685
xor eax, eax
mov ecx, dword [esi + 0x3bc]
push ecx
push 0x551a30
mov ecx, eax
call fcn.00401df7
jmp case.0x47b8f5.3
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x10]
lea esi, [ebx + 8]
mov edi, 0x5537f0
mov eax, dword [edx + 4]
mov dword [ecx + 0x3bc], eax
mov ecx, 0x2a
rep movsd dword es:[edi], dword [esi]
jmp case.0x47b8f5.3
mov ebp, dword [0x552b84]
test ebp, ebp
jle case.0x47b8f5.3
mov edi, 0xffffffd0
lea eax, [ebx + 0x30]
mov ecx, 0x552de0
lea esi, [ebx + 8]
sub edi, ebx
mov edx, dword [esi]
add esi, 4
mov dword [ecx - 0xfc], edx
mov dl, byte [eax - 8]
mov byte [ecx], dl
mov dl, byte [eax]
mov byte [ecx + 1], dl
mov dl, byte [eax + 8]
mov byte [ecx + 2], dl
mov dl, byte [eax + 0x10]
inc eax
mov byte [ecx + 3], dl
add ecx, 0x10c
lea edx, [edi + eax]
cmp edx, ebp
jl 0x47b6e5
jmp case.0x47b8f5.3
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x10]
push eax
push ecx
mov ecx, 0x5538c0
call fcn.004029cd
jmp case.0x47b8f5.3
cmp dword [ebx + 0xc], ebp
jne 0x47b751
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov edx, eax
shl edx, 5
add edx, eax
lea eax, [eax + edx*2]
sub dword [eax*4 + 0x552dc0], ecx
jmp case.0x47b8f5.3
mov eax, dword [0x5537f0]
cmp eax, ebp
je 0x47b76f
cmp eax, 1
jne case.0x47b8f5.3
cmp dword [0x551de0], ebp
jne case.0x47b8f5.3
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov edx, eax
shl edx, 5
add edx, eax
lea eax, [eax + edx*2]
add dword [eax*4 + 0x552dc0], ecx
jmp case.0x47b8f5.3
mov eax, dword [ebx + 0xd4]
mov ecx, dword [ebx + 8]
lea edx, [ebx + 0xc]
push edx
push eax
push ecx
mov ecx, 0x5538c0
call fcn.00402171
cmp dword [0x5537f0], ebp
jne case.0x47b8f5.3
mov eax, dword [0x5468ac]
cmp dword [eax + 0x2b0], ebp
je 0x47b81d
push 0xc
call fcn.0050ef5f
add esp, 4
cmp eax, ebp
je 0x47b7e3
mov dword [eax + 4], 0x3e8
mov dword [eax + 8], 0x11
mov dword [eax], 0x529338
mov ecx, eax
jmp 0x47b7e5
xor ecx, ecx
mov edx, dword [0x5468ac]
mov eax, dword [edx + 0x2ac]
mov edx, eax
shl edx, 5
add edx, eax
lea eax, [eax + edx*2]
mov edx, dword [eax*4 + 0x552dd0]
push edx
push 0x551a30
call fcn.00401df7
mov eax, dword [0x5468ac]
mov dword [eax + 0x2b0], ebp
jmp case.0x47b8f5.3
mov dword [eax + 0x2b4], 1
jmp case.0x47b8f5.3
mov ecx, dword [0x552b84]
cmp ecx, ebp
jle case.0x47b8f5.3
lea eax, [ebx + 8]
mov edx, 0x552cf8
mov ebx, ecx
mov esi, eax
mov edi, edx
mov ecx, 0x32
add eax, 0xc8
add edx, 0x10c
dec ebx
rep movsd dword es:[edi], dword [esi]
jne 0x47b844
jmp case.0x47b8f5.3
mov eax, dword [0x5537f0]
mov ecx, dword [ebx + 8]
cmp eax, 1
mov dword [0x551de4], ecx
jne case.0x47b8f5.19
mov edx, dword [0x552b80]
dec edx
mov dword [0x552b80], edx
mov edx, dword [0x5538dc]
mov dword [edx + 0x994], ebp
mov eax, dword [0x553c68]
cmp dword [eax + 0xd6c], ebp
jne 0x47b8ae
mov ecx, dword [0x5538dc]
cmp dword [ecx + 0x25c], 0x4a
jne case.0x47b8f5.3
lea ecx, [eax + 0xd68]
call fcn.00403602
jmp case.0x47b8f5.3
mov ecx, dword [0x5468ac]
call fcn.00402cd9
jmp case.0x47b8f5.3
mov edx, dword [0x5538dc]
lea esi, [ebx + 8]
mov ecx, 8
lea edi, [edx + 0x950]
rep movsd dword es:[edi], dword [esi]
jmp case.0x47b8f5.3
mov ebx, dword [ebx + 8]
cmp ebx, 0x13
ja case.0x47b8f5.3
jmp dword [ebx*4 + 0x47bcfc]
cmp dword [0x546a6c], ebp
jne case.0x47b8f5.3
mov ecx, dword [0x552530]
push 1
call fcn.00402298
jmp case.0x47b8f5.3
cmp dword [0x546a6c], ebp
jne case.0x47b8f5.3
mov ecx, dword [0x552530]
push ebp
call fcn.00402298
jmp case.0x47b8f5.3
mov ecx, dword [0x5469ac]
mov eax, dword [ecx]
call dword [eax + 8]
jmp case.0x47b8f5.3
inc dword [0x5538cc]
jmp case.0x47b8f5.3
mov ecx, dword [0x5469ac]
call fcn.00401a2d
jmp case.0x47b8f5.3
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str._nSR_:_Stopping_music._n
call esi
call fcn.00403995
push str._nMAD_:_Received_Start_Game_Pkt._n
call esi
mov ecx, 0x551ed0
call fcn.00402e78
jmp case.0x47b8f5.3
push 0x10
call fcn.0050ef5f
mov esi, eax
add esp, 4
mov dword [esp + 0x8c], esi
cmp esi, ebp
mov dword [esp + 0x84], ebp
je 0x47b9ee
mov edx, dword [0x552b84]
xor eax, eax
cmp edx, ebp
jle 0x47b9c8
mov ecx, 0x552dc8
cmp dword [ecx], ebp
jne 0x47b9ea
inc eax
add ecx, 0x10c
cmp eax, edx
jl 0x47b9b9
or edi, 0xffffffff
mov ecx, 0x5538c0
call fcn.00401d7f
mov dword [esi + 4], 0x3f6
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi], 0x529730
jmp 0x47b9f0
mov edi, eax
jmp 0x47b9cb
xor esi, esi
mov ecx, dword [esp + 0x10]
push ebp
add ecx, 8
mov dword [esp + 0x88], 0xffffffff
push ecx
mov ecx, esi
call fcn.00401df7
jmp case.0x47b8f5.3
mov ecx, dword [0x552b84]
xor esi, esi
cmp ecx, ebp
jle 0x47ba2f
mov eax, 0x552dc8
cmp dword [eax], ebp
jne 0x47ba32
inc esi
add eax, 0x10c
cmp esi, ecx
jl 0x47ba21
or esi, 0xffffffff
mov edx, esi
mov ecx, esi
shl edx, 5
add edx, esi
push 0x10
shl ecx, 5
lea eax, [esi + edx*2]
add ecx, esi
mov eax, dword [eax*4 + 0x552dc0]
lea edx, [esi + ecx*2]
add eax, edx
mov edi, dword [eax*4 + 0x552cf4]
call fcn.0050ef5f
add esp, 4
cmp eax, ebp
je 0x47ba79
mov dword [eax + 4], 0x3f6
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov dword [eax], 0x529730
jmp 0x47ba7b
xor eax, eax
mov ecx, dword [esp + 0x10]
push ebp
add ecx, 8
push ecx
mov ecx, eax
call fcn.00401df7
jmp case.0x47b8f5.3
mov ecx, dword [0x5468ac]
call fcn.00402abd
jmp case.0x47b8f5.3
mov ecx, dword [0x5538dc]
call fcn.00402865
jmp case.0x47b8f5.3
mov ecx, dword [0x5538dc]
call fcn.00402045
jmp case.0x47b8f5.3
mov ecx, dword [0x5468ac]
mov eax, dword [ecx + 0x21c]
mov edx, eax
shl edx, 5
add edx, eax
lea eax, [eax + edx*2]
mov dword [eax*4 + 0x552dd4], 1
mov dword [ecx + 0x260], 0x34
jmp case.0x47b8f5.3
mov ecx, dword [0x5468ac]
call fcn.00402f3b
jmp case.0x47b8f5.3
cmp dword [0x5537f0], ebp
jne 0x47bb1a
mov ecx, dword [0x5468ac]
mov dword [ecx + 0x260], 0x1b
jmp case.0x47b8f5.3
mov edx, dword [0x5538dc]
mov dword [edx + 0x25c], 0x3a
jmp case.0x47b8f5.3
mov eax, dword [0x5538dc]
push 0xc
mov dword [eax + 0x990], 1
call fcn.0050ef5f
add esp, 4
cmp eax, ebp
je 0x47bb5f
mov dword [eax + 4], 0x3e8
mov dword [eax + 8], 0x10
mov dword [eax], 0x529338
jmp 0x47bb61
xor eax, eax
mov ecx, dword [0x551de4]
push ecx
push 0x551a30
mov ecx, eax
call fcn.00401df7
jmp case.0x47b8f5.3
mov ecx, dword [0x5538dc]
call fcn.00403b4d
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 4