joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ff1
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [0x4109f8]
xor eax, ebp
mov dword [ebp + 0x1b4], eax
and dword [edi], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x402036
call fcn.00401fd1
mov ecx, dword [ebp + 0x1b4]
xor ecx, ebp
call fcn.00408ace
add ebp, 0x1b8
leave
ret
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
je 0x40201c
push esi
mov esi, 0x22c
push esi
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00408d60
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
mov dword [ebp - 0x78], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x402084
call fcn.00401fd1
mov esi, eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
jmp 0x402021
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x70], eax
jne 0x402093
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4020aa
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x402084
mov esi, 0x80004005
jmp 0x402076
mov dword [edi], eax
xor esi, esi
jmp 0x402076

Function at 0x40213b
Capabilities:
Query service status

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xd4
mov eax, dword [0x4109f8]
xor eax, ebp
mov dword [ebp + 0x74], eax
call fcn.004020b0
test al, al
je 0x402160
xor al, al
jmp 0x402213
push edi
lea edi, [ebp - 0x34]
call fcn.00401ff1
test eax, eax
jge 0x402174
xor al, al
jmp 0x402212
push ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x402191
xor al, al
jmp 0x402211
push esi
mov esi, str.seclogon
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x8e
lea eax, [ebp - 0x1a]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.00408d60
add esp, 0xc
push 0xf01ff
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
jne 0x4021db
mov byte [ebp - 0x2d], 0
push ebx
call esi
mov al, byte [ebp - 0x2d]
jmp 0x402210
lea eax, [ebp - 0x38]
push eax
push 0x24
lea eax, [ebp - 0x5c]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push edi
test eax, eax
je 0x402203
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x40]
jne 0x402203
call esi
mov byte [ebp - 0x2d], 1
jmp 0x4021d3
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
xor al, al
pop esi
pop ebx
pop edi
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.00408ace
add ebp, 0x78
leave
ret
Function at 0x402a7a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [eax]
push ebx
push esi
push edi
sub eax, 0x10
call fcn.0040280f
mov esi, eax
push 0x44
xor ebx, ebx
lea eax, [ebp - 0x5c]
push ebx
add esi, 0x10
push eax
mov dword [ebp - 8], esi
call fcn.00408d60
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
or dword [ebp - 0x30], 0x81
xor eax, eax
inc eax
mov word [ebp - 0x2c], ax
cmp dword [esi - 4], eax
jle 0x402adb
push dword [esi - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.004028bf
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
push ebx
push 0x400
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x402b13
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea eax, [esi - 0x10]
call fcn.004010b5
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 1], 1
cmp dword [ebp + 8], ebx
je 0x402b39
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
setne byte [ebp - 1]
push dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x14]
call edi
mov bl, byte [ebp - 1]
jmp 0x402b04

Function at 0x402b7a
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov esi, eax
call fcn.00402c13
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x402c0b
push edi
push edi
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
cmp eax, edi
je 0x402c06
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
mov dword [esi + 0xc], edx
cmp edx, edi
je 0x402bfd
push 6
pop ecx
mov dword [ebp - 0x1c], edi
xor eax, eax
lea edi, [ebp - 0x18]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x402bfd
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
mov al, 1
jmp 0x402c0d
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00402c13
xor al, al
pop edi
pop esi
leave
ret 4
Function at 0x402c6b
Capabilities:
Parse pe header

Disassembly:
test ecx, ecx
jne 0x402c72
xor al, al
ret
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x402c6f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x402c6f
mov eax, dword [eax + 0x98]
test eax, eax
je 0x402c98
lea edx, [eax + ecx]
jmp 0x402c9a
xor edx, edx
test edx, edx
je 0x402c6f
lea eax, [edx + 8]
test eax, eax
je 0x402c6f
cmp byte [eax], 0x30
lea ecx, [eax + 1]
jne 0x402cc9
mov al, byte [ecx]
inc ecx
cmp al, 0x82
jne 0x402cc9
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
lea eax, [eax + ecx + 0x13]
and eax, 0xffffff8
jmp 0x402ccb
xor eax, eax
test eax, eax
je 0x402c6f
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edx
mov al, 1
ret

