joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004912c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ax, word [ecx + 0x20c]
add ax, word [ebp + 0xc]
push esi
cwde
push edi
cdq
push 0x78
pop esi
idiv esi
xor esi, esi
mov dword [ebp - 4], ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [ecx + 0x20c], dx
cdq
xor eax, edx
sub eax, edx
movzx edi, ax
xor eax, eax
cmp ax, di
jge 0x100491c4
push ebx
xor ebx, ebx
cmp word [ebp + 0xc], ax
setle bl
mov eax, dword [ecx]
push 0
push ebx
push 1
call dword [eax + 0xf8]
test eax, eax
je 0x1004918a
mov ecx, dword [ebp - 4]
inc esi
cmp si, di
jl 0x10049170
pop ebx
cmp si, di
jge 0x100491c1
push dword [ebp + 0x14]
mov edx, edi
push dword [ebp + 0x10]
sub edx, esi
mov eax, edx
neg eax
cmp word [ebp + 0xc], 0
movzx ecx, ax
movzx eax, dx
cmovg ecx, eax
movsx eax, cx
mov ecx, dword [ebp - 4]
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.10027d9b
mov ecx, dword [ebp - 4]
test di, di
je 0x10049201
call fcn.10006290
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
movzx edx, word [ebp + 0x14]
mov edi, eax
movzx ecx, word [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp + 8]
push 0x200
push edi
call esi
push 0x2000001
push edi
push 0x20
push edi
call esi
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x1004b2ba
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1010b824]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.100874c0
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x1004b315
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x1004b329
cmp byte [ebp - 6], 1
jne 0x1004b329
cmp dword [ebp - 0x11c], 6
jne 0x1004b329
xor eax, eax
inc eax
jmp 0x1004b32b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008370a
leave
ret
Function at 0x100546a2
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x5c
mov eax, 0x100c7c06
call fcn.10084435
mov esi, ecx
push esi
lea ecx, [ebp - 0x68]
call fcn.10053ab4
mov eax, dword [esi]
lea ecx, [ebp - 0x68]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
and dword [ebp - 4], 0
push ecx
mov ecx, esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
call dword [eax + 0x8c]
cmp dword [ebp - 0x40], 0
jne 0x10054884
cmp dword [ebp + 0x10], 0
je 0x10054700
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x268]
cmp dword [ecx + 8], eax
sete al
mov dword [ecx + 8], eax
jmp 0x10054847
cmp dword [esi + 0x260], 0
jne 0x10054712
cmp dword [esi + 0x25c], 0
je 0x1005472a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1005472a
cmp edi, 0xffffffff
je 0x10054855
jmp 0x100546e7
cmp dword [esi + 0x260], 0
jne 0x10054740
cmp dword [esi + 0x25c], 0
je 0x100547db
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100547db
cmp edi, 0xffffffff
je 0x10054855
xor eax, eax
cmp ebx, 0xffffffff
cmovne eax, ebx
mov ebx, eax
mov eax, edi
cmp ebx, edi
mov dword [ebp + 8], ebx
mov ecx, ebx
cmovg eax, ebx
cmp eax, ebx
mov dword [ebp - 0x14], eax
cmove ecx, edi
and dword [ebp + 0x10], 0
mov dword [ebp - 0x10], ecx
mov ecx, esi
call fcn.100543c8
test eax, eax
jle 0x10054855
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov eax, dword [esi + 0x268]
add eax, ebx
mov ecx, dword [eax + 8]
cmp edi, dword [ebp - 0x10]
jl 0x100547b2
cmp edi, dword [ebp - 0x14]
jg 0x100547b2
xor edx, edx
inc edx
mov dword [eax + 8], edx
mov eax, edx
jmp 0x100547b8
and dword [eax + 8], 0
xor eax, eax
cmp ecx, eax
je 0x100547c4
push edi
mov ecx, esi
call fcn.10054d5b
mov ecx, esi
inc edi
add ebx, 0xc
call fcn.100543c8
cmp edi, eax
jl 0x10054793
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
jmp 0x10054855
or dword [esi + 0x21c], 0xffffffff
mov ecx, esi
and dword [ebp + 0x10], 0
call fcn.100543c8
test eax, eax
jle 0x10054832
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x268]
cmp ebx, edi
je 0x1005481a
cmp dword [eax + ecx + 8], 0
je 0x1005481a
and dword [eax + ecx + 8], 0
mov ecx, esi
push ebx
call fcn.10054d5b
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.100543c8
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x100547f9
mov ebx, dword [ebp + 8]
cmp edi, 0xffffffff
je 0x10054855
imul eax, edi, 0xc
add eax, dword [esi + 0x268]
mov dword [eax + 8], 1
push edi
mov ecx, esi
mov dword [esi + 0x21c], edi
call fcn.10054d5b
push esi
lea ecx, [ebp - 0x3c]
call fcn.100077a0
mov dword [ebp - 0x3c], 0x100d2cd8
mov dword [ebp - 0x34], 0x100d2cec
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
call dword [eax + 0x8c]
call fcn.1008440f
ret 0xc
Function at 0x10057f1b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov edi, ecx
sub eax, 9
je 0x10057f7c
sub eax, 1
je 0x10057f5e
sub eax, 3
je 0x10057f5e
test dword [edi + 0x37c], 0x2000
je 0x10057f97
push esi
call fcn.10096f20
pop ecx
test eax, eax
jne 0x10057f97
cmp esi, 0x2d
je 0x10057f97
cmp esi, 0x2e
je 0x10057f97
cmp esi, 0x2c
je 0x10057f97
jmp 0x10057fb2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x10057f97
test dword [edi + 0x37c], 0x1000
jmp 0x10057f95
test byte [edi + 0x380], 0x80
jne 0x10057f97
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10057fb2
mov eax, dword [edi + 0x38c]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x70]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10058256
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0xd
push esi
mov esi, ecx
jne 0x10058286
test dword [esi + 0x37c], 0x1000
jne 0x10058286
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x10058286
and dword [esi + 0x10], 0
jmp 0x100582a1
mov eax, dword [esi + 0x38c]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x70]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop esi
pop ebp
ret 0xc

Function at 0x1005a671
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x100c522e
call fcn.10084435
mov ebx, ecx
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
push 0x11
mov edi, eax
call esi
and eax, 0x8000
push 0x10
mov dword [ebp - 0x10], eax
call esi
and eax, 0x8000
and edi, 0x8000
jne 0x1005a6d7
cmp dword [ebp - 0x10], edi
jne 0x1005a6bd
test eax, eax
jne 0x1005a6b6
inc eax
xor ecx, ecx
jmp 0x1005a70e
push 2
pop eax
push 4
jmp 0x1005a70d
test eax, eax
jne 0x1005a6c8
push 4
pop eax
push 2
jmp 0x1005a70d
push 6
pop eax
push 0x10
mov word [ebx + 0x16c], ax
pop eax
jmp 0x1005a715
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x1005a6ec
test eax, eax
jne 0x1005a6e8
push 8
pop eax
inc ecx
jmp 0x1005a70e
test ecx, ecx
je 0x1005a6fb
test eax, eax
jne 0x1005a6f7
push 0x40
pop eax
push 3
jmp 0x1005a70d
test ecx, ecx
jne 0x1005a706
test eax, eax
je 0x1005a706
push 0x20
pop eax
push 5
jmp 0x1005a70d
mov eax, 0x80
push 7
pop ecx
mov word [ebx + 0x16c], cx
test word [ebx + 0x170], ax
je 0x1005a72c
mov ax, word [ebx + 0x172]
mov word [ebx + 0x16c], ax
push ebx
lea ecx, [ebp - 0x34]
call fcn.100077a0
mov dword [ebp - 0x34], 0x100d3954
mov dword [ebp - 0x2c], 0x100d3968
mov ax, word [ebx + 0x16c]
lea ecx, [ebp - 0x34]
and dword [ebp - 4], 0
mov word [ebp - 0x12], ax
mov ax, word [ebx + 0x16e]
mov word [ebp - 0x14], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x8c]
call fcn.1008440f
ret
Function at 0x1006c315
Capabilities:
Log keystrokes

Disassembly:
push 4
mov eax, 0x100c8db8
call fcn.10084435
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [0x1010b004]
mov dword [esi], eax
mov ecx, dword [ebp + 0xc]
xor edi, edi
and dword [ebp - 4], 0
inc edi
movzx edx, cx
mov dword [ebp - 0x10], edi
cmp edx, 0x24
ja 0x1006c39b
je 0x1006c391
mov eax, edx
sub eax, 0xd
je 0x1006c387
sub eax, 0xe
je 0x1006c37d
sub eax, 6
je 0x1006c373
sub eax, edi
je 0x1006c369
sub eax, edi
jne 0x1006c3ca
push 0x100d62c4
jmp 0x1006c4e9
push str.PageDown
jmp 0x1006c4e9
push str.PageUp
jmp 0x1006c4e9
push 0x100d6278
jmp 0x1006c4e9
push str.Enter
jmp 0x1006c4e9
push str.Home
jmp 0x1006c4e9
mov eax, edx
sub eax, 0x25
je 0x1006c4e4
sub eax, 1
je 0x1006c4dd
sub eax, 1
je 0x1006c4d6
sub eax, 1
je 0x1006c4cf
sub eax, 5
je 0x1006c4c8
cmp cx, 0x30
jb 0x1006c3d6
cmp cx, 0x39
jbe 0x1006c3df
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x1006c3f6
movzx eax, cx
mov ecx, esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.10001690
jmp 0x1006c4f0
lea eax, [ecx - 0x60]
cmp ax, 9
ja 0x1006c41a
lea eax, [edx - 0x60]
push eax
push str.Num__d
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.10001860
add esp, 0x10
mov dword [ebp - 4], edi
jmp 0x1006c470
cmp cx, 0x6a
jne 0x1006c42a
push 0x100d6310
jmp 0x1006c4e9
cmp cx, 0x6b
jne 0x1006c43a
push str.Num_
jmp 0x1006c4e9
cmp cx, 0x6e
jne 0x1006c44a
push str.Num_Del
jmp 0x1006c4e9
lea eax, [ecx - 0x70]
cmp ax, 0xb
ja 0x1006c485
lea eax, [edx - 0x6f]
push eax
push 0x100d6338
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.10001860
add esp, 0x10
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x1006c4f0
call fcn.10001250
jmp 0x1006c4f0
push 2
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp al, 0x3d
jg 0x1006c4a6
je 0x1006c4b2
cmp al, 0x27
je 0x1006c4b2
cmp al, 0x2b
jle 0x1006c4f0
cmp al, 0x2f
jle 0x1006c4b2
cmp al, 0x3b
je 0x1006c4b2
jmp 0x1006c4f0
cmp al, 0x5b
jl 0x1006c4f0
cmp al, 0x5d
jle 0x1006c4b2
cmp al, 0x60
jne 0x1006c4f0
cbw
mov ecx, esi
movzx eax, ax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.10005750
jmp 0x1006c4f0
push str.Insert
jmp 0x1006c4e9
push str.Down
jmp 0x1006c4e9
push str.Right
jmp 0x1006c4e9
push 0x100d628c
jmp 0x1006c4e9
push str.Left
mov ecx, esi
call fcn.10001730
mov eax, esi
call fcn.1008440f
ret 8

Function at 0x1006d46b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
jne 0x1006d4a6
push dword [ecx + 4]
call fcn.100440a5
pop ecx
test eax, eax
je 0x1006d48f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x90]
test al, 2
jne 0x1006d4a6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x1006d4a6
xor eax, eax
inc eax
jmp 0x1006d4a8
xor eax, eax
pop ebp
ret 4
Function at 0x1006d591
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x100c8dfe
call fcn.10084435
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.1006d46b
test eax, eax
je 0x1006d5cc
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, ebx
and al, 1
movzx eax, al
push eax
call fcn.1006d028
xor eax, eax
inc eax
jmp 0x1006d6ce
push dword [ebx + 4]
call fcn.100440a5
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x1006d678
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
je 0x1006d678
cmp edi, 0x25
je 0x1006d605
cmp edi, 0x27
je 0x1006d613
cmp edi, 0x26
je 0x1006d605
cmp edi, 0x28
jne 0x1006d678
cmp edi, 0x27
je 0x1006d613
cmp edi, 0x28
je 0x1006d613
push 2
jmp 0x1006d615
push 3
pop edi
jmp 0x1006d623
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
jne 0x1006d662
push edi
mov ecx, esi
call fcn.10026669
mov esi, eax
test esi, esi
jne 0x1006d618
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call fcn.100263ad
mov ecx, eax
jmp 0x1006d652
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
jne 0x1006d662
push edi
mov ecx, esi
call fcn.10026669
mov esi, eax
test esi, esi
jne 0x1006d644
jmp 0x1006d5c4
push 1
mov ecx, esi
call fcn.100062b0
push eax
mov ecx, ebx
call fcn.1006d932
jmp 0x1006d5c4
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x12
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x11
call esi
shr eax, 0xf
lea ecx, [ebp + 8]
and al, 1
movzx eax, al
push eax
push edi
call fcn.1006c1ba
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.1006d722
xor ebx, ebx
lea ecx, [ebp + 8]
test al, al
setne bl
call sym.setupdll.dll_FindStringByName
mov eax, ebx
call fcn.1008440f
ret 4

Function at 0x10072c3c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x244]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10072ca4
mov ecx, esi
call fcn.10072ca9
push 0
push dword [esi + 0x244]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x3a4]
test ecx, ecx
je 0x10072c7f
push 0
call fcn.10028913
and dword [esi + 0x3a4], 0
mov ecx, dword [0x10112aa0]
lea ecx, [ecx + 8]
call fcn.1002a820
mov ecx, dword [esi + 0x39c]
test ecx, ecx
je 0x10072ca4
pop esi
mov ecx, dword [ecx + 0x170]
pop ebp
jmp fcn.10073707
pop esi
pop ebp
ret 4
Function at 0x1007c55e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x1007c58c
cmp eax, edi
jge 0x1007c580
push esi
call fcn.100795e9
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x1007c5af
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x1007c595
mov dword [esi + 8], edx
jmp 0x1007c5c4
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x1007c5ba
xor dl, dl
jmp 0x1007c5bf
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x1007c5af
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x1007c5fd
mov dword [0x10112d48], str.zlib_corrupt
xor eax, eax
jmp 0x1007c63f
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x1007c612
mov dword [0x10112d48], str.read_past_buffer
jmp 0x1007c5f9
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x1007c629
push edi
push esi
call fcn.1007ea42
pop ecx
pop ecx
test eax, eax
je 0x1007c5f9
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.10085a20
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x1009fca0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1009fb16

Function at 0x100a5599
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100a5216

Function at 0x100ac3d1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0x18]
xor edi, edi
xor esi, esi
push dword [ebp + 0x1c]
inc edi
mov dword [ebp - 8], esi
push edi
call fcn.100b7fa5
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
jne 0x100ac3fe
xor eax, eax
jmp 0x100ac4fa
mov eax, dword [ebp - 4]
mov ecx, SysReAllocString
push 0x40
push 0x1008774d
mov dword [eax + 0x2a4], ecx
mov eax, dword [ebp - 4]
push dword [ebp - 4]
mov dword [eax + 0x2a8], ecx
call fcn.100ad493
push esi
push eax
call fcn.10087760
add esp, 0x14
test eax, eax
je 0x100ac439
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.100b814c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.100ad475
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.100aeb8c
add esp, 0x28
test eax, eax
jne 0x100ac470
mov dword [ebp - 8], edi
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
cmp dword [ebp - 8], esi
jne 0x100ac4b1
mov eax, dword [ebp - 4]
push dword [eax + 0xb4]
push dword [ebp - 4]
call fcn.100b811d
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb0], esi
jne 0x100ac4ac
mov dword [ebp - 8], edi
cmp dword [ebp - 8], esi
je 0x100ac4e1
mov eax, dword [ebp - 4]
push dword [eax + 0xb0]
push dword [ebp - 4]
call fcn.100b8072
push dword [ebp + 0x18]
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push dword [ebp - 4]
mov dword [eax + 0xb0], esi
call fcn.100b802c
add esp, 0x14
jmp 0x100ac3f7
push esi
push esi
push esi
push dword [ebp - 4]
call fcn.100b7ef4
push dword [ebp - 4]
call fcn.100ac5a0
mov eax, dword [ebp - 4]
add esp, 0x14
pop edi
pop esi
leave
ret
Function at 0x100ae93b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x100ae971
push edi
mov edi, 0x10c
cmp dword [ebp + 0xc], edi
jae 0x100ae964
push eax
call fcn.100b8018
push 2
call fcn.100b7f91
pop ecx
pop ecx
mov dword [esi], eax
push edi
push 0
push eax
call fcn.100874c0
add esp, 0xc
pop edi
pop esi
pop ebp
ret
Function at 0x100afdb9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0x18]
xor edi, edi
xor esi, esi
push dword [ebp + 0x1c]
inc edi
mov dword [ebp - 8], esi
push edi
call fcn.100b7fa5
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
jne 0x100afde6
xor eax, eax
jmp 0x100aff8a
mov eax, dword [ebp - 4]
mov ecx, SysReAllocString
push 0x40
push 0x1008774d
mov dword [eax + 0x2a4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x2a8], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x2ac], esi
mov eax, dword [ebp - 4]
push dword [ebp - 4]
mov dword [eax + 0x2b0], esi
call fcn.100ad493
push esi
push eax
call fcn.10087760
add esp, 0x14
test eax, eax
je 0x100afe33
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.100b814c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.100ad475
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.100aeb8c
add esp, 0x28
test eax, eax
jne 0x100afe6a
mov dword [ebp - 8], edi
cmp dword [ebp - 8], esi
jne 0x100afea6
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
mov eax, dword [ebp - 4]
push dword [eax + 0xb4]
push dword [ebp - 4]
call fcn.100b811d
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb0], esi
jne 0x100afea6
mov dword [ebp - 8], edi
mov eax, dword [ebp - 4]
mov dword [eax + 0x98], 0x100aec8b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x9c], fcn.100aecda
mov eax, dword [ebp - 4]
mov dword [eax + 0xa0], ecx
cmp dword [ebp - 8], esi
jne 0x100aff26
mov eax, dword [ebp - 4]
push 0x38
add eax, 0x78
push str.1.2.5
push eax
call fcn.100bff45
add esp, 0xc
cmp eax, 0xfffffffa
je 0x100aff0f
cmp eax, 0xfffffffc
je 0x100aff08
cmp eax, 0xfffffffe
je 0x100aff01
test eax, eax
je 0x100aff21
push str.Unknown_zlib_error
jmp 0x100aff14
push str.zlib_stream_error
jmp 0x100aff14
push str.zlib_memory_error
jmp 0x100aff14
push str.zlib_version_error
push dword [ebp - 4]
call fcn.100ad4af
pop ecx
mov dword [ebp - 8], edi
pop ecx
cmp dword [ebp - 8], esi
je 0x100aff56
mov eax, dword [ebp - 4]
push dword [eax + 0xb0]
push dword [ebp - 4]
call fcn.100b8072
push dword [ebp + 0x18]
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push dword [ebp - 4]
mov dword [eax + 0xb0], esi
call fcn.100b802c
add esp, 0x14
jmp 0x100afddf
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
push esi
push esi
mov eax, dword [eax + 0xb0]
mov dword [ecx + 0x84], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
push dword [ebp - 4]
mov eax, dword [eax + 0xb4]
mov dword [ecx + 0x88], eax
call fcn.100b4f5f
mov eax, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x100c011f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x100c012c
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.100c0132
Function at 0x4011a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x30f8
call fcn.00410ef0
mov eax, dword [0x419004]
xor eax, esp
mov dword [esp + 0x30f4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov word [esp + 0x70], ax
lea eax, [esp + 0x20b8]
push 0x410
push eax
push 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 7
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 0
push 0
push 0x410
lea eax, [esp + 0x28ec]
push eax
push 0x410
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x20d8]
push eax
call fcn.0040525a
lea ecx, [esp + 0xbc]
add esp, 0x24
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401231
sub ecx, edx
lea eax, [esp + 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.004014a0
lea eax, [esp + 0x28d8]
push eax
lea ecx, [esp + 0x74]
call fcn.00401420
push str.IsWow64Process
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xorps xmm0, xmm0
mov dword [esp + 0x28], 0x44
mov esi, eax
movaps xmmword [esp + 0x10], xmm0
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
test esi, esi
je 0x4012de
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x4012de
cmp dword [esp + 0xc], 1
mov eax, str.yamy64
je 0x4012e3
mov eax, str.yamy32
push eax
lea ecx, [esp + 0x74]
call fcn.00401420
cmp dword [esp + 0x84], 8
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [esp + 0x90]
cmovae eax, dword [esp + 0x90]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4013b0
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x8b8]
push 0x400
push eax
push 0x1e
push edi
call esi
push 0x400
lea eax, [esp + 0x10bc]
push eax
push 1
push edi
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
movups xmm0, xmmword [esp + 0x70]
push eax
sub esp, 0x18
mov eax, esp
movups xmmword [eax], xmm0
movq xmm0, qword [esp + 0x9c]
movq qword [eax + 0x10], xmm0
lea eax, [esp + 0x8d4]
push eax
lea eax, [esp + 0x18d8]
push 0x400
push eax
call fcn.00401010
add esp, 0x28
lea eax, [esp + 0x10b8]
push 0x10
push eax
lea eax, [esp + 0x18c0]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4013c2
push dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x10]
call esi
mov edx, dword [esp + 0x84]
cmp edx, 8
jb 0x4013fd
mov ecx, dword [esp + 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4013f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401415
push edx
push ecx
call fcn.0040189b
add esp, 8
mov ecx, dword [esp + 0x30fc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0040185a
mov esp, ebp
pop ebp
ret 0x10
call fcn.0040546d
int3
Function at 0x4078c3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407902
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407902
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407902
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407902
cmp dword [ecx + 0x74], 0xe
jbe 0x407902
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41e970
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41e99d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41e99d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret