Function at 0x476a9c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x56
push 0
push 0
dec ecx
jne 0x476aa4
push ebx
push esi
push edi
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x477efd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x25], 0
xor eax, eax
push ebp
push 0x476b22
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x70]
mov eax, dword [0x4a6cac]
mov eax, dword [eax]
call fcn.004611d0
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 4]
call fcn.0040a230
lea eax, [ebp - 0x74]
mov ecx, 0x477f18
mov edx, dword [ebp - 4]
call fcn.0040570c
mov eax, dword [ebp - 0x74]
call fcn.0040a108
test al, al
jne 0x476b18
mov byte [ebp - 0x25], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x477eac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476b30
xor eax, eax
push ebp
push 0x477ea2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x477d98
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x44], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x24]
call fcn.00471a6c
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
call fcn.00471a98
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 8]
call fcn.0040548c
lea eax, [ebp - 0x7c]
mov ecx, 0x477f18
mov edx, dword [ebp - 4]
call fcn.0040570c
mov eax, dword [ebp - 0x7c]
call fcn.0040a108
test al, al
je 0x477d8e
mov dl, 1
mov eax, dword [0x41a56c]
call fcn.004043c0
mov dword [ebp - 0x2c], eax
mov dl, 1
mov eax, dword [0x41a56c]
call fcn.004043c0
mov dword [ebp - 0x30], eax
mov dl, 1
mov eax, dword [0x41a56c]
call fcn.004043c0
mov dword [ebp - 0x58], eax
mov dl, 1
mov eax, dword [0x41a56c]
call fcn.004043c0
mov dword [ebp - 0x5c], eax
mov dl, 1
mov eax, dword [0x41a56c]
call fcn.004043c0
mov dword [ebp - 0x60], eax
mov dl, 1
mov eax, dword [0x41a56c]
call fcn.004043c0
mov dword [ebp - 0x64], eax
mov dl, 1
mov eax, dword [0x41a56c]
call fcn.004043c0
mov dword [ebp - 0x40], eax
mov dl, 1
mov eax, dword [0x41a56c]
call fcn.004043c0
mov dword [ebp - 0x34], eax
mov dl, 1
mov eax, dword [0x41a56c]
call fcn.004043c0
mov dword [ebp - 0x38], eax
mov dl, 1
mov eax, dword [0x41a56c]
call fcn.004043c0
mov dword [ebp - 0x3c], eax
mov dl, 1
mov eax, dword [0x41a56c]
call fcn.004043c0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
mov ecx, 0x477f18
mov edx, dword [ebp - 4]
call fcn.0040570c
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x477d8e
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
sub eax, 2
test eax, eax
jl 0x476ce2
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x84]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0xc]
call fcn.004629a8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x4c]
dec dword [ebp - 0x68]
jne 0x476cb0
mov dl, 1
mov eax, dword [0x41a894]
call fcn.004043c0
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x78]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x24]
call fcn.00476188
movzx ebx, al
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0xc]
call fcn.004629a8
mov eax, dword [ebp - 0xc]
call fcn.00409d04
cmp ebx, eax
je 0x476d53
mov byte [ebp - 0x25], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404dd4
jmp 0x477eac
mov eax, dword [ebp - 0xc]
call fcn.00409d04
cmp ebx, eax
jne 0x477d8e
mov byte [ebp - 0x25], 1
lea eax, [ebp - 0x8c]
mov ecx, 0x477f2c
mov edx, dword [ebp - 8]
call fcn.0040570c
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea eax, [ebp - 0x90]
mov ecx, 0x477f2c
mov edx, dword [ebp - 8]
call fcn.0040570c
mov ecx, dword [ebp - 0x90]
mov dl, 1
mov eax, dword [0x426eb4]
call fcn.00426f6c
mov dword [ebp - 0x50], eax
mov dl, 1
mov eax, dword [0x41a56c]
call fcn.004043c0
mov dword [ebp - 0x54], eax
mov dl, 1
mov eax, dword [0x41a56c]
call fcn.004043c0
mov esi, eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jg 0x476df6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404dd4
jmp 0x477eac
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x477d8e
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x94]
mov ecx, esi
mov eax, dword [ebp - 0x50]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x476eed
inc eax
mov dword [ebp - 0x6c], eax
xor ebx, ebx
lea ecx, [ebp - 0xa0]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call fcn.00409a5c
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.00409670
mov eax, dword [ebp - 0x98]
push eax
lea edx, [ebp - 0xa4]
mov eax, 0x477f48
call fcn.00409670
mov edx, dword [ebp - 0xa4]
pop eax
call fcn.0040581c
jne 0x476ee3
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa8]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xac]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x50]
pop ecx
mov edi, dword [eax]
call dword [edi]
jmp 0x476eed
inc ebx
dec dword [ebp - 0x6c]
jne 0x476e50
mov eax, dword [ebp - 0x1c]
mov edx, 0x477f58
call fcn.0040581c
jne 0x4770a3
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x14]
mov edx, 0x477f58
call fcn.0040548c
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x47707c
inc eax
mov dword [ebp - 0x6c], eax
xor ebx, ebx
lea ecx, [ebp - 0xb8]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call fcn.00409a5c
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0xb0]
call fcn.00409670
mov eax, dword [ebp - 0xb0]
push eax
lea edx, [ebp - 0xbc]
mov eax, 0x477f64
call fcn.00409670
mov edx, dword [ebp - 0xbc]
pop eax
call fcn.0040581c
jne 0x476fe1
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc0]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xc4]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x50]
pop ecx
mov edi, dword [eax]
call dword [edi]
lea ecx, [ebp - 0xc8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.00475c8c
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0x18]
call fcn.0040548c
lea ecx, [ebp - 0xd4]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0xd0]
call fcn.00409a5c
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
call fcn.00409670
mov eax, dword [ebp - 0xcc]
push eax
lea edx, [ebp - 0xd8]
mov eax, 0x477f70
call fcn.00409670
mov edx, dword [ebp - 0xd8]
pop eax
call fcn.0040581c
jne 0x477072
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xdc]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xe0]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x50]
pop ecx
mov edi, dword [eax]
call dword [edi]
inc ebx
dec dword [ebp - 0x6c]
jne 0x476f31
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x470c14]
call fcn.004714f4
mov edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x380]
call fcn.0041c414
mov eax, dword [ebp - 0x1c]
mov edx, 0x477f80
call fcn.0040581c
jne 0x477621
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x64]
mov edx, dword [eax]
call dword [edx + 0x44]
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x14]
mov edx, 0x477f58
call fcn.0040548c
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4775ee
inc eax
mov dword [ebp - 0x6c], eax
xor ebx, ebx
lea ecx, [ebp - 0xec]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xe8]
call fcn.00409a5c
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0xe4]
call fcn.00409670
mov eax, dword [ebp - 0xe4]
push eax
lea edx, [ebp - 0xf0]
mov eax, 0x477f64
call fcn.00409670
mov eax, dword [ebp - 0xf0]
pop edx
call fcn.004059d0
test eax, eax
jle 0x47721a
lea ecx, [ebp - 0xfc]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xfc]
lea edx, [ebp - 0xf8]
call fcn.00409a5c
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 0xf4]
call fcn.00409670
push dword [ebp - 0xf4]
push 0x477f8c
push 0
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x104]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x108]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x50]
pop ecx
mov edi, dword [eax]
call dword [edi]
push dword [ebp - 0x100]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405788
lea ecx, [ebp - 0x10c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.00475c8c
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x18]
call fcn.0040548c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x118]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 0x114]
call fcn.00409a5c
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.00409670
mov eax, dword [ebp - 0x110]
push eax
lea edx, [ebp - 0x11c]
mov eax, 0x477f70
call fcn.00409670
mov edx, dword [ebp - 0x11c]
pop eax
call fcn.0040581c
jne 0x4772ab
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x120]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x124]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x50]
pop ecx
mov edi, dword [eax]
call dword [edi]
lea ecx, [ebp - 0x130]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x130]
lea edx, [ebp - 0x12c]
call fcn.00409a5c
mov eax, dword [ebp - 0x12c]
lea edx, [ebp - 0x128]
call fcn.00409670
mov eax, dword [ebp - 0x128]
push eax
lea edx, [ebp - 0x134]
mov eax, 0x477f98
call fcn.00409670
mov eax, dword [ebp - 0x134]
pop edx
call fcn.004059d0
test eax, eax
jle 0x4773be
lea ecx, [ebp - 0x140]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00409a5c
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00409670
push dword [ebp - 0x138]
push 0x477f8c
push 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x148]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x148]
push eax
lea ecx, [ebp - 0x14c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x50]
pop ecx
mov edi, dword [eax]
call dword [edi]
push dword [ebp - 0x144]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405788
lea ecx, [ebp - 0x150]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.00475c8c
mov edx, dword [ebp - 0x150]
lea eax, [ebp - 0x18]
call fcn.0040548c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x15c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.00409a5c
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.00409670
mov eax, dword [ebp - 0x154]
push eax
lea edx, [ebp - 0x160]
mov eax, 0x477fac
call fcn.00409670
mov eax, dword [ebp - 0x160]
pop edx
call fcn.004059d0
test eax, eax
jle 0x4774d1
lea ecx, [ebp - 0x16c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.00409a5c
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.00409670
push dword [ebp - 0x164]
push 0x477f8c
push 0
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x174]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x174]
push eax
lea ecx, [ebp - 0x178]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x50]
pop ecx
mov edi, dword [eax]
call dword [edi]
push dword [ebp - 0x170]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405788
lea ecx, [ebp - 0x17c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.00475c8c
mov edx, dword [ebp - 0x17c]
lea eax, [ebp - 0x18]
call fcn.0040548c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x188]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x188]
lea edx, [ebp - 0x184]
call fcn.00409a5c
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.00409670
mov eax, dword [ebp - 0x180]
push eax
lea edx, [ebp - 0x18c]
mov eax, 0x477fc0
call fcn.00409670
mov eax, dword [ebp - 0x18c]
pop edx
call fcn.004059d0
test eax, eax
jle 0x4775e4
lea ecx, [ebp - 0x198]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x198]
lea edx, [ebp - 0x194]
call fcn.00409a5c
mov eax, dword [ebp - 0x194]
lea edx, [ebp - 0x190]
call fcn.00409670
push dword [ebp - 0x190]
push 0x477f8c
push 0
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x1a0]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x50]
pop ecx
mov edi, dword [eax]
call dword [edi]
push dword [ebp - 0x19c]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405788
lea ecx, [ebp - 0x1a8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.00475c8c
mov edx, dword [ebp - 0x1a8]
lea eax, [ebp - 0x18]
call fcn.0040548c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec dword [ebp - 0x6c]
jne 0x477107
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x470c90]
call fcn.004715c0
mov edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x384]
call fcn.0041c414
mov eax, dword [ebp - 0x1c]
mov edx, 0x477fd4
call fcn.0040581c
jne 0x477a9e
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x64]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x477a73
inc eax
mov dword [ebp - 0x6c], eax
xor ebx, ebx
lea ecx, [ebp - 0x1b4]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1b4]
lea edx, [ebp - 0x1b0]
call fcn.00409a5c
mov eax, dword [ebp - 0x1b0]
lea edx, [ebp - 0x1ac]
call fcn.00409670
mov eax, dword [ebp - 0x1ac]
push eax
lea edx, [ebp - 0x1b8]
mov eax, 0x477fac
call fcn.00409670
mov eax, dword [ebp - 0x1b8]
pop edx
call fcn.004059d0
test eax, eax
jle 0x47778b
lea ecx, [ebp - 0x1c4]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c4]
lea edx, [ebp - 0x1c0]
call fcn.00409a5c
mov eax, dword [ebp - 0x1c0]
lea edx, [ebp - 0x1bc]
call fcn.00409670
push dword [ebp - 0x1bc]
push 0x477f8c
push 0
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x1cc]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x1d0]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x50]
pop ecx
mov edi, dword [eax]
call dword [edi]
push dword [ebp - 0x1c8]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405788
lea ecx, [ebp - 0x1d4]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.00475c8c
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x18]
call fcn.0040548c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x1e0]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1e0]
lea edx, [ebp - 0x1dc]
call fcn.00409a5c
mov eax, dword [ebp - 0x1dc]
lea edx, [ebp - 0x1d8]
call fcn.00409670
mov eax, dword [ebp - 0x1d8]
push eax
lea edx, [ebp - 0x1e4]
mov eax, 0x477fc0
call fcn.00409670
mov eax, dword [ebp - 0x1e4]
pop edx
call fcn.004059d0
test eax, eax
jle 0x47789e
lea ecx, [ebp - 0x1f0]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1f0]
lea edx, [ebp - 0x1ec]
call fcn.00409a5c
mov eax, dword [ebp - 0x1ec]
lea edx, [ebp - 0x1e8]
call fcn.00409670
push dword [ebp - 0x1e8]
push 0x477f8c
push 0
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x1f8]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x1fc]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1fc]
mov eax, dword [ebp - 0x50]
pop ecx
mov edi, dword [eax]
call dword [edi]
push dword [ebp - 0x1f4]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405788
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.00475c8c
mov edx, dword [ebp - 0x200]
lea eax, [ebp - 0x18]
call fcn.0040548c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x20c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x20c]
lea edx, [ebp - 0x208]
call fcn.00409a5c
mov eax, dword [ebp - 0x208]
lea edx, [ebp - 0x204]
call fcn.00409670
mov eax, dword [ebp - 0x204]
push eax
lea edx, [ebp - 0x210]
mov eax, 0x477fe0
call fcn.00409670
mov eax, dword [ebp - 0x210]
pop edx
call fcn.004059d0
test eax, eax
jle 0x477a69
lea ecx, [ebp - 0x21c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
call fcn.00409a5c
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x214]
call fcn.00409670
mov eax, dword [ebp - 0x214]
push eax
lea edx, [ebp - 0x220]
mov eax, 0x477fac
call fcn.00409670
mov eax, dword [ebp - 0x220]
pop edx
call fcn.004059d0
test eax, eax
jg 0x477a69
lea ecx, [ebp - 0x22c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.00409a5c
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x224]
call fcn.00409670
mov eax, dword [ebp - 0x224]
push eax
lea edx, [ebp - 0x230]
mov eax, 0x477fc0
call fcn.00409670
mov eax, dword [ebp - 0x230]
pop edx
call fcn.004059d0
test eax, eax
jg 0x477a69
lea ecx, [ebp - 0x23c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.00409a5c
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.00409670
push dword [ebp - 0x234]
push 0x477f8c
push 0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x244]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x244]
push eax
lea ecx, [ebp - 0x248]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x50]
pop ecx
mov edi, dword [eax]
call dword [edi]
push dword [ebp - 0x240]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405788
lea ecx, [ebp - 0x24c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.00475c8c
mov edx, dword [ebp - 0x24c]
lea eax, [ebp - 0x18]
call fcn.0040548c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec dword [ebp - 0x6c]
jne 0x477678
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x470d08]
call fcn.00471904
mov edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x388]
call fcn.0041c414
mov eax, dword [ebp - 0x1c]
mov edx, 0x477ff0
call fcn.0040581c
jne 0x477d82
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x477d57
inc eax
mov dword [ebp - 0x6c], eax
xor ebx, ebx
lea ecx, [ebp - 0x258]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x258]
lea edx, [ebp - 0x254]
call fcn.00409a5c
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x250]
call fcn.00409670
mov eax, dword [ebp - 0x250]
push eax
lea edx, [ebp - 0x25c]
mov eax, 0x477ffc
call fcn.00409670
mov eax, dword [ebp - 0x25c]
pop edx
call fcn.004059d0
test eax, eax
jle 0x477b91
push 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x264]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x264]
push eax
lea ecx, [ebp - 0x268]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x50]
pop ecx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x274]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.00409a5c
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x26c]
call fcn.00409670
mov eax, dword [ebp - 0x26c]
push eax
lea edx, [ebp - 0x278]
mov eax, 0x47800c
call fcn.00409670
mov eax, dword [ebp - 0x278]
pop edx
call fcn.004059d0
test eax, eax
jle 0x477ca9
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x27c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x280]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x280]
mov eax, dword [ebp - 0x50]
pop ecx
mov edi, dword [eax]
call dword [edi]
cmp dword [ebp - 0x20], 0
je 0x477ca9
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
call fcn.00471cd0
test al, al
jne 0x477c48
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
call fcn.00471b5c
lea eax, [ebp - 0x284]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.0040570c
mov eax, dword [ebp - 0x284]
call fcn.0040a108
test al, al
je 0x477ca9
lea eax, [ebp - 0x288]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.0040570c
mov edx, dword [ebp - 0x288]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea eax, [ebp - 0x28c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.0040570c
mov eax, dword [ebp - 0x28c]
call fcn.00405884
push eax
call sub.kernel32.dll_DeleteFileA
lea ecx, [ebp - 0x298]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x298]
lea edx, [ebp - 0x294]
call fcn.00409a5c
mov eax, dword [ebp - 0x294]
lea edx, [ebp - 0x290]
call fcn.00409670
mov eax, dword [ebp - 0x290]
push eax
lea edx, [ebp - 0x29c]
mov eax, 0x478020
call fcn.00409670
mov eax, dword [ebp - 0x29c]
pop edx
call fcn.004059d0
test eax, eax
jle 0x477d4d
push 0
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x2a4]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x2a8]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x2a8]
mov eax, dword [ebp - 0x50]
pop ecx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x2a0]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec dword [ebp - 0x6c]
jne 0x477aed
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x470d78]
call fcn.004717a0
mov edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x38c]
call fcn.0041c414
inc dword [ebp - 0x4c]
dec dword [ebp - 0x68]
jne 0x476e12
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x477da6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477eac
cmp dword [ebp - 0x2c], 0
je 0x477dc1
mov eax, dword [ebp - 0x2c]
call fcn.004043f0
cmp dword [ebp - 0x30], 0
je 0x477dcf
mov eax, dword [ebp - 0x30]
call fcn.004043f0
cmp dword [ebp - 0x48], 0
je 0x477ddd
mov eax, dword [ebp - 0x48]
call fcn.004043f0
cmp dword [ebp - 0x58], 0
je 0x477deb
mov eax, dword [ebp - 0x58]
call fcn.004043f0
cmp dword [ebp - 0x5c], 0
je 0x477df9
mov eax, dword [ebp - 0x5c]
call fcn.004043f0
cmp dword [ebp - 0x60], 0
je 0x477e07
mov eax, dword [ebp - 0x60]
call fcn.004043f0
cmp dword [ebp - 0x64], 0
je 0x477e15
mov eax, dword [ebp - 0x64]
call fcn.004043f0
cmp dword [ebp - 0x34], 0
je 0x477e23
mov eax, dword [ebp - 0x34]
call fcn.004043f0
cmp dword [ebp - 0x40], 0
je 0x477e31
mov eax, dword [ebp - 0x40]
call fcn.004043f0
cmp dword [ebp - 0x38], 0
je 0x477e3f
mov eax, dword [ebp - 0x38]
call fcn.004043f0
cmp dword [ebp - 0x3c], 0
je 0x477e4d
mov eax, dword [ebp - 0x3c]
call fcn.004043f0
cmp dword [ebp - 0x44], 0
je 0x477e5b
mov eax, dword [ebp - 0x44]
call fcn.004043f0
lea eax, [ebp - 0x2ac]
mov ecx, 0x477f2c
mov edx, dword [ebp - 8]
call fcn.0040570c
mov eax, dword [ebp - 0x2ac]
call fcn.0040a108
test al, al
je 0x477ea1
lea eax, [ebp - 0x2b0]
mov ecx, 0x477f2c
mov edx, dword [ebp - 8]
call fcn.0040570c
mov eax, dword [ebp - 0x2b0]
call fcn.00405884
push eax
call sub.kernel32.dll_DeleteFileA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477f04
lea eax, [ebp - 0x2b0]
mov edx, 0x63
call fcn.00405418
lea eax, [ebp - 0x120]
call fcn.004053f4
lea eax, [ebp - 0x124]
call fcn.004053f4
lea eax, [ebp - 0x11c]
mov edx, 0x2c
call fcn.00405418
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00405418
ret