joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4979ad
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x4979ea
cmp dword [ebp + 0x14], edi
je 0x4979ea
cmp ecx, edi
jne 0x4979f1
call fcn.004557c0
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0044da9a
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x497a05
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x497a26
cmp ebx, 0xffffffff
je 0x497a15
push ebx
push edi
push ecx
call fcn.0044e570
add esp, 0xc
cmp esi, edi
je 0x4979d2
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4979d2
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x497a42
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x497a49
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x497b3a
test word [esi + 0xc], 0x10c
je 0x497a9d
mov eax, dword [esi + 4]
test eax, eax
je 0x497a9d
jl 0x497b9b
cmp ebx, eax
mov edi, ebx
jb 0x497a6e
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x497b42
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0044d76b
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x497b32
cmp ebx, dword [ebp - 0xc]
jb 0x497b0a
cmp dword [ebp - 0xc], 0
je 0x497ac7
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x497abc
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x497ac3
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x497ad2
mov eax, SysReAllocString
cmp ebx, eax
ja 0x497ad2
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x497b6e
push eax
push dword [ebp - 8]
push esi
call fcn.00459619
pop ecx
push eax
call fcn.00468c0a
add esp, 0xc
test eax, eax
je 0x497bad
cmp eax, 0xffffffff
je 0x497b9b
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x497b32
push esi
call fcn.00465591
cmp eax, 0xffffffff
pop ecx
je 0x497b9f
cmp dword [ebp - 4], 0
je 0x497b6e
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x497a51
mov eax, dword [ebp + 0x14]
jmp 0x4979ec
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x497b59
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0044e570
add esp, 0xc
call fcn.004557c0
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4979e2
cmp dword [ebp + 0xc], 0xffffffff
je 0x497b84
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0044e570
add esp, 0xc
call fcn.004557c0
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4979e2
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4979ec
or dword [esi + 0xc], 0x10
jmp 0x497b9f
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d5004]
jne 0x40100a
repz ret
jmp fcn.004016b5

Function at 0x405d4a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d5004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004031ad
and dword [ebp - 0x14], 0
cmp dword [0x4d7c74], 0
mov dword [ebp - 0x18], eax
jne 0x405dfd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405ea5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405ea5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4d7c74], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4d7c78], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4d7c7c], eax
call edi
push eax
call esi
mov dword [0x4d7c84], eax
test eax, eax
je 0x405dfd
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4d7c80], eax
mov eax, dword [0x4d7c80]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405e56
cmp dword [0x4d7c84], ecx
je 0x405e56
push eax
call esi
push dword [0x4d7c84]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405e56
test ebx, ebx
je 0x405e56
call edi
test eax, eax
je 0x405e4d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405e4d
test byte [ebp - 8], 1
jne 0x405e56
or dword [ebp + 0x10], 0x200000
jmp 0x405e89
mov eax, dword [0x4d7c78]
cmp eax, dword [ebp - 0x18]
je 0x405e89
push eax
call esi
test eax, eax
je 0x405e89
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405e89
mov eax, dword [0x4d7c7c]
cmp eax, dword [ebp - 0x18]
je 0x405e89
push eax
call esi
test eax, eax
je 0x405e89
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4d7c74]
call esi
test eax, eax
je 0x405ea5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405ea7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x41d670
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x41d692
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41d699
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41d688
mov eax, 1
add ebx, ebx
jne 0x41d6ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41d6a0
jne 0x41d6bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d6a0
xor ecx, ecx
sub eax, 3
jb 0x41d6d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41d742
mov ebp, eax
add ebx, ebx
jne 0x41d6db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41d6e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41d70c
inc ecx
add ebx, ebx
jne 0x41d6f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41d6ed
jne 0x41d709
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d6ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41d72c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41d71d
jmp 0x41d68e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41d72c
add edi, ecx
jmp 0x41d68e
pop esi
mov edi, esi
mov ecx, 0x701
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41d74a
cmp byte [edi], 7
jne 0x41d74a
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 eax, ebx
loop 0x41d74f
lea edi, [esi + 0x1b000]
mov eax, dword [edi]
or eax, eax
je 0x41d7c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e8f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e998]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41d77c
mov ecx, edi
jns 0x41d7ab
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 + 0x1e99c]
or eax, eax
je 0x41d7c1
mov dword [ebx], eax
add ebx, 4
jmp 0x41d799
call dword [esi + 0x1e9a0]
popal
jmp section.UPX0
Function at 0x40fe71
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, 0x4c890a48
and al, 0x4c
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
inc edx
or byte [ebx - 0x7472f3bf], cl
xor al, 1
add byte [eax], al

Function at 0x410c07
Capabilities:
Encode data using xor

Disassembly:
add dword [eax], eax
add byte [eax], al
jne 0x71cc0e75
adc al, 0x25
and dword [edx + 1], 0x83f08b00
pushfd
inc ebp
je 0x410bf3
dec esp
call 0x4273bd
mov esi, eax
and dword [ecx + 0x6afff909], 1
push 0xffffffffffffffe4
push 0x7a
jmp 0xe9495b1e
add ecx, dword [ebx - 0x7ddaeb8f]
bound eax, qword [ecx]
add byte [ebp - 0x20], dl
invalid
push dword [ebp + edx*2 - 0x20]
lea eax, [esp + edx*2 + 0x1008b03]
add byte [eax], al
add byte [ebx + 0x174a83d], al
add byte [ebx + 0x45ed83f0], cl
je 0x410c46
dec esp
call fcn.00426eaf
push ebp
loopne 0x410bb8
mov al, byte [0x708b038b]
mov edi, 0x46c71edd
add byte [ebp + ebx*2 - 0x80], dh
cmp eax, 0x1741c
mov esi, dword [ebp + 0x54]
push esp
mov esi, dword [edi + 0xf02044c]
xor byte [eax + 0xf02044c], 0xc6
add eax, 0x1741c
add dword [esi - 0xb44fff9], edi
jb 0x24558fc
shufps xmm0, xmmword [0x1741c], 1
mov esi, 0xf4bb0007
add byte [eax], al
add byte [eax - 0x70000000], cl
or dword [eax + 1], 0
xor eax, dword [edx]
add byte [ebx], dh
test bh, 0x44
or byte [esp + 0x6c], dh
jb 0x410c40
pop es
mov byte [eax], ah
push edx
add edi, edi
push edi
call fcn.00437303
xor esi, esi
mov dword [esp + eax*2 - 0x5e], 0x1741c
mov ecx, dword [esp - 0x1c]
test bh, bh
rcl byte [ebp + edi*8 - 1]
call dword [eax + 2]
cmp byte [0x167bc], 0x8b
invalid

Function at 0x413ccb
Capabilities:
Encode data using xor

Disassembly:
dec esp
mov dword [edi + 0x46c71e40], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x46c71e48], eax
je 0x413ce6
mov eax, dword [esi + 0x54]
mov dword [edi + 0x5350fff8], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [edi - 0x74f78675], eax
call 0x60470d77
pushal
je 0x413d44
jo 0x413cf5
invalid
dec dword [ebx - 0x38ffff79]
test byte [ebp + 0x4689384e], cl
sub byte [ebx + 0x1f087], cl
add byte [ecx - 0x7874d3ba], cl
invalid

Function at 0x42a601
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ah, 0x59
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 0x42a63d
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x42a635
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x42a63f
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x42a625
xor eax, eax
les eax, [ebx + ecx*4]
pop ebp
ret
Function at 0x4693c4
Capabilities:
Encode data using xor

Disassembly:
add ecx, dword [ecx + 0xf8b0447]
mov eax, dword [edi + ecx*4 + 8]
cmp eax, dword [edi + 0x4c]
jne 0x4693f2
push 0x44
push 0x24
pop eax
sub eax, ecx
lea eax, [edi + eax*4]
push eax
lea eax, [edi + 8]
push eax
call 0x8c4217b4
inc ebp
adc byte [esp + eax*2], cl
and al, 0x75
push ecx
fldz
jmp 0x469451
mov eax, dword [edi + 0x200000d4]
sub eax, 0
je 0x469434
dec eax
je 0x46941e
mov dword [ebp - 4], esi
fild dword [ebp - 4]
add byte [eax], al
jns 0x469410
fadd qword [0x4bbac8]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x4bbaa0]
jmp 0x469451
mov eax, esi
shr esi, 0xc
shl eax, 0x14
or esi, 0x3ff00000
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
jmp 0x469448
mov eax, esi
shr esi, 0xc
shl eax, 0x14
or esi, 0x3ff00000
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
fld qword [ebp - 8]
fsub qword [0x4a4ba8]
pop edi
jmp 0x46946f
dec ebp
and bh, ch
call [esi + 0x3d]
cmp dword [ebp + 0x57cfe00], 0xffffffb8
push eax
lea ecx, [ebp - 0x10]
pop ebx
adc eax, 0x8248f658
test byte [eax - 0x7e], 0x81
in al, dx
fmul qword [ebp - 0x72720fb3]
and al, 0xff
push 0x58
push esi
push edi
call 0x344292d9
cmp dword [ebp + 0x10], esi
lea ecx, [ebp + 0x586aff24]
call 0x1646931f
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x4694c7
or al, 0x8d
test dword [ecx + 0x51], edx
push ecx
push ecx
lea ecx, [ebp + 0x586aff24]
call 0x58b19457
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x4694b1
pop edi
push 0x3b
mov edi, eax
pop ebx
je 0x4694ea
or byte [edx + 0x11b8b87e], al
cld
inc esi
mov eax, 0x46fc11b8
call 0xec431c80
or al, 0x8b
inc edi
xor edi, edi
xor eax, eax
mov ebx, ecx
mov dword [ebp + 0x84dfb54], edi
push 0x4d8d004b
mov dword [ebp - 0x2c], ebx
or byte [eax + 0x4b], ch
add byte [ebp - 0x2ba276b3], cl
mov dword [ebp + 0x84dfb58], edi
mov dword [ebp + 0x84dfb5c], edi
mov dword [ebp + 0x84dfb60], edi
mov dword [ebp + 0x84dfb64], edi
mov dword [ebp + 0x84dfb68], edi
mov dword [ebp + 0x84dfb6c], edi
mov dword [ebp + 0x84dfb70], edi
mov dword [ebp - 0x74aa048c], edi
mov word [ebp - 0x74aa0488], ax
mov word [ebp + 0x2f760880], ax
mov dword [ebp - 0x5c], edi
call 0x754210e6
adc al, 0x48
jne 0x46958a
in al, dx
call 0xec40547e
jmp 0x4694d2
cmp edi, 0xf
test dword [ecx - 0x720fb273], ebp
test dword [esp + esi*8 - 1], esp
lea edx, [eax - 0x73]
test dword [esi + ebp*8 - 1], ecx
lea edx, [eax - 0x73]
test dword [eax + esi*8 - 1], edx
lea edx, [eax - 0x73]
invalid

Function at 0x48cbb0
Capabilities:
Encode data using xor

Disassembly:
sti
sbb al, 0xe8
mov ebp, 0x33fff7b4
fisttp dword [ebp + 0x4318dc68]
mov esi, 0x954c7270
push ebx
push eax
lea eax, [eax + 4]
xor byte [ebx + 0x75e850ce], cl
sal bh, 0xf9
dec dword [ecx - 0x42effd15]
invalid
adc byte [ebp - 0x76000871], bh
and al, 0x2c
sbb al, ch
jo 0x48cb8b
idiv ecx
or dword [esp + 0x18], 0xffffffff
mov dword [esp + ebp], esp
sub byte [eax - 0x54], ch
mov eax, 0x5c890c4b
and al, 0x28
call fcn.0040804f
push ebx
lea ebp, [eax - 0x24]
sbb al, 0x8b
into
push eax
lea eax, [eax + 4]
add al, 0x30
push eax
call 0xfa408c21
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x414b40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x414b62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414b58
mov eax, 1
add ebx, ebx
jne 0x414b7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414b70
jne 0x414b8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414b70
xor ecx, ecx
sub eax, 3
jb 0x414ba0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414c12
mov ebp, eax
add ebx, ebx
jne 0x414bab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414bb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414bdc
inc ecx
add ebx, ebx
jne 0x414bc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414bbd
jne 0x414bd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414bbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414bfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414bed
jmp 0x414b5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414bfc
add edi, ecx
jmp 0x414b5e
pop esi
mov edi, esi
mov ecx, 0x43b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414c1a
cmp byte [edi], 0
jne 0x414c1a
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 0x414c1f
lea edi, [esi + 0x12000]
Function at 0x10001970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021f6b
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x1002d230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x1002fcc0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100019a3
sub ecx, edx
cmp ecx, 1
jae 0x10001b07
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 0
push eax
push 0x20019
push 0
push str.SoftwareFZip
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001ada
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
mov dword [ebp - 0x224], 1
call fcn.1000f480
add esp, 0xc
mov dword [ebp - 0x228], 0x20a
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push str.ChnID
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10001ace
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x25c]
call fcn.10002e40
push 0xfde9
lea eax, [ebp - 0x25c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1000a990
add esp, 0xc
cmp dword [ebp - 0x248], 8
jb 0x10001a90
push dword [ebp - 0x25c]
call fcn.1000e386
add esp, 4
cmp dword [ebp - 0x22c], 0x10
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push eax
push 0x105
push 0x1002fcc0
call fcn.1000e42c
add esp, 0xc
cmp dword [ebp - 0x22c], 0x10
jb 0x10001ace
push dword [ebp - 0x240]
call fcn.1000e386
add esp, 4
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x1002fcc0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001ae2
sub ecx, edx
cmp ecx, 1
jae 0x10001b07
push str.79999
push 0x105
push 0x1002fcc0
call fcn.1000e42c
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000dbb7
mov esp, ebp
pop ebp
ret
Function at 0x1000aae0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x1002d230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push 0x18e
mov dword [esi], eax
xor eax, eax
push eax
mov word [ebp - 0x194], ax
lea eax, [ebp - 0x192]
push eax
call fcn.1000f480
add esp, 0xc
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1000dbb7
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b7b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10022c20
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x1002d230]
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 + 0x38]
mov eax, 2
mov dword [ebp - 4], 1
mov word [ebp - 0x424], ax
xorps xmm0, xmm0
movzx eax, word [ecx]
push eax
movq qword [ebp - 0x422], xmm0
mov dword [ebp - 0x41a], 0
mov word [ebp - 0x416], 0
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp + 0x1c], 0x10
mov word [ebp - 0x422], ax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x1000b96b
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x420]
push eax
call fcn.1000ee30
add esp, 0xc
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
lea eax, [ebp - 0x424]
push 0x10
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1000b96b
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
push 0
push dword [ebp + 0x30]
cmovae ecx, dword [ebp + 0x20]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_send]
push 0x400
lea eax, [ebp - 0x413]
mov byte [ebp - 0x414], 0
push 0
push eax
call fcn.1000f480
mov ebx, dword [sym.imp.WS2_32.dll_recv]
lea eax, [ebp - 0x414]
add esp, 0xc
push 0
push 0x400
push eax
push edi
call ebx
test eax, eax
jle 0x1000b8f4
lea ecx, [ecx]
push eax
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
call fcn.10006090
push 0
push 0x400
lea eax, [ebp - 0x414]
push eax
push edi
call ebx
test eax, eax
jg 0x1000b8d0
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push 4
push 0
push str._r_n_r_n
mov ecx, esi
call fcn.1000b090
cmp eax, 0xffffffff
je 0x1000b96b
push dword [esi + 0x10]
add eax, 4
mov ecx, esi
push eax
lea eax, [ebp - 0x43c]
push eax
call fcn.1000aaa0
mov edi, eax
cmp esi, edi
je 0x1000b954
cmp dword [esi + 0x14], 0x10
jb 0x1000b93b
push dword [esi]
call fcn.1000e386
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push edi
mov byte [esi], 0
call fcn.10004cb0
cmp dword [ebp - 0x428], 0x10
jb 0x1000b96b
push dword [ebp - 0x43c]
call fcn.1000e386
add esp, 4
cmp dword [ebp + 0x1c], 0x10
jb 0x1000b97c
push dword [ebp + 8]
call fcn.1000e386
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x1000b99f
push dword [ebp + 0x20]
call fcn.1000e386
add esp, 4
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.1000dbb7
mov esp, ebp
pop ebp
ret 0x34
Function at 0x1000b9e0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x1002d230]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
test esi, esi
jne 0x1000ba10
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000dbb7
mov esp, ebp
pop ebp
ret
push edi
push 0x228
lea eax, [ebp - 0x240]
mov dword [ebp - 0x244], 0x22c
push 0
push eax
call fcn.1000f480
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000ba54
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000dbb7
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x244]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1000bb2e
lea esp, [esp]
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.1000fd85
add esp, 8
test eax, eax
je 0x1000ba9a
lea eax, [ebp - 0x244]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000ba70
jmp 0x1000bb2e
cmp dword [ebp + 0xc], 0
mov ebx, 1
je 0x1000bb2e
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
push str.SeShutdownPrivilege
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push 0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x23c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000dbb7
mov esp, ebp
pop ebp
ret

Function at 0x1000bc00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
pop ebp
ret