joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405550
Capabilities:
Create process on windows
Get file version info
Reference cloudflare dns server

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x114
cmp eax, 4
push ebx
push esi
push edi
mov edi, ecx
ja case.0x405564.1
jmp dword [eax*4 + 0x4056a8]
mov esi, 0x436458
jmp 0x405673
xor esi, esi
push 0x104
lea eax, [esp + 0x1c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x14]
lea eax, [esp + 0x18]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4055de
push ebx
call fcn.00421690
add esp, 4
mov esi, eax
test esi, esi
je 0x4055de
mov eax, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x1c]
push ebx
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
push str.StringFileInfo040904B0ProductVersion
push esi
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [esp + 0xc]
mov edx, ecx
cmp byte [ecx], 0
je 0x405610
mov eax, ecx
sub eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x10]
jge 0x405610
mov al, byte [ecx]
cmp al, 0x20
je 0x40560a
cmp al, 0x2c
jne 0x405602
mov byte [ecx], 0x2e
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
jmp 0x40560b
inc ecx
cmp byte [ecx], 0
jne 0x4055e9
mov eax, str.1.0.0.1
mov byte [edx], 0
cmp dword [esp + 0xc], 0
je 0x405623
mov eax, dword [esp + 0xc]
push eax
push 0x436778
lea eax, [esp + 0x20]
push 0x436558
push str._s_promocode_sclientrevision_s
push eax
call fcn.0040f6c0
add esp, 0x14
test esi, esi
je 0x40564d
push esi
call fcn.004216d0
add esp, 4
lea eax, [esp + 0x18]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [0x43b8bc]
jmp 0x405695
mov esi, 0x4365d8
jmp 0x405673
mov esi, 0x4364d8
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [0x43b8bc]
cmp eax, 0x20
jg 0x405695
push esi
mov ecx, edi
push eax
call fcn.004056c0
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x114
ret 4

Function at 0x405f8e
Capabilities:
Print debug messages

Disassembly:
lea ecx, [ebp - 0x1e0]
jmp fcn.00401d20

Function at 0x406c00
Capabilities:
Get common file path
Print debug messages

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push esi
mov esi, ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jle 0x406c9b
cmp eax, 0x104
jg 0x406c9b
lea eax, [esp + 4]
push str.mplaynow.log
lea ecx, [esp + 0x10c]
push eax
push str._s_s
push ecx
call fcn.0040f6c0
lea ecx, [esp + 0x118]
add esp, 0x10
push 0x431b44
push ecx
call fcn.0040fa60
add esp, 8
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x406c8e
lea eax, [esp + 0x108]
lea ecx, [esp + 4]
push eax
push str.Error_Opening_log_file:__s_n
push ecx
call fcn.0040f6c0
lea ecx, [esp + 0x10]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop esi
add esp, 0x20c
ret
mov eax, 1
pop esi
add esp, 0x20c
ret
push str.Error_getting_windows_directory_in_create_log..._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop esi
add esp, 0x20c
ret
Function at 0x407560
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x440
lea eax, [esp + 0x40]
push esi
mov esi, ecx
push 0x400
mov ecx, dword [esp + 0x44c]
push eax
mov edx, dword [esp + 0x454]
push ecx
push 0x7f2
push edx
call dword [esi + 0x18]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4075bf
call dword [esi + 0x40]
push eax
push str.Error_initiating_host_lookup:__d_n
lea eax, [esp + 0xc]
push eax
call fcn.0040f6c0
lea eax, [esp + 0x10]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop esi
add esp, 0x440
ret 8
mov eax, 1
pop esi
add esp, 0x440
ret 8
Function at 0x4077e0
Capabilities:
Print debug messages
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4079ef
push eax
mov dword fs:[0], esp
sub esp, 0x178
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
push str.SystemCurrentControlSetServicesClassModem
push 0x80000002
call dword [0x43b614]
test eax, eax
je 0x40782b
xor eax, eax
jmp 0x4079c1
push 0x14
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push 0
push ecx
call dword [0x43b62c]
test eax, eax
jne 0x4079b4
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x4c]
push eax
mov edx, dword [ebp - 0x14]
push 0x20019
push 0
push ecx
push edx
call dword [0x43b614]
test eax, eax
jne 0x40798b
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x184]
push eax
lea edx, [ebp - 0x34]
push ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], 0xff
push edx
push 0
push str.Model
push eax
call dword [0x43b628]
test eax, eax
jne 0x40798b
push 0
lea eax, [ebp - 0x34]
push 0
mov ecx, dword [ebp - 0x10]
push eax
push 0
push str.Reset
push ecx
call dword [0x43b628]
test eax, eax
jne 0x40798b
push 0xc
lea eax, [ebp - 0x184]
push str.Serial_cable
push eax
call fcn.0040f9e0
add esp, 0xc
test eax, eax
je 0x40798b
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x84]
push eax
push str.Modem_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x184]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0041d1b1
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
push 0x431ce0
push ecx
lea ecx, [ebp - 0x30]
call fcn.0041d1b1
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
push str.Found
push ecx
call fcn.0041d3c3
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
call fcn.0041d32e
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
push ecx
call fcn.0041d2a5
mov byte [ebp - 4], 4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 3
call fcn.004079f9
mov byte [ebp - 4], 2
call fcn.004079df
mov byte [ebp - 4], 1
call fcn.004079d7
mov byte [ebp - 4], 0
call fcn.004079cf
mov dword [ebp - 4], 0xffffffff
call fcn.004079e7
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push eax
call dword [0x43b624]
push 0x14
lea eax, [ebp - 0x4c]
push eax
mov edx, dword [ebp - 0x14]
inc dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
push ecx
push edx
call dword [0x43b62c]
test eax, eax
je 0x40784c
mov eax, dword [ebp - 0x14]
push eax
call dword [0x43b624]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov esp, ebp
mov dword fs:[0], ecx
pop ebp
ret
Function at 0x407a10
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
xor ecx, ecx
mov dword [esp + 0x14], ecx
push esi
mov word [esp + 0x46], cx
mov eax, 1
mov word [esp + 0x44], ax
mov dword [esp + 0x1c], ecx
lea edx, [esp + 4]
mov dword [esp + 0x20], ecx
lea esi, [esp + 0x14]
push edx
mov dword [esp + 0x44], eax
push esi
mov dword [esp + 0x50], ecx
push ecx
mov dword [esp + 0x20], 0x44
push ecx
push 0x20
push ecx
push ecx
push ecx
push str.CONTROL.EXE_MODEM.CPL__ADD
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x407a8d
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 4]
push ecx
call esi
push str.Install_New_Modem
push str.32770
call fcn.00409550
add esp, 8
pop esi
add esp, 0x54
ret
xor eax, eax
pop esi
add esp, 0x54
ret

Function at 0x407c00
Capabilities:
Print debug messages

Disassembly:
sub esp, 4
mov dword [esp], ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov esi, 1
mov edi, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x20]
mov ecx, 0x435bf0
call fcn.00403de0
push eax
mov ecx, 0x436a18
mov eax, dword [esp + 0x28]
push eax
push ebp
push ebx
push edi
call fcn.00407ee0
test eax, eax
je 0x407c6a
mov ecx, dword [esp + 0x10]
push eax
call fcn.00407bc0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
inc esi
cmp eax, 0xa
jl 0x407c1c
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x10
push 0
mov ecx, 0x436a18
call fcn.004080c0
test eax, eax
jne 0x407caa
mov ecx, 0x435bf0
call fcn.00404d70
test eax, eax
mov eax, dword [0x4329e0]
jne 0x407cb9
cmp eax, 1
je 0x407cb9
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov ecx, 0x436a18
call fcn.004080c0
test eax, eax
je 0x407c7a
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x10
xor eax, eax
pop ebp
mov dword [0x4329e0], 0
pop edi
pop esi
pop ebx
add esp, 4
ret 0x10

Function at 0x407e90
Capabilities:
Print debug messages

Disassembly:
push esi
mov dword [ecx], 0x429778
mov esi, ecx
mov ecx, 0x435bf0
call fcn.00404d70
test eax, eax
je 0x407eae
mov ecx, esi
call fcn.004088d0
push str.network_destructor..._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, esi
call fcn.00408310
mov eax, dword [esi + 0x14]
test eax, eax
je 0x407ed7
push eax
call fcn.004216d0
mov dword [esi + 0x14], 0
add esp, 4
pop esi
ret
Function at 0x407ee0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40808c
push eax
mov dword fs:[0], esp
sub esp, 0x424
cmp dword [ebp + 0x18], 0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ecx + 4], 0
je 0x40809e
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x1c], 0
je 0x40809e
push str.RasDialEvent
lea edi, [ebp - 0x430]
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov ecx, ebx
call fcn.004088d0
xor eax, eax
mov ecx, 0x107
rep stosd dword es:[edi], eax
mov dword [ebp - 0x430], 0x41c
mov edi, dword [ebp + 8]
cmp edi, eax
je 0x407f76
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebp - 0x42c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x407fa0
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebp - 0x32b]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x407fca
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebp - 0x229]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x407ff4
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebp - 0x128]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x10]
call fcn.0041d028
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0x229]
push eax
lea edx, [ebp - 0x32b]
push ecx
lea eax, [ebp - 0x42c]
push edx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push str._npb___s__phone___s___user___s__pw___s__n
push ecx
lea esi, [ebx + 0x10]
call fcn.0041c87f
add esp, 0x18
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov eax, dword [ebp + 0x18]
lea edx, [ebp - 0x430]
mov ecx, dword [eax + 0x1c]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [ebx + 0x18]
mov dword [ebx + 4], eax
test eax, eax
je 0x408075
push eax
call fcn.00408370
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x40806f
push eax
call dword [ebx + 0x1c]
mov dword [esi], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
call fcn.00408096
mov eax, dword [ebp - 0x14]
jmp 0x4080a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x408140
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
cmp dword [ecx + 8], 0
je 0x408154
mov eax, 1
pop edi
pop esi
pop ebx
ret
push str.rasapi32.dll
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call ebx
mov dword [esi + 8], eax
test eax, eax
jne 0x40816e
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasDialA
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [esi + 0x18], eax
test eax, eax
jne 0x408189
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasHangUpA
mov eax, dword [esi + 8]
push eax
call edi
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x4081a1
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasGetConnectStatusA
mov eax, dword [esi + 8]
push eax
call edi
mov dword [esi + 0x20], eax
test eax, eax
jne 0x4081b9
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasEnumConnectionsA
mov eax, dword [esi + 8]
push eax
call edi
mov dword [esi + 0x24], eax
test eax, eax
jne 0x4081d1
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasEditPhonebookEntryA
mov eax, dword [esi + 8]
push eax
call edi
mov dword [esi + 0x28], eax
test eax, eax
jne 0x4081e9
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasGetEntryDialParamsA
mov eax, dword [esi + 8]
push eax
call edi
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x408201
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasEnumEntriesA
mov eax, dword [esi + 8]
push eax
call edi
mov dword [esi + 0x30], eax
test eax, eax
jne 0x408219
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasSetEntryDialParamsA
mov eax, dword [esi + 8]
push eax
call edi
mov dword [esi + 0x34], eax
test eax, eax
jne 0x408231
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasGetErrorStringA
mov eax, dword [esi + 8]
push eax
call edi
mov dword [esi + 0x38], eax
test eax, eax
jne 0x408249
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.rnaph.dll
call ebx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x40825d
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasValidateEntryName
push eax
call edi
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x408272
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasRenameEntry
mov eax, dword [esi + 0xc]
push eax
call edi
mov dword [esi + 0x40], eax
test eax, eax
jne 0x40828a
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasDeleteEntry
mov eax, dword [esi + 0xc]
push eax
call edi
mov dword [esi + 0x44], eax
test eax, eax
jne 0x4082a2
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasGetEntryProperties
mov eax, dword [esi + 0xc]
push eax
call edi
mov dword [esi + 0x48], eax
test eax, eax
jne 0x4082ba
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasSetEntryProperties
mov eax, dword [esi + 0xc]
push eax
call edi
mov dword [esi + 0x4c], eax
test eax, eax
jne 0x4082d2
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasGetCountryInfo
mov eax, dword [esi + 0xc]
push eax
call edi
mov dword [esi + 0x50], eax
test eax, eax
jne 0x4082ea
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.RasEnumDevices
mov eax, dword [esi + 0xc]
push eax
call edi
pop edi
mov dword [esi + 0x54], eax
pop esi
cmp eax, 1
sbb eax, eax
pop ebx
inc eax
ret
Function at 0x408370
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4083e5
push eax
mov dword fs:[0], esp
sub esp, 4
lea ecx, [ebp - 0x10]
call fcn.0041d028
push 0x181
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push str.D:mpprep_network.cpp
push eax
call fcn.0040be70
add esp, 4
push eax
push str.RAS_Error_encountered:__s_in__s__d_n
lea eax, [ebp - 0x10]
push eax
call fcn.0041c87f
add esp, 0x14
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
call fcn.004083ef
mov eax, dword [ebp - 0xc]
mov esp, ebp
mov dword fs:[0], eax
pop ebp
ret
Function at 0x4090e0
Capabilities:
Shutdown system

Disassembly:
push esi
push 0
push str.We_Must_Reboot_Your_PC
push str.We_must_reboot_your_PC_for_the_changes_to_take_effect.__Please_exit_all_programs_and_select_OK
call fcn.00409610
add esp, 0xc
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov esi, eax
test esi, esi
jne 0x409119
push 0
push str.Installing_WebBullet_Internet_Service
push str.Error_restarting_Windows.__Please_restart_your_computer.
call fcn.00409610
add esp, 0xc
mov eax, esi
pop esi
ret

Function at 0x409120
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push esi
lea ecx, [esp + 4]
push edi
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000001
call dword [0x43b620]
test eax, eax
je 0x409158
xor eax, eax
pop edi
pop esi
add esp, 8
ret
mov edx, dword [esp + 0x18]
mov ecx, 0xffffffff
mov edi, edx
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 1
push 0
push eax
push ecx
call dword [0x43b610]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call dword [0x43b624]
pop edi
cmp esi, 1
sbb eax, eax
pop esi
neg eax
add esp, 8
ret

Function at 0x409250
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push esi
push edi
mov esi, dword [esp + 0x10]
push esi
call fcn.004091a0
mov edi, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x409281
test edi, edi
jne 0x409281
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x409281
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0xc]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
pop edi
pop esi
ret

Function at 0x409320
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 4
lea eax, [esp]
push esi
push eax
push ecx
push edx
call dword [0x43b61c]
mov esi, eax
test esi, esi
jne 0x40936d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [0x43b610]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [0x43b624]
mov eax, esi
pop esi
add esp, 4
ret

Function at 0x409380
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 4
lea eax, [esp]
push esi
push eax
push ecx
push edx
call dword [0x43b618]
mov esi, eax
test esi, esi
jne 0x4093ca
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 8]
push ecx
push 0
push 0
push edx
push eax
call dword [0x43b628]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [0x43b624]
mov eax, esi
pop esi
add esp, 4
ret
Function at 0x409470
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
xor esi, esi
push eax
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, esi
mov edi, eax
jne 0x409493
mov eax, 0xd
pop edi
pop esi
ret
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4094a5
mov esi, 0xd
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
ret

Function at 0x4094c0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push edi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
mov byte [esp + esi + 8], 0x20
mov byte [esp + esi + 9], 0
je 0x40951f
mov edi, eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 8]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 8]
push eax
push str.wbsetup
call fcn.00409120
add esp, 8
mov ecx, 0x435bf0
push 1
call fcn.004043c0
pop edi
pop esi
add esp, 0x104
ret
Function at 0x4097b0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x244
lea eax, [esp + 0x140]
push ebx
push esi
push edi
mov esi, dword [esp + 0x254]
push esi
push 0x43261c
push eax
call fcn.0040f6c0
mov edi, dword [esp + 0x268]
add esp, 0xc
cmp dword [edi], 0xffffffff
jne 0x4098a5
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x40980c
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x244
ret
test byte [esp + 0xc], 0x10
je 0x4098a5
lea eax, [esp + 0x38]
mov edx, 0x432618
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x409840
or cl, cl
je 0x40983c
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x409840
add eax, 2
add edx, 2
or cl, cl
jne 0x409820
xor eax, eax
jmp 0x409845
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4098a5
lea eax, [esp + 0x38]
mov edx, 0x432614
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x409872
or cl, cl
je 0x40986e
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x409872
add eax, 2
add edx, 2
or cl, cl
jne 0x409852
xor eax, eax
jmp 0x409877
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4098a5
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x258]
push eax
push esi
push str._s_s_
push ecx
call fcn.0040f6c0
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x244
ret
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0xc]
mov ecx, dword [edi]
push eax
push ecx
call ebx
cmp eax, 1
jne 0x409953
test byte [esp + 0xc], 0x10
je 0x4098ab
lea ecx, [esp + 0x38]
mov edx, 0x432618
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4098ee
or al, al
je 0x4098ea
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4098ee
add ecx, 2
add edx, 2
or al, al
jne 0x4098ce
xor eax, eax
jmp 0x4098f3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4098ab
lea ecx, [esp + 0x38]
mov edx, 0x432614
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x409920
or al, al
je 0x40991c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x409920
add ecx, 2
add edx, 2
or al, al
jne 0x409900
xor eax, eax
jmp 0x409925
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4098ab
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x258]
push eax
push esi
push str._s_s_
push ecx
call fcn.0040f6c0
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x244
ret
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov dword [edi], 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x244
ret