Function at 0x529028
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x529031
mov eax, dword [ebp - 4]
add esp, 0xfffffd88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5292d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
mov byte [ebp - 9], 0
mov eax, ebx
call fcn.00415f40
test al, al
je 0x5292bb
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x5292b4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x52923f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x548e80]
mov byte [eax], 0
mov edx, ebx
lea eax, [ebp - 0x26c]
call fcn.00404b2c
mov edx, 1
lea eax, [ebp - 0x26c]
call fcn.00404fb8
call fcn.00404404
lea eax, [ebp - 0x26c]
call fcn.00404dc8
call fcn.00404404
mov edi, eax
test edi, edi
jge 0x529121
xor eax, eax
push ebp
push 0x529105
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x26c]
call fcn.00404ca8
call fcn.00404404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52910f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00406360
jmp 0x5292bb
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00527acc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.kernel32.dll_FileTimeToLocalFileTime
lea eax, [ebp - 0x227c]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.kernel32.dll_FileTimeToSystemTime
lea eax, [ebp - 4]
mov edx, esi
mov ecx, 0
call fcn.00407cb0
mov eax, dword [ebp - 4]
call fcn.004072b0
mov ebx, eax
push ebx
call sub.kernel32.dll_OutputDebugStringA
lea eax, [ebp - 0x227c]
push eax
push 0
push 1
mov edx, ebx
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0052865c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x5291cb
xor eax, eax
push ebp
push 0x5291af
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x26c]
call fcn.00404ca8
call fcn.00404404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5291b9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00406360
jmp 0x5292bb
lea ebx, [ebp - 0x226c]
mov eax, dword [0x548dcc]
mov eax, dword [eax]
call fcn.0051e4f0
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x226c]
mov ecx, 0x2000
lea eax, [ebp - 0x26c]
call fcn.00404c88
call fcn.00404404
cmp dword [ebp - 0x10], 0
je 0x529219
mov eax, dword [ebp - 0x10]
push eax
mov ecx, ebx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00528984
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x529228
cmp dword [ebp - 0x10], 0
jne 0x5291d1
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x529235
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x529249
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5292bb
xor eax, eax
push ebp
push 0x52927e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x26c]
call fcn.00404ca8
call fcn.00404404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x529288
cmp dword [ebp - 0x14], 0
je 0x5292b3
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x5292a6
mov cl, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.005285d0
jmp 0x5292b3
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.005285d0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5292d8
lea eax, [ebp - 4]
call fcn.00406a7c
ret