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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1008878b

Function at 0x10091ea0
Capabilities:
Parse pe header

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

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x4094a4
Capabilities:
Encode data using xor

Disassembly:
ret 0x501f
scasb al, byte es:[edi]
cmpsb byte [esi], byte es:[edi]
insd dword es:[edi], dx
les edx, [ecx]
add eax, 0xeedd5d88
loope 0x40948e
adc eax, 0xdd54c203
fld dword [edi + 0x35]
test al, 0x4c
pop ebp
ror byte [ecx], cl
or dword [ebp + esi*4 - 0x7b8ea05f], esp
fstp st(1)
inc edi
xor eax, 0xd25d4ca8
or dword [ecx], ecx
movsb byte es:[edi], byte [esi]
mov ch, 0xa1
pop edi
jno 0x4093f3
cmp dword [ecx + 0x4e], ebx
std
push ecx
imul edi, dword [ecx + 0x51], 0xffffff99
xor al, 0xf9
add eax, 0x75d98d0a
shl dword ss:[eax - 0x18], 1
dec edx
call 0xd691956a
rcl byte [edi], 0xf5
nop
jbe 0x4094a7
sbb byte [eax], dl
test dword [ecx], esi
cmpsd dword [esi], dword es:[edi]
jmp 0x4094b5
adc byte [ebp + 0x20eba731], al
or byte [esi], 0xb1
fnstsw word [eax - 0x2c]
push 0xffffffffffffffba
ror byte [eax + 9], 0x77
jno 0x4094b8
loopne 0x409509
loopne 0x409509
aam 0xba
inc eax
jge 0x40945f
mov edx, 0x99b47d40
cdq
lds esp, [esi + 0x6a]
std
inc edx
add dword [ecx - 0x1f7ffe7f], ebp
push es
and al, 6
dec eax
inc esp
test edx, ebx
or dh, byte [edx + 0x13ebd53a]
jno 0x40944f
pop ecx
adc dl, byte [ebp - 0x5c]
xor eax, 0x110ecb3
fldcw word [ecx + 0x3b18b4d]
jae 0x409551
and dword [esi + 0x45d169a6], edi
out dx, eax
daa
adc esp, esi
rol dword [edi - 1], 1
and al, 0xe1
mov ebp, 0x3113192
push ebx
cld
add edx, dword [ebx - 4]
daa
or ah, byte [ebp + edi*8 - 0x1bf0c2ce]
xor byte [eax - 0x67765ee3], dh
and dword [ecx + eax + 0x1d], esp
mov eax, dword [0x212844e4]
stc
jne 0x40951e
add bl, dl
or al, byte [ecx + ecx*8 + 0x61]
ja 0x4094d1

Function at 0x4204a4
Capabilities:
Encode data using xor

Disassembly:
fdiv dword [eax - 0x24]
pushal
xchg esp, eax
dec eax
sub esp, 0xac79542c
xchg byte [edi + edx*4 - 0x474293b0], ah
salc
push ecx
pop ebx
fdivr dword [edx]
test dword [edi + 5], 0xec9858dd
dec ecx
popfd
push eax
push ebp
pop es
sub al, 0xb8
leave
mov al, byte [0x88a499b4]
xchg ebx, eax
jb 0x420480
xchg esp, eax
push 0xae717bdc
invalid
clc
add dl, byte [eax + 0x74b9800c]
sahf
invalid
call 0x2adb2484
jecxz 0x4204df
jne 0x420414
test eax, 0x39cf6fe8
sub dword [edi + 0x18], eax
clc
call 0x297bd3df
inc edi
sbb al, bh
ja 0x420457
jp 0x420456
add dword [ecx - 0x5a], ecx
dec esi
imul ebx, eax, 0x58
xor byte [edx - 0x48], cl
lea ecx, [ecx + ebp*4 + 0x7e]
mov eax, 0x7ea94c8d
daa
jle 0x420469
push ecx
or ch, bh
mov ch, 0xb4
cmp ecx, eax
aam 0x61
xor al, al
sub dword [edi], ecx
jmp 0x420512
jle 0x420462
leave
shr dword [edx - 0x56], 1
and ah, byte ss:[ebp - 0x38237199]
cdq
leave
imul edx, dword [bx + si - 0x5bc4], 0x38
stosb byte es:[edi], al
adc eax, 0x5d3f21d
invalid
movsd dword es:[edi], dword [esi]
rcl byte [edi + 0x25]
Function at 0x4205c4
Capabilities:
Encode data using xor

Disassembly:
sub esp, ebx
pushal
push ecx
and byte [esi], dh
ret
mov eax, 0x48048962
retf
pushfd
js 0x420565
push edi
jns 0x42055a
xchg edi, eax
and byte [ebx + 0x199f2c2b], cl
invalid
mov al, 0xfd
or al, byte [edi - 0x3b]
adc eax, 0x5c2a7b98
and dword [edi + 0x3f], ebx
or byte [eax + ecx*4 + 0x5a6b8bdb], cl
imul ebx, dword [edx - 0x78], 0xffffffb8
xor dh, 0xc6
jl 0x42057a
imul ebx, dword [edx - 0x78], 0xffffffb8
xor dh, 0xc6
jl 0x42057a
arpl word [ebx + 0x45], bx
jne 0x420606
enter 0x2db9, 0x51
or byte [ecx - 0x116776b6], bl
enter 0x79f5, 0x73
rcr byte [edi - 0xe], 1
leave
dec edx
mov dword [eax + 0x79f5c8ee], ebx
jae 0x4205b2
pop edi
leave
lahf
imul ecx, dword [eax + 0x220bf020], 0x5d
leave
mov edi, 0x58d4c8c8
xor ah, byte [edi]
adc al, 0xd9
dec eax
cmpsb byte [esi], byte es:[edi]
push eax
jp 0x4205d9
aaa
pop ecx
xor byte [esi - 0x778a7c88], al
sub eax, 0x70b32fb5
das
mov bl, 0x70
mov ecx, 0x4baf8e72
test al, 0xc0
inc eax
mov ebx, 0x1bc0b9
push dword [ebp - 0x6a]
sbb ch, bh
invalid

Function at 0x4237d4
Capabilities:
Encode data using xor

Disassembly:
je 0x423779
and al, 0xb6
in al, 0xa6
mov byte [0xc0d5e6f8], al
jecxz 0x423761
leave
cmp dword [eax], ebp
invalid

Function at 0x45677b
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x5f279ec3
lodsd eax, dword [esi]
pop esi
jbe 0x4567d7
imul dh
add ebx, dword [ecx - 0x7a8379f]
dec ebx
popal
enter 0xfffffffffffff857, 0x4b
scasd eax, dword es:[edi]
adc esp, dword [ecx + edi*8]
or al, 0x7a
pop edi
inc esi
cmp edi, dword [ebx + 0x29]
insb byte es:[edi], dx
les ecx, [esi + 0x587bfdd9]
adc byte [ebx - 0x7f], al
inc edx
xor byte [ecx], bl
pop eax
push cs
jecxz 0x456794
clc
invalid
jae 0x4567eb
mov ch, 0x21
push edx
and eax, 0x89e9910d
dec edx
mov al, 0xab
inc ebp
adc dword [edi + 0x75a56694], esp
cmpsd dword [esi], dword es:[edi]
into
mov cl, 0x3c
mov bl, 0xfd
jbe 0x4567fc
mov byte [0x3365172f], al
jae 0x456860
push esp
ja 0x456789
invalid
js 0x4567f8
mov byte fs:[ebp - 0x3cd2ac27], cl
push 0x7dd911f9
add dh, dh
mov dword [0x9958c586], eax
push ds
push esp
aaa
enter 0xfffffffffffffccd, 0xffffffffffffffb4
invalid
invalid

Function at 0x468654
Capabilities:
Encode data using xor