Function at 0x402d75
Capabilities:
Delete file

Disassembly:
push esi
xor esi, esi
cmp dword [edi + 0x10], esi
je 0x402d98
test esi, esi
jl 0x402dac
cmp esi, dword [edi + 0x10]
jge 0x402dac
mov eax, dword [edi + 0xc]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc esi
cmp esi, dword [edi + 0x10]
jne 0x402d7d
lea esi, [edi + 0xc]
call fcn.004024ba
mov eax, dword [edi + 4]
sub eax, 0x10
pop esi
jmp fcn.004010b5
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x402dbe
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4022c
call fcn.0040bf60
mov eax, dword [0x4109f8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x40220], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x40224]
push eax
mov esi, 0x200
push esi
lea eax, [ebp - 0x4020c]
push eax
push dword [edi]
mov byte [ebp - 0x4020d], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402ec5
cmp dword [ebp - 0x40224], esi
jne 0x402ec5
push 4
lea eax, [ebp - 0x4010b]
push 0x40ebd4
push eax
call fcn.00409ec8
add esp, 0xc
test eax, eax
jne 0x402e44
mov eax, dword [ebp - 0x40220]
mov byte [eax], 1
mov al, 1
jmp 0x402ec7
push 5
lea eax, [ebp - 0x4010b]
push 0x40ebcc
push eax
call fcn.00409ec8
add esp, 0xc
test eax, eax
jne 0x402ec5
mov eax, dword [edi + 4]
sub eax, 0x10
call fcn.0040280f
add eax, 0x10
mov dword [ebp - 0x40214], eax
push 0x40ec78
lea eax, [ebp - 0x40214]
push eax
call fcn.00402ffe
lea eax, [ebp - 0x4020c]
push eax
lea eax, [ebp - 0x40214]
push eax
call fcn.00402ffe
mov esi, dword [ebp - 0x40214]
push ebx
push 0x100
push 2
push ebx
push ebx
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x40220], eax
cmp eax, 0xffffffff
jne 0x402ed7
lea eax, [esi - 0x10]
call fcn.004010b5
xor al, al
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.00408ace
leave
ret 4
push 8
lea eax, [ebp - 0x40190]
push ebx
push eax
call fcn.0040c1ba
add esp, 0xc
push 1
push ebx
push ebx
push dword [edi]
mov esi, eax
mov dword [ebp - 0x40218], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add eax, dword [ebp - 0x40218]
neg esi
and esi, 0x1ff
add esi, eax
mov dword [ebp - 0x40228], esi
cmp dword [ebp - 0x40218], ebx
jbe 0x402f92
mov ecx, dword [ebp - 0x40218]
mov eax, 0x40000
mov dword [ebp - 0x4021c], eax
cmp ecx, eax
jae 0x402f36
mov dword [ebp - 0x4021c], ecx
push ebx
lea eax, [ebp - 0x40224]
push eax
push dword [ebp - 0x4021c]
lea eax, [ebp - 0x4000c]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402f8c
push ebx
lea eax, [ebp - 0x40224]
push eax
push dword [ebp - 0x4021c]
lea eax, [ebp - 0x4000c]
push eax
push dword [ebp - 0x40220]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402f8c
mov eax, dword [ebp - 0x4021c]
sub dword [ebp - 0x40218], eax
jne 0x402f1b
jmp 0x402f92
mov byte [ebp - 0x4020d], bl
push dword [ebp - 0x40220]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x4020d], bl
je 0x402fd5
cmp byte [edi + 8], bl
je 0x402fc1
lea esi, [edi + 0xc]
lea ebx, [ebp - 0x40214]
call fcn.00402444
mov esi, dword [ebp - 0x40228]
xor ebx, ebx
mov eax, dword [edi + 0x18]
cmp eax, ebx
je 0x402fd5
push dword [ebp - 0x40214]
push dword [edi + 0x1c]
call eax
pop ecx
pop ecx
cmp esi, 0xffffffff
je 0x402fe5
push ebx
push ebx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x40214]
add eax, 0xfffffff0
call fcn.004010b5
mov al, byte [ebp - 0x4020d]
jmp 0x402ec7
Function at 0x406c53
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405b48
and dword [ebp - 4], 0
cmp dword [0x4112c0], 0
mov ebx, eax
jne 0x406d04
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406db5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406db5
push eax
call fcn.00405ad6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4112c0], eax
call esi
push eax
call fcn.00405ad6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4112c4], eax
call esi
push eax
call fcn.00405ad6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4112c8], eax
call esi
push eax
call fcn.00405ad6
pop ecx
mov dword [0x4112d0], eax
test eax, eax
je 0x406d04
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405ad6
pop ecx
mov dword [0x4112cc], eax
mov eax, dword [0x4112cc]
cmp eax, ebx
je 0x406d5c
cmp dword [0x4112d0], ebx
je 0x406d5c
push eax
call fcn.00405b51
push dword [0x4112d0]
mov esi, eax
call fcn.00405b51
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406d5c
test edi, edi
je 0x406d5c
call esi
test eax, eax
je 0x406d53
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406d53
test byte [ebp - 0xc], 1
jne 0x406d5c
or dword [ebp + 0x10], 0x200000
jmp 0x406d95
mov eax, dword [0x4112c4]
cmp eax, ebx
je 0x406d95
push eax
call fcn.00405b51
pop ecx
test eax, eax
je 0x406d95
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406d95
mov eax, dword [0x4112c8]
cmp eax, ebx
je 0x406d95
push eax
call fcn.00405b51
pop ecx
test eax, eax
je 0x406d95
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4112c0]
call fcn.00405b51
pop ecx
test eax, eax
je 0x406db5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406db7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408ace
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4109f8]
jne 0x408ad8
repz ret
jmp fcn.0040b8f5
Function at 0x402b06
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
lea eax, [eax + 0xc]
mov edx, eax
cmp edx, eax
je 0x402b60
push eax
push 0x40166a
call fcn.00402b9e
push 7
push 0x67b0bc
push dword [eax + 0x30]
call fcn.00402ef7
cmp eax, 0
jne 0x402b3a
inc eax
jmp 0x402b62
push 0x401682
call fcn.00402b9e
push 7
push 0x67b0bc
push dword [eax + 0x30]
call fcn.00402ef7
cmp eax, 0
jne 0x402b5b
inc eax
jmp 0x402b62
pop eax
mov eax, dword [eax]
jmp 0x402b14
xor eax, eax
ret

