Function at 0x5272bc
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x5272c4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405130
xor eax, eax
push ebp
push 0x528004
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x38]
mov edx, dword [0x67c4e0]
call fcn.00404d18
lea eax, [ebp - 0x34]
call fcn.00404c80
mov al, byte [0x528014]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x528020
mov edx, 0x52802c
mov eax, dword [ebp - 8]
call fcn.0040f7a4
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 8]
call fcn.00404d18
mov edx, dword [ebp - 8]
mov eax, 0x528038
call fcn.00405284
test eax, eax
jle 0x52737d
mov al, byte [0x528014]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x528038
lea eax, [ebp - 0x4c]
call fcn.0052a350
push dword [ebp - 0x4c]
push 0x528038
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00405000
mov edx, dword [ebp - 0x48]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0040f7a4
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 8]
call fcn.00404d18
mov al, byte [0x528014]
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x52802c
mov edx, 0x528020
mov eax, dword [ebp - 8]
call fcn.0040f7a4
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 8]
call fcn.00404d18
mov edx, dword [ebp - 8]
mov eax, 0x528044
call fcn.00405284
dec eax
jle 0x5273de
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x528044
call fcn.00405284
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004051a0
mov dword [ebp - 0x28], 0xffffffff
jmp 0x5273e3
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 8], 0
jne 0x527405
mov eax, dword [ebp - 4]
add eax, 0x18c
call fcn.00404c80
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0043d774
jmp 0x527fc4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
mov edx, dword [ebp - 8]
call fcn.0040508c
je 0x527fc4
mov eax, dword [ebp - 4]
add eax, 0x18c
mov edx, dword [ebp - 8]
call fcn.00404cd4
mov eax, dword [ebp - 4]
add eax, 0x188
call fcn.00404c80
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, 0x528054
call fcn.00405284
test eax, eax
jle 0x527501
mov eax, dword [ebp - 4]
add eax, 0x198
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, 0x528054
call fcn.00405284
mov edx, eax
inc edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
mov ecx, 0x400
call fcn.004051a0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x198]
mov eax, 0x528060
call fcn.00405284
test eax, eax
jle 0x5274cf
mov eax, dword [ebp - 4]
add eax, 0x198
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x198]
mov eax, 0x528060
call fcn.00405284
mov ecx, eax
dec ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov edx, 1
call fcn.004051a0
mov eax, dword [ebp - 4]
add eax, 0x18c
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, 0x528054
call fcn.00405284
mov ecx, eax
dec ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
mov edx, 1
call fcn.004051a0
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0043d79c
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0043d784
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0043d774
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x527fc4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, 0x52806c
call fcn.00405284
dec eax
jne 0x527591
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, 0x528084
call fcn.00405284
mov ecx, eax
dec ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
mov edx, 1
call fcn.004051a0
lea eax, [ebp - 0x24]
push eax
mov ecx, 0xa
mov edx, 0xd
mov eax, dword [ebp - 0x24]
call fcn.004051a0
jmp 0x527599
lea eax, [ebp - 0x24]
call fcn.00404c80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
call fcn.00526954
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
sete al
neg al
sbb eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xffffffff
cmp dword [ebp - 0x2c], 1
sbb eax, eax
inc eax
test al, al
jne 0x527625
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x168]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, 0x528090
call fcn.00405284
dec eax
jg 0x527ebc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, 0x5280a0
call fcn.00405284
dec eax
jg 0x527ebc
mov eax, dword [ebp - 4]
call fcn.00525d0c
jmp 0x527ebc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, 0x528090
call fcn.00405284
dec eax
jg 0x527655
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, 0x5280a0
call fcn.00405284
dec eax
jle 0x527b09
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0043d79c
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00409be8
lea eax, [ebp - 0x54]
call fcn.00529820
push dword [ebp - 0x54]
push 0x5280b0
push dword [ebp - 0x20]
push 0x5280c0
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00405000
xor ebx, ebx
jmp 0x5276eb
mov eax, dword [ebp - 0x14]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x58]
call fcn.00404e78
mov eax, dword [ebp - 0x58]
call fcn.0040a450
lea eax, [ebp - 0x20]
mov edx, 0x5280d0
call fcn.00404f48
lea eax, [ebp - 0x5c]
call fcn.00529820
push dword [ebp - 0x5c]
push 0x5280b0
push dword [ebp - 0x20]
push 0x5280c0
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00405000
inc ebx
cmp ebx, 0x14
jg 0x5276f7
mov eax, dword [ebp - 0x14]
call fcn.0040a15c
test al, al
jne 0x527699
or ebx, 0xffffffff
cmp dword [ebp - 0x34], 0
jne 0x527711
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18c]
call fcn.00404d18
mov eax, 0x52806c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18c]
call fcn.00405284
dec eax
jne 0x5277f5
mov edx, dword [ebp - 0x24]
mov eax, 0x528038
call fcn.00405284
dec eax
jle 0x527748
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x24]
call fcn.00404d18
jmp 0x52776d
push dword [ebp - 0x24]
push 0x528038
lea eax, [ebp - 0x60]
call fcn.0052a350
push dword [ebp - 0x60]
push 0x528038
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00405000
cmp dword [ebp - 0x3c], 0
je 0x527780
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 0x34]
call fcn.00522b60
cmp dword [ebp - 0x3c], 0
je 0x5277f3
lea eax, [ebp - 0x68]
call fcn.0052173c
mov eax, dword [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x6c]
mov ecx, 0x5280dc
mov edx, dword [ebp - 0x18]
call fcn.00404f8c
mov edx, dword [ebp - 0x6c]
mov ecx, 0x528038
mov eax, 0x5280e8
call fcn.00523144
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x1c]
call fcn.0040508c
je 0x5277f3
lea eax, [ebp - 0x70]
call fcn.0052173c
mov eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
mov ecx, 0x5280dc
mov edx, dword [ebp - 0x18]
call fcn.00404f8c
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x1c]
mov eax, 0x5280e8
call fcn.00523218
jmp 0x5277f5
xor ebx, ebx
cmp dword [ebp - 0x3c], 0
je 0x5278e4
test ebx, ebx
jne 0x52783c
lea eax, [ebp - 0x7c]
call fcn.00529820
push dword [ebp - 0x7c]
push 0x5280f8
push dword [ebp - 0x18]
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.00405000
mov eax, dword [ebp - 0x78]
call fcn.0040a15c
test al, al
je 0x52783c
cmp dword [0x67c484], 0
je 0x5278e4
lea eax, [ebp - 0x14]
mov ecx, dword [0x67c4e0]
mov edx, dword [ebp - 0x34]
call fcn.00522dd8
mov eax, dword [ebp - 0x14]
call fcn.0040a15c
test al, al
jne 0x527889
mov eax, 0x528104
call fcn.0052acf0
test eax, eax
je 0x527889
mov eax, 0x528104
call fcn.00521648
lea eax, [ebp - 0x14]
mov ecx, dword [0x67c4e0]
mov edx, dword [ebp - 0x34]
call fcn.00522dd8
xor eax, eax
call fcn.00521648
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, 0x52806c
call fcn.00405284
dec eax
jne 0x527929
push 0
lea eax, [ebp - 0x84]
call fcn.00529820
push dword [ebp - 0x84]
push 0x5280f8
push dword [ebp - 0x18]
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00405000
mov eax, dword [ebp - 0x80]
call fcn.00405140
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405140
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x527929
push 0
mov eax, dword [ebp - 0x14]
call fcn.00405140
push eax
lea eax, [ebp - 0x8c]
call fcn.00529820
push dword [ebp - 0x8c]
push 0x5280f8
push dword [ebp - 0x18]
lea eax, [ebp - 0x88]
mov edx, 3
call fcn.00405000
mov eax, dword [ebp - 0x88]
call fcn.00405140
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 0x14]
call fcn.0040a15c
test al, al
je 0x527abb
mov dl, 1
mov eax, dword [0x41c478]
call fcn.00403ec0
mov ebx, eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x505ecc]
call fcn.00508c60
mov esi, eax
mov edx, dword [ebp - 0x14]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor eax, eax
push ebp
push 0x527987
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x528114
mov edx, ebx
mov eax, esi
call fcn.00504490
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52799b
push 0
push 0
mov eax, ebx
call fcn.00420d40
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0043d784
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov dl, 1
mov eax, dword [0x429374]
call fcn.00430170
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, 0x528090
call fcn.00405284
dec eax
jle 0x5279fc
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
mov edx, edi
call fcn.0042dac8
jmp 0x527a82
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, 0x5280a0
call fcn.00405284
dec eax
jle 0x527a82
mov dl, 1
mov eax, dword [0x50d680]
call fcn.0050d934
mov dword [ebp - 0x10], eax
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
call fcn.0042da78
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
call fcn.0042da78
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0043d65c
xor ecx, ecx
xor edx, edx
call fcn.0042b0c4
mov eax, dword [ebp - 0x10]
call fcn.00403ef0
mov eax, edi
call fcn.00403ef0
mov dl, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, esi
call fcn.00403ef0
mov eax, dword [ebp - 0x14]
call fcn.00405140
mov edx, eax
lea eax, [ebp - 0x90]
call fcn.00404e78
mov eax, dword [ebp - 0x90]
call fcn.0040a450
jmp 0x527ae5
lea eax, [ebp - 0x94]
call fcn.0052173c
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov ecx, 0x528128
mov eax, 0x528134
call fcn.00523218
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
call fcn.0042da78
mov dl, 6
call fcn.00431828
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0043d79c
jmp 0x527ebc
cmp dword [ebp - 0x3c], 0
je 0x527ebc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x520c78]
call fcn.00523f8c
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x67c4e0]
mov eax, dword [ebp - 0xc]
call fcn.0052536c
cmp dword [ebp - 0x34], 0
jne 0x527b4f
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18c]
call fcn.00404d18
cmp dword [ebp - 0x34], 0
je 0x527cc4
mov eax, dword [ebp - 0x34]
cmp byte [eax], 0x80
jbe 0x527cc4
mov edx, dword [ebp - 0x34]
mov eax, 0x528084
call fcn.00405284
dec eax
jge 0x527cc4
push 0x528148
push dword [ebp - 0x34]
push 0x528188
lea eax, [ebp - 0x98]
mov edx, 3
call fcn.00405000
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x248]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00524f10
mov eax, dword [ebp - 4]
add eax, 0x188
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18c]
call fcn.00404cd4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004b2d38
lea edx, [ebp - 0xa0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call fcn.0040972c
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 4]
add eax, 0x18c
call fcn.00404cd4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18c], 0
jne 0x527cab
xor eax, eax
push ebp
push 0x527ca1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x528194
push dword [ebp - 0x34]
push 0x528188
lea eax, [ebp - 0xa4]
mov edx, 3
call fcn.00405000
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x248]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00524f10
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004b2d38
lea edx, [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.0040972c
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 4]
add eax, 0x18c
call fcn.00404cd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x527cab
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18c]
call fcn.00404d18
mov eax, dword [ebp - 0xc]
call fcn.004bcf30
push 0x5281d0
push dword [ebp - 0x34]
push 0x528188
lea eax, [ebp - 0xb0]
mov edx, 3
call fcn.00405000
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x248]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00524f10
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xa1], 0
jne 0x527d26
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004b2d38
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
call fcn.004bcf30
mov dl, 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp - 0x34]
mov edx, 0x528208
call fcn.0040508c
jne 0x527d6f
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0043d784
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov dx, 0xfff4
mov eax, dword [ebp - 4]
call fcn.0047f514
mov eax, dword [ebp - 4]
call fcn.00525e24
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0
jne 0x527da7
lea ecx, [ebp - 0xb4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
mov edx, 1
call fcn.0052bc28
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 4]
add eax, 0x188
call fcn.00404cd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
call fcn.0042da78
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jne 0x527eb4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0
je 0x527eb4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
call fcn.0042da78
call fcn.00430738
mov ebx, eax
mov eax, dword [ebx + 0xc]
mov edx, 0x528214
call fcn.0042a548
mov eax, dword [ebx + 0xc]
mov edx, 0x10
call fcn.0042a5c0
mov eax, dword [ebx + 0xc]
mov dl, byte [0x52821c]
call fcn.0042a5ec
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x188]
mov eax, ebx
call fcn.0042b6a8
add eax, 0xa
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
call fcn.0042da78
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x188]
mov eax, ebx
call fcn.0042b6c4
add eax, 0xa
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
call fcn.0042da78
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
push eax
mov ecx, 5
mov edx, 2
mov eax, ebx
call fcn.0042b538
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
call fcn.0042da78
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0047ea9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
call fcn.0042da78
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0047eac0
mov eax, dword [ebp - 4]
call fcn.00525d0c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, 0x52806c
call fcn.00405284
dec eax
jne 0x527f13
cmp dword [ebp - 0x3c], 0
je 0x527ee5
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00525e5c
jmp 0x527f13
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0x82
jge 0x527f13
cmp dword [ebp - 0x30], 0
je 0x527f13
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
call fcn.0047ea9c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
call fcn.0047eac0
cmp dword [ebp - 0x28], 0
je 0x527f28
mov ecx, 0xff
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005263a0
cmp dword [ebp - 0x2c], 0
je 0x527f3f
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, dword [ebp - 4]
call fcn.00526f30
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, 0x528228
call fcn.00405284
dec eax
jne 0x527fb7
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0043d784
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
call fcn.0042da78
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
test edx, edx
jns 0x527f85
add edx, 3
sar edx, 2
mov eax, dword [ebp - 4]
call fcn.0047ea9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
call fcn.0042da78
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
test edx, edx
jns 0x527fac
add edx, 3
sar edx, 2
mov eax, dword [ebp - 4]
call fcn.0047eac0
mov eax, 0x67c4e0
mov edx, dword [ebp - 0x38]
call fcn.00404cd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52800b
lea eax, [ebp - 0xb4]
mov edx, 0x1e
call fcn.00404ca4
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00404ca4
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404ca4
lea eax, [ebp - 8]
call fcn.00404c80
ret