Function at 0x4206d0
Capabilities:
Clear file content
Get common file path

Disassembly:
sub esp, 0x520
push ebx
mov ebx, dword [esp + 0x528]
mov ecx, dword [ebx + 4]
test ecx, ecx
mov eax, 1
je 0x4206f4
cmp byte [ecx], 0x2d
jne 0x4206f4
mov eax, 2
cmp dword [ebx + eax*4], 0
jne 0x420713
mov eax, dword [ebx]
push 0
push 0
push eax
push 0
call fcn.0048a440
add esp, 0x10
pop ebx
add esp, 0x520
ret
push ebp
push esi
push edi
mov edi, dword [esp + 0x538]
push 0
push 0x104
push edi
push eax
push ebx
call fcn.005165a0
mov esi, eax
add esp, 0x14
test esi, esi
jge 0x420751
mov ecx, dword [ebx]
push 3
push 0
push ecx
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x520
ret
push edi
push edi
call fcn.004222b0
add esp, 8
test eax, eax
jne 0x42077b
mov edx, dword [ebx]
push 3
push 0
push edx
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x520
ret
mov eax, dword [ebx + esi*4 + 4]
inc esi
test eax, eax
jne 0x42079e
push eax
push eax
mov eax, dword [ebx]
push eax
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x520
ret
push eax
call fcn.005cbe51
mov ecx, dword [ebx + esi*4]
push ecx
mov dword [esp + 0x24], eax
call fcn.005cbe56
mov ebp, edx
add esp, 8
test ebp, ebp
mov dword [esp + 0x20], eax
jg 0x4207c4
jl 0x42075f
test eax, eax
jb 0x42075f
lea eax, [esp + 0x28]
push 0x104
push eax
call fcn.00423a00
lea ecx, [esp + 0x238]
push ecx
lea edx, [esp + 0x33c]
push edx
lea eax, [esp + 0x440]
push eax
lea ecx, [esp + 0x24]
push ecx
push edi
call fcn.005cc984
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x48]
push 0x5e7074
push eax
call esi
lea ecx, [esp + 0x50]
push ecx
call fcn.00426aa0
lea edx, [esp + 0x158]
push 0x104
push edx
call fcn.00423a00
add esp, 0x34
push 0x104
lea eax, [esp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x230]
push ecx
lea edx, [esp + 0x334]
push edx
lea eax, [esp + 0x438]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x13c]
push edx
call fcn.005cc984
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x144]
push 0x5e7074
push ecx
call esi
lea edx, [esp + 0x14c]
push edx
call fcn.00426aa0
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.005e31f5
add esp, 0x2c
test eax, eax
jne 0x420966
lea edx, [esp + 0x28]
push 1
push edx
call fcn.00424670
add esp, 8
test edx, edx
jl 0x420966
jg 0x4208c8
test eax, eax
jbe 0x420966
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00424670
lea ecx, [esp + 0x1c]
mov edi, edx
mov edx, dword [esp + 0x540]
mov esi, eax
xor eax, eax
push ecx
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004243c0
add esp, 0x10
test eax, eax
je 0x420907
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add esi, eax
adc edi, ecx
sub esi, 0x9c4000
sbb edi, 0
cmp ebp, edi
jl 0x42095f
jg 0x42091c
cmp dword [esp + 0x20], esi
jb 0x42095f
mov edx, dword [esp + 0x538]
push edx
push 0
push 0x1260
call fcn.00421db0
add esp, 8
push eax
push 0x615410
call dword [sym.imp.USER32.dll_wsprintfA]
push 6
push 0
push 0x615410
push 0
call fcn.0048a440
add esp, 0x1c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x520
ret
mov edi, dword [esp + 0x538]
push 0x180
push 0x40
push 0x8109
push edi
call fcn.005e1bf4
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
jne 0x4209a4
mov eax, dword [esp + 0x538]
mov ecx, dword [ebx]
push 4
push eax
push ecx
push 0
call fcn.0048a440
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x520
ret
push edi
mov ebx, 1
call fcn.005cdda2
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x4209dc
mov edx, dword [esp + 0x20]
push 0
push ebp
push edx
push esi
call fcn.0049b080
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x4209dc
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4209f3
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x4209f5
push eax
push edi
call fcn.005e36dc
add esp, 8
cmp eax, 0xffffffff
je 0x4209f5
xor ebx, ebx
push edi
call fcn.005d4c77
add esp, 4
test ebx, ebx
je 0x420a0f
mov eax, dword [esp + 0x538]
push eax
jmp 0x420924
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x520
ret