Function at 0x41b00b
Capabilities:
Delete file
Get file size
Move file
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
and dword [esp + 0x18], 0
push ebx
push esi
push edi
mov edi, eax
lea eax, [esp + 0x24]
push eax
mov ebx, edi
call fcn.0041ae5e
xor ebx, ebx
cmp eax, ebx
jne 0x41b07b
lea eax, [edi + 0x70]
cmp dword [eax], ebx
jbe 0x41b046
push 4
push eax
push 2
push dword [esp + 0x30]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [esp + 0x28]
push eax
lea eax, [edi + 0x20]
push eax
call fcn.0041c6d0
mov esi, eax
cmp esi, ebx
je 0x41b082
push ebx
push esi
lea eax, [edi + 4]
call fcn.00428250
push ebx
push dword [esp + 0x28]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push dword [esp + 0x24]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [edi + 0x1c]
mov eax, esi
mov dword [esp + 0x30], esi
call fcn.0040a86a
test al, al
jne 0x41b09b
mov esi, 0xe0000005
jmp 0x41b05a
mov eax, dword [esi]
sub eax, 0x10
call fcn.00409c7d
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x45391c
lea eax, [esp + 0x14]
push eax
call fcn.00402105
mov dword [esp + 0x20], ebx
cmp byte [edi + 0x3c], bl
je 0x41b0d1
lea eax, [esp + 0x10]
call fcn.0040f72b
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x28], ebx
call fcn.0041b7eb
lea esi, [edi + 4]
mov dword [esp + 0x14], eax
mov eax, esi
mov dword [esp + 0x18], esi
call fcn.0042826c
test al, al
je 0x41b114
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00404645
mov esi, 0xe0000008
jmp 0x41b064
cmp dword [esp + 0x14], ebx
je 0x41b145
cmp dword [esp + 0x14], 0xe0000013
je 0x41b130
push ebx
push dword [esp + 0x18]
mov eax, esi
call fcn.00428250
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00404645
mov esi, dword [esp + 0x14]
jmp 0x41b064
mov eax, dword [edi + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x78]
mov dword [esp + 0x48], edi
cmp eax, ebx
je 0x41b1a9
cmp dword [esp + 0x1c], ebx
je 0x41b1a9
cmp eax, dword [esp + 0x1c]
je 0x41b1a9
mov eax, dword [esp + 0x18]
push ebx
mov esi, 0xe0000023
push esi
call fcn.00428250
lea edi, [esp + 0x44]
call fcn.0041cc11
push ebx
push dword [esp + 0x40]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push dword [esp + 0x3c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00404645
jmp 0x41b064
mov ecx, dword [esi]
cmp ecx, ebx
je 0x41b1c0
mov edx, dword [esp + 0x30]
push dword [edx]
mov eax, dword [ecx]
push dword [esp + 0x20]
push 1
call dword [eax + 0xc]
mov eax, esi
call fcn.0042826c
test al, al
je 0x41b1ee
lea edi, [esp + 0x44]
call fcn.0041cc11
push ebx
push dword [esp + 0x40]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push dword [esp + 0x3c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x41b0fe
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jbe 0x41b23b
cmp eax, dword [esp + 0x20]
jne 0x41b23b
mov ecx, dword [esi]
cmp ecx, ebx
je 0x41b20a
mov eax, dword [ecx]
push ebx
push 1
call dword [eax + 0x10]
lea edi, [esp + 0x44]
call fcn.0041cc11
push ebx
push dword [esp + 0x40]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push dword [esp + 0x3c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00404645
xor esi, esi
jmp 0x41b064
push ebx
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0040a6a7
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x41b27e
push ebx
push eax
mov eax, esi
call fcn.00428250
lea edi, [esp + 0x44]
call fcn.0041cc11
push ebx
push dword [esp + 0x40]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push dword [esp + 0x3c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x41b130
xor eax, eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x54], 0xc
sbb ecx, ecx
neg ecx
inc ecx
inc ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
cmp byte [edi + 0x74], bl
je 0x41b2ff
cmp ecx, 2
jne 0x41b2ff
push str.S_1_1_0
lea eax, [esp + 0x64]
call fcn.004282b5
push 0x454418
lea eax, [esp + 0x64]
call fcn.004282b5
lea esi, [esp + 0x60]
call fcn.004283e1
mov dword [esp + 0x58], eax
push ebx
push 0x80
push dword [esp + 0x34]
neg eax
sbb eax, eax
lea ecx, [esp + 0x60]
and eax, ecx
push eax
push ebx
push 0xc0000000
lea esi, [esp + 0x28]
call fcn.00402073
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x4c], eax
cmp eax, 0xffffffff
jne 0x41b445
mov eax, dword [esp + 0x18]
call fcn.0042826c
test al, al
je 0x41b3a3
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x60]
call fcn.00428366
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x80], ebx
je 0x41b36d
push dword [esp + 0x80]
call esi
cmp dword [esp + 0x7c], ebx
je 0x41b379
push dword [esp + 0x7c]
call esi
lea esi, [esp + 0x6c]
call fcn.004097e5
cmp dword [esp + 0x60], ebx
je 0x41b396
push dword [esp + 0x60]
call fcn.00431d77
pop ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
jmp 0x41b1cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esp + 0x34], eax
push eax
mov eax, dword [esp + 0x20]
call fcn.00428250
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x60]
call fcn.00428366
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x80], ebx
je 0x41b3e1
push dword [esp + 0x80]
call esi
cmp dword [esp + 0x7c], ebx
je 0x41b3ed
push dword [esp + 0x7c]
call esi
lea esi, [esp + 0x6c]
call fcn.004097e5
cmp dword [esp + 0x60], ebx
je 0x41b40a
push dword [esp + 0x60]
call fcn.00431d77
pop ecx
mov dword [esp + 0x60], ebx
lea edi, [esp + 0x44]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.0041cc11
push ebx
push dword [esp + 0x40]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push dword [esp + 0x3c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00404645
mov esi, dword [esp + 0x30]
jmp 0x41b064
cmp dword [esp + 0x20], ebx
jbe 0x41b469
push 2
push ebx
push ebx
push dword [esp + 0x58]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x41b479
push dword [esp + 0x20]
jmp 0x41b474
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x41b479
push ebx
mov eax, dword [ecx]
call dword [eax + 0x1c]
push 0xc800
call fcn.004318aa
pop ecx
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x34]
push eax
push dword [edi + 0xc]
mov eax, edi
call fcn.0041b98c
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jne 0x41b4de
mov eax, dword [esp + 0x34]
cmp eax, ebx
jbe 0x41b5b2
mov ecx, 0xc800
cmp eax, ecx
jb 0x41b4be
mov eax, ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
push dword [esp + 0x28]
mov eax, edi
push dword [edi + 0xc]
call fcn.0041b8ed
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x41b5a8
cmp eax, 0x2ee2
je 0x41b4fa
cmp eax, 0x2efe
je 0x41b4fa
cmp eax, 0x2eff
je 0x41b4fa
cmp eax, 0x2f83
jne 0x41b52a
cmp dword [esp + 0x28], 3
je 0x41b508
cmp dword [esp + 0x28], 4
jne 0x41b52a
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x48]
push eax
push esi
push dword [esp + 0x30]
mov eax, edi
call fcn.0041b871
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x41b48c
cmp eax, 0xe0000008
je 0x41b53c
push ebx
push eax
mov eax, dword [esp + 0x20]
call fcn.00428250
push dword [esp + 0x20]
call fcn.004318b5
pop ecx
cmp esi, ebx
je 0x41b551
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x60]
call fcn.00428366
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x80], ebx
je 0x41b572
push dword [esp + 0x80]
call esi
cmp dword [esp + 0x7c], ebx
je 0x41b57e
push dword [esp + 0x7c]
call esi
lea esi, [esp + 0x6c]
call fcn.004097e5
cmp dword [esp + 0x60], ebx
je 0x41b59b
push dword [esp + 0x60]
call fcn.00431d77
pop ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
jmp 0x41b25b
cmp dword [esp + 0x2c], ebx
jne 0x41b68e
cmp dword [esp + 0x1c], ebx
jbe 0x41b6f7
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, dword [esp + 0x1c]
jae 0x41b6f7
cmp dword [esp + 0x28], 3
je 0x41b508
cmp dword [esp + 0x28], 4
je 0x41b508
mov eax, dword [esp + 0x18]
push ebx
push 0xe000000f
call fcn.00428250
push dword [esp + 0x20]
call fcn.004318b5
pop ecx
cmp esi, ebx
je 0x41b608
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x60]
call fcn.00428366
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x80], ebx
je 0x41b629
push dword [esp + 0x80]
call esi
cmp dword [esp + 0x7c], ebx
je 0x41b635
push dword [esp + 0x7c]
call esi
lea esi, [esp + 0x6c]
call fcn.004097e5
cmp dword [esp + 0x60], ebx
je 0x41b652
push dword [esp + 0x60]
call fcn.00431d77
pop ecx
mov dword [esp + 0x60], ebx
lea edi, [esp + 0x44]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.0041cc11
push ebx
push dword [esp + 0x40]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push dword [esp + 0x3c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00404645
mov esi, 0xe000000f
jmp 0x41b064
push ebx
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x34]
push dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41b7dc
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x41b6be
push dword [esp + 0x38]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, dword [esp + 0x18]
lea eax, [edi + 0x34]
push eax
call fcn.00428283
mov eax, esi
call fcn.0042826c
test al, al
je 0x41b488
push dword [esp + 0x20]
call fcn.004318b5
pop ecx
cmp dword [esp + 0x4c], ebx
je 0x41b34c
push dword [esp + 0x4c]
jmp 0x41b346
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x4c], ebx
je 0x41b70d
push dword [esp + 0x4c]
call esi
mov dword [esp + 0x4c], ebx
mov edi, dword [esp + 0x30]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [edi]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x41b75d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esp + 0x18], eax
push eax
mov eax, dword [esp + 0x20]
call fcn.00428250
push dword [esp + 0x20]
call fcn.004318b5
pop ecx
cmp dword [esp + 0x4c], ebx
je 0x41b551
push dword [esp + 0x4c]
call esi
jmp 0x41b551
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x41b76f
mov eax, dword [ecx]
push ebx
push 1
call dword [eax + 0x10]
push dword [esp + 0x20]
call fcn.004318b5
pop ecx
cmp dword [esp + 0x4c], ebx
je 0x41b785
push dword [esp + 0x4c]
call esi
lea esi, [esp + 0x60]
call fcn.00428366
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x80], ebx
je 0x41b7a6
push dword [esp + 0x80]
call esi
cmp dword [esp + 0x7c], ebx
je 0x41b7b2
push dword [esp + 0x7c]
call esi
lea esi, [esp + 0x6c]
call fcn.004097e5
cmp dword [esp + 0x60], ebx
je 0x41b7cf
push dword [esp + 0x60]
call fcn.00431d77
pop ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
jmp 0x41b20a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
jmp 0x41b531