Function at 0x403b7f
Capabilities:
Print debug messages

Disassembly:
jmp 0x4d63c0
sub esp, 0x120
push ebx
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x5552b0]
mov dword [esp + 0x10], 0
mov eax, dword [eax + 0x5524]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea edx, [eax + ecx*2]
mov eax, dword [edx*4 + 0x552dc4]
push eax
call fcn.00403210
mov ecx, dword [esp + 0x138]
mov esi, dword [0x5552b0]
mov dword [esp + 0x28], eax
add esp, 4
mov ebx, dword [esi + 0x5524]
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov edx, dword [esi + 0x5d0]
lea ecx, [eax + eax*2]
lea eax, [ebx + ebx*2]
lea eax, [eax + eax*4]
lea edx, [edx + ecx*4]
shl eax, 5
add eax, ebx
mov dword [esp + 0x2c], edx
mov ecx, dword [esi + eax*4 + 0x6f8]
lea ebp, [esi + eax*4 + 0x698]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
lea edx, [edx + eax + 1]
mov eax, 0x51eb851f
mov dword [esp + 0x20], edx
imul ecx
sar edx, 6
mov eax, edx
mov ecx, dword [esi + 0x5a9c]
shr eax, 0x1f
lea edi, [edx + eax + 1]
mov eax, dword [esi + 0x5a88]
mov edx, eax
imul eax, edi
imul edx, dword [esp + 0x20]
add edx, ecx
add eax, ecx
mov ecx, dword [esi + 0x5a60]
mov dword [esp + 0x1c], edi
mov edi, ecx
imul ecx, dword [esp + 0x1c]
imul edi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x5a5c]
add ecx, eax
add edi, eax
mov eax, dword [ebp + 0x528]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x5a68]
cmp eax, ecx
jne 0x4d653e
mov ecx, dword [esi + 0x5d0]
mov dword [esp + 0x18], 0
add ecx, 0x48
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 4], 1
jne 0x4d6519
cmp dword [ecx], ebx
jne 0x4d6519
mov ecx, dword [ecx + 0x88]
cmp ecx, dword [ebp + 0x528]
je 0x4d6519
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0xb4], 0x63
je 0x4d6519
inc dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
add ecx, 0x114
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x4d64ec
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esi + 0x5aa0]
je 0x4d65ab
cmp eax, dword [esi + 0x5a68]
je 0x4d6816
mov eax, dword [esi + 0x5d0]
mov dword [esp + 0x18], 0
add eax, 0x48
mov dword [esp + 0x1c], 0x30
cmp dword [eax - 4], 1
jne 0x4d6588
cmp dword [eax], ebx
jne 0x4d6588
mov ecx, dword [eax + 0x88]
cmp ecx, dword [ebp + 0x528]
je 0x4d6588
cmp dword [eax + 0xb4], 0x63
je 0x4d6588
inc dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add eax, 0x114
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x4d6563
mov eax, dword [esi + 0x5aa0]
mov ecx, dword [esp + 0x18]
dec eax
cmp ecx, eax
jne 0x4d6816
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x4c]
cmp ecx, edx
jle 0x4d65ed
mov ecx, dword [esi + 0x5a94]
mov dword [esi + 0x5aa4], ecx
mov ecx, dword [0x5552b0]
mov esi, dword [ecx + 0x5a98]
mov dword [ecx + 0x5aa8], esi
mov eax, dword [eax + 0x4c]
mov esi, dword [0x5552b0]
sub eax, edx
lea eax, [eax + eax*4]
shl eax, 1
mov dword [esp + 0x10], eax
jmp 0x4d666d
mov edx, dword [esi + 0x5a5c]
cmp edx, 1
jne 0x4d6630
cmp ecx, edi
jle 0x4d6630
mov ecx, dword [esi + 0x5a68]
mov dword [esi + 0x5aa4], ecx
mov ecx, dword [0x5552b0]
mov edx, dword [ecx + 0x5a6c]
mov dword [ecx + 0x5aa8], edx
mov esi, dword [0x5552b0]
mov eax, dword [eax + 0x4c]
sub eax, dword [esi + 0x5a60]
lea eax, [eax + eax*4]
shl eax, 1
jmp 0x4d6669
cmp edx, 2
jne 0x4d6679
cmp ecx, edi
jle 0x4d6679
mov ecx, dword [esi + 0x5a68]
mov dword [esi + 0x5aa4], ecx
mov ecx, dword [0x5552b0]
mov edx, dword [ecx + 0x5a6c]
mov dword [ecx + 0x5aa8], edx
mov esi, dword [0x5552b0]
mov eax, dword [eax + 0x4c]
sub eax, dword [esi + 0x5a60]
lea eax, [eax + eax*4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4d6ad5
mov ecx, dword [esi + 0x5a80]
cmp ecx, 0xffffffff
je 0x4d6ad5
mov edx, dword [esi + 0x5d0]
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [edx + ecx*4 + 0x48]
lea ebx, [edx + ecx*4]
lea ecx, [eax + eax*2]
mov edx, eax
lea ecx, [ecx + ecx*4]
shl edx, 5
shl ecx, 5
add edx, eax
add ecx, eax
lea eax, [eax + edx*2]
lea esi, [esi + ecx*4 + 0x698]
mov ecx, dword [eax*4 + 0x552dc4]
push ecx
call fcn.00403210
mov ecx, dword [ebx + 0x48]
add esp, 4
mov dword [ebp + 0x348], ecx
mov edx, dword [ebp + ecx*4 + 0x428]
test edx, edx
jne 0x4d6748
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x4c], edi
jl 0x4d6ad5
mov eax, dword [0x5552b0]
mov edx, dword [eax + 0x5a7c]
mov dword [eax + 0x5aa4], edx
mov eax, dword [0x5552b0]
mov edx, dword [eax + 0x5a80]
mov dword [eax + 0x5aa8], edx
mov eax, dword [ecx + 0x4c]
mov ecx, dword [0x5552b0]
sub eax, dword [ecx + 0x5a74]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fmul dword [0x529878]
call fcn.0050ef70
pop edi
pop esi
pop ebp
mov dword [esp + 4], eax
pop ebx
add esp, 0x120
ret
mov ecx, dword [0x546aa4]
test ecx, ecx
je 0x4d6ad5
mov edx, dword [ebx]
lea ecx, [esp + 0x30]
push edx
push eax
mov eax, dword [esp + 0x2c]
push esi
push eax
push ebp
push str._s__s__is_considering_a_surprise_attack_against_his_ally__s__s__in__s
push ecx
call fcn.0050fb85
mov eax, dword [0x563acc]
add esp, 0x1c
cmp eax, 9
jl 0x4d6a9c
xor edx, edx
mov dword [0x563ad0], edx
mov edi, dword [edx*4 + 0x563aac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [edx*4 + 0x563aa8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x563ad0]
inc edx
cmp edx, 8
mov dword [0x563ad0], edx
jl 0x4d6789
mov edi, 0x549b78
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [edx*4 + 0x563aa8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x30]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [0x563ad0]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [eax*4 + 0x563aa8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x4d6ac5
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x4c]
cmp eax, ecx
jle 0x4d6859
mov edx, dword [esi + 0x5a94]
mov dword [esi + 0x5aa4], edx
mov eax, dword [0x5552b0]
mov edx, dword [eax + 0x5a98]
mov dword [eax + 0x5aa8], edx
mov eax, dword [ebx + 0x4c]
mov esi, dword [0x5552b0]
sub eax, ecx
lea eax, [eax + eax*4]
mov dword [esp + 0x10], eax
jmp 0x4d68f5
mov ecx, dword [esi + 0x5a5c]
cmp ecx, 1
jne 0x4d689f
cmp eax, dword [esp + 0x20]
jle 0x4d689f
mov eax, dword [esi + 0x5a68]
mov dword [esi + 0x5aa4], eax
mov eax, dword [0x5552b0]
mov ecx, dword [eax + 0x5a6c]
mov dword [eax + 0x5aa8], ecx
mov esi, dword [0x5552b0]
mov eax, dword [ebx + 0x4c]
sub eax, dword [esi + 0x5a60]
lea edx, [eax + eax*4]
mov dword [esp + 0x10], edx
jmp 0x4d68f5
cmp ecx, 2
jne 0x4d6901
cmp eax, dword [esp + 0x20]
jle 0x4d6901
mov eax, dword [esi + 0x5a68]
mov dword [esi + 0x5aa4], eax
mov eax, dword [0x5552b0]
mov ecx, dword [eax + 0x5a6c]
mov dword [eax + 0x5aa8], ecx
mov esi, dword [0x5552b0]
mov edx, dword [ebx + 0x4c]
sub edx, dword [esi + 0x5a60]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [0x529878]
call fcn.0050ef70
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4d6ad5
mov ecx, dword [esi + 0x5a80]
cmp ecx, 0xffffffff
je 0x4d6ad5
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov ecx, dword [esi + 0x5d0]
lea eax, [eax + eax*2]
lea edi, [ecx + eax*4]
mov eax, dword [ecx + eax*4 + 0x48]
lea ecx, [eax + eax*2]
lea edx, [ecx + ecx*4]
mov ecx, eax
shl edx, 5
shl ecx, 5
add edx, eax
add ecx, eax
lea esi, [esi + edx*4 + 0x698]
lea edx, [eax + ecx*2]
mov eax, dword [edx*4 + 0x552dc4]
push eax
call fcn.00403210
mov ecx, dword [edi + 0x48]
add esp, 4
mov dword [ebp + 0x348], ecx
mov edx, dword [ebp + ecx*4 + 0x428]
test edx, edx
jne 0x4d69d1
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0x4c]
cmp eax, ecx
jle 0x4d6ad5
mov eax, dword [0x5552b0]
mov edx, dword [eax + 0x5a7c]
mov dword [eax + 0x5aa4], edx
mov eax, dword [0x5552b0]
mov ecx, dword [eax + 0x5a80]
mov dword [eax + 0x5aa8], ecx
mov eax, dword [0x5552b0]
mov edx, dword [ebx + 0x4c]
sub edx, dword [eax + 0x5a74]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [0x529878]
call fcn.0050ef70
pop edi
pop esi
pop ebp
mov dword [esp + 4], eax
pop ebx
add esp, 0x120
ret
mov ecx, dword [0x546aa4]
test ecx, ecx
je 0x4d6ad5
mov ecx, dword [edi]
mov edx, dword [esp + 0x24]
push ecx
push eax
push esi
push edx
push ebp
lea eax, [esp + 0x44]
push str._s____is_considering_a_surprise_attack_against_his_ally__s__s__in__s
push eax
call fcn.0050fb85
mov eax, dword [0x563acc]
add esp, 0x1c
cmp eax, 9
jl 0x4d6a9c
xor edx, edx
mov dword [0x563ad0], edx
mov edi, dword [edx*4 + 0x563aac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [edx*4 + 0x563aa8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x563ad0]
inc edx
cmp edx, 8
mov dword [0x563ad0], edx
jl 0x4d6a12
mov edi, 0x549b78
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [edx*4 + 0x563aa8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x30]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [0x563ad0]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [eax*4 + 0x563aa8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x4d6ac5
mov edx, dword [eax*4 + 0x563aa8]
inc eax
mov dword [0x563acc], eax
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
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]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret