Function at 0x4d6540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x298]
cmp eax, dword [ecx + 8]
jbe 0x4d8625
sub esp, 0x318
mov ecx, dword [esp + 0x31c]
mov edx, dword [ecx + 0x28]
mov dword [ecx + 0x44], edx
nop
lea edi, [esp + 0x288]
xor eax, eax
call fcn.00468aa4
call fcn.0040ce30
mov ecx, dword [esp]
mov dword [esp + 0x2a8], ecx
mov ecx, dword [esp + 0x31c]
xor eax, eax
jmp 0x4d65a1
inc edx
mov ecx, dword [esp + 0x31c]
mov eax, edx
mov edx, dword [ecx + 0x28]
lea ebx, [edx + 1]
cmp eax, ebx
jge 0x4d65e4
mov dword [esp + 0x78], eax
lea edi, [esp + 0x26c]
mov edx, eax
xor eax, eax
call fcn.00468aa9
mov dword [esp + 0x26c], edx
lea ecx, [esp + 0x26c]
xor ebx, ebx
jmp 0x4d844a
mov ecx, dword [esp + 0x298]
cmp edx, ecx
jb 0x4d6597
jmp 0x4d8618
movzx ebx, byte [ecx + 3]
test bl, bl
je 0x4d6617
lea eax, [edx - 1]
cmp edx, eax
jb 0x4d8422
mov ebx, dword [ecx + 0x24]
mov ebp, dword [ecx + 0x2c]
mov dword [ecx + 0x28], eax
sub ebp, edx
lea edx, [ebp + 1]
mov ebp, edx
neg edx
sar edx, 0x1f
and eax, edx
add eax, ebx
mov edx, 1
jmp 0x4d6621
xor edx, edx
lea eax, [0x6b20c0]
xor ebp, ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], edx
mov dword [esp + 0x16c], eax
mov dword [esp], ecx
call fcn.004d5390
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x31c]
mov dword [ecx + 0x3c], eax
movzx eax, byte [ecx + 0x50]
test al, al
je 0x4d67b6
nop
call fcn.0040ce30
mov eax, dword [0x6b2320]
mov ecx, dword [esp]
test eax, eax
jne 0x4d666e
mov eax, dword [esp + 0x31c]
jmp 0x4d6682
call fcn.00468870
mov dword [edi], ecx
mov eax, dword [esp + 0x31c]
mov ebp, dword [eax + 0x4c]
mov dword [edi + 4], ebp
mov dword [eax + 0x4c], ecx
xor ecx, ecx
jmp 0x4d6699
mov dword [eax], ecx
mov ebp, dword [esp + 0x6c]
lea ecx, [ebp + 1]
mov eax, dword [esp + 0x31c]
mov ebx, dword [eax + 0x28]
lea ebp, [ebx - 3]
cmp ecx, ebp
jge 0x4d67b4
mov ebp, dword [eax + 0x24]
mov esi, dword [eax + 0x2c]
sub esi, ecx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ecx
sub ebx, ecx
add ebp, esi
cmp ebx, 3
jb 0x4d8418
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x1a8], ebp
mov ecx, dword [eax + 0x4c]
lea edx, [0x52c1a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.0040d220
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov eax, dword [eax]
cmp ecx, edx
jae 0x4d672a
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x52aa00]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1a4], eax
mov dword [esp + 0xb8], edx
mov dword [esp + 0xb4], ecx
mov ebx, dword [esp + 0x6c]
mov dword [eax + edx*4 - 4], ebx
mov ebp, dword [esp + 0x31c]
mov esi, dword [ebp + 0x4c]
lea edi, [0x52c1a0]
mov dword [esp], edi
mov dword [esp + 4], esi
mov esi, dword [esp + 0x1a8]
mov dword [esp + 8], esi
call fcn.0040d770
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xb8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 8], ecx
mov ecx, dword [0x6b2320]
test ecx, ecx
jne 0x4d679c
mov ecx, dword [esp + 0x1a4]
jmp 0x4d6689
call fcn.00468870
mov ecx, dword [esp + 0x1a4]
mov dword [edi], ecx
mov ebp, dword [eax]
mov dword [edi + 4], ebp
jmp 0x4d6689
mov ecx, eax
movzx eax, byte [ecx]
test al, al
jne 0x4d6820
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0
lea eax, [0x52a880]
mov dword [esp + 0x1c4], eax
lea ecx, [0x5d40d4]
mov dword [esp + 0x1c8], ecx
mov ecx, dword [0x68b9cc]
lea edx, [0x5d4354]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x1c4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a4b40
call fcn.00494ed0
lea edi, [esp + 0x214]
lea esi, [esp]
call fcn.00468f8e
xor eax, eax
jmp 0x4d6854
mov dword [esp + 0x74], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004d5cd0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x74]
lea eax, [eax + ecx + 1]
mov ecx, dword [esp + 0x31c]
cmp dword [ecx + 0x28], eax
jg 0x4d6838
movzx eax, byte [ecx]
test al, al
jne 0x4d6968
movzx eax, byte [ecx + 4]
test al, al
je 0x4d6930
lea edi, [esp]
lea esi, [esp + 0x214]
call fcn.00468f8e
call fcn.00494a10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x204], 0
mov dword [esp + 0x208], 0
mov dword [esp + 0x20c], 0
mov dword [esp + 0x210], 0
lea edx, [0x52a880]
mov dword [esp + 0x204], edx
lea ebx, [0x5d40dc]
mov dword [esp + 0x208], ebx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00409b60
mov eax, dword [esp + 8]
lea ecx, [0x53db80]
mov dword [esp + 0x20c], ecx
mov dword [esp + 0x210], eax
mov eax, dword [0x68b9cc]
lea edx, [0x5d4354]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x204]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a4b40
mov eax, dword [0x68b9cc]
nop
lea ecx, [0x5d4354]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a4ca0
mov ecx, dword [esp + 0x31c]
mov eax, dword [ecx + 0x30]
mov edx, dword [ecx + 0x28]
lea ebx, [0x52c120]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0040f030
mov eax, dword [esp + 0xc]
mov byte [eax], 1
mov eax, dword [esp + 0x31c]
mov ecx, dword [eax + 0x34]
lea edx, [0x52c120]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.0040f030
mov eax, dword [esp + 0xc]
mov byte [eax], 1
mov eax, dword [esp + 0x31c]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x4d69c8
mov ecx, dword [ecx]
jmp 0x4d69ca
xor ecx, ecx
mov dword [esp + 0x3c], ecx
lea eax, [0x52aa00]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.0044f1d0
mov eax, dword [esp + 0x31c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x4d69fa
mov ecx, dword [ecx]
jmp 0x4d69fc
xor ecx, ecx
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a0], eax
lea edx, [0x52aa00]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.0044f1d0
mov eax, dword [esp + 0x31c]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x19c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x198], edx
lea edi, [esp + 0x2e8]
xor eax, eax
call fcn.00468aa4
lea ecx, [0x52c120]
mov dword [esp], ecx
mov ebp, dword [esp + 0x19c]
mov dword [esp + 4], ebp
lea ebp, [esp + 0x2e8]
mov dword [esp + 8], ebp
call fcn.0040dfe0
mov eax, dword [esp + 0x1a0]
xor ecx, ecx
mov edx, dword [esp + 0x3c]
jmp 0x4d6ab6
mov dword [esp + 0x168], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [eax + ecx*4 - 4], ebx
lea ebx, [esp + 0x2e8]
mov dword [esp], ebx
call fcn.0040e220
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2e8]
test ebx, ebx
je 0x4d6b00
inc ecx
mov ebx, dword [ebx]
cmp edx, ecx
jae 0x4d6a85
mov dword [esp + 0x68], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x52aa00]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
jmp 0x4d6a85
mov dword [esp + 0xb0], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x194], eax
mov ecx, dword [esp + 0x31c]
mov edx, dword [ecx + 0x34]
lea edi, [esp + 0x2e8]
xor eax, eax
call fcn.00468aa4
lea ecx, [0x52c120]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [esp + 0x2e8]
mov dword [esp + 8], ecx
call fcn.0040dfe0
mov eax, dword [esp + 0x80]
xor ecx, ecx
mov edx, dword [esp + 0x198]
jmp 0x4d6b90
mov dword [esp + 0x170], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov dword [edx + ecx*4 - 4], ebx
lea ebx, [esp + 0x2e8]
mov dword [esp], ebx
call fcn.0040e220
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x170]
mov ebx, dword [esp + 0x2e8]
test ebx, ebx
je 0x4d6bdd
inc ecx
mov ebx, dword [ebx]
cmp eax, ecx
jae 0x4d6b59
mov dword [esp + 0x64], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x52aa00]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
jmp 0x4d6b59
mov dword [esp + 0xac], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x190], edx
mov eax, dword [esp + 0x194]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp + 8], edx
call fcn.00409c90
mov eax, dword [esp + 0xc]
lea ecx, [0x5d4948]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00470a70
mov eax, dword [esp + 0x190]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
call fcn.00409c90
mov eax, dword [esp + 0xc]
lea ecx, [0x5d4948]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00470a70
mov eax, dword [esp + 0x31c]
movzx ecx, byte [eax]
test cl, cl
jne 0x4d6cd7
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
lea eax, [0x52a880]
mov dword [esp + 0x1bc], eax
lea ecx, [0x5d40e4]
mov dword [esp + 0x1c0], ecx
mov ecx, dword [0x68b9cc]
lea edx, [0x5d4354]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x1bc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a4b40
mov eax, dword [esp + 0x31c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x194]
mov ebx, dword [esp + 0x190]
mov ebp, dword [esp + 0x7c]
xor esi, esi
xor edi, edi
jmp 0x4d6cfa
mov ebx, dword [esp + 0x190]
cmp esi, ebp
jge 0x4d6d4a
cmp edi, ecx
jge 0x4d6d4a
cmp esi, ebp
jae 0x4d840f
mov ebx, dword [ebx + esi*4]
cmp edi, ecx
jae 0x4d8408
lea ecx, [edx + edi*4]
cmp dword [ecx], ebx
jg 0x4d6d23
inc edi
mov ecx, dword [esp + 0x38]
jmp 0x4d6cf3
mov dword [esp + 0x88], esi
mov dword [esp + 0x50], edi
jmp 0x4d8177
mov ecx, dword [esp + 0x38]
jmp 0x4d82c5
mov edx, dword [esp + 0x194]
inc esi
mov edi, dword [esp + 0x50]
jmp 0x4d6cf3
movzx ecx, byte [eax]
test cl, cl
jne 0x4d6eae
movzx ecx, byte [eax + 4]
test cl, cl
je 0x4d6e1a
lea edi, [esp]
lea esi, [esp + 0x214]
call fcn.00468f8e
call fcn.00494a10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1f4], 0
mov dword [esp + 0x1f8], 0
mov dword [esp + 0x1fc], 0
mov dword [esp + 0x200], 0
lea edx, [0x52a880]
mov dword [esp + 0x1f4], edx
lea ebx, [0x5d40dc]
mov dword [esp + 0x1f8], ebx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00409b60
mov eax, dword [esp + 8]
lea ecx, [0x53db80]
mov dword [esp + 0x1fc], ecx
mov dword [esp + 0x200], eax
mov eax, dword [0x68b9cc]
lea edx, [0x5d4354]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x1f4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a4b40
mov eax, dword [0x68b9cc]
nop
lea ecx, [0x5d4354]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a4ca0
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
lea eax, [0x52a880]
mov dword [esp + 0x1b4], eax
lea ecx, [0x5d40ec]
mov dword [esp + 0x1b8], ecx
mov ecx, dword [0x68b9cc]
lea edx, [0x5d4354]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x1b4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a4b40
call fcn.00494ed0
lea edi, [esp + 0x214]
lea esi, [esp]
call fcn.00468f8e
mov eax, dword [esp + 0x31c]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x18c], ecx
lea edi, [esp + 0x2b8]
xor eax, eax
call fcn.00468aa4
lea ecx, [0x52c160]
mov dword [esp], ecx
mov ebx, dword [esp + 0x18c]
mov dword [esp + 4], ebx
lea ebx, [esp + 0x2b8]
mov dword [esp + 8], ebx
call fcn.0040dfe0
jmp 0x4d6f16
lea eax, [esp + 0x2b8]
mov dword [esp], eax
call fcn.0040e220
mov eax, dword [esp + 0x2b8]
test eax, eax
je 0x4d70f8
mov ecx, dword [eax]
mov dword [esp + 0xb8], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0xb4], eax
mov esi, dword [esp + 0x2bc]
lea edi, [esp + 0xec]
call fcn.00468f8e
movzx ecx, byte [esp + 0xec]
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
mov dword [esp + 4], eax
mov byte [esp + 8], cl
call fcn.004d55e0
mov ecx, dword [esp + 0x298]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xb8]
cmp ecx, ebx
jle 0x4d6f8f
mov ebp, dword [esp + 0xb4]
cmp ecx, ebp
jg 0x4d6fa0
mov eax, dword [0x688070]
mov ecx, dword [0x688074]
jmp 0x4d7058
cmp ecx, ebx
jbe 0x4d814f
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], edx
mov ecx, dword [esp + 0x294]
imul ebx, ebx, 0x1c
mov esi, dword [ebx + ecx + 0x18]
test esi, esi
jne 0x4d7023
mov dword [esp + 0x188], ecx
mov dword [esp + 0xb8], ebx
call fcn.0040ce30
mov eax, dword [0x6b2320]
mov ecx, dword [esp]
test eax, eax
jne 0x4d6ff8
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x188]
jmp 0x4d7014
call fcn.00468870
mov dword [edi], ecx
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x188]
mov ebx, dword [edx + eax + 0x18]
mov dword [edi + 4], ebx
mov dword [edx + eax + 0x18], ecx
mov ecx, edx
mov ebx, eax
mov ebp, dword [esp + 0xb4]
mov eax, dword [ebx + ecx + 0x18]
lea ecx, [0x52c1e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.0040f030
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x9c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x98]
mov dword [eax], ecx
xor eax, eax
xor ecx, ecx
test eax, eax
je 0x4d6f07
mov dword [esp + 0x1cc], 0
mov dword [esp + 0x1d0], 0
je 0x4d707b
mov eax, dword [eax + 4]
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], ecx
lea eax, [0x549f7f]
mov dword [esp], eax
mov dword [esp + 4], 0x13
lea eax, [esp + 0x1cc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x320], 0
mov dword [esp + 0x324], 0
mov dword [esp + 0x328], 0
mov dword [esp + 0x32c], eax
mov dword [esp + 0x330], ecx
add esp, 0x318
ret
mov eax, dword [esp + 0x31c]
movzx ecx, byte [eax]
test cl, cl
jne 0x4d7263
movzx ecx, byte [eax + 4]
test cl, cl
je 0x4d71cf
lea edi, [esp]
lea esi, [esp + 0x214]
call fcn.00468f8e
call fcn.00494a10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
lea edx, [0x52a880]
mov dword [esp + 0x1e4], edx
lea ebx, [0x5d40dc]
mov dword [esp + 0x1e8], ebx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00409b60
mov eax, dword [esp + 8]
lea ecx, [0x53db80]
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], eax
mov eax, dword [0x68b9cc]
lea edx, [0x5d4354]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x1e4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a4b40
mov eax, dword [0x68b9cc]
nop
lea ecx, [0x5d4354]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a4ca0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], 0
lea eax, [0x52a880]
mov dword [esp + 0x1ac], eax
lea ecx, [0x5d40f4]
mov dword [esp + 0x1b0], ecx
mov ecx, dword [0x68b9cc]
lea edx, [0x5d4354]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x1ac]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a4b40
call fcn.00494ed0
lea edi, [esp + 0x214]
lea esi, [esp]
call fcn.00468f8e
mov eax, dword [esp + 0x31c]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0xb8], ecx
lea edi, [esp + 0x23c]
xor eax, eax
call fcn.00468aab
lea eax, [esp + 0x288]
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0xb8]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004d22f0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x184], ecx
mov edx, dword [esp + 0x28]
lea edi, [esp + 0x23c]
lea esi, [esp + 0x10]
call fcn.00468f8e
lea edi, [esp + 0x228]
lea esi, [esp + 0x23c]
call fcn.00468f8e
test eax, eax
jne 0x4d741b
mov ebx, dword [esp + 0x31c]
movzx ebp, byte [ebx]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4d740c
movzx eax, byte [ebx + 4]
test al, al
je 0x4d73d4
lea edi, [esp]
lea esi, [esp + 0x214]
call fcn.00468f8e
call fcn.00494a10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x1e0], 0
lea edx, [0x52a880]
mov dword [esp + 0x1d4], edx
lea edx, [0x5d40dc]
mov dword [esp + 0x1d8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00409b60
mov eax, dword [esp + 8]
lea ecx, [0x53db80]
mov dword [esp + 0x1dc], ecx
mov dword [esp + 0x1e0], eax
mov eax, dword [0x68b9cc]
lea ecx, [0x5d4354]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x1d4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a4b40
mov eax, dword [0x68b9cc]
nop
lea ecx, [0x5d4354]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a4ca0
mov ebx, dword [esp + 0x31c]
xor eax, eax
xor ecx, ecx
lea edx, [esp + 0x2c]
xor ebp, ebp
jmp 0x4d74e9
mov dword [esp + 0x1cc], 0
mov dword [esp + 0x1d0], 0
mov eax, dword [esp + 0x184]
test eax, eax
je 0x4d7441
mov ecx, dword [eax + 4]
jmp 0x4d7443
mov ecx, eax
mov dword [esp + 0x1cc], ecx
mov dword [esp + 0x1d0], edx
lea eax, [0x54ac69]
mov dword [esp], eax
mov dword [esp + 4], 0x15
lea eax, [esp + 0x1cc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x320], 0
mov dword [esp + 0x324], 0
mov dword [esp + 0x328], 0
mov dword [esp + 0x32c], eax
mov dword [esp + 0x330], ecx
add esp, 0x318
ret
mov dword [esp + 0x30], ecx
lea eax, [ecx + ecx*4]
lea edi, [edx + eax*4 - 0x14]
lea esi, [esp + 0x13c]
call fcn.00468f8e
mov ebx, dword [esp + 0x31c]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x164], edx
mov esi, dword [esp + 0x234]
lea edi, [esi - 1]
cmp eax, edi
jge 0x4d75dd
mov edi, dword [esp + 0x230]
lea edx, [eax + 1]
mov ebp, dword [edi + eax*4]
cmp esi, edx
jbe 0x4d8146
mov dword [esp + 0xb8], edx
mov eax, dword [edi + eax*4 + 4]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], eax
inc ecx
mov dword [esp + 0xb4], ecx
mov edx, dword [ebx + 0x38]
mov ebp, dword [esp + 0xbc]
lea esi, [0x52c160]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
call fcn.0040f9c0
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x13c]
call fcn.00468f8e
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xb4]
cmp eax, ecx
jb 0x4d75a3
mov edx, dword [esp + 0x164]
mov ebp, eax
jmp 0x4d74c0
mov edx, dword [esp + 0x164]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x538c80]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
jmp 0x4d74c0
mov dword [esp + 0x30], ecx
movzx eax, byte [ebx + 3]
test al, al
je 0x4d7605
lea eax, [ecx - 1]
mov esi, ecx
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov ecx, esi
xor esi, esi
mov dword [esp + 0x2c], esi
mov esi, ecx
jmp 0x4d7bd3
xor eax, eax
xor ebp, ebp
lea esi, [0x6b20c0]
xor edi, edi
jmp 0x4d766c
mov dword [esp + 0xb4], ebp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x1a8], esi
add ecx, esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004691a0
mov eax, dword [esp + 0x1a0]
lea edx, [eax + 0x14]
mov eax, dword [esp + 0xb8]
inc eax
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x31c]
mov ebp, dword [esp + 0xb4]
mov esi, dword [esp + 0x1a8]
mov edi, dword [esp + 0x8c]
cmp eax, ecx
jge 0x4d773f
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], edi
mov dword [esp + 0x174], esi
mov dword [esp + 0xb8], eax
mov dword [esp + 0x1a0], edx
lea edi, [esp + 0xc4]
mov esi, edx
call fcn.00468f8e
mov dword [esp], ebx
lea edi, [esp + 4]
lea esi, [esp + 0xc4]
call fcn.00468f8e
call fcn.004d5700
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x8c]
lea edx, [eax + ecx]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x90]
cmp ebp, edx
jb 0x4d76e6
mov esi, dword [esp + 0x174]
jmp 0x4d7613
mov dword [esp + 0xb4], eax
mov dword [esp + 0x1a8], ebx
mov ecx, dword [esp + 0x174]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x52abc0]
mov dword [esp + 0x10], ecx
call fcn.0044f350
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x1a8]
jmp 0x4d7613
lea eax, [edi + 1]
cmp ebp, eax
jae 0x4d777b
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x52abc0]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x31c]
mov byte [eax + esi - 1], 0x20
movzx ecx, byte [ebx + 2]
test cl, cl
jne 0x4d7855
mov dword [esp + 0x180], esi
mov dword [esp + 0xa8], eax
lea eax, [0x528640]
mov dword [esp], eax
call fcn.0040c3d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xa8]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x31c]
mov ebp, dword [ebx + 0x3c]
dec ebp
xchg ebp, ebx
mov byte [eax], bl
xchg ebp, ebx
cmp edx, 1
ja 0x4d77d3
mov ebp, 1
jmp 0x4d780a
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
lea eax, [0x52abc0]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x174], eax
lea ebx, [eax + 1]
mov dword [esp], ebx
mov ebx, dword [esp + 0x180]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004691a0
mov ebx, dword [esp + 0x31c]
mov ebp, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x174]
mov dword [ebx + 0x40], eax
movzx ecx, byte [ebx + 2]
test cl, cl
je 0x4d7a28
mov dword [esp + 0xa4], eax
mov dword [esp + 0x17c], esi
mov eax, dword [0x6882cc]
mov dword [esp + 0x94], eax
nop
mov dword [esp], eax
mov dword [esp + 4], 0
mov byte [esp + 8], 0
call fcn.0040b960
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a0], eax
mov ecx, dword [0x6882c8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
call fcn.004691a0
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x94]
lea edx, [ecx + eax]
lea ebx, [eax + ecx + 0x6ff]
cmp ecx, 0x1e
jbe 0x4d7b9e
mov ebp, dword [esp + 0x1a0]
mov byte [ebp + 0x1e], bl
cmp ecx, 0x1f
jbe 0x4d7b92
sar ebx, 8
mov byte [ebp + 0x1f], bl
cmp ecx, 0x3c
jbe 0x4d7b88
lea ebx, [eax - 0x10000]
neg ebx
mov byte [ebp + 0x3c], bl
cmp ecx, 0x3d
jbe 0x4d7b7c
sar ebx, 8
mov byte [ebp + 0x3d], bl
cmp ecx, 0x40
jbe 0x4d7b72
mov ebx, dword [esp + 0x31c]
movzx esi, word [ebx + 0x12]
xchg esi, eax
mov byte [ebp + 0x40], al
xchg esi, eax
cmp ecx, 0x41
jbe 0x4d7b66
movzx esi, word [ebx + 0x12]
shr si, 8
xchg esi, eax
mov byte [ebp + 0x41], al
xchg esi, eax
cmp ecx, 0x77
jbe 0x4d7b5c
movzx esi, word [ebx + 0x10]
xchg esi, eax
mov byte [ebp + 0x77], al
xchg esi, eax
cmp ecx, 0x78
jbe 0x4d7b50
movzx esi, word [ebx + 0x10]
shr si, 8
xchg esi, eax
mov byte [ebp + 0x78], al
xchg esi, eax
cmp ecx, 0xc9
jbe 0x4d7b46
mov esi, dword [ebx + 0x3c]
dec esi
xchg esi, eax
mov byte [ebp + 0xc9], al
xchg esi, eax
cmp ecx, edx
jb 0x4d7991
mov esi, ecx
jmp 0x4d79cb
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
lea edx, [0x52abc0]
mov dword [esp + 0x10], edx
call fcn.0044f350
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x94]
mov ebp, eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x174], ebp
lea ebx, [esi + ebp]
mov dword [esp], ebx
mov ebx, dword [esp + 0x17c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004691a0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x31c]
add dword [ecx + 0x40], eax
mov word [ecx + 0x14], 0x801
mov ebx, ecx
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x174]
mov ebp, dword [esp + 0x90]
movzx ecx, word [ebx + 0x12]
add ecx, dword [ebx + 0x28]
dec ecx
mov word [ebx + 0x48], cx
movzx edx, byte [ebx + 3]
test dl, dl
je 0x4d7b14
mov dword [esp + 0x178], esi
mov dword [esp + 0xa0], eax
sub ecx, eax
inc ecx
mov word [ebx + 0x14], cx
lea ecx, [0x5285a0]
mov dword [esp], ecx
call fcn.0040c3d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xa0]
lea edx, [ecx + 2]
mov ebx, dword [esp + 0x31c]
movzx ebp, word [ebx + 0x14]
xchg ebp, ebx
mov byte [eax], bl
xchg ebp, ebx
movzx ebx, word [ebx + 0x14]
shr bx, 8
mov byte [eax + 1], bl
cmp edx, 2
ja 0x4d7a99
mov ebx, 2
jmp 0x4d7ad0
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 2
mov dword [esp + 0xc], ecx
lea eax, [0x52abc0]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x174], eax
lea ebp, [eax + 2]
mov dword [esp], ebp
mov ebp, dword [esp + 0x178]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.004691a0
mov ebp, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x174]
mov dword [esp + 0x320], esi
mov dword [esp + 0x324], eax
mov dword [esp + 0x328], ebp
mov dword [esp + 0x32c], 0
mov dword [esp + 0x330], 0
add esp, 0x318
ret
mov eax, 0xc9
call fcn.004688d0
mov eax, 0x78
mov ecx, eax
call fcn.004688d0
mov eax, 0x77
call fcn.004688d0
mov eax, 0x41
mov ecx, eax
call fcn.004688d0
mov eax, 0x40
call fcn.004688d0
mov eax, 0x3d
mov ecx, eax
call fcn.004688d0
mov eax, 0x3c
call fcn.004688d0
mov eax, 0x1f
mov ecx, eax
call fcn.004688d0
mov eax, 0x1e
call fcn.004688d0
mov esi, dword [esp + 0x70]
dec esi
mov edi, dword [esp + 0x31c]
mov ebx, edi
mov edi, eax
mov dword [esp + 0x40], ecx
mov ecx, edx
mov dword [esp + 0x2c], ebp
mov edx, dword [esp + 0x164]
mov ebp, dword [esp + 0x34]
mov eax, esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x48], ecx
test eax, eax
jl 0x4d7c62
cmp esi, eax
jbe 0x4d813f
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], edi
lea ecx, [eax + eax*4]
mov dword [esp + 0xb8], ecx
lea esi, [edx + ecx*4]
lea edi, [esp + 0x128]
call fcn.00468f8e
mov dword [esp], ebx
lea edi, [esp + 4]
lea esi, [esp + 0x128]
call fcn.00468f8e
call fcn.004d5700
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0x164]
add ecx, dword [ebx + edx*4 + 4]
cmp ecx, eax
jg 0x4d7c55
mov ebp, dword [esp + 0x2c]
add ebp, ecx
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x70]
jmp 0x4d7ba8
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x2c]
jmp 0x4d7ba8
cmp ebp, ecx
jb 0x4d8138
xor eax, eax
xor ebp, ebp
lea esi, [0x6b20c0]
xor edi, edi
jmp 0x4d7cd1
mov dword [esp + 0x8c], edx
mov dword [esp + 0x174], esi
mov dword [esp + 0x90], ebp
add ecx, esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004691a0
mov eax, dword [esp + 0x1a0]
lea edx, [eax + 0x14]
mov eax, dword [esp + 0xb8]
inc eax
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x31c]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x174]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], edi
mov dword [esp + 0x174], esi
cmp ecx, eax
jle 0x4d7da4
mov dword [esp + 0xb8], eax
mov dword [esp + 0x1a0], edx
lea edi, [esp + 0xd8]
mov esi, edx
call fcn.00468f8e
mov dword [esp], ebx
lea edi, [esp + 4]
lea esi, [esp + 0xd8]
call fcn.00468f8e
call fcn.004d5700
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x8c]
lea edx, [eax + ecx]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x90]
cmp ebp, edx
jb 0x4d7d4b
mov esi, dword [esp + 0x174]
jmp 0x4d7c78
mov dword [esp + 0x1a8], ebx
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x174]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x52abc0]
mov dword [esp + 0x10], ecx
call fcn.0044f350
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x1a8]
jmp 0x4d7c78
mov edx, dword [esp + 0x2c]
test edx, edx
jle 0x4d7e7e
mov eax, dword [ebx + 0x28]
mov ecx, eax
sub eax, edx
cmp ecx, eax
jb 0x4d8133
mov edx, dword [ebx + 0x24]
mov ebx, dword [ebx + 0x2c]
sub ebx, eax
mov dword [esp + 0xb8], ebx
sub ecx, eax
mov esi, dword [esp + 0x54]
lea ebp, [ecx + esi]
neg ebx
sar ebx, 0x1f
and eax, ebx
add eax, edx
mov edx, dword [esp + 0xb8]
cmp edx, ebp
jae 0x4d7e29
mov dword [esp + 0xb8], ecx
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
lea eax, [0x52abc0]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xb8]
mov esi, dword [esp + 0x54]
mov edx, ebx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x1a8], eax
add ecx, eax
mov dword [esp], ecx
mov ecx, dword [esp + 0x16c]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.004691a0
mov ebx, dword [esp + 0x31c]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x174]
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x1a8]
jmp 0x4d7e8d
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x16c], edx
inc edi
cmp ebp, edi
jae 0x4d7ee5
mov dword [esp + 0x54], ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x52abc0]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x16c]
mov ebx, dword [esp + 0x31c]
mov byte [edi + esi - 1], 0x20
cmp ecx, 1
jb 0x4d8127
lea ebx, [ecx + edi - 1]
dec eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, edx
dec ecx
cmp ebp, ebx
jae 0x4d7f57
mov dword [esp + 0x8c], edi
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x1a8], eax
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
lea eax, [0x52abc0]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1a8]
mov ecx, dword [esp + 0xb8]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x174], esi
lea edx, [esi + edi]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004691a0
mov eax, dword [esp + 0x8c]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x58]
cmp edx, ecx
jb 0x4d7f93
mov edx, dword [esp + 0x16c]
jmp 0x4d7fc7
mov ebx, dword [esp + 0x16c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
lea ecx, [0x52abc0]
mov dword [esp + 0x10], ecx
call fcn.0044f350
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x1a8], edx
lea ebx, [edx + 1]
mov dword [esp], ebx
mov ebx, dword [esp + 0x174]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004691a0
lea eax, [0x528640]
mov dword [esp], eax
call fcn.0040c3d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x8c]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x31c]
mov ebp, dword [ebx + 0x3c]
dec ebp
xchg ebp, ebx
mov byte [eax], bl
xchg ebp, ebx
cmp edx, 1
jbe 0x4d8052
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
lea eax, [0x52abc0]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x174], eax
lea ebx, [eax + 1]
mov dword [esp], ebx
mov ebx, dword [esp + 0x1a8]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004691a0
mov eax, dword [esp + 0x31c]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov ebx, dword [esp + 0x8c]
lea ebp, [ebx + edx]
mov esi, dword [eax + 0x18]
cmp ecx, ebp
jae 0x4d80d7
mov dword [esp + 0xb8], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
lea eax, [0x52abc0]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x1a8], esi
lea eax, [esi + edx]
mov dword [esp], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004691a0
mov ebx, dword [esp + 0x31c]
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x1a8]
mov ebp, dword [esp + 0x90]
jmp 0x4d7855
mov eax, 1
xor ecx, ecx
call fcn.00468930
call fcn.00468930
mov edx, ebp
call fcn.00468910
mov ecx, esi
call fcn.004688d0
mov eax, edx
mov ecx, esi
call fcn.004688d0
mov eax, ebx
call fcn.004688d0
mov eax, dword [esp + 0x31c]
mov edx, dword [esp + 0x194]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x84], ebx
mov ecx, dword [edx + edi*4]
sub ecx, ebx
cmp ecx, 0x1f
jl 0x4d6d33
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xbc], ebx
lea ecx, [ebx + 0x1f]
mov dword [esp + 0x60], ecx
mov dword [esp + 0xc0], ecx
mov edx, dword [esp + 0xbc]
mov ebp, dword [eax + 0x38]
lea esi, [0x52c160]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
call fcn.0040fb20
movzx eax, byte [esp + 0x14]
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x150]
call fcn.00468f8e
test al, al
jne 0x4d8156
lea edi, [esp + 0x114]
xor eax, eax
call fcn.00468aab
mov byte [esp + 0x114], 4
mov dword [esp + 0x118], 0x1f
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x124], ecx
mov dword [esp + 0x118], 0x1f
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc0], ecx
mov edx, dword [esp + 0x31c]
mov ebx, dword [edx + 0x38]
mov ebp, dword [esp + 0xbc]
lea esi, [0x52c160]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebp
call fcn.0040fc90
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x114]
call fcn.00468f8e
jmp 0x4d8156
mov eax, dword [esp + 0x4c]
lea edi, [eax + 1]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x31c]
mov ebx, dword [esp + 0x84]
mov edx, dword [esp + 0x194]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x88]
cmp edi, ecx
jge 0x4d6d43
mov edx, dword [edx + edi*4]
mov dword [esp + 0xb8], edx
sub edx, ebx
cmp edx, 0x1f
jge 0x4d6d3c
mov dword [esp + 0x4c], edi
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xbc], ebx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0xc0], ecx
mov edx, dword [esp + 0xbc]
mov ebp, dword [eax + 0x38]
lea esi, [0x52c160]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
call fcn.0040fb20
movzx eax, byte [esp + 0x14]
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x150]
call fcn.00468f8e
test al, al
jne 0x4d829a
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x194]
mov ebx, dword [edx + ecx*4]
lea edi, [esp + 0x100]
xor eax, eax
call fcn.00468aab
mov byte [esp + 0x100], 4
mov ecx, dword [esp + 0x84]
sub ebx, ecx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x110], ecx
mov ebx, dword [esp + 0x4c]
mov ebp, dword [edx + ebx*4]
sub ebp, ecx
mov dword [esp + 0x104], ebp
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xbc], ecx
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0xc0], ebp
mov esi, dword [esp + 0x31c]
mov edi, dword [esi + 0x38]
mov eax, dword [esp + 0xbc]
lea esi, [0x52c160]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
call fcn.0040fc90
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x100]
call fcn.00468f8e
jmp 0x4d829a
mov eax, edi
call fcn.004688d0
mov eax, esi
mov ecx, ebp
call fcn.004688d0
mov edx, 3
call fcn.004689a0
mov ecx, edx
call fcn.00468930
lea esi, [esp + 0x250]
call fcn.00468f7a
mov ecx, dword [esp + 0x1a0]
add ecx, 0x1c
xor eax, eax
mov edx, dword [esp + 0x78]
mov ebx, 1
test ebx, ebx
jg 0x4d65d4
mov dword [esp + 0x1a0], ecx
lea edi, [esp + 0x250]
mov esi, ecx
call fcn.00468f7a
lea eax, [0x529c20]
mov dword [esp], eax
call fcn.0040c3d0
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov dword [esp + 0x25c], eax
mov dword [esp + 0x260], 1
mov dword [esp + 0x264], 1
mov eax, dword [esp + 0x250]
mov ecx, dword [esp + 0x298]
cmp ecx, eax
jg 0x4d85bb
lea edx, [0x5374a0]
mov dword [esp], edx
sub eax, ecx
mov dword [esp + 0xb8], eax
lea ecx, [eax + 1]
mov dword [esp + 0x5c], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044f1d0
mov eax, dword [esp + 0x298]
mov ecx, dword [esp + 0xb8]
lea ecx, [eax + ecx + 1]
mov edx, dword [esp + 0x29c]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x294]
cmp edx, ecx
jae 0x4d854a
mov dword [esp + 0x198], ebx
mov dword [esp + 0xb8], eax
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
lea ecx, [0x5374a0]
mov dword [esp + 0x10], ecx
call fcn.0044f350
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xb8]
mov ebx, dword [esp + 0x198]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x188], ebp
mov dword [esp + 0xb4], edx
lea esi, [0x5374a0]
mov dword [esp], esi
sub ecx, eax
sub edx, eax
neg edx
imul eax, eax, 0x1c
sar edx, 0x1f
and eax, edx
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
call fcn.00411270
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x298], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x29c], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x294], eax
mov ecx, dword [esp + 0x298]
mov eax, dword [esp + 0x250]
cmp ecx, eax
jbe 0x4d861f
mov ecx, dword [esp + 0x294]
imul edx, eax, 0x1c
mov ebx, dword [0x6b2320]
lea edi, [edx + ecx]
test ebx, ebx
je 0x4d8429
mov dword [esp + 0x188], edi
lea eax, [0x5374a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x250]
mov dword [esp + 8], eax
call fcn.004111d0
mov edi, dword [esp + 0x188]
jmp 0x4d8429
mov eax, edx
call fcn.004688d0
call fcn.004688d0
nop
call fcn.00467460
jmp fcn.004d6540