joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d61c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x42d6b1
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
cmp byte [ebx + 0x24], 0
je 0x42d69b
push 0
mov eax, dword [ebp - 4]
push eax
push edx
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_send
mov esi, eax
cmp esi, 0xffffffff
jne 0x42d69b
call sub.wsock32.dll_WSAGetLastError
mov edi, eax
cmp edi, 0x2733
je 0x42d69b
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
test edi, edi
je 0x42d69b
push 0
lea edx, [ebp - 0x10]
mov eax, edi
call fcn.0040d004
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42d6cc
mov eax, ebx
call fcn.0042d1f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d6b8
lea eax, [ebp - 0x10]
call fcn.00404abc
ret

Function at 0x42d7a8
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42d85f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
cmp esi, 0xffffffff
jne 0x42d7ee
cmp byte [ebx + 0x24], 0
je 0x42d7ee
lea eax, [ebp - 4]
push eax
push 0x4004667f
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x42d849
cmp byte [ebx + 0x24], 0
je 0x42d849
push 0
push esi
push edi
mov eax, dword [ebx + 0x28]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x42d849
call sub.wsock32.dll_WSAGetLastError
mov esi, eax
cmp esi, 0x2733
je 0x42d849
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
test esi, esi
je 0x42d849
push 0
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0040d004
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42d878
mov eax, ebx
call fcn.0042d1f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d866
lea eax, [ebp - 0x10]
call fcn.00404abc
ret

Function at 0x42d8e4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
mov edx, ebx
mov eax, esi
call fcn.0042d890
cmp dword [ebx], 0
jne 0x42d90a
push 1
call sub.kernel32.dll_Sleep
cmp dword [ebx], 0
jne 0x42d91b
call sub.kernel32.dll_GetTickCount_1
sub eax, edi
cmp eax, dword [esi + 0x20]
jb 0x42d8f5
cmp dword [ebx], 0
jne 0x42d93d
push 0
xor eax, eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0xb
lea ecx, [esp + 4]
mov edx, 0x42d94c
mov eax, esi
call fcn.0042d1f0
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42f184
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x42f1ae
cmp dword [ebx + 0x64], 0
jne 0x42f1ae
cmp dword [ebx + 0x6c], 0
jne 0x42f1ae
mov edi, esi
jmp 0x42f235
cmp edi, 0xffffffff
jne 0x42f1b6
dec edi
jmp 0x42f235
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x42f235
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0042e478
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x42f203
mov cx, word [esp]
sub cx, si
jmp 0x42f205
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x42f1ec
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x42f22b
mov cx, word [esp]
sub cx, si
jmp 0x42f22d
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x42f214
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x42f292
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0042ef20
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x42f27d
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x42f292
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x42f18e
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x434de4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x434f5c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [edi], eax
add esi, 4
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x10]
mov eax, 8
call fcn.00409958
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x14]
mov eax, 8
call fcn.00409958
push dword [ebp - 0x14]
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404e58
mov eax, dword [ebp - 0xc]
call fcn.00404f98
push eax
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
test ebx, ebx
je 0x434f41
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
je 0x434e99
cmp esi, 4
jne 0x434e99
push ebx
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x434f41
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x434f23
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile
mov dword [edi], eax
mov eax, dword [edi]
mov esi, dword [eax]
mov eax, dword [edi]
push eax
call sub.kernel32.dll_UnmapViewOfFile
push ebx
call sub.kernel32.dll_CloseHandle_1
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x1c]
mov eax, 8
call fcn.00409958
push dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x20]
mov eax, 8
call fcn.00409958
push dword [ebp - 0x20]
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404e58
mov eax, dword [ebp - 0x18]
call fcn.00404f98
push eax
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile
mov dword [edi], eax
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434f63
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404ae0
ret
Function at 0x435778
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43584f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x4d59f0], bl
mov eax, 0x4d59f4
mov edx, esi
call fcn.00404b10
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x18]
xor edx, edx
mov dl, bl
mov eax, dword [0x434764]
call fcn.0041a074
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x435864
call fcn.0040a994
push 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0042a4d0
mov eax, dword [ebp - 4]
call fcn.00404f98
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp dword [0x4d59fc], 0
je 0x435831
cmp bl, 5
jne 0x435831
push 0x242010
push 0x43588c
mov eax, esi
call fcn.00404f98
push eax
push 0
call fcn.00407d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435856
lea eax, [ebp - 0x18]
call fcn.00404abc
lea eax, [ebp - 4]
call fcn.00404abc
ret

Function at 0x4359a4
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
add esp, 0xffffffac
test al, al
je 0x4359f0
push esp
call sub.kernel32.dll_GetStartupInfoA_1
lea eax, [esp + 0x44]
xor ecx, ecx
mov edx, 0x10
call fcn.00403314
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 4]
push eax
mov eax, dword [0x4d59e4]
call fcn.00404f98
push eax
push 0
push 0x220
push 0
push 0
push 0
call sub.kernel32.dll_GetCommandLineA_1
push eax
push 0
call sub.kernel32.dll_CreateProcessA
push 1
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
add esp, 0x54
ret
Function at 0x435ba8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x435d20
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x434804]
call fcn.00435a0c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x435d03
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp word [ebp - 4], 0x5a4d
jne 0x435ced
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.004212c8
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp dword [ebp - 8], 0
je 0x435ced
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.004212c8
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp dword [ebp - 0xc], 0x4550
jne 0x435ced
lea edx, [ebp - 0x28]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
test byte [ebp - 0x15], 0x20
je 0x435ce9
push 2
push 0
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.00435a54
mov eax, dword [ebp - 0x2c]
call fcn.00404f98
push eax
call sub.kernel32.dll_LoadLibraryExA_1
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x435ce2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x435d30
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x435cc7
push 0xa
push 0x435d3c
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x435cc7
mov byte [ebp - 1], 2
jmp 0x435ccb
mov byte [ebp - 1], 3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435ced
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435d0a
mov eax, dword [ebp - 0x10]
call fcn.00403ba8
ret
Function at 0x435e10
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x435e19
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x436033
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404abc
mov eax, esi
call fcn.00404abc
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00404f98
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x436018
mov eax, dword [ebp - 4]
call fcn.00402828
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x436011
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, ebx
call fcn.00404f98
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x435ff8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x436044
mov eax, dword [ebp - 0x14]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x435f42
push 0x436068
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.00409930
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.00409930
push dword [ebp - 0x24]
push 0x436084
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404e58
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404f98
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x435f42
cmp dword [ebp - 0xc], 1
jbe 0x435f42
mov eax, dword [ebp - 0x18]
call fcn.0040a270
mov ecx, eax
mov eax, edi
mov edx, dword [ebp - 0x18]
call fcn.00404bac
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x436098
mov eax, dword [ebp - 0x14]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x435ff8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.00407f64
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov di, word [eax + 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.00407f64
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 0xc]
mov word [ebp - 0x10], ax
lea edx, [ebp - 0x28]
movzx eax, bx
call fcn.0040981c
push dword [ebp - 0x28]
push 0x4360a4
lea edx, [ebp - 0x2c]
movzx eax, di
call fcn.0040981c
push dword [ebp - 0x2c]
push 0x4360a4
lea edx, [ebp - 0x30]
movzx eax, word [ebp - 0xe]
call fcn.0040981c
push dword [ebp - 0x30]
push 0x4360a4
lea edx, [ebp - 0x34]
movzx eax, word [ebp - 0x10]
call fcn.0040981c
push dword [ebp - 0x34]
mov eax, esi
mov edx, 7
call fcn.00404e58
mov eax, dword [esi]
mov edx, 0x4360b0
call fcn.00404ee4
jne 0x435ff8
mov eax, esi
call fcn.00404abc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436018
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00402848
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43603a
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.00404ae0
ret
Function at 0x43651c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7fc
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f88
xor eax, eax
push ebp
push 0x4365cb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4365a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404f98
push eax
push 0x800
lea eax, [ebp - 0x804]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404f98
push eax
mov eax, esi
call fcn.00404f98
push eax
mov eax, ebx
call fcn.00404f98
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x804]
mov eax, dword [ebp + 8]
call fcn.00404bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4365b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4365d2
lea eax, [ebp - 4]
call fcn.00404abc
ret

Function at 0x4371dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov edx, esp
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
xor edx, edx
mov dl, byte [esp]
mov eax, ebx
call fcn.00402cd4
xor ecx, ecx
mov cl, byte [esp]
lea edx, [ebx + 1]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
xor edx, edx
mov dl, byte [ebx]
test edx, edx
jle 0x43721f
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x437218
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x43b094
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x80c], ecx
mov esi, edx
lea edi, [ebp - 0x808]
mov ecx, 0x201
rep movsd dword es:[edi], dword [esi]
mov esi, eax
xor eax, eax
push ebp
push 0x43b14f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x80c]
mov ecx, esi
mov edx, 0x43b168
call fcn.00404de4
mov eax, dword [ebp - 0x80c]
call fcn.00404f98
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x43b136
push 0
lea eax, [ebp - 4]
push eax
push 0x804
lea eax, [ebp - 0x808]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x43b12a
cmp dword [ebp - 4], 0x804
je 0x43b12e
xor ebx, ebx
jmp 0x43b130
mov bl, 1
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b156
lea eax, [ebp - 0x80c]
call fcn.00404abc
ret
Function at 0x43d7d8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
cmp byte [0x4d2aec], 0
jne 0x43d825
xor esi, esi
mov edx, 0x4d5cc4
mov eax, esi
mov ebx, 8
test al, 1
je 0x43d80b
shr eax, 1
xor eax, 0xedb88320
jmp 0x43d80d
shr eax, 1
dec ebx
jne 0x43d7fe
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x100
jne 0x43d7f7
mov byte [0x4d2aec], 1
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x43d852
inc eax
xor esi, esi
mov edx, dword [esp]
movzx edx, byte [edx + esi]
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x4d5cc4]
shr edi, 8
xor edx, edi
mov edi, edx
inc esi
dec eax
jne 0x43d831
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x43dfa8
Capabilities:
Query environment variable

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, eax
push 0x800
lea eax, [esp + 4]
push eax
mov eax, dword [ebx]
call fcn.00404f98
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov edx, esp
mov ecx, ebx
xchg ecx, eax
call fcn.00404bac
add esp, 0x800
pop ebx
ret
Function at 0x43f8c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, 0x104
call fcn.00404d2c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43fb04
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f88
mov eax, dword [ebp - 8]
call fcn.00404f88
mov eax, dword [ebp - 0xc]
call fcn.00404f88
xor eax, eax
push ebp
push 0x43fcf0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x43fd08
mov eax, 0x80000000
call fcn.0042a3c4
lea eax, [ebp - 0x14]
call fcn.0043dfa8
lea eax, [ebp - 0x74]
push eax
xor ecx, ecx
mov edx, 0x43fd2c
mov eax, dword [ebp - 0xc]
call fcn.004350a8
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0xc]
call fcn.00404b54
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x44
call fcn.00403314
lea eax, [ebp - 0x70]
xor ecx, ecx
mov edx, 0x10
call fcn.00403314
mov dword [ebp - 0x60], 0x44
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4d59d0]
mov edx, 0x43fd38
call fcn.00404de4
cmp dword [0x4d5a14], 0
je 0x43fbf0
push dword [ebp - 0x1c]
push 0x43fd48
push 0x43fd48
push 0x43fd48
push dword [0x4d5a14]
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00404e58
push 0x43fd54
push dword [ebp - 4]
push 0x43fd64
push dword [ebp - 8]
push 0x43fd78
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
mov edx, 7
call fcn.00404e58
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x43fd88
mov eax, dword [ebp - 0x14]
call fcn.004350a8
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00404f98
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x43fcb1
push 0x2710
mov eax, dword [ebp - 0x70]
push eax
call fcn.00407f24
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x68]
call fcn.00439118
mov esi, eax
test esi, esi
je 0x43fc9d
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call fcn.00407eb4
push 3
push esi
call fcn.00407ee4
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x43fcc8
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x78]
call fcn.0040d004
mov edx, dword [ebp - 0x78]
mov al, 4
call fcn.00435778
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fcf7
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.00404ae0
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404ae0
ret
Function at 0x4400e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404d2c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4401c0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404d2c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4409b8
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x440a2c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x440a38]
call fcn.00402d48
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00409908
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x440a44
call fcn.00404de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440a33
lea eax, [ebp - 0x24]
call fcn.00404abc
ret

Function at 0x440a48
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x440abc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x440ac8]
call fcn.00402d48
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00409908
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x440ad4
call fcn.00404de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440ac3
lea eax, [ebp - 0x24]
call fcn.00404abc
ret