joyce8/EMBER2024-capa huggingface dataset:
Function at 0x500df0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.005071c0
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x500ee9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.00486550
test eax, eax
jne 0x500ee9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, esi
call fcn.00486550
test eax, eax
jne 0x500ee9
lea edx, [esp + 0x10]
push 0x7a3828
push edx
call fcn.00525d10
mov esi, eax
add esp, 8
test esi, esi
jne 0x500eba
lea eax, [esp + 0x10]
push 0x7a3824
push eax
call fcn.00525d10
mov esi, eax
add esp, 8
test esi, esi
jne 0x500eba
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x500ebd
mov byte [esi], 0
push 0x7a37b8
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x507100
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x54a088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x5071b0
mov eax, dword [0x7a4a94]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00536cb3
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00536d02
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.00536c5f
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x507197
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x507197
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00536883
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x509d00
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54a420
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x509ea7
mov ecx, dword [0x7a4a94]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x509dfc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00508a20
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.005369bc
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00536883
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x7a37b8
call fcn.005368f1
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00508de0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.005369bc
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00536883
lea ecx, [esp + 0xc]
call fcn.00536d97
mov ecx, dword [esp + 0xc]
push 0x7a3a2c
push ecx
call fcn.00524b24
add esp, 8
test eax, eax
je 0x509e24
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x509d5d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00536883
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00536883
jmp 0x509eab
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00509aa0
test eax, eax
push 0
je 0x509e8f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.00508140
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x509e75
cmp eax, 0x64
jg 0x509e63
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x509e00
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x509e00
cmp eax, 0x64
jge 0x509dfc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x509e00
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00508140
mov esi, eax
jmp 0x509e00
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x509eb5
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10

Function at 0x538d7a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x538db2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00536d2a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00536d02
jmp 0x538dbe
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x53a544
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x53a586
call fcn.00540c7d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x53a586
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x53a57d
xor eax, eax
jmp 0x53a58e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0053a594
pop edi
pop esi
pop ebx
ret 4

Function at 0x5411ad
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5411db
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5411f9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00541113
jmp 0x5411f9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5411f9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00541113
test edi, edi
mov eax, edi
jne 0x5411e3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40204a
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [0x4010c0], eax
push 1
push 0x400000
call dword [sym.imp.USER32.DLL_LoadIconA]
mov dword [0x4010c4], eax
mov eax, dword [0x4010c4]
push eax
push 0
push pe_nt_image_headers32
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_SendMessageA]
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetDlgItem]
mov dword [0x4010c8], eax
call fcn.0040211b
push 0x2800
call dword [sym.imp.MSVCRT.DLL_malloc]
mov dword [0x401020], eax
add eax, 0x400
mov dword [0x40101c], eax
add eax, 0xfa0
mov dword [0x401024], eax
add eax, 0x60
mov dword [0x401018], eax
push 0x2f
push 0x401070
call dword [sym.imp.MSVCRT.DLL_strchr]
mov dword [0x40102c], eax
mov eax, dword [0x40101c]
push eax
push 0x202
call dword [sym.imp.WS2_32.DLL_WSAStartup]
mov eax, dword [0x401020]
push eax
call fcn.00402303
mov edi, dword [0x40102c]
xor eax, eax
mov byte [edi], al
inc dword [0x40102c]
push 0
call fcn.00402383
push 0
push 0
push 0x4021d9
call dword [sym.imp.MSVCRT.DLL__beginthread]
mov esp, ebp
pop ebp
ret 4

Function at 0x402328
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edi, dword [0x401020]
xor eax, eax
dec eax
xor ebx, ebx
mov bl, byte [esi]
xor bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
inc esi
dec ecx
jne 0x40233c
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret 8
Function at 0x1000f7bc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1008cac0]
jne 0x1000f7c6
repz ret
jmp fcn.1000fa6d

Function at 0x100110c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [0x1008ca98], 0x252d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [0x1008ca9c]
add eax, 0x253
mov dword [0x1008ca98], eax
mov dword [ebp - 0x10], 0
jmp 0x10011125
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2]
cmp eax, 0
sete dl
mov byte [ebp - 0x11], dl
mov al, byte [ebp - 0x11]
test al, 1
jne 0x10011181
jmp 0x10011133
cmp dword [ebp - 0x10], 0x104
jl 0x10011107
jmp 0x100111c6
mov dword [0x1008ca98], 0xbea
jmp 0x100111b6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 1
add eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax - 0x18]
cmp ecx, 0x6f
jne 0x10011282
mov dword [0x1008ca9c], 0x198f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
je 0x100111f6
jmp 0x10011280
jmp 0x100111c6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 1
add eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax - 0x10]
cmp ecx, 0x6c
je 0x10011235
jmp 0x1001127a
mov eax, dword [ebp - 4]
add esp, 0x28
pop ebp
ret
jmp 0x1001127a
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x10011125
mov dword [0x1008ca9c], 0x1ac
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 1
add eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax - 0x1a]
cmp ecx, 0x6c
je 0x1001113f
jmp 0x10011284
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x1001127e
mov eax, dword [0x1008ca98]
sub eax, 0x1325
mov dword [0x1008ca98], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
movzx eax, word [ecx + eax*2 - 0x12]
cmp eax, 0x64
je 0x10011183
jmp 0x1001127c
mov dword [0x1008ca98], 0x23b8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 1
add eax, ecx
add eax, 0xfffffff2
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
cmp ecx, 0x6c
jne 0x100111b1
mov dword [0x1008ca9c], 0xc8
mov dword [ebp - 4], 1
jmp 0x100111a9
jmp 0x1001127c
jmp 0x1001127e
jmp 0x10011280
jmp 0x10011282
jmp 0x10011284
mov dword [ebp - 4], 0
jmp 0x100111a9
Function at 0x10011490
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [fcn.10011490]
mov dword [ebp - 8], eax
jmp 0x100114e2
jmp 0x100114a3
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov eax, dword [0x1008ca98]
sub eax, 0x362
mov dword [0x1008ca98], eax
jmp 0x100114f9
mov eax, dword [ebp - 8]
add eax, 0x3c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
cmp dword [eax + edx], 0x4550
je 0x100114f1
jmp 0x100114a1
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100114c4
jmp 0x100114a3
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x10011508
mov al, 1
test al, 1
jne 0x100114e2
jmp 0x10011501
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0xc
pop ebp
ret
Function at 0x41862d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041849e

Function at 0x418a27
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407ed0
mov eax, dword [0x430040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041673b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x418a69
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x418bc5
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004236f0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4668b8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00419a1e
mov ecx, dword [esi*4 + 0x4668b8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x418bbe
cmp eax, dword [edi + ecx + 0x24]
jne 0x418bbe
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418bbe
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00419a1e
add esp, 0x14
test edx, edx
jl 0x418bbe
jg 0x418b34
test eax, eax
jb 0x418bbe
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x418bbe
jl 0x418b4e
cmp dword [ebp - 0x1008], eax
ja 0x418bbe
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x418b6c
test ebx, ebx
je 0x418ba5
cmp ecx, edi
jae 0x418ba5
mov al, byte [ecx]
cmp al, 0xd
jne 0x418b86
lea eax, [edi - 1]
cmp ecx, eax
jae 0x418b92
cmp byte [ecx + 1], 0xa
jne 0x418b92
inc ecx
jmp 0x418b92
movzx eax, al
movsx eax, byte [eax + 0x430310]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x418b6c
cmp edx, ebx
jne 0x418b6c
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x418bc3
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00407363
leave
ret
Function at 0x418ebc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4668b8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x418efc
cmp byte [ebx], 0xa
jne 0x418efc
or byte [eax + edi + 0x28], 4
jmp 0x418f01
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x418fff
mov al, byte [edx]
cmp al, 0x1a
je 0x418fe1
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x418f30
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x418f55
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x418f5f
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x418f12
jmp 0x418fff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418fdc
cmp dword [ebp - 0xc], 0
je 0x418fdc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4668b8]
test byte [eax + edi + 0x28], 0x48
je 0x418fb6
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x418fa1
mov byte [esi], dl
jmp 0x418fb2
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4668b8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x418fff
cmp byte [ebp - 1], 0xa
jne 0x418fc5
cmp esi, ebx
jne 0x418fc5
mov byte [esi], 0xa
jmp 0x418ffe
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00419a3c
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x418fff
mov byte [esi], 0xd
jmp 0x418ffe
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4668b8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x418ffb
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x418fff
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x419008
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4668b8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41904b
cmp word [esi], dx
jne 0x41904b
or byte [edi + eax + 0x28], 4
jmp 0x419050
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4191a3
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x419183
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x419092
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4190c8
cmp eax, edx
jae 0x4190d4
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41906a
jmp 0x4191a3
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41917f
cmp dword [ebp - 0x14], 0
je 0x41917f
mov eax, dword [ebx*4 + 0x4668b8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x419157
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x419120
mov word [esi], cx
jmp 0x419153
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4668b8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4668b8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4668b8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4191a3
pop ebx
cmp word [ebp - 4], bx
jne 0x419168
cmp esi, dword [ebp + 0xc]
jne 0x419168
mov word [esi], bx
jmp 0x4191a0
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00419a3c
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4191a3
push 0xd
jmp 0x41919c
mov ecx, dword [ebx*4 + 0x4668b8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41919a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4191a3
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x424570
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 4
call fcn.00407376
add esp, 4
lea ecx, [esp + 0x10]
mov dword [eax], 0x424430
push ecx
push 0
push eax
push 0x404dc0
push 0
push 0
call fcn.0040bb7c
add esp, 0x18
mov dword [esp + 0xc], eax
test eax, eax
je 0x424684
cmp dword [esp + 0x10], 0
je 0x424693
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x42469a
push 0
push ecx
push dword [esp + 0x14]
call fcn.00406c33
add esp, 0xc
test eax, eax
jne 0x4246a1
xorps xmm0, xmm0
mov dword [esp + 0x14], eax
xor ecx, ecx
movlpd qword [esp + 0xc], xmm0
mov dword [esp + 0x18], eax
lea edi, [eax + 0x64]
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], eax
mov esi, 2
nop dword [eax]
cmp eax, ecx
je 0x424623
mov dword [eax], 0
add eax, 4
mov dword [esp + 0x18], eax
jmp 0x42463a
lea ecx, [esp + 8]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004048f0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub esi, 1
jne 0x424610
sub edi, 1
jne 0x424607
mov edx, dword [esp + 0x14]
test edx, edx
je 0x424675
sub ecx, edx
mov eax, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x42466b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4246a8
push ecx
push edx
call fcn.004073a6
add esp, 8
cmp dword [esp + 0x10], 0
jne 0x4246ad
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [esp + 0x14], 0
call fcn.00404faf
push 1
call fcn.00404faf
push 5
call fcn.00404faf
push 2
call fcn.00404faf
call fcn.0040f1cf
call fcn.0040e4fb
int3

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409b38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x409b47
pop dword [ebp - 0x4c]
mov eax, 0x4edf058b
sub eax, 0x4e9e6a44
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xa602e01f
add dword [ebp - 0x5c], 0xa84f652c
mov dword [ebp - 0x58], 0xc7fe428f
sub dword [ebp - 0x58], 0x95caf64a
mov dword [ebp - 0x54], 0x167a3a43
sub dword [ebp - 0x54], 0xca2df615
mov dword [ebp - 0x50], 0x69b3fc0
sub dword [ebp - 0x50], 0x69b3fc0
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x630a43e5
add eax, 0x9d368c6f
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x350aead7
add dword [ebp - 0x5c], 0x3f677e7f
mov dword [ebp - 0x58], 0xf86ba08d
sub dword [ebp - 0x58], 0xb6ff3f18
mov dword [ebp - 0x54], 0x7a0f76e6
add dword [ebp - 0x54], 0xe95ff586
mov dword [ebp - 0x50], 0x440dcec4
add dword [ebp - 0x50], 0xbbf2313c
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x33d07f4e
add eax, 0xcc7050fe
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3ccee
push 0
call eax
mov ecx, 0x61913bde
add ecx, 0x9e6f1932
xor edx, edx
add edx, eax
mov ebx, 0x41b000
add ebx, dword [ebp - 0x4c]
mov edi, 0x8ec9f586
xor dword [ebp - 0x24], 0x95a4fdb5
mov esi, dword [ebx]
add dword [ebp - 0x2c], 0x99933be2
xor esi, edi
add dword [ebp - 0x28], 0x4c03385f
mov dword [edx], esi
xor dword [ebp - 0x28], 0x62053465
add edx, 0x6504ca3c
sub edx, 0x6504ca38
add ebx, 0x50c0719e
sub ebx, 0x50c0719a
loop 0x409c5f
add eax, 0x893f00f7
add eax, 0x76c2461c
xor ebx, ebx
add ebx, eax
add eax, 0x130db2ea
add eax, 0xecf24d1b
mov ecx, 0x73d07417
add ecx, 0x8c6f8be9
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x6706adef
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
lea eax, [esi - 0xd4]
neg esi
sbb esi, esi
and esi, eax
lea eax, [esi + 0xc8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x6706ae1d
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test byte [esi + 0x9c], 2
jne 0x6706ae2a
xor eax, eax
pop esi
ret
mov ecx, esi
pop esi
jmp dword [sym.imp.GrooveUtil.DLL_protected:_long_int___thiscall_GCControlContainerHelper::HideChildren_void_]