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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x45
push 0x8820
xor esi, esi
call fcn.0040107a
mov dword [ebp - 8], eax
test eax, eax
je 0x403cbf
cmp dword [ebp + 0xc], 0
lea esi, [eax + 0x208]
push ebx
lea ebx, [esi + 0x208]
push edi
lea edi, [ebx + 0x208]
lea eax, [edi + 0x8000]
mov dword [ebp - 4], eax
je 0x403c65
push 0x104
push esi
push dword [ebp + 0xc]
call fcn.00401bad
jmp 0x403c67
xor esi, esi
push 0x104
push ebx
push dword [ebp + 0x10]
call fcn.00401bad
cmp dword [ebp + 0x14], 0
je 0x403c8b
push 0x4000
push edi
push dword [ebp + 0x14]
call fcn.00401bad
jmp 0x403c8d
xor edi, edi
cmp dword [ebp + 0x18], 0
je 0x403ca5
push 0x104
push dword [ebp - 4]
push dword [ebp + 0x18]
call fcn.00401bad
jmp 0x403ca9
and dword [ebp - 4], 0
push dword [ebp + 0x1c]
push dword [ebp - 4]
push edi
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
mov esi, eax
pop ebx
push dword [ebp - 8]
call fcn.0040315f
mov eax, esi
pop esi
leave
ret 0x18

Function at 0x40420c
Capabilities:
Get file attributes

Disassembly:
push esi
push edi
push 0x1b
push dword [esp + 0x10]
or edi, 0xffffffff
call fcn.00401c9c
mov esi, eax
test esi, esi
je 0x404235
push 0x5c
push 0x2f
push esi
call fcn.00401950
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
push esi
call fcn.0040315f
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x404242
Capabilities:
Set file attributes

Disassembly:
push esi
push edi
push 0x1c
push dword [esp + 0x10]
xor edi, edi
call fcn.00401c9c
mov esi, eax
test esi, esi
je 0x40426e
push 0x5c
push 0x2f
push esi
call fcn.00401950
push dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, eax
push esi
call fcn.0040315f
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x405afd
Capabilities:
Set socket configuration

Disassembly:
lea eax, [esp + 8]
push eax
push 0x8004667e
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
ret 8

Function at 0x405e87
Capabilities:
Create udp socket

Disassembly:
push esi
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x405ecd
cmp dword [esp + 0xc], 0
je 0x405ed6
push dword [esp + 0xc]
push dword [esp + 0xc]
push esi
call fcn.00405b3f
cmp eax, 0xffffffff
jne 0x405ed6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [esp + 0x10]
push str.MyBind_Port_d__Err_d
call fcn.00401000
add esp, 0xc
push esi
call fcn.00405bf9
or esi, 0xffffffff
mov eax, esi
pop esi
ret 8
Function at 0x405f15
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x14], 0
jne 0x405f55
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0xc], eax
push esi
push dword [ebp + 0x18]
lea esi, [ebp - 0x10]
push eax
call fcn.00405b14
push 0x10
mov eax, esi
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_sendto]
pop esi
leave
ret 0x18
push dword [ebp + 0x14]
call fcn.00406744
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x405f2c
or eax, eax
jmp 0x405f51

Function at 0x405f69
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 0x10
pop esi
push esi
lea eax, [ebp - 0x14]
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x1c]
mov dword [ebp - 4], esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
test edi, edi
jle 0x405fcc
cmp dword [ebp + 0x14], 0
je 0x405fb7
push dword [ebp - 0x10]
push dword [ebp + 0x14]
call fcn.00405edc
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x405fcc
push dword [ebp - 0x12]
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
leave
ret 0x18

Function at 0x405fd4
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
jmp 0x406011
mov eax, dword [esp + 0x10]
push 0
push edi
add eax, esi
push eax
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x405ffc
add esi, eax
sub edi, eax
jmp 0x406011
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x406017
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
jg 0x405fde
jmp 0x406019
xor esi, esi
pop edi
mov eax, esi
pop esi
ret 0xc

Function at 0x4060c7
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
jmp 0x4060fd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x406110
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
sub eax, ebx
cmp eax, dword [ebp + 0x14]
jae 0x406115
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jle 0x4060df
jmp 0x406118
push 0xfffffffffffffffe
pop eax
jmp 0x406118
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x40653a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ebx, eax
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405f69
mov edi, eax
test edi, edi
jg 0x406582
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, ebx
cmp eax, 0x1388
jb 0x406551
cmp edi, 0xc
pop edi
pop esi
pop ebx
jl 0x40659e
push dword [ebp + 0xc]
call fcn.00402fc2
cmp eax, dword [ebp + 0x14]
jne 0x40659e
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
leave
ret 0x10

Function at 0x406744
Capabilities:
Resolve dns

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406783
push 0x2e
push edi
call fcn.004018c6
test eax, eax
jge 0x406771
push edi
call fcn.004065a5
mov esi, eax
cmp esi, 0xffffffff
jne 0x406783
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x406783
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov esi, dword [eax]
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x40678a
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x4067d2
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406744
push eax
lea esi, [ebp - 0x10]
call fcn.00405b14
cmp dword [ebp - 0xc], 0xffffffff
pop esi
je 0x4067d2
push 0x10
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4067db
push edi
call fcn.00405bf9
or edi, 0xffffffff
mov eax, edi
pop edi
leave
ret 8

Function at 0x406c6c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00406ac5
cmp eax, 0xc8
jne 0x406cf6
push ebx
push dword [ebp + 0xc]
call fcn.004042fc
mov ebx, eax
cmp ebx, 0xffffffff
je 0x406cf5
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x1c]
push eax
call fcn.00401f36
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401f36
sub esi, eax
jns 0x406cdf
neg esi
xor eax, eax
inc eax
cmp edi, dword [ebp + 8]
pop edi
jne 0x406cec
cmp esi, eax
jle 0x406cef
mov dword [ebp - 4], eax
push ebx
call fcn.00402dc1
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
Function at 0x4077ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
test ebx, ebx
jle 0x407851
push esi
mov esi, dword [0x410038]
test esi, esi
je 0x407850
mov ecx, dword [0x410034]
push edi
test ecx, ecx
jne 0x407829
xor edx, edx
mov dword [ebp - 8], edx
test ebx, ebx
jle 0x40784c
mov eax, 0xff
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], edx
and dword [ebp - 4], eax
xor edi, edi
add edx, ecx
mov ebx, dword [ebp + 0x10]
mov ecx, edi
shl ecx, 3
shr ebx, cl
and ebx, eax
shl ebx, 8
add ebx, dword [ebp - 4]
mov cl, byte [ebx + esi]
xor byte [edx], cl
inc edi
cmp edi, 4
jl 0x4077fe
mov edx, dword [ebp - 8]
inc edx
cmp edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
jl 0x4077f1
jmp 0x40784c
cmp ecx, dword [ebp + 0x10]
jne 0x40784f
xor edi, edi
test ebx, ebx
jle 0x40784c
mov eax, 0xff
mov ecx, dword [ebp + 8]
mov edx, edi
and edx, eax
mov dl, byte [edx + esi]
add ecx, edi
xor byte [ecx], dl
inc edi
cmp edi, ebx
jl 0x407839
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40abe6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push 0x80
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x5b
lea eax, [ebp - 0x80]
push eax
call fcn.004018c6
cmp eax, 0xffffffff
je 0x40ac1f
mov byte [ebp + eax - 0x80], 0
lea eax, [ebp - 0x80]
push eax
call fcn.00403264
cmp byte [ebp + 0xc], 0
mov eax, 0x40d1b4
je 0x40ac2f
mov eax, 0x40d198
push eax
push str.___s_
lea eax, [ebp - 0x80]
push eax
call fcn.00401994
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
leave
ret 8

Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
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 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a
Function at 0x7ffe5491
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
call 0x7ffe549c
pop edx
xor dx, dx
add edx, 0xd5e0
xor ecx, ecx
mov cl, 0x1e
xor byte [ecx + edx], 0x8a
loop 0x7ffe54aa
push dword fs:[0x24]
pop dword [edx + 0xa]
mov cl, 0xff
push edx
loop 0x7ffe54bc
mov dword [edx + 0x11], 0xffffacbb
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x1b], ecx
mov dword [edx + 0x100], ecx
mov dword [eax + 0x2c], esp
push 0
push 0
clc
push 0
push 0
and bh, 0xff
push 0x30
clc
stc
push 0x20
clc
push 0
push 0
push edx
cdq
pop edx
add edx, 0xffff7f39
nop
clc
push edx
cld
push edx
push 0
add al, 0
clc
call dword [edx + 0x820a]
clc
clc
add esp, 0x3f8
cld
xor eax, eax
inc eax
lea esp, [esp]
ret 0xc
Function at 0x1000128e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x100012e7
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
test eax, eax
je 0x100012e7
mov ebx, dword [eax + esi + 0x1c]
xor edi, edi
mov edx, dword [eax + esi + 0x20]
add ebx, esi
mov ecx, dword [eax + esi + 0x24]
add edx, esi
mov eax, dword [eax + esi + 0x18]
add ecx, esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp + 8], eax
test eax, eax
je 0x100012e7
mov eax, dword [edx + edi*4]
add eax, esi
push eax
call fcn.100012fc
pop ecx
cmp eax, dword [ebp + 0xc]
je 0x100012ee
mov edx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 8]
jb 0x100012cd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 8]
movzx eax, word [eax + edi*2]
mov eax, dword [ebx + eax*4]
add eax, esi
jmp 0x100012e9

Function at 0x1000136d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push 4
pop edi
xor eax, eax
mov dword [ebp - 0x20], 0x6e497853
push 0x10
push eax
mov dword [ebp - 0x18], eax
xor esi, esi
mov byte [ebp - 4], al
inc esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], 0x6c6c642e
push eax
mov dword [ebp - 0x14], 0x2e646970
mov dword [ebp - 0x10], 0x6c6c64
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
call fcn.100017f5
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
call dword [ebx + 0x34]
test eax, eax
je 0x100013f8
push 0x3f0d6d75
push eax
call fcn.1000128e
lea ecx, [ebp - 8]
push ecx
push 0
lea ecx, [ebp - 0x30]
push ecx
push 3
push eax
call fcn.1000133d
add esp, 0x1c
cmp eax, 0x80040111
jne 0x100014aa
cmp dword [ebp - 8], 0
jne 0x100014aa
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 2
push dword [ebx + 0xbc]
call fcn.1000133d
add esp, 0x10
test eax, eax
je 0x10001431
cmp dword [ebp - 0xc], edi
jne 0x10001431
cmp byte [ebp - 4], 0x54
jne 0x10001431
cmp byte [ebp - 3], 0x56
jne 0x10001431
cmp byte [ebp - 2], 0x4d
jne 0x10001431
cmp byte [ebp - 1], 0
je 0x100014aa
lea eax, [ebp - 0x20]
push eax
push esi
push dword [ebx + 0x68]
call fcn.1000133d
add esp, 0xc
test eax, eax
jne 0x100014aa
push eax
push eax
push dword [ebx + 0x6c]
call fcn.1000133d
push 0x12c
cdq
push 1
push dword [ebx + 0x70]
mov esi, eax
mov edi, edx
call fcn.1000133d
push 0
push 0
push dword [ebx + 0x6c]
call fcn.1000133d
cdq
add esp, 0x24
sub eax, esi
sbb edx, edi
sub eax, 0x12c
sbb edx, 0
mov ecx, edx
mov esi, edx
sar ecx, 0x1f
xor esi, eax
mov eax, ecx
xor eax, edx
sub esi, edx
sbb eax, ecx
test eax, eax
jg 0x100014aa
jl 0x1000149b
cmp esi, 0x64
ja 0x100014aa
push 0xff
call fcn.100014b4
pop ecx
test eax, eax
je 0x100014af
push 0
call dword [ebx + 0x60]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100014b4
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
rdtsc
xchg ebx, eax
rdtsc
sub eax, ebx
cmp eax, dword [ebp + 8]
jg 0x100014c8
xor eax, eax
jmp 0x100014cb
xor eax, eax
inc eax
pop ebx
pop ebp
ret
Function at 0x100014ce
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret
Function at 0x100014f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x2c], 0
push esi
push edi
push 0x6c
pop eax
mov dword [ebp - 0x28], 0x70797263
mov dword [ebp - 0x24], 0x73616274
mov dword [ebp - 0x20], 0x6c642e65
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], 0x61766461
mov dword [ebp - 0x34], 0x32336970
mov dword [ebp - 0x30], 0x6c6c642e
mov dword [ebp - 0x18], 0x6c64746e
mov dword [ebp - 0x14], 0x6c642e6c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x79726342
mov dword [ebp - 8], 0x642e7470
mov dword [ebp - 4], 0x6c6c
call fcn.100014ce
mov edi, dword [ebp + 8]
mov esi, eax
push 0xdba04d6e
push esi
mov dword [edi + 4], esi
call fcn.1000128e
push 0x69b37e08
push esi
mov dword [edi + 0x38], eax
call fcn.1000128e
push 0x7eddf788
push esi
mov dword [edi + 0x34], eax
call fcn.1000128e
push 0x4ef44e02
push esi
mov dword [edi + 0x60], eax
call fcn.1000128e
push 0x4d88535
push esi
mov dword [edi + 0x64], eax
call fcn.1000128e
push 0x73c5380c
push esi
mov dword [edi + 0x68], eax
call fcn.1000128e
push 0x2f8289
push esi
mov dword [edi + 0x6c], eax
call fcn.1000128e
push 0x11921730
push esi
mov dword [edi + 0x70], eax
call fcn.1000128e
add esp, 0x40
mov dword [edi + 0x74], eax
push 0xe2320c96
push esi
call fcn.1000128e
push 0x66dde36d
push esi
mov dword [edi + 0x78], eax
call fcn.1000128e
push 0x8f15c1aa
push esi
mov dword [edi + 0x54], eax
call fcn.1000128e
push 0x348823f9
push esi
mov dword [edi + 0x84], eax
call fcn.1000128e
push 0xebcf1895
push esi
mov dword [edi + 0x88], eax
call fcn.1000128e
push 0xe383ed75
push esi
mov dword [edi + 0x8c], eax
call fcn.1000128e
push 0xebc41515
mov dword [edi + 0x90], eax
push esi
call fcn.1000128e
push 0x4f9222cf
push esi
mov dword [edi + 0x94], eax
call fcn.1000128e
add esp, 0x40
mov dword [edi + 0x98], eax
push 0x5f363861
push esi
call fcn.1000128e
mov dword [edi + 0xb8], eax
lea eax, [ebp - 0xc]
push eax
push 1
push dword [edi + 0x34]
call fcn.1000133d
mov esi, eax
push 0x3d9f239f
push esi
call fcn.1000128e
push 0xf4c0db47
push esi
mov dword [edi + 0x9c], eax
call fcn.1000128e
push 0xf4c0db7f
push esi
mov dword [edi + 0xa0], eax
call fcn.1000128e
push 0x3bce5b97
push esi
mov dword [edi + 0xa4], eax
call fcn.1000128e
push 0xf406f984
push esi
mov dword [edi + 0xa8], eax
call fcn.1000128e
push 0x1d18cab9
push esi
mov dword [edi + 0xac], eax
call fcn.1000128e
add esp, 0x44
mov dword [edi + 0xb0], eax
push 0xd310d044
push esi
call fcn.1000128e
mov dword [edi + 0xb4], eax
lea eax, [ebp - 0x18]
push eax
push 1
push dword [edi + 0x34]
call fcn.1000133d
push 0x9fa336bf
push eax
mov dword [edi], eax
call fcn.1000128e
mov dword [edi + 0x7c], eax
lea eax, [ebp - 0x28]
push eax
push 1
push dword [edi + 0x34]
call fcn.1000133d
push 0x16093fe9
push eax
call fcn.1000128e
mov dword [edi + 0x80], eax
lea eax, [ebp - 0x38]
push eax
push 1
push dword [edi + 0x34]
call fcn.1000133d
push 0x9f6d47a8
push eax
call fcn.1000128e
add esp, 0x44
mov dword [edi + 0xbc], eax
pop edi
pop esi
leave
ret
Function at 0x1000175f
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push esi
push str.my_yh_mutex_ppopopoih
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x10001799
cmp esi, 0xffffffff
je 0x10001799
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10001799
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0xc0]
push eax
call fcn.100014f4
lea eax, [ebp - 0xc0]
push eax
call fcn.100011ad
lea eax, [ebp - 0xc0]
push eax
call fcn.1000136d
lea eax, [ebp - 0xc0]
push eax
call section..text
add esp, 0x10
pop esi
leave
ret

Function at 0x100018c6
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor edx, edx
push edi
push 0xa
pop ebx
mov eax, esi
mov edi, dword [ebp + 0x10]
div ebx
xor ecx, ecx
mov dword [ebp + 0x10], ebx
inc ecx
mov word [ebp - 0xc], 0x3303
lea eax, [esi + edi]
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], cl
mov ebx, edx
mov byte [ebp - 8], cl
mov dword [ebp - 7], 0xd83faf9
mov byte [ebp - 3], cl
cmp esi, eax
jae 0x1000192a
add esi, dword [ebp + 8]
sub ecx, dword [ebp + 8]
mov al, byte [ebp + ebx - 0xc]
xor edx, edx
add al, 0x1f
inc ebx
xor byte [esi], al
lea eax, [ecx + esi]
div dword [ebp + 0x10]
inc esi
neg edx
sbb edx, edx
and ebx, edx
sub edi, 1
jne 0x1000190d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001bdb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x40
xor edi, edi
push edi
push ebx
call fcn.100018c6
mov esi, dword [ebx + 0x3c]
push 0x40
push edi
push ebx
mov dword [ebp + 0xc], esi
call fcn.100017f5
push 0xf2
lea eax, [esi + 2]
push eax
push ebx
call fcn.100018c6
mov eax, dword [esi + ebx + 0x34]
add esp, 0x24
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], edi
je 0x10001d05
mov esi, dword [ebp + 8]
push 4
push 0x3000
push 0x44
push edi
push 4
push dword [esi + 0x74]
call fcn.1000133d
push 0x44
mov edi, eax
push 0
push edi
call fcn.100017f5
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x1c], eax
mov dword [edi + 0xc], edx
mov dword [edi + 8], edx
lea ecx, [eax + ebx]
mov dword [edi + 0x14], edx
mov dword [edi + 0x40], esi
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x24], eax
movzx eax, word [ecx + 6]
mov dword [edi + 0x20], eax
movzx eax, word [ecx + 0x14]
mov dword [edi + 0x10], eax
mov dword [edi], ecx
mov eax, dword [ecx + 0xa0]
mov dword [edi + 0x28], eax
mov eax, dword [ecx + 0xa4]
mov dword [edi + 0x2c], eax
mov eax, dword [ecx + 0x80]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 0x84]
mov dword [edi + 0x34], eax
mov eax, dword [ecx + 0x78]
mov dword [edi + 0x38], eax
mov eax, dword [ecx + 0x7c]
mov dword [edi + 0x3c], eax
lea eax, [ecx + 2]
mov esi, dword [ecx + 0x38]
push 0xf2
push edx
push eax
call fcn.100017f5
push edi
push esi
push ebx
call fcn.100019fa
mov ebx, dword [ebp + 0x14]
add esp, 0x3c
mov eax, ebx
sub eax, dword [ebp - 4]
je 0x10001cdd
push eax
push edi
call fcn.10001aca
pop ecx
pop ecx
push edi
call fcn.1000192f
pop ecx
test eax, eax
je 0x10001d05
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10001d01
push 0
xor esi, esi
add eax, ebx
inc esi
push esi
push ebx
call eax
test eax, eax
je 0x10001d05
mov dword [edi + 0x14], esi
mov eax, edi
jmp 0x10001d07
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100056fb
Capabilities:
Parse pe header

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