Function at 0x4d0b2c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x20
push 0
push 0
dec ecx
jne 0x4d0b35
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404028
xor eax, eax
push ebp
push 0x4d1963
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0xc]
call fcn.00409644
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.00408f00
mov edx, dword [ebp - 0x4c]
mov eax, 0x4d197c
call fcn.00404160
test eax, eax
jg 0x4d0bb0
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0xc]
call fcn.00409644
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00408f00
mov edx, dword [ebp - 0x54]
mov eax, 0x4d198c
call fcn.00404160
test eax, eax
jle 0x4d0bc5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6b8]
xor ecx, ecx
mov edx, 3
call fcn.00472088
xor esi, esi
push ebp
push 0x4d17ad
push dword fs:[esi]
mov dword fs:[esi], esp
mov eax, dword [0x4e6304]
mov byte [eax], 2
xor eax, eax
push ebp
push 0x4d0c20
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x5f900]
mov eax, dword [ebp - 4]
add eax, 0xcbc4
call fcn.0040634e
mov eax, dword [ebp - 4]
add eax, 0xcbc4
mov edx, 1
call fcn.00406885
call fcn.00402864
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d0c56
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xcbb4]
test ebx, ebx
je 0x4d0da1
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc66c]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00409644
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x18]
call fcn.00408f00
mov eax, dword [ebp - 0x18]
mov edx, 0x4d199c
call fcn.00403f84
je 0x4d0d76
mov eax, dword [ebp - 0x18]
mov edx, 0x4d19ac
call fcn.00403f84
je 0x4d0d76
mov eax, dword [ebp - 0x18]
mov edx, 0x4d19bc
call fcn.00403f84
je 0x4d0d76
mov eax, dword [ebp - 0x18]
mov edx, 0x4d19cc
call fcn.00403f84
je 0x4d0d76
mov eax, dword [ebp - 0x18]
mov edx, 0x4d19dc
call fcn.00403f84
je 0x4d0d76
mov eax, dword [ebp - 0x18]
mov edx, 0x4d19ec
call fcn.00403f84
je 0x4d0d76
mov eax, dword [ebp - 0x18]
mov edx, 0x4d19fc
call fcn.00403f84
je 0x4d0d76
mov eax, dword [ebp - 0x18]
mov edx, 0x4d1a0c
call fcn.00403f84
je 0x4d0d76
mov eax, dword [ebp - 0x18]
mov edx, 0x4d197c
call fcn.00403f84
je 0x4d0d76
mov eax, dword [ebp - 0x18]
mov edx, 0x4d198c
call fcn.00403f84
je 0x4d0d76
mov eax, dword [ebp - 0x18]
mov edx, 0x4d1a1c
call fcn.00403f84
je 0x4d0d76
mov eax, dword [ebp - 0x18]
mov edx, 0x4d1a2c
call fcn.00403f84
je 0x4d0d76
mov eax, dword [ebp - 0x18]
mov edx, 0x4d1a3c
call fcn.00403f84
je 0x4d0d76
mov eax, dword [ebp - 0x18]
mov edx, 0x4d1a4c
call fcn.00403f84
jne 0x4d0d92
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc66c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcbb4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x4d0df1
lea eax, [ebp - 0x14]
mov edx, 0x4d1a5c
call fcn.00403c8c
jmp 0x4d0df1
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0xc]
call fcn.00408f00
mov edx, dword [ebp - 0x64]
mov eax, 0x4d1a70
call fcn.00404160
test eax, eax
jg 0x4d0dd7
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0xc]
call fcn.00408f00
mov eax, dword [ebp - 0x68]
mov edx, 0x4d1a80
call fcn.00403f84
jne 0x4d0de6
lea eax, [ebp - 0x14]
mov edx, 0x4d1a5c
call fcn.00403c8c
jmp 0x4d0df1
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00403c8c
mov ebx, dword [ebp - 8]
mov eax, ebx
shl ebx, 3
sub ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5f918]
inc edx
mov dword [eax + ebx*8 + 0xd7d8], edx
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e7], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + ebx*8 + 0xd7e0], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + ebx*8 + 0xd7dc], edx
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e5], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + ebx*8 + 0xd7fc], edx
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x14]
call fcn.00409644
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.00408f00
mov eax, dword [ebp - 0x6c]
mov edx, 0x4d1a1c
call fcn.00403f84
jne 0x4d0e7e
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e6], 1
jmp 0x4d11d0
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x14]
call fcn.00409644
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call fcn.00408f00
mov edx, dword [ebp - 0x74]
mov eax, 0x4d197c
call fcn.00404160
test eax, eax
jle 0x4d0eb5
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e6], 2
jmp 0x4d11d0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x14]
call fcn.00409644
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.00408f00
mov edx, dword [ebp - 0x7c]
mov eax, 0x4d198c
call fcn.00404160
test eax, eax
jle 0x4d0eec
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e6], 3
jmp 0x4d11d0
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x14]
call fcn.00409644
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.00408f00
mov edx, dword [ebp - 0x84]
mov eax, 0x4d1a2c
call fcn.00404160
test eax, eax
jle 0x4d0f2f
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e6], 4
jmp 0x4d11d0
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x14]
call fcn.00409644
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.00408f00
mov edx, dword [ebp - 0x8c]
mov eax, 0x4d1a3c
call fcn.00404160
test eax, eax
jle 0x4d0f72
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e6], 5
jmp 0x4d11d0
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x14]
call fcn.00409644
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.00408f00
mov edx, dword [ebp - 0x94]
mov eax, 0x4d1a4c
call fcn.00404160
test eax, eax
jle 0x4d0fb5
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e6], 6
jmp 0x4d11d0
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x14]
call fcn.00409644
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call fcn.00408f00
mov edx, dword [ebp - 0x9c]
mov eax, 0x4d1a0c
call fcn.00404160
test eax, eax
jle 0x4d0ff8
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e6], 7
jmp 0x4d11d0
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x14]
call fcn.00409644
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.00408f00
mov edx, dword [ebp - 0xa4]
mov eax, 0x4d19fc
call fcn.00404160
test eax, eax
jle 0x4d103b
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e6], 0xb
jmp 0x4d11d0
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x14]
call fcn.00409644
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.00408f00
mov edx, dword [ebp - 0xac]
mov eax, 0x4d19ec
call fcn.00404160
test eax, eax
jle 0x4d107e
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e6], 0xc
jmp 0x4d11d0
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x14]
call fcn.00409644
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call fcn.00408f00
mov edx, dword [ebp - 0xb4]
mov eax, 0x4d19dc
call fcn.00404160
test eax, eax
jle 0x4d10cf
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e6], 0
mov eax, dword [ebp - 4]
mov dword [eax + ebx*8 + 0xd7dc], 0xffffffff
jmp 0x4d11d0
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0x14]
call fcn.00409644
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.00408f00
mov edx, dword [ebp - 0xbc]
mov eax, 0x4d19cc
call fcn.00404160
test eax, eax
jle 0x4d1112
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e6], 0xd
jmp 0x4d11d0
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x14]
call fcn.00409644
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.00408f00
mov edx, dword [ebp - 0xc4]
mov eax, 0x4d19bc
call fcn.00404160
test eax, eax
jle 0x4d1152
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e6], 0xe
jmp 0x4d11d0
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 0x14]
call fcn.00409644
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
call fcn.00408f00
mov edx, dword [ebp - 0xcc]
mov eax, 0x4d19ac
call fcn.00404160
test eax, eax
jle 0x4d1192
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e6], 0xf
jmp 0x4d11d0
lea edx, [ebp - 0xd8]
mov eax, dword [ebp - 0x14]
call fcn.00409644
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0xd4]
call fcn.00408f00
mov edx, dword [ebp - 0xd4]
mov eax, 0x4d199c
call fcn.00404160
test eax, eax
jle 0x4d11d0
mov eax, dword [ebp - 4]
mov byte [eax + ebx*8 + 0xd7e6], 0x10
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add eax, 0xcbc4
call fcn.004065c0
call fcn.00402864
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0xcbc4
call fcn.004068bc
call fcn.00402864
push 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0xcbc4
mov ecx, 4
call fcn.00406454
call fcn.00402864
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 0x14]
call fcn.00408f00
mov edx, dword [ebp - 0xdc]
mov eax, 0x4d1a2c
call fcn.00404160
test eax, eax
jg 0x4d1281
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0x14]
call fcn.00408f00
mov edx, dword [ebp - 0xe0]
mov eax, 0x4d1a3c
call fcn.00404160
test eax, eax
jg 0x4d1281
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0x14]
call fcn.00408f00
mov edx, dword [ebp - 0xe4]
mov eax, 0x4d1a4c
call fcn.00404160
test eax, eax
jle 0x4d136b
call fcn.0040a4dc
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x1c]
mov eax, 0x4d1a94
call fcn.0040b0d8
mov eax, dword [ebp - 0x1c]
call fcn.00403e74
mov edx, eax
test edx, edx
jle 0x4d12be
mov ecx, 1
lea eax, [ebp - 0x48]
mov ebx, dword [ebp - 0x1c]
mov bl, byte [ebx + ecx - 1]
mov byte [eax], bl
inc ecx
inc eax
dec edx
jne 0x4d12b0
push 0
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, 0xcbc4
mov ecx, 0x1e
call fcn.00406454
call fcn.00402864
mov eax, dword [ebp - 4]
add dword [eax + 0x5f918], 0x1e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcbb4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0xc66c]
jne 0x4d136b
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0x14]
call fcn.00408f00
mov edx, dword [ebp - 0xe8]
mov eax, 0x4d1a2c
call fcn.00404160
test eax, eax
jle 0x4d136b
push 0
mov eax, dword [ebp - 4]
push dword [eax + 0x5fcd8]
mov eax, dword [ebp - 4]
push dword [eax + 0x5fd28]
push 0x4d1aac
push dword [ebp - 0x1c]
push 0x4d1a2c
lea eax, [ebp - 0xec]
mov edx, 5
call fcn.00403f34
mov eax, dword [ebp - 0xec]
call fcn.00404038
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404038
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 4]
add eax, 0xcbc4
call fcn.004064b8
call fcn.00402864
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5f900]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004d8fe0
mov ebx, eax
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + eax*8 + 0xd7e8], ebx
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add ebx, dword [eax + 0x5f918]
add ebx, 4
mov eax, dword [ebp - 4]
mov dword [eax + 0x5f918], ebx
mov eax, dword [0x4e6304]
mov byte [eax], 2
xor eax, eax
push ebp
push 0x4d1446
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x5f900]
mov eax, dword [ebp - 4]
add eax, 0xcbc4
call fcn.0040634e
mov eax, dword [ebp - 4]
add eax, 0xcbc4
mov edx, 1
call fcn.00406885
call fcn.00402864
mov eax, dword [ebp - 4]
add eax, 0xcbc4
call fcn.004065c0
call fcn.00402864
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0xcbc4
call fcn.004068bc
call fcn.00402864
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d147c
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
cmp byte [edx + eax*8 + 0xd7e6], 2
jne 0x4d14ab
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc679], 0
jne 0x4d14ab
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6095e], 0
je 0x4d1513
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
cmp byte [edx + eax*8 + 0xd7e6], 1
jne 0x4d1721
mov eax, dword [ebp - 4]
cmp dword [eax + 0xcbb4], 0
je 0x4d14e5
mov eax, dword [ebp - 0x14]
mov edx, 0x4d1a5c
call fcn.00403f84
jne 0x4d1721
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov bl, byte [edx + eax*8 + 0xd800]
test bl, bl
je 0x4d1513
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
cmp bl, 3
jne 0x4d1721
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
cmp byte [edx + eax*8 + 0xd7e6], 1
jne 0x4d15f8
xor eax, eax
push ebp
push 0x4d15c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xf4]
call fcn.004042b8
push eax
lea eax, [ebp - 0xf8]
call fcn.0040602c
push eax
lea ecx, [ebp - 0xfc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6b8]
mov edx, 0xcb
call fcn.0046d0c8
mov eax, dword [ebp - 0xfc]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406128
mov eax, dword [ebp - 0xf8]
push eax
mov eax, dword [eax]
call dword [eax + pe_nt_image_headers32]
call fcn.00406128
mov edx, dword [ebp - 0xf4]
lea eax, [ebp - 0xf0]
call fcn.00403e3c
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x454]
call fcn.00431e70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d15cb
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x5fcd8]
lea eax, [ebp - 0x20]
mov ecx, 0x4d1ab8
call fcn.00403ec0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x454]
mov eax, dword [eax + 0x23c]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov ebx, dword [ebp - 8]
mov eax, ebx
shl ebx, 3
sub ebx, eax
mov eax, dword [ebp - 4]
cmp byte [eax + ebx*8 + 0xd7e6], 2
jne 0x4d161d
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004dbcd8
push 0
push 0
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004d9288
mov edx, dword [ebp - 4]
mov dword [edx + ebx*8 + 0xd7fc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*8 + 0xd7e8]
mov edx, dword [ebp - 8]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp - 4]
add eax, dword [ecx + edx*8 + 0xd7fc]
add eax, 4
mov edx, dword [ebp - 4]
mov dword [edx + ebx*8 + 0xd7e8], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*8 + 0xd7fc]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x5f918]
add eax, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x5f918], eax
mov eax, dword [ebp - 4]
add eax, 0xcbc4
call fcn.004065c0
call fcn.00402864
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0xcbc4
call fcn.004068bc
call fcn.00402864
push 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0xcbc4
mov ecx, 4
call fcn.00406454
call fcn.00402864
mov eax, dword [ebp - 4]
cmp dword [eax + ebx*8 + 0xd7fc], 0
jle 0x4d1719
push 0
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + eax*8 + 0xd7fc]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc6c0]
mov eax, dword [ebp - 4]
add eax, 0xcbc4
call fcn.00406454
call fcn.00402864
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc6c0]
call fcn.004027ac
mov eax, dword [ebp - 0x20]
call fcn.00409540
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
cmp byte [edx + eax*8 + 0xd800], 0
jne 0x4d1743
mov edx, dword [ebp - 4]
mov byte [edx + eax*8 + 0xd800], 1
mov edx, dword [ebp - 4]
cmp byte [edx + eax*8 + 0xd800], 3
jne 0x4d175b
mov edx, dword [ebp - 4]
mov byte [edx + eax*8 + 0xd800], 4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5fce0], 1
jne 0x4d1771
mov eax, dword [ebp - 4]
mov byte [eax + 0x5fce0], 2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5fce0], 3
jne 0x4d1787
mov eax, dword [ebp - 4]
mov byte [eax + 0x5fce0], 0
mov eax, 0x4d1a5c
call fcn.00409540
mov eax, dword [ebp - 4]
add eax, 0xcbc4
call fcn.004064b8
call fcn.00402864
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d17d1
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xcbb4]
test esi, esi
je 0x4d18ff
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
mov edx, dword [ebp - 4]
mov ebx, dword [edx + 0xc66c]
cmp eax, ebx
jle 0x4d188d
lea ecx, [ebp - 0x104]
mov edx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcbb4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 0x100]
call fcn.00409644
mov eax, dword [ebp - 0x100]
lea edx, [ebp - 0x18]
call fcn.00408f00
mov edx, dword [ebp - 0x18]
mov eax, 0x4d1a70
call fcn.00404160
test eax, eax
jle 0x4d18ff
mov eax, dword [ebp - 4]
inc dword [eax + 0xc66c]
lea ecx, [ebp - 0x108]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc66c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcbb4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 4]
add eax, 0xcbc0
call fcn.00403c48
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004b6464
jmp 0x4d18ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcbb4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4d18ff
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xcbc0]
mov eax, 0x4d1a70
call fcn.00404160
test eax, eax
jle 0x4d18e9
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xc66c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8b0]
call fcn.0045f054
call fcn.0045cd0c
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc6a8], ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004b25c0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xcbb4], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xc66c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d196a
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00403c18
lea eax, [ebp - 0xfc]
call fcn.0040602c
lea eax, [ebp - 0xf8]
call fcn.0040602c
lea eax, [ebp - 0xf4]
call fcn.004042b8
lea eax, [ebp - 0xf0]
mov edx, 0x2a
call fcn.00403c18
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00403c18
lea eax, [ebp - 0xc]
call fcn.00403bf4
ret