Disassembly:
xchg edi, eax
or cl, 0xa0
xlatb
salc
mov eax, dword [0x3190b920]
pop ecx
or al, 0x90
mov byte [0x62859b0d], al
pop ebx
push edx
enter 0xffffffffffffdae8, 0xffffffffffffffb5
push es
mov dl, 0x51
xchg ecx, eax
outsd dx, dword [esi]
lds edi, [edx + 0x23d5e9c0]
mov eax, dword [0x9ec37589]
adc bh, bl
mov ebx, 0x5f53cd55
adc ah, byte [edx - 0x182e4210]
push ss
and eax, 0x3d6189b5
aam 0x48
adc bh, byte [eax]
invalid
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x402c00
pop dword [ebp - 0x18]
mov eax, 0xdc56d46a
sub eax, 0xdc16a86a
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x30d699ba
add dword [ebp - 0x28], 0x1d7bab91
mov dword [ebp - 0x24], 0x4e25ebb0
add dword [ebp - 0x24], 0xe40d6095
mov dword [ebp - 0x20], 0xc3ec40f5
add dword [ebp - 0x20], 0x88600339
mov dword [ebp - 0x1c], 0x6bb06f48
sub dword [ebp - 0x1c], 0x6bb06f48
lea eax, [ebp - 0x28]
push eax
mov eax, 0x9c1f051d
sub eax, 0x9bde8491
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xc09dc26b
sub dword [ebp - 0x28], 0x4c2b5915
mov dword [ebp - 0x24], 0x95a93fac
sub dword [ebp - 0x24], 0x543cde37
mov dword [ebp - 0x20], 0xc5e61dcd
add dword [ebp - 0x20], 0x9d894e9f
mov dword [ebp - 0x1c], 0xe61eef16
add dword [ebp - 0x1c], 0x19e110ea
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xb0f61906
add eax, 0x4f4a67ce
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x364b2
push 0
call eax
mov ecx, 0x466b
xor ebx, ebx
add ebx, eax
mov esi, 0x89d257b1
sub esi, 0x899147b1
add esi, dword [ebp - 0x18]
mov edi, 0x424ad94d
sub edi, 0x8a265ebd
xor dword [ebp - 0x10], esi
mov edx, dword [esi]
xor edx, edi
add dword [ebp - 0x14], eax
mov dword [ebx], edx
xor dword [ebp - 4], 0xcef47774
add ebx, 4
add esi, 4
loop 0x402d1e
add eax, 0xfa6e049e
add eax, 0x59307e1
xor ebx, ebx
add ebx, eax
add eax, 0xd6eb297a
add eax, 0x2914d68b
mov ecx, 0x90625620
add ecx, 0x6fdda9e0
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x401007
Capabilities:
Delete file
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x810718]
push esi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x81071c]
push edi
mov edi, dword [ebx]
xor ecx, ecx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x34], 0x9e3779b9
call fcn.00401000
mov eax, dword [0x810720]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x24], eax
mov eax, dword [0x810724]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x20
jmp 0x40105d
xor ecx, ecx
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, edi
shl eax, 4
cmp dword [0x81f974], 0xc
mov dword [ebp - 4], eax
jne 0x401087
push ecx
lea eax, [ebp - 0x38]
push eax
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov eax, dword [0x81f974]
cmp eax, 0xfa9
jne 0x4010a3
mov dword [0x81f970], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010c8
push str.xuzujamasahigomurefexob
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
and dword [0x81f8c8], 0
mov eax, dword [ebp - 8]
add eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x18], 0
mov dword [0x81f96c], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
sub esi, eax
mov dword [ebp - 0xc], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add eax, esi
mov dword [ebp - 0x1c], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
cmp dword [0x81f974], 0xb03
jne 0x401147
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0xc]
sub edi, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x34]
sub dword [ebp - 8], eax
dec dword [ebp - 0x20]
jne 0x40105b
mov dword [ebx], edi
pop edi
mov dword [ebx + 4], esi
pop esi
leave
ret
Function at 0x4074cf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80f88c]
jne 0x4074d9
repz ret
jmp fcn.0040b79f

Function at 0x40b18d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405d18
and dword [ebp - 4], 0
cmp dword [0x814964], 0
mov ebx, eax
jne 0x40b23e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b2ef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b2ef
push eax
call fcn.00405ca6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x814964], eax
call esi
push eax
call fcn.00405ca6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x814968], eax
call esi
push eax
call fcn.00405ca6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x81496c], eax
call esi
push eax
call fcn.00405ca6
pop ecx
mov dword [0x814974], eax
test eax, eax
je 0x40b23e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405ca6
pop ecx
mov dword [0x814970], eax
mov eax, dword [0x814970]
cmp eax, ebx
je 0x40b296
cmp dword [0x814974], ebx
je 0x40b296
push eax
call fcn.00405d21
push dword [0x814974]
mov esi, eax
call fcn.00405d21
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b296
test edi, edi
je 0x40b296
call esi
test eax, eax
je 0x40b28d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b28d
test byte [ebp - 0xc], 1
jne 0x40b296
or dword [ebp + 0x10], 0x200000
jmp 0x40b2cf
mov eax, dword [0x814968]
cmp eax, ebx
je 0x40b2cf
push eax
call fcn.00405d21
pop ecx
test eax, eax
je 0x40b2cf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b2cf
mov eax, dword [0x81496c]
cmp eax, ebx
je 0x40b2cf
push eax
call fcn.00405d21
pop ecx
test eax, eax
je 0x40b2cf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x814964]
call fcn.00405d21
pop ecx
test eax, eax
je 0x40b2ef
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b2f1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006e40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [edx + 0xc8]
mov eax, dword [ebx + 0x89d8]
mov ecx, dword [ebx + 0x89dc]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
and eax, esi
and ecx, edi
cmp eax, dword [ebx + 0x89d0]
jne 0x10006e81
cmp ecx, dword [ebx + 0x89d4]
jne 0x10006e81
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.10006dc0
and esi, 0xfffff000
mov eax, esi
mov ecx, edi
shrd eax, ecx, 0xc
mov dword [esp + 0x18], eax
and eax, 0xff
shr ecx, 0xc
shl eax, 5
mov dword [edx + 0xcc], 0
lea eax, [eax + ebx + 0xe10]
mov ebp, 3
mov ecx, dword [eax]
mov edx, dword [eax + 4]
and ecx, 0xfffff008
cmp esi, ecx
jne 0x10006ec7
cmp edi, edx
je 0x10006eef
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
and ecx, 0xfffff008
cmp esi, ecx
jne 0x10006edb
cmp edi, edx
je 0x10006eef
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
and ecx, 0xfffff008
cmp esi, ecx
jne 0x10006f09
cmp edi, edx
jne 0x10006f09
or ecx, 0xffffffff
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
add eax, 0x2000
sub ebp, 1
jne 0x10006eb4
lea eax, [ebx + 0x6e10]
mov ebp, 3
mov edi, edi
mov ebx, 8
mov ecx, dword [eax]
mov edx, dword [eax + 4]
and ecx, 0xfffff008
cmp esi, ecx
jne 0x10006f38
cmp edi, edx
je 0x10006f60
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
and ecx, 0xfffff008
cmp esi, ecx
jne 0x10006f4c
cmp edi, edx
je 0x10006f60
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
and ecx, 0xfffff008
cmp esi, ecx
jne 0x10006f7a
cmp edi, edx
jne 0x10006f7a
or ecx, 0xffffffff
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
add eax, 0x20
sub ebx, 1
jne 0x10006f25
sub ebp, 1
jne 0x10006f20
mov ecx, esi
add ecx, 0xfffff000
mov eax, edi
adc eax, 0xffffffff
mov ebx, eax
mov edx, ecx
shrd edx, ebx, 0xc
shrd ecx, eax, 6
xor edx, ecx
push 0x100
shr ebx, 0xc
mov ebx, dword [esp + 0x18]
and edx, 0xfc0
shr eax, 6
lea eax, [ebx + edx*4 + 0xd0]
push ebp
push eax
call fcn.1006c940
shrd esi, edi, 6
xor esi, dword [esp + 0x24]
add esp, 0xc
push 0x100
and esi, 0xfc0
lea ecx, [ebx + esi*4 + 0xd0]
push ebp
push ecx
shr edi, 6
call fcn.1006c940
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10011be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [ebp + 0x24]
mov eax, dword [esi + 0x88]
inc dword [eax + 0x364]
mov eax, dword [ebp + 0x14]
push edi
mov dword [esp + 0x24], esi
test eax, eax
je 0x10011c0a
add eax, 0x10
jmp 0x10011c0d
lea eax, [ebp + 0x10]
push eax
call dword [0x14d5008]
mov eax, dword [esi + 0x70]
test eax, eax
je 0x10011c5d
jmp 0x10011c20
cmp byte [ebp + 0x6c], 0
jne 0x10011c56
cmp byte [eax + 0x6c], 0
jne 0x10011c56
mov esi, dword [eax + 0x38]
mov ecx, dword [eax + 0x28]
mov ebx, dword [eax + 0x30]
mov edi, dword [eax + 0x3c]
mov edx, dword [eax + 0x2c]
add ecx, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
mov ebx, dword [eax + 0x34]
adc edx, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x10011c20
mov eax, dword [esi + 0x70]
test eax, eax
je 0x10011c73
mov ecx, dword [ebp + 0x68]
cmp ecx, dword [eax + 0x68]
jge 0x10011c9d
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x10011c67
lea eax, [ebp + 0x78]
mov dword [eax], 0
mov ecx, dword [esi + 0x74]
mov dword [ebp + 0x7c], ecx
mov edx, dword [esi + 0x74]
mov dword [edx], ebp
mov dword [esi + 0x74], eax
cmp byte [esi + 0x56], 0
je 0x10011cb2
cmp byte [ebp + 0x56], 0
je 0x10011cb2
mov ecx, 1
jmp 0x10011cb4
mov ecx, dword [eax + 0x7c]
mov dword [ebp + 0x7c], ecx
lea ecx, [ebp + 0x78]
mov dword [ecx], eax
mov edx, dword [eax + 0x7c]
mov dword [edx], ebp
mov dword [eax + 0x7c], ecx
jmp 0x10011c8a
xor ecx, ecx
mov eax, dword [esi + 0x88]
or byte [eax + 0x368], cl
mov eax, dword [esi + 0x88]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
mov dword [esp + 4], eax
jmp fcn.10011200
Function at 0x10069f60
Capabilities:
Authenticate hmac
Check http status code

Disassembly:
add ah, byte [esi]
add dl, byte [eax]
and dword [eax], eax
dec edi
dec ebp
popal
arpl word [edx + 0x6f], si
das
inc esp
outsd dx, dword [esi]
ja 0x10069fdf
add cl, byte [ecx + 0xab]
add byte [eax], al
add cl, al
adc dword [0x6b], eax
mov fs, word [eax + eax]
add bh, ch
fmul dword [esi]
Function at 0x4031f9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403238
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403238
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403238
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403238
cmp dword [ecx + 0x74], 0xe
jbe 0x403238
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001a61b
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x1001f218
call fcn.1001bb71
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x1001a70c
cmp byte [esi + 0x49], bl
je 0x1001a70c
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x1001a650
xor al, al
jmp 0x1001a70e
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.10019d1b
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1001a6ae
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x1001a6b3
dec eax
je 0x1001a6b7
dec eax
dec eax
je 0x1001a708
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10007ace
mov al, bl
jmp 0x1001a70e
mov edx, dword [ebp - 0x2c]
jmp 0x1001a679
mov byte [esi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1001a6c3
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x1001a6ea
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1001a6d6
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call dword [sym.imp.msvcr100.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001a69c
cmp byte [esi + 0x49], 0
je 0x1001a708
test edi, edi
jne 0x1001a66b
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10016706
jmp 0x1001a66b
mov bl, 1
jmp 0x1001a69e
mov al, 1
call fcn.1001bbf4
ret

Function at 0x1001ba56
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100307e8]
jne 0x1001ba60
repz ret
jmp fcn.1001c22b

Function at 0x1001bee8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1001bef7
pop dword [ebp - 0x4c]
mov eax, 0x19592b35
sub eax, 0x9576c3e
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3bfa3
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x5395
mov edx, eax
mov ebx, 0xb99ca5ea
sub ebx, 0xa9993bea
add ebx, dword [ebp - 0x4c]
mov edi, 0x1ad9f3db
xor dword [ebp - 0x20], 0xd11b2cbb
mov esi, dword [ebx]
mov dword [ebp - 0x10], 0x219d3cca
xor esi, edi
sub dword [ebp - 0x40], 0x9669dbb7
mov dword [edx], esi
xor dword [ebp - 8], 0x19a6a430
add edx, 4
add ebx, 0x9bdd4551
add ebx, 0x6422bab3
loop 0x1001bf45
add eax, 0x14127
xor ebx, ebx
add ebx, eax
add eax, 0x55f2c639
sub eax, 0x55f2c634
mov ecx, 0x5222548c
sub ecx, 0x4222548c
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x1001c76c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10031034], 0
push esi
push edi
jne 0x1001c6e2
call fcn.1001c64e
test eax, eax
je 0x1001c727
mov eax, dword [0x10031034]
cmp eax, 1
jne 0x1001c703
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1001c727
jmp 0x1001c769
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1001c769
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1001c72b
xor eax, eax
jmp 0x1001c769
mov eax, dword [esi]
push dword [0x10031034]
call edi
mov edi, eax
test edi, edi
je 0x1001c74d
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1001c769
lea edi, [esi + 0xff0]
push esi
push dword [0x10031034]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1001c753
mov eax, esi
pop edi
pop esi
ret
jmp 0x1001c6ce