Function at 0x524704
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x63
push 0
push 0
dec ecx
jne 0x52470c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404dd0
xor eax, eax
push ebp
push 0x525672
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
xor edx, edx
push ebp
push 0x5255c7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x238]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x238]
call fcn.00409abc
test al, al
jne 0x52477f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x525632
xor eax, eax
push ebp
push 0x524805
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x23c]
mov edx, 3
call fcn.00404ca0
mov edx, dword [ebp - 0x23c]
lea eax, [ebp - 0x234]
call fcn.00402f7c
lea eax, [ebp - 0x234]
call fcn.00402d18
call fcn.00402988
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x234]
call fcn.00403384
lea eax, [ebp - 0x234]
call fcn.004033f0
call fcn.00402988
lea eax, [ebp - 0x234]
call fcn.00403038
call fcn.00402988
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x524821
push 0
mov eax, dword [0x52c164]
push dword [eax]
push 0x525698
push dword [ebp - 4]
lea eax, [ebp - 0x240]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x240]
call fcn.00404de0
push eax
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x244]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x244]
call fcn.00404de0
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
cmp al, 0x44
je 0x52492f
cmp al, 0x54
je 0x52492f
cmp al, 0x4d
je 0x52492f
push 0
mov eax, dword [0x52c164]
push dword [eax]
push 0x5256ac
push dword [ebp - 4]
lea eax, [ebp - 0x248]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x248]
call fcn.00404de0
push eax
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x24c]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x24c]
call fcn.00404de0
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x250]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x250]
call fcn.00409af0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x525632
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x4d
jne 0x5249d1
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00524498
push 0
mov edx, dword [0x52c36c]
mov edx, dword [edx + 0x18]
lea eax, [ebp - 0x254]
mov ecx, dword [ebp - 4]
call fcn.00404c2c
mov eax, dword [ebp - 0x254]
call fcn.00404de0
push eax
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x258]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x258]
call fcn.00404de0
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x25c]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x25c]
call fcn.00409af0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x525632
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x44
jne 0x524cd7
lea eax, [ebp - 0x260]
push eax
mov ecx, 0x64
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00404e40
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 0x68]
mov edx, 0x5256bc
call fcn.00404c2c
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 0x68]
lea eax, [ebp - 0x264]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x264]
call fcn.00409abc
test al, al
jne 0x524acf
push 0
mov eax, dword [0x52c164]
push dword [eax]
push 0x5256c8
push dword [ebp - 4]
lea eax, [ebp - 0x268]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x268]
call fcn.00404de0
push eax
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x26c]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x26c]
call fcn.00404de0
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x270]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x270]
call fcn.00409af0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x525632
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004049b8
xor eax, eax
push ebp
push 0x524b60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 0x68]
lea eax, [ebp - 0x274]
mov edx, 3
call fcn.00404ca0
mov edx, dword [ebp - 0x274]
lea eax, [ebp - 0x234]
call fcn.00402f7c
lea eax, [ebp - 0x234]
call fcn.00402d18
call fcn.00402988
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x234]
call fcn.00403384
lea eax, [ebp - 0x234]
call fcn.004033f0
call fcn.00402988
lea eax, [ebp - 0x234]
call fcn.00403038
call fcn.00402988
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x524b7c
push 0
mov eax, dword [0x52c164]
push dword [eax]
push 0x525698
push dword [ebp - 0x68]
lea eax, [ebp - 0x278]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x278]
call fcn.00404de0
push eax
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 0x68]
lea eax, [ebp - 0x27c]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x27c]
call fcn.00404de0
push eax
call sub.kernel32.dll_CopyFileA
push 0
mov edx, dword [0x52c36c]
mov edx, dword [edx + 0x18]
lea eax, [ebp - 0x280]
mov ecx, dword [ebp - 4]
call fcn.00404c2c
mov eax, dword [ebp - 0x280]
call fcn.00404de0
push eax
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x284]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x284]
call fcn.00404de0
push eax
call sub.kernel32.dll_CopyFileA
push 0
mov edx, dword [0x52c36c]
mov edx, dword [edx + 0x18]
lea eax, [ebp - 0x288]
mov ecx, dword [ebp - 0x68]
call fcn.00404c2c
mov eax, dword [ebp - 0x288]
call fcn.00404de0
push eax
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 0x68]
lea eax, [ebp - 0x28c]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x28c]
call fcn.00404de0
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x290]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x290]
call fcn.00409af0
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 0x68]
lea eax, [ebp - 0x294]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x294]
call fcn.00409af0
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x54
jne 0x524fdd
lea eax, [ebp - 0x298]
push eax
mov ecx, 0x64
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00404e40
mov ecx, dword [ebp - 0x298]
lea eax, [ebp - 0x68]
mov edx, 0x5256dc
call fcn.00404c2c
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 0x68]
lea eax, [ebp - 0x29c]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x29c]
call fcn.00409abc
test al, al
jne 0x524dd5
push 0
mov eax, dword [0x52c164]
push dword [eax]
push 0x5256c8
push dword [ebp - 4]
lea eax, [ebp - 0x2a0]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x2a0]
call fcn.00404de0
push eax
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x2a4]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x2a4]
call fcn.00404de0
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x2a8]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x2a8]
call fcn.00409af0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x525632
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004049b8
xor eax, eax
push ebp
push 0x524e66
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 0x68]
lea eax, [ebp - 0x2ac]
mov edx, 3
call fcn.00404ca0
mov edx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x234]
call fcn.00402f7c
lea eax, [ebp - 0x234]
call fcn.00402d18
call fcn.00402988
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x234]
call fcn.00403384
lea eax, [ebp - 0x234]
call fcn.004033f0
call fcn.00402988
lea eax, [ebp - 0x234]
call fcn.00403038
call fcn.00402988
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x524e82
push 0
mov eax, dword [0x52c164]
push dword [eax]
push 0x525698
push dword [ebp - 0x68]
lea eax, [ebp - 0x2b0]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x2b0]
call fcn.00404de0
push eax
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 0x68]
lea eax, [ebp - 0x2b4]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x2b4]
call fcn.00404de0
push eax
call sub.kernel32.dll_CopyFileA
push 0
mov edx, dword [0x52c36c]
mov edx, dword [edx + 0x18]
lea eax, [ebp - 0x2b8]
mov ecx, dword [ebp - 4]
call fcn.00404c2c
mov eax, dword [ebp - 0x2b8]
call fcn.00404de0
push eax
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x2bc]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x2bc]
call fcn.00404de0
push eax
call sub.kernel32.dll_CopyFileA
push 0
mov edx, dword [0x52c36c]
mov edx, dword [edx + 0x18]
lea eax, [ebp - 0x2c0]
mov ecx, dword [ebp - 0x68]
call fcn.00404c2c
mov eax, dword [ebp - 0x2c0]
call fcn.00404de0
push eax
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 0x68]
lea eax, [ebp - 0x2c4]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x2c4]
call fcn.00404de0
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 4]
lea eax, [ebp - 0x2c8]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x2c8]
call fcn.00409af0
mov eax, dword [0x52c460]
push dword [eax]
push 0x52568c
push dword [ebp - 0x68]
lea eax, [ebp - 0x2cc]
mov edx, 3
call fcn.00404ca0
mov eax, dword [ebp - 0x2cc]
call fcn.00409af0
lea eax, [ebp - 0x18]
push eax
mov ecx, 2
mov edx, 4
mov eax, dword [ebp - 0x10]
call fcn.0043be2c
lea eax, [ebp - 0x1c]
push eax
mov ecx, 3
mov edx, 8
mov eax, dword [ebp - 0x10]
call fcn.0043be2c
lea eax, [ebp - 0x20]
push eax
mov ecx, 1
mov edx, 0xc
mov eax, dword [ebp - 0x10]
call fcn.0043be2c
lea eax, [ebp - 0x24]
push eax
mov ecx, 6
mov edx, 0xd
mov eax, dword [ebp - 0x10]
call fcn.0043be2c
lea eax, [ebp - 0x28]
push eax
mov ecx, 1
mov edx, 0x13
mov eax, dword [ebp - 0x10]
call fcn.0043be2c
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0xa
mov edx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.0043be2c
lea eax, [ebp - 0x30]
push eax
mov ecx, 0xe
mov edx, 0x23
mov eax, dword [ebp - 0x10]
call fcn.0043be2c
lea eax, [ebp - 0x34]
push eax
mov ecx, 0xe
mov edx, 0x33
mov eax, dword [ebp - 0x10]
call fcn.0043be2c
lea eax, [ebp - 0x38]
push eax
mov ecx, 0xe
mov edx, 0x43
mov eax, dword [ebp - 0x10]
call fcn.0043be2c
lea eax, [ebp - 0x3c]
push eax
mov ecx, 3
mov edx, 0x53
mov eax, dword [ebp - 0x10]
call fcn.0043be2c
lea eax, [ebp - 0x40]
push eax
mov ecx, 1
mov edx, 0x56
mov eax, dword [ebp - 0x10]
call fcn.0043be2c
lea eax, [ebp - 0x44]
push eax
mov ecx, 1
mov edx, 0x57
mov eax, dword [ebp - 0x10]
call fcn.0043be2c
lea eax, [ebp - 0x48]
push eax
mov ecx, 1
mov edx, 0x58
mov eax, dword [ebp - 0x10]
call fcn.0043be2c
mov eax, dword [ebp - 0x3c]
call fcn.004096ac
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
call fcn.004096ac
mov esi, eax
mov eax, dword [ebp - 0x44]
call fcn.004096ac
add esi, eax
mov eax, dword [ebp - 0x48]
call fcn.004096ac
add esi, eax
mov dword [ebp - 0x50], esi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.005243bc
mov eax, dword [ebp - 0x28]
mov edx, 0x5256e8
call fcn.00404d2c
jne 0x525152
lea eax, [ebp - 0x58]
mov edx, 0x5256f4
call fcn.004049b8
jmp 0x52515f
lea eax, [ebp - 0x58]
mov edx, 0x525704
call fcn.004049b8
lea eax, [ebp - 0x64]
mov edx, 0x525714
call fcn.004049b8
lea eax, [ebp - 0x2d0]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x34]
call fcn.00404e40
push dword [ebp - 0x2d0]
push 0x525724
lea eax, [ebp - 0x2d4]
push eax
mov ecx, 2
mov edx, 5
mov eax, dword [ebp - 0x34]
call fcn.00404e40
push dword [ebp - 0x2d4]
push 0x525724
lea eax, [ebp - 0x2d8]
push eax
mov ecx, 2
mov edx, 7
mov eax, dword [ebp - 0x34]
call fcn.00404e40
push dword [ebp - 0x2d8]
push 0x525730
lea eax, [ebp - 0x2dc]
push eax
mov ecx, 2
mov edx, 9
mov eax, dword [ebp - 0x34]
call fcn.00404e40
push dword [ebp - 0x2dc]
push 0x52573c
lea eax, [ebp - 0x2e0]
push eax
mov ecx, 2
mov edx, 0xb
mov eax, dword [ebp - 0x34]
call fcn.00404e40
push dword [ebp - 0x2e0]
push 0x52573c
lea eax, [ebp - 0x2e4]
push eax
mov ecx, 2
mov edx, 0xd
mov eax, dword [ebp - 0x34]
call fcn.00404e40
push dword [ebp - 0x2e4]
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404ca0
lea eax, [ebp - 0x2e8]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x38]
call fcn.00404e40
push dword [ebp - 0x2e8]
push 0x525724
lea eax, [ebp - 0x2ec]
push eax
mov ecx, 2
mov edx, 5
mov eax, dword [ebp - 0x38]
call fcn.00404e40
push dword [ebp - 0x2ec]
push 0x525724
lea eax, [ebp - 0x2f0]
push eax
mov ecx, 2
mov edx, 7
mov eax, dword [ebp - 0x38]
call fcn.00404e40
push dword [ebp - 0x2f0]
push 0x525730
lea eax, [ebp - 0x2f4]
push eax
mov ecx, 2
mov edx, 9
mov eax, dword [ebp - 0x38]
call fcn.00404e40
push dword [ebp - 0x2f4]
push 0x52573c
lea eax, [ebp - 0x2f8]
push eax
mov ecx, 2
mov edx, 0xb
mov eax, dword [ebp - 0x38]
call fcn.00404e40
push dword [ebp - 0x2f8]
push 0x52573c
lea eax, [ebp - 0x2fc]
push eax
mov ecx, 2
mov edx, 0xd
mov eax, dword [ebp - 0x38]
call fcn.00404e40
push dword [ebp - 0x2fc]
lea eax, [ebp - 0x38]
mov edx, 0xb
call fcn.00404ca0
push 0x525748
push dword [ebp - 0x30]
push 0x525778
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404ca0
mov eax, dword [0x52c5e8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x54]
call fcn.00513120
test al, al
jne 0x525366
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x525632
push 0x525784
push dword [ebp - 0x30]
push 0x525778
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404ca0
mov eax, dword [0x52c5e8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x54]
call fcn.00513120
test al, al
jne 0x5253a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x525632
xor edi, edi
mov esi, dword [ebp - 0x4c]
test esi, esi
jle 0x5254b6
mov ebx, 1
lea eax, [ebp - 0x5c]
call fcn.00404920
lea eax, [ebp - 0x5c]
push eax
mov eax, ebx
dec eax
mov edx, eax
shl edx, 3
lea edx, [edx + edx*2]
add edx, 0x59
mov ecx, 0x18
mov eax, dword [ebp - 0x10]
call fcn.0043be2c
lea edx, [ebp - 0x300]
mov eax, dword [ebp - 0x5c]
call fcn.00409370
mov eax, dword [ebp - 0x300]
call fcn.00404be0
cmp eax, 5
jle 0x5253f8
inc edi
mov eax, dword [ebp - 0x5c]
mov al, byte [eax]
cmp al, 0x4a
jne 0x525410
lea eax, [ebp - 0x60]
mov edx, 0x5257b0
call fcn.004049b8
jmp 0x525430
cmp al, 0x4b
jne 0x525423
lea eax, [ebp - 0x60]
mov edx, 0x5257bc
call fcn.004049b8
jmp 0x525430
lea eax, [ebp - 0x60]
mov edx, 0x5257c8
call fcn.004049b8
mov eax, dword [ebp - 0x5c]
call fcn.00404be0
cmp eax, 0x18
jne 0x5254ae
push 0x5257d4
push dword [ebp - 0x30]
push 0x525778
push 0x52581c
push 0x525778
push dword [ebp - 0x5c]
push 0x525778
push 0x52581c
push dword [ebp - 0x60]
push 0x52581c
lea edx, [ebp - 0x304]
mov eax, ebx
call fcn.00409570
push dword [ebp - 0x304]
push 0x52581c
push 0x525778
push 0
push 0x525778
push 0x525828
lea eax, [ebp - 0x54]
mov edx, 0x10
call fcn.00404ca0
mov eax, dword [0x52c5e8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x54]
call fcn.00513120
inc ebx
dec esi
jne 0x5253b2
push 0x525834
push dword [ebp - 0x30]
push 0x525778
push 0x52581c
push dword [ebp - 0x18]
push 0x52581c
lea edx, [ebp - 0x308]
xor eax, eax
call fcn.00409570
push dword [ebp - 0x308]
push 0x52581c
push 0x525778
push dword [ebp - 0x34]
push 0x525778
push 0x52581c
push 0x525778
push dword [ebp - 0x38]
push 0x525778
push 0x52581c
push 0x525778
push dword [ebp - 0x58]
push 0x525778
push 0x52581c
push 0x525778
push dword [ebp - 0x1c]
push 0x525778
push 0x52581c
push 0x525778
push dword [ebp - 0x2c]
push 0x525778
push 0x52581c
push 0x525778
push dword [ebp - 0x64]
push 0x525778
push 0x52581c
lea edx, [ebp - 0x30c]
mov eax, dword [ebp - 0x50]
call fcn.00409570
push dword [ebp - 0x30c]
push 0x52581c
lea edx, [ebp - 0x310]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x50]
call fcn.00409570
push dword [ebp - 0x310]
push 0x52581c
lea edx, [ebp - 0x314]
mov eax, edi
call fcn.00409570
push dword [ebp - 0x314]
push 0x525828
lea eax, [ebp - 0x54]
mov edx, 0x26
call fcn.00404ca0
mov eax, dword [0x52c5e8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x54]
call fcn.00513120
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52562e
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x525679
lea eax, [ebp - 0x31c]
mov edx, 0x3a
call fcn.00404944
lea eax, [ebp - 0x68]
mov edx, 6
call fcn.00404944
lea eax, [ebp - 0x48]
mov edx, 0x10
call fcn.00404944
lea eax, [ebp - 4]
call fcn.00404920
ret