Function at 0x4291f0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b96d
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x43e070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x188]
mov dword [ebp - method.CommandLineArguments.virtual_0], vtable.CommandLineArguments.0
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
call fcn.00403c30
mov dword [ebp - 0x188], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x190]
push esi
push dword [ebp + 8]
call fcn.00428800
mov dword [ebp - 4], 3
cmp byte [ebp - 0x18c], 0
je 0x429288
call fcn.00429d80
xor esi, esi
jmp 0x429d00
push 0x104
lea ecx, [ebp - 0x1b8]
call fcn.00406610
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ac]
push 0x104
call fcn.00406610
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x1ac]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [esi], ax
jne 0x4292ed
xor ecx, ecx
jmp 0x429301
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4292f2
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.004030f0
mov byte [ebp - 4], 6
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x198], esp
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x436ff0
mov word [ecx], ax
call fcn.004030f0
mov byte [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x180], esp
xor eax, eax
push 0xc
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.extract_path
mov word [ecx], ax
call fcn.004030f0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x190]
call fcn.00428fe0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x60], 0
je 0x429397
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.004031f0
mov esi, dword [ebp - 0x1b8]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push esi
cmovae eax, dword [ebp - 0x40]
push 0
push str.IEDriver
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [esi], ax
jne 0x4293e2
xor ecx, ecx
jmp 0x4293f6
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4293e7
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004030f0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x28]
call fcn.0042a260
test al, al
jne 0x429433
mov edx, str.Failed_to_extract_the_library_to_temp_directory:
mov ecx, 0x43efe0
call fcn.00408fd0
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00409290
mov esi, 1
jmp 0x429c5b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
jne 0x42946c
mov edx, str.Failed_to_load_the_library_from_temp_directory:
mov ecx, 0x43efe0
call fcn.00408fd0
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00409290
lea esi, [ebx + 2]
jmp 0x429c5b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4384a4
push ebx
call esi
push 0x4384b0
mov edi, eax
push ebx
mov dword [ebp - 0x1a0], edi
call esi
mov dword [ebp - 0x198], eax
test edi, edi
je 0x429c3d
test eax, eax
je 0x429c3d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x180], esp
push str.5555
call fcn.00402e70
mov byte [ebp - 4], 0xb
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x19c], esp
push str.port
call fcn.00402e70
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x190]
call fcn.00428fe0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
jb 0x4294f4
mov eax, dword [eax]
push eax
call fcn.00415059
add esp, 4
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa0]
call fcn.00402d50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x180], esp
push 0x436ff0
call fcn.00402e70
mov byte [ebp - 4], 0xe
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x17c], esp
push str.host
call fcn.00402e70
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x100]
push eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x190]
call fcn.00428fe0
mov byte [ebp - 4], 0x10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x17c], esp
push 0x436ff0
call fcn.00402e70
mov byte [ebp - 4], 0x11
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x180], esp
push str.log_level
call fcn.00402e70
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x190]
call fcn.00428fe0
mov byte [ebp - 4], 0x13
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x17c], esp
push 0x436ff0
call fcn.00402e70
mov byte [ebp - 4], 0x14
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x180], esp
push str.log_file
call fcn.00402e70
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x190]
call fcn.00428fe0
mov byte [ebp - 4], 0x16
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x17c], esp
push str.value_not_specified
call fcn.00402e70
mov byte [ebp - 4], 0x17
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x180], esp
push str.silent
call fcn.00402e70
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x190]
call fcn.00428fe0
mov byte [ebp - 4], 0x19
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x180], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xa0]
call fcn.00402d50
lea ecx, [ebp - 0x148]
call fcn.0042a000
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x130]
call fcn.0042a1a0
mov byte [ebp - 4], 0x1b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x17c], esp
push 0x436ff0
call fcn.00402e70
mov byte [ebp - 4], 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x194], esp
push str.implementation
call fcn.00402e70
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x190]
call fcn.00428fe0
mov byte [ebp - 4], 0x1e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x194], esp
push 0x436ff0
call fcn.00402e70
mov byte [ebp - 4], 0x1f
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x17c], esp
push str.whitelisted_ips
call fcn.00402e70
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x190]
call fcn.00428fe0
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x194]
cmp dword [ebp - 0x44], 8
lea edi, [ebp - 0x58]
lea esi, [ebp - 0x58]
cmovae edi, dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
push eax
call fcn.00402d20
push edi
mov edx, 0x412323
lea ecx, [ebp - 0x17c]
push dword [eax]
push esi
call fcn.00403f40
add esp, 0xc
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x194]
lea edi, [ebp - 0x88]
cmovae edi, dword [ebp - 0x88]
lea esi, [ebp - 0x88]
cmovae esi, dword [ebp - 0x88]
lea ecx, [ebp - 0x88]
push eax
call fcn.00402d20
push edi
mov edx, 0x412323
lea ecx, [ebp - 0x17c]
push dword [eax]
push esi
call fcn.00403f40
add esp, 0xc
cmp byte [ebp - 0x18b], 0
je 0x4297f0
mov edx, 0x4385f8
mov ecx, 0x43efe0
call fcn.00408fd0
mov edx, 0x4385f4
mov ecx, eax
call fcn.00408fd0
lea edx, [ebp - 0x148]
mov ecx, eax
call fcn.00409290
mov edx, 0x4385ec
mov ecx, eax
call fcn.00408fd0
lea edx, [ebp - 0x130]
mov ecx, eax
call fcn.00409290
mov edx, 0x4385e8
mov ecx, eax
call fcn.00408fd0
push eax
call fcn.00409250
add esp, 4
jmp 0x429bba
push ecx
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x178]
call fcn.00409530
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x130]
push ecx
mov edx, eax
lea ecx, [ebp - 0x160]
call fcn.004095f0
mov byte [ebp - 4], 0x23
add esp, 4
mov edx, eax
lea ecx, [ebp - 0xb8]
call fcn.004094c0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xd0]
mov edi, dword [ebp - 0x19c]
push ecx
lea ecx, [ebp - 0x88]
push ecx
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x100]
push eax
push edi
call dword [ebp - 0x1a0]
add esp, 0x20
mov esi, eax
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xb8]
call fcn.00402d50
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x160]
call fcn.00402d50
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x178]
call fcn.00402d50
test esi, esi
jne 0x429964
push edi
mov edx, str.Failed_to_start_the_server_with:
mov ecx, 0x43efe0
call fcn.00408fd0
mov edx, str.port__
mov ecx, eax
call fcn.00408fd0
mov ecx, eax
call fcn.004067c0
mov edx, 0x438650
mov ecx, eax
call fcn.00408fd0
mov edx, str.host__
mov ecx, eax
call fcn.00408fd0
lea edx, [ebp - 0x100]
mov ecx, eax
call fcn.00409290
mov edx, 0x438650
mov ecx, eax
call fcn.00408fd0
mov edx, str.log_level__
mov ecx, eax
call fcn.00408fd0
lea edx, [ebp - 0x58]
mov ecx, eax
call fcn.00409290
mov edx, 0x438650
mov ecx, eax
call fcn.00408fd0
mov edx, str.log_file__
mov ecx, eax
call fcn.00408fd0
lea edx, [ebp - 0xe8]
mov ecx, eax
call fcn.00409290
mov edx, 0x438650
mov ecx, eax
call fcn.00408fd0
mov edx, str.whitelisted_ips__
mov ecx, eax
call fcn.00408fd0
lea edx, [ebp - 0xd0]
mov ecx, eax
call fcn.00409290
mov edx, 0x438620
mov ecx, eax
call fcn.00408fd0
mov esi, 4
jmp 0x429bd5
cmp dword [ebp - 0x180], 0
je 0x429af5
mov edx, str.Started_InternetExplorerDriver_server
mov ecx, 0x43efe0
call fcn.00408fd0
mov edx, 0x4385ec
mov ecx, eax
call fcn.00408fd0
lea edx, [ebp - 0x130]
mov ecx, eax
call fcn.00409290
mov edx, 0x4385e8
mov ecx, eax
call fcn.00408fd0
push eax
call fcn.00409250
lea edx, [ebp - 0x148]
mov ecx, 0x43efe0
call fcn.00409290
push eax
call fcn.00409250
add esp, 8
mov edx, str.Listening_on_port
mov ecx, 0x43efe0
push edi
call fcn.00408fd0
mov ecx, eax
call fcn.004067c0
push eax
call fcn.00409250
add esp, 4
cmp dword [ebp - 0xf0], 0
jbe 0x429a12
mov edx, str.Bound_to_network_adapter_with_IP_address
mov ecx, 0x43efe0
call fcn.00408fd0
lea edx, [ebp - 0x100]
mov ecx, eax
call fcn.00409290
push eax
call fcn.00409250
add esp, 4
cmp dword [ebp - 0x48], 0
jbe 0x429a3a
mov edx, str.Log_level_is_set_to
mov ecx, 0x43efe0
call fcn.00408fd0
lea edx, [ebp - 0x58]
mov ecx, eax
call fcn.00409290
push eax
call fcn.00409250
add esp, 4
cmp dword [ebp - 0xd8], 0
jbe 0x429a68
mov edx, str.Log_file_is_set_to
mov ecx, 0x43efe0
call fcn.00408fd0
lea edx, [ebp - 0xe8]
mov ecx, eax
call fcn.00409290
push eax
call fcn.00409250
add esp, 4
cmp dword [ebp - 0x78], 0
jbe 0x429a93
mov edx, str.Driver_implementation_set_to
mov ecx, 0x43efe0
call fcn.00408fd0
lea edx, [ebp - 0x88]
mov ecx, eax
call fcn.00409290
push eax
call fcn.00409250
add esp, 4
cmp dword [ebp - 0x60], 0
jbe 0x429abb
mov edx, str.Library_extracted_to
mov ecx, 0x43efe0
call fcn.00408fd0
lea edx, [ebp - 0x70]
mov ecx, eax
call fcn.00409290
push eax
call fcn.00409250
add esp, 4
cmp dword [ebp - 0xc0], 0
mov ecx, 0x43efe0
jbe 0x429ae2
mov edx, str.IP_addresses_allowed_to_connect_are
call fcn.00408fd0
lea edx, [ebp - 0xd0]
mov ecx, eax
call fcn.00409290
jmp 0x429aec
mov edx, str.Only_local_connections_are_allowed
call fcn.00408fd0
push eax
call fcn.00409250
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0xa
lea ecx, [ebp - 0xac]
mov edi, eax
call fcn.00406610
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xac]
sub eax, esi
push 0xa
sar eax, 1
push eax
push esi
push edi
call fcn.00415170
add esp, 0x10
lea ecx, [ebp - 0xa0]
push esi
call fcn.00402e70
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x118]
call fcn.00409660
add esp, 4
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x118]
cmp dword [ebp - 0x104], 8
cmovae eax, dword [ebp - 0x118]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [ebp - 0x198]
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x118]
call fcn.00402d50
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0xa0]
call fcn.00402d50
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0xac]
call fcn.00407300
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xd0]
call fcn.00402d50
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x88]
call fcn.00402d50
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x130]
call fcn.00402d50
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x148]
call fcn.00402d50
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xe8]
call fcn.00402d50
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
call fcn.00402d50
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x100]
call fcn.00402d50
jmp 0x429c5b
mov edx, str.Could_not_find_entry_point_in_extracted_library:
mov ecx, 0x43efe0
call fcn.00408fd0
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00409290
mov esi, 3
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x429c74
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403440
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x429ca1
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00403440
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x429cce
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403440
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ac]
call fcn.00407300
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b8]
call fcn.00407300
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.CommandLineArguments.virtual_0], vtable.CommandLineArguments.0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x188]
mov dword [ebp - 0x194], eax
mov dword [ebp - 4], 0x2a
lea ecx, [ebp - 0x188]
mov eax, dword [ebp - 0x188]
push eax
push dword [eax]
lea eax, [ebp - 0x17c]
push eax
call fcn.00403380
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x188]
call fcn.0040cbd3
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040cbd8
mov esp, ebp
pop ebp
ret