Function at 0x401692
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x42e23c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x390
mov eax, dword [0x43de08]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x88]
push 0x43c1b0
add ecx, 0xf0
lea edx, [esp + 0x24]
xor ebp, ebp
push ecx
push edx
mov dword [esp + 0x3b4], ebp
call fcn.0042240a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3ac], 1
call fcn.004222ae
lea ecx, [esp + 0x20]
mov byte [esp + 0x3a8], 0
call fcn.00422175
mov eax, dword [0x43de08]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x1c]
push ebp
push ebp
push 0x1004
push eax
mov byte [esp + 0x3b8], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
cmp edi, 2
mov dword [esp + 0x20], edi
jg 0x401739
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3a8], 4
call fcn.00422175
mov byte [esp + 0x3a8], 3
jmp 0x401d92
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esi + 0x88]
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ecx
mov eax, dword [edx + 0xf4]
push eax
push 0x43c1ac
push 0x43c1ac
call ebx
cmp eax, ebp
jne 0x4017a9
push 0x40
push 0x66
call fcn.00406170
add esp, 4
push eax
push 0x6d
call fcn.00406170
add esp, 4
mov ecx, esi
push eax
call fcn.0042415a
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3a8], 6
call fcn.00422175
mov byte [esp + 0x3a8], 5
jmp 0x401d92
mov edx, dword [esi + 0x88]
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [edx + 0xf8]
push eax
push 0x43c1a8
push 0x43c1ac
call ebx
mov eax, dword [0x43ff78]
lea edx, [esp + 0x74]
push 1
push edx
lea ecx, [eax + 0x1f8]
call fcn.004043f0
mov ecx, dword [esp + 0x10]
mov eax, dword [0x43c1bc]
lea edx, [esp + 0x74]
push ecx
push edx
push 0x43c1a0
push eax
call ebx
mov edx, dword [0x43ff78]
lea ecx, [esp + 0x74]
push 2
push ecx
lea ecx, [edx + 0x1f8]
call fcn.004043f0
mov eax, dword [esp + 0x10]
mov edx, dword [0x43c1bc]
lea ecx, [esp + 0x74]
push eax
push ecx
push 0x43c198
push edx
call ebx
mov ecx, dword [0x43ff78]
lea eax, [esp + 0x74]
push 3
push eax
add ecx, 0x1f8
call fcn.004043f0
mov edx, dword [esp + 0x10]
mov ecx, dword [0x43c1bc]
lea eax, [esp + 0x74]
push edx
push eax
push 0x43c194
push ecx
call ebx
mov eax, dword [0x43ff78]
lea edx, [esp + 0x74]
push 4
push edx
lea ecx, [eax + 0x1f8]
call fcn.004043f0
mov ecx, dword [esp + 0x10]
mov eax, dword [0x43c1bc]
lea edx, [esp + 0x74]
push ecx
push edx
push 0x43c18c
push eax
call ebx
mov edx, dword [0x43ff78]
lea ecx, [esp + 0x74]
push 5
push ecx
lea ecx, [edx + 0x1f8]
call fcn.004043f0
mov eax, dword [esp + 0x10]
mov edx, dword [0x43c1bc]
lea ecx, [esp + 0x74]
push eax
push ecx
push 0x43c184
push edx
call ebx
mov eax, dword [esi + 0x88]
push str.Upload_
add eax, 0xf0
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0042240a
mov eax, dword [eax]
mov byte [esp + 0x3a8], 7
push eax
call fcn.004013c0
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x3a8], 2
call fcn.00422175
mov edx, dword [esi + 0x88]
push str.Upload_
add edx, 0xf0
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0042240a
mov eax, dword [eax]
push eax
call fcn.00401580
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00422175
lea ecx, [esp + 0x64]
push ecx
call fcn.00401030
mov edx, dword [esi + 0x88]
add esp, 4
add edx, 0xf0
lea eax, [esp + 0x14]
push str.Update.exe
push edx
push eax
call fcn.0042240a
lea ecx, [esp + 0x64]
mov byte [esp + 0x3a8], 8
push ecx
push eax
call fcn.00407ed0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x3a8], 2
call fcn.00422175
mov edx, dword [esi + 0x88]
push str.Update.str
add edx, 0xf0
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0042240a
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x3ac], 9
call fcn.004222ae
lea ecx, [esp + 0x14]
mov byte [esp + 0x3a8], 2
call fcn.00422175
lea ecx, [esp + 0x34]
push ecx
call fcn.00406e60
add esp, 4
test eax, eax
je 0x4019fc
lea ecx, [esp + 0x40]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x30]
call fcn.00420392
lea edx, [esp + 0x64]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x1c]
call fcn.00420392
push ecx
mov ecx, dword [esp + 0x18]
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], ecx
lea ecx, [esp + 0x2c]
call fcn.00401f50
cmp eax, ebp
je 0x401a0e
lea edx, [esp + 0x64]
lea eax, [esp + 0x34]
push edx
push eax
call fcn.00407f80
add esp, 8
cmp edi, ebp
jle 0x401cff
lea eax, [ebp + 1]
lea ecx, [esp + 0x29c]
push eax
push 0x43c160
push ecx
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, esi
push ebp
call fcn.0042103d
mov ebp, eax
push ebp
call fcn.00406e60
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 4]
add esp, 4
push edx
push eax
lea eax, [esp + 0x2a4]
push eax
push 0x43c158
call ebx
mov edi, dword [ebp + 4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x74]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x74]
push ecx
call fcn.00420212
xor edx, edx
xor eax, eax
mov dx, word [ebp + 0x16]
mov ax, word [ebp + 0x14]
push edx
xor ecx, ecx
mov cx, word [ebp + 0x12]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
xor edx, edx
mov dx, word [ebp + 0xe]
xor eax, eax
mov ax, word [ebp + 0xc]
push ecx
push edx
push eax
lea ecx, [esp + 0x1b0]
push str._0.4d__0.2d__0.2d__0.2d:_0.2d
push ecx
call edi
mov edx, dword [esp + 0x30]
add esp, 0x20
lea eax, [esp + 0x198]
lea ecx, [esp + 0x74]
push edx
push eax
push 0x43c134
push ecx
call ebx
mov edx, dword [ebp + 0x20]
lea eax, [esp + 0x198]
push edx
push 0x43c160
push eax
call edi
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x198]
push ecx
push edx
lea eax, [esp + 0x7c]
push 0x43c12c
push eax
call ebx
mov eax, dword [ebp + 8]
push 0x43c124
push eax
call fcn.0041393e
add esp, 8
test eax, eax
je 0x401b3a
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
push ecx
push eax
lea edx, [esp + 0x7c]
push 0x43c11c
push edx
call ebx
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x401b57
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x74]
push eax
push 0x43c118
push 0x43c114
push ecx
call ebx
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x401b74
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x74]
push edx
push 0x43c118
push 0x43c110
push eax
call ebx
mov ebp, dword [ebp + 0x2c]
cmp ebp, 0x111111
je 0x401bae
push ebp
lea ecx, [esp + 0x17c]
push 0x43c160
push ecx
call fcn.004138ec
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x178]
lea ecx, [esp + 0x74]
push edx
push eax
push 0x43c10c
push ecx
call ebx
mov esi, dword [esp + 0x18]
push str.Upload_
lea eax, [esp + 0x18]
mov edx, dword [esi + 0x88]
add edx, 0xf0
push edx
push eax
call fcn.0042240a
lea ecx, [esp + 0x29c]
mov byte [esp + 0x3a8], 0xa
push ecx
lea ecx, [esp + 0x18]
call fcn.00422551
mov edx, dword [esi + 0x88]
lea ecx, [esp + 0x14]
add edx, 0xf8
push edx
call fcn.00422578
mov ecx, dword [esi + 0x88]
lea eax, [esp + 0x74]
add ecx, 0xf0
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.0042240a
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x30]
push ecx
push edx
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x3b8], 0xb
call fcn.00401220
add esp, 0x10
lea ecx, [esp + 0x28]
test eax, eax
sete byte [esp + 0x1f]
mov byte [esp + 0x3a8], 0xa
call fcn.00422175
mov al, byte [esp + 0x1f]
mov byte [esp + 0x3a8], 2
test al, al
lea ecx, [esp + 0x14]
jne 0x401cdc
call fcn.00422175
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x198]
push ecx
push 0x43c160
push edx
call edi
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x198]
lea edx, [esp + 0x74]
push eax
push ecx
push 0x43c104
push edx
call ebx
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x198]
push eax
push str._0.8X
push ecx
call edi
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x198]
lea ecx, [esp + 0x74]
push edx
push eax
push 0x43c0f4
push ecx
call ebx
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
cmp ebp, eax
jl 0x401a16
jmp 0x401d05
call fcn.00422175
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3a8], 0xd
call fcn.00422175
mov byte [esp + 0x3a8], 0xc
jmp 0x401d92
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esi + 0x88]
push str.Upload0
add edx, 0xf0
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0042240a
mov ecx, dword [esi + 0x88]
lea edx, [esp + 0x18]
add ecx, 0xf8
mov byte [esp + 0x3a8], 0xe
push ecx
push eax
push edx
call fcn.004223a4
lea ecx, [esp + 0x24]
mov byte [esp + 0x3a8], 0x10
call fcn.00422175
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00401060
add esp, 8
mov byte [esp + 0x3a8], 2
test eax, eax
lea ecx, [esp + 0x18]
jne 0x401dc7
call fcn.00422175
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3a8], 0x12
call fcn.00422175
mov byte [esp + 0x3a8], 0x11
lea ecx, [esp + 0x38]
call fcn.00422175
lea ecx, [esp + 0x34]
mov byte [esp + 0x3a8], 0
call fcn.00422175
lea ecx, [esp + 0x10]
mov dword [esp + 0x3a8], 0xffffffff
call fcn.00422175
xor eax, eax
jmp 0x401ec1
call fcn.00422175
mov ecx, dword [esp + 0x20]
xor eax, eax
test ecx, ecx
jle 0x401e75
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea esi, [eax + 1]
lea edx, [esp + 0x29c]
push esi
push 0x43c160
push edx
call edi
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x74]
lea edx, [esp + 0x29c]
push eax
push 0x104
push ecx
push 0x43fea0
push edx
push 0x43c158
mov byte [esp + 0x8c], 0
call ebp
lea eax, [esp + 0x74]
push eax
call fcn.00420212
mov ecx, dword [esp + 0x14]
add esp, 4
lea edx, [esp + 0x74]
push ecx
push 0
push 0x43c12c
push edx
call ebx
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x74]
push eax
push 0
push 0x43c104
push ecx
call ebx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x74]
push edx
push 0
push 0x43c0f4
push eax
call ebx
mov ecx, dword [esp + 0x20]
mov eax, esi
cmp eax, ecx
jl 0x401de0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3a8], 0x14
call fcn.00422175
lea ecx, [esp + 0x38]
mov byte [esp + 0x3a8], 0x13
call fcn.00422175
lea ecx, [esp + 0x34]
mov byte [esp + 0x3a8], 0
call fcn.00422175
lea ecx, [esp + 0x10]
mov dword [esp + 0x3a8], 0xffffffff
call fcn.00422175
mov eax, 1
mov ecx, dword [esp + 0x3a0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x39c
ret