joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f6a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4956f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
nop
nop
nop
nop
nop
nop
push 0
lea ecx, [esp + 0x20]
call fcn.0048e550
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043f000
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0048e47e
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0048ad3f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0048ad3f
push 1
push 0
push 0
mov ecx, esi
call fcn.0048ace7
push 1
push 0
push 1
mov ecx, esi
call fcn.0048ace7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0048e5c2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43f820
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x495718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0048e550
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043f000
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0048e47e
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43f8e4
cmp dword [esp + 0x40], 1
jne 0x43f8e2
cmp ecx, eax
jge 0x43f8e4
mov eax, ecx
cmp eax, 0xc8
jge 0x43f8f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043f6a0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
nop
nop
nop
nop
nop
nop
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0048e5c2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4400f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4957c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00489160
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x1194998
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x11948e0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
nop
nop
nop
nop
nop
nop
push eax
mov ecx, edi
call fcn.0048e7f8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0048fd14
test eax, eax
je 0x44020c
mov ecx, dword [esp + 0x3c]
call fcn.0048e825
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x497520]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4401d0
push edi
mov ecx, esi
call fcn.0048be89
mov ecx, esi
call fcn.004403b0
cmp dword [esp + 0x38], 1
jne 0x440205
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0048bfc4
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x442400
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442433
push esi
call fcn.004507b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44242c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4424b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4424a2
mov eax, dword [esi + 8]
test eax, eax
je 0x442457
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44249e
cmp eax, 2
je 0x4424a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44244a
cmp eax, 3
je 0x44247d
cmp eax, 1
jne 0x44244a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44244a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44244a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004424e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4424c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004424e0
add esp, 4
pop esi
ret
Function at 0x462660
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x11caf70]
xor edx, edx
cmp eax, edx
jne 0x462686
xor eax, eax
mov byte [eax + 0x11cae70], al
inc eax
cmp eax, 0x100
jl 0x46266e
mov dword [0x11caf70], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x11cae70
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x462717
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4626ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4626b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x462720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x462773
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46275a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x469100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x495ebe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00469a20
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1196c2c
call fcn.004878f2
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x469193
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004878f2
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x46918c
push 0
mov ecx, eax
call fcn.00460290
mov dword [esi + 0xc], eax
jmp 0x469195
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x469195
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4014ee
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401517
mov al, byte [esi + 1]
inc esi
test al, al
je 0x40150f
cmp al, 0x22
jne 0x401503
cmp byte [esi], 0x22
jne 0x401521
inc esi
jmp 0x401521
cmp al, 0x20
jle 0x401521
inc esi
cmp byte [esi], 0x20
jg 0x40151b
mov al, byte [esi]
test al, al
je 0x40152b
cmp al, 0x20
jle 0x401514
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00401736
push 0x404004
push section..data
call fcn.00401861
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40155b
movzx eax, word [ebp - 0x14]
jmp 0x40155e
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.004015c0
mov esi, eax
call fcn.00401313
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4015c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push str.Silybeely
push str.Colonraf
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401606
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4015fc
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004013c0
add esp, 4
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 0x4000
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x64
push 0x404300
push 0x65
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x404100
push 0x66
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x14
push str.holly
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401360
add esp, 8
test eax, eax
jne 0x40167f
xor eax, eax
jmp 0x4016ab
push 0
push 0
push 0
lea edx, [ebp - 0xc0]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4016a5
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40167f
mov eax, dword [ebp - 0xb8]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x389638d8
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x17263b9f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401880
Capabilities:
Delete file
Get common file path
Read file on windows

Disassembly:
sub esp, 0x118
push ebx
push esi
push edi
push 0
mov ebx, ecx
push 9
mov dword [esp + 0x14], 0
call fcn.00401450
push 0x15e
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0xc]
mov ecx, ebx
push eax
push 9
call fcn.00401300
test eax, eax
je 0x4019c4
mov edx, dword [0x41d090]
mov ecx, dword [str.00000000.sti]
mov eax, dword [0x41d094]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov cx, word [0x41d098]
lea edx, [esp + 0x20]
push 0x104
push edx
mov dword [esp + 0x20], eax
mov word [esp + 0x24], cx
mov word [esp + 0x26], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push str._08X.STI
push ecx
call fcn.004039c0
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0x80
push 3
mov ecx, edx
push eax
push eax
and ecx, 3
lea eax, [esp + 0x34]
push SysReAllocString
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4019c4
mov eax, dword [esp + 0x12c]
mov edx, dword [esp + 0x128]
xor esi, esi
mov ecx, dword [eax]
push esi
push eax
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40199b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40199b
and esi, 0xffff
or esi, 0x80070000
push edi
mov dword [ebx + 0x98], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x118
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x118
ret 8
Function at 0x414f24
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x414f54
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xa
jge 0x415061
mov dword [ebp - 0x10], 4
mov esi, esp
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x41e7a8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, esp
call fcn.00419202
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x414fa0
cmp dword [ebp - 0xc], 4
je 0x414ffb
mov dword [ebp - 4], 0
mov esi, esp
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x41e7a8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.00419202
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x414ffb
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x41e7a8]
push eax
push 0x421b84
push 0
push 0x10
call fcn.00415af8
add esp, 0x10
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
and ecx, 0xff
test ecx, ecx
je 0x41503b
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx*4 + 0x4248c8]
jbe 0x41501f
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
jmp 0x41502c
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4248c8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx*4 + 0x4248c8], edx
jmp 0x41505c
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x4248c8]
and ecx, 0x80000000
test ecx, ecx
jne 0x41505c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [edx*4 + 0x4248c8], eax
jmp 0x414f4b
mov dword [ebp - 0x10], 4
mov esi, esp
lea ecx, [ebp - 0x10]
push ecx
push 0x41e7d4
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [str.TIMEOUT]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, esp
call fcn.00419202
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41509f
cmp dword [ebp - 0xc], 4
je 0x4150fd
mov dword [0x41e7d4], 0xffffffff
mov esi, esp
push 4
push 0x41e7d4
push 4
push 0
mov edx, dword [str.TIMEOUT]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.00419202
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4150fd
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x41e7a8]
push edx
push str.Could_not_create_subkey__s
push 0
push 0x10
call fcn.00415af8
add esp, 0x10
mov dword [0x41e7d4], 0xffffffff
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.00419202
mov esp, ebp
pop ebp
ret 8
Function at 0x41510e
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
cmp dword [0x41e7d0], 0xffffffff
je 0x415168
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, esp
call fcn.00419202
mov dword [ebp - 4], eax
mov esi, esp
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x41e7d0]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.00419202
jmp 0x41517b
mov esi, esp
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.00419202
pop esi
add esp, 8
cmp ebp, esp
call fcn.00419202
mov esp, ebp
pop ebp
ret 4
Function at 0x415672
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
xor eax, eax
mov al, byte [0x424cfd]
test eax, eax
je 0x4156bf
mov esi, esp
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.00419202
jmp 0x41573b
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], 0
mov esi, esp
lea eax, [ebp - 8]
push eax
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x41561d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.00419202
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x415736
mov esi, esp
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call fcn.00419202
mov esi, esp
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00419202
mov eax, dword [ebp - 0xc]
jmp 0x41573b
mov eax, 2
pop esi
add esp, 0x1c
cmp ebp, esp
call fcn.00419202
mov esp, ebp
pop ebp
ret 0x10
Function at 0x455570
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x30000]
push edi
or ebp, 0xffffffff
jmp 0x455592
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x455599
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x455588
mov eax, 1
add ebx, ebx
jne 0x4555ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4555bc
jne 0x4555cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4555cc
dec eax
add ebx, ebx
jne 0x4555c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4555a0
xor ecx, ecx
sub eax, 3
jb 0x4555e4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x455656
sar eax, 1
mov ebp, eax
jmp 0x4555ef
add ebx, ebx
jne 0x4555ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4555fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x455620
inc ecx
add ebx, ebx
jne 0x45560c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x455601
jne 0x45561d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x455601
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x455640
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x455631
jmp 0x45558e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x455640
add edi, ecx
jmp 0x45558e
pop esi
mov edi, esi
mov ecx, 0x22a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45565e
cmp byte [edi], 5
jne 0x45565e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x455663
lea edi, [esi + 0x52000]
mov eax, dword [edi]
or eax, eax
je 0x4556db
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x55d68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x55da4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x455690
mov ecx, edi
jns 0x4556bf
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x55da8]
or eax, eax
je 0x4556d5
mov dword [ebx], eax
add ebx, 4
jmp 0x4556ad
call dword [esi + 0x55dac]
popal
jmp 0x4031c4
Function at 0x401150
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push ebp
mov ebp, dword [esp + 0x110]
push esi
push edi
push 0x104
push eax
push ebp
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USTATION.dll_strlwr]
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
add esp, 4
lea edx, [esp + 0x10]
push str.ecm.exe
push edx
call edi
add esp, 8
test eax, eax
je 0x4011a0
mov ebx, 1
push str.MS_NOSPLASH
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
test eax, eax
jne 0x401223
mov eax, dword [esp + 0x120]
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
mov esi, eax
add esp, 4
test esi, esi
je 0x401223
push esi
call dword [sym.imp.MSVCRT.dll__strlwr]
add esp, 4
push 0x403024
push esi
call edi
add esp, 8
test eax, eax
jne 0x401219
push str._microcsl
push esi
call edi
add esp, 8
test eax, eax
jne 0x401219
push 0x403034
push esi
call edi
add esp, 8
test eax, eax
jne 0x401219
push str._automation
push esi
call edi
add esp, 8
test eax, eax
jne 0x401219
push ebx
push ebp
call fcn.00401260
add esp, 8
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x11c]
push ecx
push edx
push eax
push ebp
call sub.USTATION.dll_win32Intface_winMain
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret 0x10