Function at 0x402b78
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov eax, dword fs:[0x30]
mov al, byte [eax + 0x68]
and al, 0x70
cmp al, 0x70
sete al
movzx eax, al
ret

Function at 0x402b8c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
test al, al
setne al
movzx eax, al
ret

Function at 0x402b9e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
lea edi, [0x67b0bc]
mov esi, dword [ebp + 8]
lodsw ax, word [esi]
xor ax, 0xcd
stosw word es:[edi], ax
cmp ax, 0
jne 0x402bac
pop edi
pop esi
leave
ret 4

Function at 0x402bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
lea edi, [0x67b0bc]
mov esi, dword [ebp + 8]
lodsb al, byte [esi]
xor al, 0xcd
stosb byte es:[edi], al
cmp al, 0
jne 0x402bce
pop edi
pop esi
leave
ret 4

Function at 0x402e02
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x20]
mov edi, dword [edx + ebx]
test edi, edi
je 0x402e53
add edi, ebx
xchg esi, eax
push ecx
xor eax, eax
lea ecx, [eax - 1]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg esi, eax
mov esi, dword [ebp + 0xc]
repe cmpsb byte [esi], byte es:[edi]
pop ecx
jne 0x402e53
sub ecx, dword [eax + 0x18]
neg ecx
mov edx, dword [eax + 0x24]
add edx, ebx
movzx edx, word [edx + ecx*2]
mov eax, dword [eax + 0x1c]
add eax, ebx
mov eax, dword [eax + edx*4]
add eax, ebx
jmp 0x402e5a
add edx, 4
loop 0x402e1a
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8

Function at 0x402e61
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
push esi
push edi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
lea ebp, [eax + 0xc]
mov eax, dword [ebp]
mov esi, dword [eax + 0x30]
movzx ecx, word [eax + 0x2e]
mov edi, dword [esp + 0x10]
mov dx, word [esi]
cmp dx, word [edi]
je 0x402ead
cmp dx, 0x41
jb 0x402e92
cmp dx, 0x5a
jbe 0x402e98
cmp dx, 0x61
jb 0x402ea4
cmp dx, 0x7a
ja 0x402ea4
xor dx, 0x20
jmp 0x402ea6
jmp 0x402ec0
cmp dx, word [edi]
je 0x402ead
jmp 0x402ec0
add edi, 2
add esi, 2
sub ecx, 2
cmp ecx, 0
jne 0x402e7e
mov eax, dword [eax + 0x18]
jmp 0x402ec8
mov eax, dword [eax]
cmp ebp, eax
jne 0x402e73
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x4071f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x44a56c], 0
jne 0x4074ca
push esi
push str.0:db1:lk1:hs0:ld1:ll0:hb1:pj41.3_.4202:zb0.1:bb
mov byte [0x44a56c], 1
call fcn.0040a6dc
push 0x12a0
push 0
push 0x4492b8
call fcn.0040e900
push 0
push 0x4492d6
push 0x41a7ac
call fcn.00407120
push 0
push 0x4494d4
push 0x41a7b4
call fcn.00407120
push 0x449510
push 0
push 0x41a7bc
call fcn.00407120
push 0
push 0x449514
push 0x41a7c4
call fcn.00407120
add esp, 0x40
push 0
push 0x449712
push 0x41a7cc
call fcn.00407120
push 0x449750
push 0
push 0x41a7d4
call fcn.00407120
push 0
push 0x449754
push 0x41a7dc
call fcn.00407120
push 0
push 0x449952
push 0x41a7e4
call fcn.00407120
push 0x449990
push 0
push 0x41a7ec
call fcn.00407120
push 0
push 0x449994
push 0x41a7f4
call fcn.00407120
add esp, 0x48
push 0
push 0x4499d0
push 0x41a7fc
call fcn.00407120
push 0
push 0x449a0c
push 0x41a804
call fcn.00407120
push 0
push 0x449a70
push 0x41a80c
call fcn.00407120
push 0
push 0x449ad4
push 0x41a814
call fcn.00407120
push 0x449b38
push 0
push 0x41a81c
call fcn.00407120
push 0x449b3c
push 0
push 0x41a824
call fcn.00407120
add esp, 0x48
push 0x449b40
push 0
push 0x41a82c
call fcn.00407120
push 0x449b44
push 0
push 0x41a834
call fcn.00407120
push 0x449b48
push 0
push 0x41a83c
call fcn.00407120
push 0x449b4c
push 0
push 0x41a844
call fcn.00407120
push 0x449b50
push 0
push 0x41a84c
call fcn.00407120
push 0x449b54
push 0
push 0x41a854
call fcn.00407120
add esp, 0x48
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.Console
push connect
mov dword [ebp - 8], 3
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4073f2
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
push eax
call esi
cmp dword [ebp - 4], 0xa
jbe 0x4074c9
push 0x7d0
push 0
push str.0:db1:lk1:hs0:ld1:ll0:hb1:pj41.3_.4202:zb0.1:bb
call fcn.0040e900
mov eax, dword [ebp - 0xc]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push str.0:db1:lk1:hs0:ld1:ll0:hb1:pj41.3_.4202:zb0.1:bb
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
push eax
call esi
push 0
push 0x4492d6
push 0x41a7ac
call fcn.00407120
push 0
push 0x4494d4
push 0x41a7b4
call fcn.00407120
push 0x449510
push 0
push 0x41a7bc
call fcn.00407120
push 0
push 0x449514
push 0x41a7c4
call fcn.00407120
push 0
push 0x449712
push 0x41a7cc
call fcn.00407120
push 0x449750
push 0
push 0x41a7d4
call fcn.00407120
add esp, 0x48
push 0
push 0x449754
push 0x41a7dc
call fcn.00407120
push 0
push 0x449952
push 0x41a7e4
call fcn.00407120
push 0x449990
push 0
push 0x41a7ec
call fcn.00407120
add esp, 0x24
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e350
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x40e36a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e371
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e360
mov eax, 1
add ebx, ebx
jne 0x40e383
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e378
jne 0x40e394
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e378
xor ecx, ecx
sub eax, 3
jb 0x40e3a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e41a
mov ebp, eax
add ebx, ebx
jne 0x40e3b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e3c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e3e4
inc ecx
add ebx, ebx
jne 0x40e3d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e3c5
jne 0x40e3e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e3c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e404
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e3f5
jmp 0x40e366
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e404
add edi, ecx
jmp 0x40e366
pop esi
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e463
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xfcd0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xfcf8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e421
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xfd00]
or eax, eax
je 0x40e45d
mov dword [ebx], eax
add ebx, 4
jmp 0x40e43e
call dword [esi + 0xfcfc]
mov ebp, dword [esi + 0xfd04]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40e497
sub esp, 0xffffff80
jmp 0x401da9
Function at 0x100016eb
Capabilities:
Link function at runtime on windows

Disassembly:
call eax
mov edx, dword [0x10013034]
sub esp, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call edi
mov edx, dword [esp + 0x34]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], edx
call esi
mov ecx, dword [0x10013034]
sub esp, 0xc
mov esi, eax
lea edx, [eax + ecx]
test ecx, ecx
je 0x10001734
lea esi, [esi]
mov byte [eax], 0
add eax, 1
cmp eax, edx
jne 0x1000172a
mov eax, dword [str.ReadFile]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
call eax
sub esp, 8
mov edi, dword [esp + 0x30]
lea edx, [esp + 0x4c]
mov dword [esp + 4], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
and al, 8
mov dword [esp], ebx
call eax
sub esp, 0x14
test eax, eax
je 0x100018f8
mov edx, dword [0x1001300c]
mov eax, dword [esp + 0x4c]
add edx, esi
mov ecx, dword [edx]
mov dword [esp + 0x34], eax
xor eax, eax
mov ebx, dword [edx + 4]
test ecx, ecx
je 0x100017a5
invalid
nop
add dword [edx + eax*4 + 8], ebx
add eax, 1
cmp eax, ecx
jne 0x1000179a
mov ebx, dword [0x10013014]
Function at 0x405d2e
Capabilities:
Delete file

Disassembly:
mov eax, 0x414609
call fcn.0041447c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 0x4c]
test eax, eax
mov dword [ebp - 4], 2
je 0x40563e
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x40564c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [esi + 0x8c]
cmp dword [eax], 0
je 0x40565f
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x405678
push dword [eax + 0x20]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [esi + 0x50]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x405686
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esi + 0x78]
test eax, eax
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x405696
push eax
call ebx
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4056a0
push eax
call ebx
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4056ad
push eax
call ebx
mov eax, dword [esi + 0x84]
test eax, eax
je 0x4056ba
push eax
call ebx
lea edi, [esi + 0x88]
mov eax, dword [edi]
test eax, eax
je 0x4056d1
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [edi]
call ebx
mov ecx, esi
call fcn.00405543
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 1
call fcn.004054e2
lea ecx, [esi + 0x54]
call fcn.00409920
lea ecx, [esi + 0x24]
call fcn.00403f52
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push esi
mov esi, ecx
push 0x418904
mov dword [esi], 0x40162c
mov dword [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, esi
pop esi
jmp 0x405616

Function at 0x40610f
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x418978], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x406153
call ebx
test eax, eax
jns 0x406149
push 0x4017d0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x4017c4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x418974], eax
mov dword [0x418978], 1
mov eax, dword [0x418974]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x40616f
push dword [ebp + 0x10]
push eax
call esi
test eax, eax
mov dword [ebp - 4], eax
jne 0x40619f
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x406195
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x406189
push dword [eax + 8]
call dword [eax]
jmp 0x40618f
push dword [eax + 0xc]
call dword [eax + 4]
test eax, eax
je 0x40619e
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc