joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10036b80
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2820
call fcn.1004d650
mov eax, dword [0x10089430]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x2808], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [eax + 0x14], 0x10
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2814], eax
mov dword [eax + 0x10], 0
jb 0x10036bc4
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [ebp - 0x2803]
push 0x27ff
push 0
push eax
mov dword [ebp - 0x2820], 0x10070f34
mov dword [ebp - 0x281c], 0
mov dword [ebp - 0x280c], 0
mov byte [ebp - 0x2804], 0
call fcn.1004cee0
add esp, 0xc
push 0
push 0
push 0
push 1
push str.Mozilla_5.0__Windows__U__Windows_NT_5.1__en_US__AppleWebKit_534.10__KHTML__like_Gecko__Chrome_8.0.552.215_Safari_534.10
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x2818], eax
test eax, eax
je 0x10036d73
push 1
push 0
push 3
push 0x1007aace
push 0x1007aace
push dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2810], eax
test eax, eax
je 0x10036d6b
push 1
push 0x4000000
lea ecx, [ebp - 0x2820]
push ecx
push ebx
push str.HTTP_1.0
push edi
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
je 0x10036d63
mov edx, dword [ebp - 0x2808]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036c88
sub ecx, esi
push ecx
push edx
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp - 0x280c], eax
test eax, eax
je 0x10036d5a
push 0x2800
lea eax, [ebp - 0x2804]
mov dword [ebp - 0x2808], 0
push 0
push eax
call fcn.1004cee0
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x2808]
add esp, 0xc
push eax
push 0x27ff
lea eax, [ebp - 0x2804]
push eax
push edi
call ebx
test eax, eax
je 0x10036d5a
mov esi, dword [ebp - 0x2814]
mov eax, dword [ebp - 0x2808]
test eax, eax
je 0x10036d5a
cmp eax, 0x2800
jae 0x10036d8a
mov byte [ebp + eax - 0x2804], 0
cmp byte [ebp - 0x2804], 0
jne 0x10036d1f
xor ecx, ecx
jmp 0x10036d31
lea ecx, [ebp - 0x2804]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036d28
sub ecx, edx
push ecx
lea eax, [ebp - 0x2804]
mov ecx, esi
push eax
call fcn.10001990
lea eax, [ebp - 0x2808]
push eax
push 0x27ff
lea eax, [ebp - 0x2804]
push eax
push edi
call ebx
test eax, eax
jne 0x10036cf5
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x2810]
call esi
push dword [ebp - 0x2818]
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x280c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100498b4
mov esp, ebp
pop ebp
ret
call fcn.1004a250
int3
Function at 0x10037db0
Capabilities:
Check if file exists

Disassembly:
add ecx, 0xc0
cmp dword [ecx + 0x14], 8
jb 0x10037dbe
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
ret
Function at 0x100395d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d340
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10089430]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x1007e034
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
call fcn.1004aa01
mov eax, dword [ebp - 0x28]
add esp, 0xc
test eax, eax
jne 0x10039655
push eax
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], eax
push 0x1007aace
mov byte [esi], al
call fcn.100027a0
mov eax, esi
jmp 0x10039727
push 2
push 0
push eax
call fcn.1004c1c8
push dword [ebp - 0x28]
call fcn.1004c0cd
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1003968e
push dword [ebp - 0x28]
call fcn.1004aab2
add esp, 4
mov ecx, esi
push 0x1007aace
call fcn.100028a0
mov eax, esi
jmp 0x10039727
push edi
call fcn.10048c87
add esp, 4
mov ebx, eax
push 0
push 0
push dword [ebp - 0x28]
call fcn.1004c1c8
push dword [ebp - 0x28]
push 1
push edi
push ebx
call fcn.1004bc91
add esp, 0x1c
cmp eax, 1
je 0x100396da
push dword [ebp - 0x28]
call fcn.1004aab2
push ebx
call fcn.10049f64
add esp, 8
mov ecx, esi
push 0x1007aace
call fcn.100028a0
mov eax, esi
jmp 0x10039727
lea ecx, [ebp - 0x24]
call fcn.10039560
push edi
push ebx
lea ecx, [ebp - 0x24]
call fcn.10039580
push dword [ebp - 0x28]
call fcn.1004aab2
push ebx
call fcn.10049f64
add esp, 8
lea ecx, [ebp - 0x24]
push esi
call fcn.10039750
mov eax, esi
jmp 0x10039727
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100498b4
mov esp, ebp
pop ebp
ret

Function at 0x1003a140
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret 4
Function at 0x1003bbb0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d6d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10089430]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x1003bbe8
mov edi, dword [esi]
jmp 0x1003bbea
mov edi, esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1003bc00
shr al, 4
and al, 1
jmp 0x1003bc81
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.1003aae0
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x1003bc1c
mov eax, dword [esi]
jmp 0x1003bc1e
mov eax, esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x18]
push 0
call fcn.1003b650
test eax, eax
je 0x1003bc6e
lea eax, [ebp - 0x28]
push eax
call fcn.1003bbb0
add esp, 4
test al, al
je 0x1003bc6e
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1003bc6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1003bc6e
push esi
call fcn.1003bdc0
add esp, 4
test al, al
je 0x1003bc6e
mov bl, 1
jmp 0x1003bc70
xor bl, bl
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10002280
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100498b4
mov esp, ebp
pop ebp
ret

Function at 0x1003bdc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x1003bdce
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1003bde2
shr eax, 4
and eax, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x1003bdf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x1003bdfe
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
pop ebp
ret

Function at 0x1003cd00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push edi
test esi, esi
je 0x1003cd28
call fcn.10042930
cmp eax, 1
jl 0x1003cd28
mov dword [ebp - 4], 0x10000
jmp 0x1003cd2a
xor esi, esi
push 8
call fcn.100498c3
mov ecx, dword [ebp + 0xc]
add esp, 4
mov edi, dword [ebp + 0x10]
mov ebx, eax
test edi, edi
push 0
push dword [ebp - 4]
mov dword [ebx], ecx
setne cl
push ebx
push 0x1003cf30
push esi
push 0
mov byte [ebx + 4], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x1003cd70
push ebx
call fcn.100498af
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x1003cd7f
mov dword [edi], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003d000
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d953
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10089430]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.base::Thread.0
mov word [esi + 4], 0
mov byte [esi + 6], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov edi, dword [ebp + 8]
mov dword [esi + 0x18], 0
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0
mov byte [esi + 0x1c], 0
cmp byte [edi], 0
mov byte [ebp - 4], 1
jne 0x1003d087
xor ecx, ecx
jmp 0x1003d099
mov ecx, edi
lea ebx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003d090
sub ecx, ebx
push ecx
push edi
lea ecx, [esi + 0x1c]
call fcn.100027a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100427d0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x10089430]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [esi], 0
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.10042940
push 0x98
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x9c]
push 0
push eax
mov dword [ebp - 0xa0], 0x9c
call fcn.1004cee0
add esp, 0x10
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x94]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
cmp edx, 5
jne 0x10042860
test ecx, ecx
jle 0x1004288d
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x1004288d
cmp edx, 6
jne 0x10042885
cmp byte [ebp - 6], 1
jne 0x1004287d
xor eax, eax
test ecx, ecx
setne al
lea eax, [eax*2 + 3]
mov dword [esi], eax
jmp 0x1004288d
mov dword [esi], 4
jmp 0x1004288d
jle 0x1004288d
mov dword [esi], 5
movzx eax, word [ebp - 0xc]
xorps xmm0, xmm0
mov dword [esi + 0x10], eax
movzx eax, word [ebp - 0xa]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0xc4]
push eax
mov dword [ebp - 0xc4], 0
movdqu xmmword [ebp - 0xc0], xmm0
movdqu xmmword [ebp - 0xb0], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0xc4]
test eax, eax
je 0x100428ec
cmp eax, 6
je 0x100428e3
cmp eax, 9
jne 0x100428f3
mov dword [esi + 0x18], 1
jmp 0x100428f3
mov dword [esi + 0x18], 2
jmp 0x100428f3
mov dword [esi + 0x18], 0
mov ecx, dword [ebp - 0xb0]
mov eax, esi
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0xa8]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100498b4
mov esp, ebp
pop ebp
ret

