joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483e10
Capabilities:
Terminate process

Disassembly:
call fcn.00484b68
jmp 0x483e1f
push 0x5c
push 0x4958b8
call fcn.004846b8
and dword [ebp - 0x24], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov edi, dword [eax + 4]
xor esi, esi
mov edx, 0x498884
mov ecx, edi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x483e6c
cmp eax, edi
jne 0x483e7e
mov esi, ebx
cmp dword [0x498888], ebx
jne 0x483e8b
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x483eba
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x483e55
cmp dword [0x498888], 0
jne 0x483eb4
mov dword [0x498888], ebx
push 0x401090
push 0x401084
call fcn.0048400a
pop ecx
pop ecx
test eax, eax
je 0x483eba
jmp 0x483ff3
mov dword [0x49806c], ebx
cmp dword [0x498888], ebx
jne 0x483edd
push 0x401080
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x498888], 2
test esi, esi
jne 0x483eea
xor eax, eax
mov ecx, 0x498884
xchg dword [ecx], eax
cmp dword [0x498894], 0
je 0x483f18
push 0x498894
call fcn.00484a60
pop ecx
test eax, eax
je 0x483f18
push 0
push 2
push 0
mov esi, dword [0x498894]
mov ecx, esi
call dword [0x49943c]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov edi, dword [ebp - 0x24]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x483f76
test cl, cl
je 0x483f34
test edi, edi
jne 0x483f76
mov al, byte [esi]
test al, al
je 0x483f44
cmp al, 0x20
ja 0x483f44
inc esi
mov dword [ebp - 0x20], esi
jmp 0x483f34
test byte [ebp - 0x40], 1
je 0x483f50
movzx eax, word [ebp - 0x3c]
jmp 0x483f53
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x498068], eax
cmp dword [0x498080], 0
jne 0x483fcf
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x483f87
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x24], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x483f9a
inc esi
mov dword [ebp - 0x20], esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x483f25
cmp dword [0x49806c], 0
jne 0x483fe3
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x498068]
mov dword [ebp - 4], 0xfffffffe
jmp 0x483fff
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00484700
ret

Function at 0x48494f
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4959b8
call fcn.00484618
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4849af
cmp eax, 0xffffffff
je 0x4849af
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4849a8
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4849a8
cmp edx, 0x10000000
jae 0x4849a8
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4849a5
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.0048465d
ret 4
Function at 0x484a10
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x484a4e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x484a46
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x484a50
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x484a36
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x484b30
Capabilities:
Parse pe header

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

Function at 0xf42058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xf421a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xf4207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf4206a
add dl, dl
jne 0xf42089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf420dc
xor eax, eax
add dl, dl
jne 0xf42096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf4217d
add dl, dl
jne 0xf420a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf420b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf420bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf420c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xf420d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xf42075
mov eax, 1
add dl, dl
jne 0xf420ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf420f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf420e1
sub eax, ebx
mov ebx, 1
jne 0xf42128
mov ecx, 1
add dl, dl
jne 0xf4210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf42119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf42105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf42075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xf4213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf4214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf42136
cmp eax, 0x7d00
jae 0xf4216d
cmp eax, 0x500
jb 0xf42168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf42075
cmp eax, 0x7f
ja 0xf42170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf42075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xf4219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xf42075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x5969b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x116000]
push edi
or ebp, 0xffffffff
jmp 0x5969d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5969d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5969c8
mov eax, 1
add ebx, ebx
jne 0x5969eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5969fc
jne 0x596a1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596a1b
dec eax
add ebx, ebx
jne 0x596a08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5969e0
add ebx, ebx
jne 0x596a17
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x596a6d
xor ecx, ecx
sub eax, 3
jb 0x596a33
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x596aa2
sar eax, 1
mov ebp, eax
jmp 0x596a3e
add ebx, ebx
jne 0x596a3e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596a0c
inc ecx
add ebx, ebx
jne 0x596a4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596a0c
add ebx, ebx
jne 0x596a59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x596a4e
jne 0x596a6a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x596a4e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x596a8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x596a7e
jmp 0x5969ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x596a8c
add edi, ecx
jmp 0x5969ce
pop esi
mov edi, esi
mov ecx, 0x5d79
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x596aaa
cmp byte [edi], 0x22
jne 0x596aaa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x596aaf
lea edi, [esi + 0x193000]
mov eax, dword [edi]
or eax, eax
je 0x596b27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b1ae4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b1c24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x596adc
mov ecx, edi
jns 0x596b0b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b1c28]
or eax, eax
je 0x596b21
mov dword [ebx], eax
add ebx, 4
jmp 0x596af9
call dword [esi + 0x1b1c30]
mov ebp, dword [esi + 0x1b1c2c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x596b5b
sub esp, 0xffffff80
jmp 0x4b4f01
Function at 0x41361a
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x41363b
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x413632
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x41362a
mov eax, ebx
leave
ret

Function at 0x413661
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x4136c0
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4136ed
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4136dc
xor ecx, eax
xor edx, ebx
dec edi
jne 0x4136cd
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x413713
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x4136b4
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x413f53
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.004135e0
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x414132
push dword [ebp - 4]
call fcn.004135c4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x414023
jmp 0x414132
push dword [ebp - 4]
call fcn.004135c4
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x414077
lea eax, [ebp - 4]
push eax
call fcn.00413f39
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.004137eb
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x414077
mov eax, 1
jmp 0x414079
xor eax, eax
test eax, eax
je 0x414127
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x41411f
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.00413d56
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41410e
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.00413f12
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x4140c1
add esp, 0xc
jmp 0x414132
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x413ffc
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x414153
mov esp, ebp
pop ebp
ret 8
Function at 0x41a11c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push 0
push 0
push getpeername
push 0
push 0x602e3d
push 0x80000301
push 0
push 3
push 3
mov ebx, 0x539db0
call fcn.00535729
add esp, 0x28
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41a183
push ebx
call fcn.00535723
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push 0x602e86
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ecx, 2
call fcn.004014ca
add esp, 8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push eax
push 1
push 0
push dword [ebp - 0xc]
mov eax, 0
call fcn.00535717
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41a1d1
push ebx
call fcn.00535723
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41a1e5
push ebx
call fcn.00535723
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x5e2398
push dword [ebp - 4]
call fcn.00401038
add esp, 8
cmp eax, 0
je 0x41a330
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x80000301
push 0
push 1
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41a22f
mov eax, 0x5e2398
push eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41a243
mov eax, 0x5e2398
push eax
push 4
mov ebx, 0x536590
call fcn.00535729
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41a282
push 0x5e2398
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00401038
add esp, 8
cmp eax, 0
je 0x41a282
xor eax, eax
jmp 0x41a287
mov eax, 1
test eax, eax
je 0x41a2f6
push dword [ebp - 4]
push 0x5e2a4a
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ecx, 3
call fcn.004014ca
add esp, 0xc
mov dword [ebp - 0xc], eax
push getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x41a2bf
mov eax, 0x5e2398
push eax
push 1
mov ebx, 0x5389c0
call fcn.00535729
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41a2e5
push ebx
call fcn.00535723
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x41a2f6
mov dword [ebp - 8], 1
lea eax, [ebp - 0x20]
push eax
push 1
push 0
push 0
mov eax, 0
call fcn.00535717
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41a327
push ebx
call fcn.00535723
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x41a1e9
mov eax, dword [ebp - 8]
jmp 0x41a338
push eax
push dword [ebp - 0x20]
mov eax, 1
call fcn.00535717
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41a359
push ebx
call fcn.00535723
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4e84da
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4e8512
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4e8500
mov al, 1
jmp 0x4e8563
cmp dword [ebx + 0x54], ecx
jne 0x4e8509
mov al, 2
jmp 0x4e8563
cmp dword [ebx + 0x7c], ecx
jne 0x4e8563
mov al, 3
jmp 0x4e8563
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4e8527
mov al, 4
jmp 0x4e8563
cmp ecx, 5
jne 0x4e8547
cmp ebx, 0
jne 0x4e8535
mov al, 5
jmp 0x4e8563
cmp ebx, 1
jne 0x4e853e
mov al, 6
jmp 0x4e8563
cmp ebx, 2
jne 0x4e8547
mov al, 7
jmp 0x4e8563
cmp ecx, 6
jne 0x4e8553
cmp ebx, 0
jne 0x4e8555
mov al, 8
jmp 0x4e8563
cmp ebx, 1
jne 0x4e855c
mov al, 9
cmp ebx, 2
jne 0x4e8563
mov al, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x546d10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5d727b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.005cb25a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x546d92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005c8a4d
mov eax, dword [eax]
push 0x7b325c
push eax
call fcn.005ba224
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005cb4e5
test bl, bl
je 0x546d92
push 0x7b325c
lea ecx, [esp + 0xc]
call fcn.005cb875
push 0x7b6f24
lea ecx, [esp + 0xc]
call fcn.005cb875
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x546dce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005cb4e5
jmp 0x546e99
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x546e52
lea edx, [esp + 0x7c]
push 0x7b6f20
push edx
call fcn.005ba224
add esp, 8
test eax, eax
je 0x546e52
lea eax, [esp + 0x7c]
push 0x7b6f1c
push eax
call fcn.005ba224
add esp, 8
test eax, eax
je 0x546e52
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x546de2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.005cb4e5
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x547690
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x5476f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x547700
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5d72fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7c32ec]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x547838
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x547766
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005cb4e5
xor eax, eax
jmp 0x5478af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005cb622
push esi
lea ecx, [esp + 0xc]
call fcn.005cb8b1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x7b6f5c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x54788d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00547690
test eax, eax
jne 0x54788d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00547690
test eax, eax
jne 0x54788d
lea eax, [esp + 0x14]
push 0x7b6f38
push eax
call fcn.005bb400
mov esi, eax
add esp, 8
test esi, esi
jne 0x54786c
lea ecx, [esp + 0x14]
push 0x7b6f34
push ecx
call fcn.005bb380
mov esi, eax
add esp, 8
test esi, esi
jne 0x54786c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x54786f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005cb5d2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x54777e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005cb4e5
xor eax, eax
jmp 0x5478af
mov byte [esi], 0
push 0x7b6f30
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.005cb4e5
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4