Function at 0x100430e0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], 0xffffffff
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x10043134
push str.slot_____DWORD_0xFFFFFFFF_
lea eax, [ebp + 8]
push eax
push ecx
call fcn.1003cb70
add esp, 0xc
test eax, eax
je 0x10043134
push eax
push 0x12
push str.threading_thread_local_win.cc
lea ecx, [ebp - 0x98]
call fcn.10041f40
lea ecx, [ebp - 0x98]
call fcn.10042020
mov esp, ebp
pop ebp
ret
Function at 0x100431f0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ef0c
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x10089430]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1004327f
push 0x24
push str.threading_thread_local_win.cc
lea ecx, [ebp - 0xa8]
call fcn.10041eb0
push str.Failed_to_TlsSetValue__.
push str.Check_failed:_false.
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.10012230
add esp, 8
push eax
call fcn.10012230
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.10042020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x555004
Capabilities:
Encode data using xor

Disassembly:
or eax, 0xa6a4a427
sub eax, 0x660d3f8e
inc esi
jb 0x555025
lds edx, [ebp - 0x1d]
cmp esi, dword [esi - 0x67efe452]
and eax, 0x303f5f38
push cs
sub eax, 0xf72289e1
push cs
out dx, al
cmc
stosb byte es:[edi], al
xchg edi, eax
cmp byte [esi - 0x6a], cl

Function at 0x5b097e
Capabilities:
Check for vm using instruction vpcext

Disassembly:
adc dl, byte [edx - 0x44]
mov fs, word [ebx + 0x1cfa7714]
mov cl, 0x3d
rcl dword [ebp - 0x7b], 0x96
sbb cl, dl
dec eax
loop 0x5b09b1
cmp ebp, dword [ebx - 0x15]
xchg esi, eax
scasb al, byte es:[edi]
insb byte es:[edi], dx
pushal
add dword [edx - 0x11], ecx
invalid
pop ebx
retf
inc edx
pop es
jne 0x5b098f
lcall 0xfd51, 0x1282f9a8
and byte [eax + 0x37], bh
jno 0x5b0a3b
inc edi
push ds
jecxz 0x5b0a26
adc edx, dword [ecx + 0x83c1fd9]
jl 0x5b096f
pop esi
pop ds
insd dword es:[edi], dx
invalid
push 0x66b71d31
insd dword es:[edi], dx
jle 0x5b0a26
pushfd
loop 0x5b0a8f
xchg edx, eax
enter 0x2ce, 0x48
outsb dx, byte [esi]
add cl, byte [eax + 0x6e]
outsd dx, dword [esi]
sub esi, dword [ebp + 4]
lcall 0x20c7, 0xef5cbfe5
insb byte es:[edi], dx
jecxz 0x5b0ac9
and bh, byte [ecx - 0x12a4f746]
mov edx, 0x569e8f6a
xor byte [edx - 0x5d], cl
push ebp
xchg ebx, eax
scasd eax, dword es:[edi]
jnp 0x5b0a33
sbb byte [ebx + esi*4 - 0x41], cl
int 0x5f
stc
jle 0x5b0a3e
pop ds
insb byte es:[edi], dx
push ebx
lea ebp, [edi + 7]
in eax, 0x1d
xchg dword [edi - 0x62], eax
stosb byte es:[edi], al
in eax, dx
cmp al, 0x3e
test eax, 0xabff4fb7
mov ebx, 0xb9d9eeec
push esi
cmp edi, 0xffffffff
push es
bndldx bnd3, [ebx]
xlatb
sal ebx, 1
mov edx, 0x1e0b1e3d
in al, dx
cwde
mov dword [0x8f2430bc], eax
or dword [eax + 0x4c], ebx
cmp eax, 0x2d57a35
mov esi, 0x7f9e59e5
dec edi
invalid
dec edi
jmp [ebx - 0x26111345]
cwde
cmpsb byte [esi], byte es:[edi]
sub cl, byte [edi - 0x5cb231fd]
mov esp, edi
sbb byte fs:[esi + 0x127830ae], bl
dec ebp
mov dword [0x1864e78b], eax
sahf
scasb al, byte es:[edi]
xor byte [eax + 0x12], bh
mov esi, 0x170906c2
mov edx, 0x57b8d48a
enter 0x5cd8, 0xffffffffffffffc5
outsd dx, dword [esi]
push es
in al, dx
mov esp, 0x8f7c00e4
jo 0x5b0ac3
jge 0x5b0a84
jle 0x5b0b2d
test eax, 0xa4a2d18d
pop esi
dec edx
in al, dx
push cs
out 0xb8, al
invalid
adc ebp, dword [edx]
push ecx
invalid

Function at 0x5b0a06
Capabilities:
Check for vm using instruction vpcext

Disassembly:
aas
jbe 0x5b098e
fisubr dword [esi + 9]
insd dword es:[edi], dx
in eax, 0x52
Function at 0x5cf6f2
Capabilities:
Encode data using xor

Disassembly:
cli
xchg edx, eax
cmp edx, dword [edi + esi*2 - 0x46]
mov ah, 0x46
jl 0x5cf6b9
test dword [esi], edi
lahf
add eax, 0x3a5d09d8
mov bh, 0xf5
movsd dword es:[edi], dword [esi]
invalid
lcall 0xf2d2, 0x462c3434
adc al, byte [ebx - 0xd804979]
invalid
jnp 0x5cf679
inc edi
js 0x5cf712
popal
push eax
dec eax
mov bl, 0xaf
inc edi
jle 0x5cf75f
push es
adc al, 0x61
add dl, byte [0xe00af9a3]
sbb eax, 0x4b82f1a4
sar dword [ebp + 0x19a5e636], cl
pushfd
and eax, dword [esp + edx*4]
movsb byte es:[edi], byte [esi]
int1
or byte [ebx - 0x2d], 0xbd
out 0xa5, al
sbb dword [ebx + 0x43ba9404], ebx
arpl word [eax + 0x7b], ax
mov edx, 0x7b406343
ja 0x5cf704
jmp 0x5cf775
pop ebx
mov al, 0x73
and eax, 0x4eba3008
test byte [esi - 0x3a6c2806], al
push ebx
pop ds
xlatb
in al, 0x92
imul eax, dword [esi - 0x609f4181], 0x7b53e732
xor eax, dword [ebp + 0x451b600d]
push es
push ss
dec esi
cmpsb byte [esi], byte es:[edi]
mov esp, 0x4346d7b5
aas
cdq
insd dword es:[edi], dx
pop edx
salc
adc dword [edi - 0x6a], edx
ja 0x5cf718
dec eax
push cs
movsb byte es:[edi], byte [esi]
cmpsb byte [esi], byte es:[edi]
mov ah, 0x13
add esp, dword [edi]
mov ebx, 0x8884087b
inc esi
loopne 0x5cf719
out 0x84, al
loopne 0x5cf6ed
hlt
invalid

Function at 0x623cbe
Capabilities:
Encode data using xor

Disassembly:
cmp bh, byte [esp + esi*4 + 0x627ef0dd]
cmp ebx, dword [esi + 0x52]
mov dword [0x68cd46de], eax
cld
pop es
out dx, eax
jno fcn.00623cbe
lodsd eax, dword [esi]
test dword [ebp + 0x18], esp
call 0x794b8552
stc
xor edx, dword [ebp + 0x4c90ace6]
mov byte [esi + 0x38], ch
xor eax, 0xa5a45c0f
inc esi
adc ecx, edi
loopne 0x623cd3
mov al, 0xdd
xor dword [esi - 0x183aac80], ecx
sbb byte [eax], ah
fcmovnbe st(0), st(3)
jnp 0x623cfb
xchg ebx, eax
insb byte es:[edi], dx
dec ebp
xchg esi, eax
invalid

Function at 0x625e3a
Capabilities:
Check for software breakpoints

Disassembly:
inc esp
pop ebp
fcmovu st(0), st(3)
sub eax, 0xdb6cdcef
std
iretd
unpckhps xmm2, xmmword [ebx - 0x5e81ef80]
movsb byte es:[edi], byte [esi]
push 0x2bdcdd77
sub eax, ebp
sub eax, ebp
salc
xchg edx, eax
loopne 0x625e2e
cmp al, 0xcc
imul cx, word [eax], 0x10
loop 0x625e5c
push edi
or al, 0xbd
pushal
xor byte [ecx], al
push 0xb0c9afc9
mov ch, 0xbf
or al, 0xc3
loop 0x625e57
or al, 0xc8
mov al, 0x2d
xor eax, 0xaf01a70
jo 0x625df6
sub eax, 0xf01a7035
or dh, byte [eax - 0x6e]
push eax
cmp dword [ebp + ebp + 0x1c14d404], esp
or al, al
or byte [esi], bh
scasd eax, dword es:[edi]
lahf
ret
Function at 0x635082
Capabilities:
Encode data using xor

Disassembly:
cmp byte [edi + 0x6ce33d48], ah
push 0x122e51f2
ret 0xb0c3
lahf
mov eax, 0x36ccd21
xchg esp, eax
popfd
jmp 0x634fe6
mov esp, 0x2ca92c41
xor dword [ebp + 0x15283b9c], edi
and eax, 0x8631a2e
add ah, al
in al, dx
sar dword [eax + edx*4 - 0x2af6d3a8], 0x37
pop eax
sub al, 9
aad 0x37
pop eax
sub al, 9
aad 0x37
dec edx
cmp eax, 0xa3510410
test dword [edx - 0x245d7907], edx
popal
mov ecx, 0xfe99af80
push ds
ja 0x63506d
std
loopne 0x63504a
sbb bl, byte [0xdcc321b3]
mov byte [0x759450f9], al
dec ebp
imul ebx, dword [eax - 0x4e], 0x7f304e69
sub dh, byte [edx - 0x3d6fcacc]
leave
add dl, byte [edi - 0x51cdc28c]
push ecx
ret 0x5df0
Function at 0x40adcf
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040aa8f
Function at 0x402d78
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402db5
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402dd5
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404f0c
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x403024
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x40307d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402ec0
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402ec0
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x403067
inc ebx
jmp 0x403050
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403084
lea eax, [ebp - 8]
call fcn.00404c8c
ret

Function at 0x40308c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404c8c
test esi, esi
jne 0x4030c3
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404d7c
jmp 0x4030e4
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402ec0
mov dword [esp], eax
test esi, esi
je 0x4030e4
cmp dword [ebx], 0
je 0x4030e4
dec esi
jmp 0x4030cb
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x40371c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4be008], 0x8088405
inc edx
mov dword [ebx + 0x4be008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403be8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4be024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403c80
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403c60
xor eax, eax
push ebp
push 0x403c59
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403c9c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403c60
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4be024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4be024], ax
mov esp, ebp
pop ebp
ret
Function at 0x404a64
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4c104c], 0
je 0x404ac5
cmp word [0x4c1220], 0xd7b2
jne 0x404a8d
cmp dword [0x4c1228], 0
jbe 0x404a8d
mov eax, 0x4c121c
call dword [0x4c1238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4be074
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404aec
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4be034], 0
jne 0x404ae1
push 0
push 0x4be06c
push 0x4be074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404c40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402b40
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4c104d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404c08
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc