joyce8/EMBER2024-capa huggingface dataset:
Function at 0x36a1400
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x48]
push ebx
push ebp
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
push edi
mov dword [esp + 0x14], ecx
movzx ebx, word [ecx + 0x14]
add ebx, 0x3c
add ebx, ecx
cmp dword [esp + 0x5c], 0
je 0x36a1449
mov edx, dword [ecx + 0xf8]
test edx, edx
je 0x36a1449
mov esi, dword [ecx + 0x50]
cmp edx, esi
jae 0x36a1449
mov eax, dword [ecx + 0xfc]
add eax, edx
mov dword [esp + 0x5c], 1
cmp eax, esi
jb 0x36a1451
mov dword [esp + 0x5c], 0
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [ecx + 6]
jae 0x36a1590
mov esi, dword [0x100f5094]
jmp 0x36a1470
mov edi, dword [ebx - 0x18]
add edi, dword [esp + 0x58]
mov eax, dword [ebx]
mov ebp, dword [ebx - 0x1c]
test al, 0x40
jne 0x36a14bd
test al, al
jns 0x36a14bd
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], edi
push eax
push 4
push ebp
push edi
mov dword [esp + 0x38], ebp
call esi
push ebp
push edi
mov dword [esp + 0x28], eax
call dword [0x1011f44c]
cmp dword [esp + 0x20], 0
je 0x36a14bd
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
call esi
mov ecx, dword [ebx]
mov eax, ecx
test eax, 0xe0000000
jne 0x36a14da
test al, 0x20
je 0x36a14d1
or eax, 0x60000000
test al, 0xc0
je 0x36a14da
or eax, 0xc0000000
cmp dword [esp + 0x5c], 0
je 0x36a14f0
test ecx, 0x20000000
je 0x36a14f0
mov eax, ecx
and eax, 0x7fffffff
mov esi, eax
mov dword [esp + 0x30], 1
shr esi, 0x1c
mov edx, 0
not esi
mov dword [esp + 0x34], 0x10
and esi, 1
mov dword [esp + 0x40], 2
mov ecx, 0x40
mov dword [esp + 0x44], 0x20
setne dl
test esi, esi
mov esi, 0x80
cmovne ecx, esi
mov esi, dword [0x100f5094]
mov dword [esp + 0x3c], ecx
lea edx, [edx*4 + 4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], edx
mov edx, eax
push ecx
mov ecx, eax
shr edx, 0x1e
shr eax, 0x1d
and edx, 1
shr ecx, 0x1f
and eax, 1
lea ecx, [ecx + edx*2]
lea eax, [eax + ecx*2]
push dword [esp + eax*4 + 0x34]
push ebp
push edi
call esi
mov eax, dword [esp + 0x14]
add ebx, 0x28
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
movzx eax, word [eax + 6]
cmp edx, eax
jl 0x36a1470
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8
Function at 0x36ed430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword fs:[0x18]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x30]
push edi
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, eax
mov dword [esp + 0x18], eax
movzx ebx, word [esi + 0x2c]
mov di, bx
shr di, 1
cmp di, 9
jbe 0x36ed46c
mov eax, ebx
shr eax, 1
jmp 0x36ed471
mov eax, 9
mov ebp, dword [esi + 0x30]
mov edx, 0x10106df0
push eax
mov ecx, ebp
call fcn.036ed600
add esp, 4
test eax, eax
jne 0x36ed56b
cmp di, 5
jbe 0x36ed498
mov eax, ebx
shr eax, 1
jmp 0x36ed49d
mov eax, 5
push eax
mov edx, 0x10112888
mov ecx, ebp
call fcn.036ed600
add esp, 4
test eax, eax
jne 0x36ed56b
mov esi, dword [esi]
mov eax, dword [esp + 0x18]
cmp dword [esi], eax
jne 0x36ed456
xor ebx, ebx
mov edx, 0x1010e610
mov ecx, ebx
call fcn.036ed6b0
mov esi, eax
mov edx, 0x101128a0
lea eax, [esp + 0x28]
mov ecx, ebx
push 0x10107160
push eax
call fcn.036ed6b0
call eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0
call esi
mov ecx, dword [esp + 0x20]
mov edx, 0x101128b8
call fcn.036ed6b0
mov ecx, dword [esp + 0x20]
mov edx, 0x101128c8
mov dword [esp + 0x24], eax
call fcn.036ed6b0
mov ebx, dword [esp + 0x1c]
mov ebp, eax
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x14], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x80]
test ecx, ecx
je 0x36ed5a4
mov eax, dword [ecx + edx + 0xc]
lea edi, [ecx + edx]
mov dword [esp + 0x18], edi
test eax, eax
je 0x36ed5a4
add eax, edx
push eax
call dword [esp + 0x28]
mov esi, dword [edi + 0x10]
mov ebx, eax
mov edx, dword [esp + 0x14]
add esi, edx
mov eax, dword [edi]
mov edi, esi
test eax, eax
je 0x36ed55e
lea edi, [eax + edx]
mov eax, dword [edi]
test eax, eax
je 0x36ed58e
jns 0x36ed573
movzx eax, ax
jmp 0x36ed578
mov ebx, dword [esi + 0x18]
jmp 0x36ed4c1
add eax, 2
add eax, edx
push eax
push ebx
call ebp
mov edx, dword [esp + 0x14]
add edi, 4
mov dword [esi], eax
add esi, 4
mov eax, dword [edi]
test eax, eax
jne 0x36ed564
mov edi, dword [esp + 0x18]
add edi, 0x14
mov dword [esp + 0x18], edi
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x36ed541
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x36ed5d8
push eax
call dword [0x100f50a8]
push 0x1010f73c
push eax
mov dword [ebx + 0x34], eax
call dword [0x100f50ac]
test eax, eax
jne 0x36ed5cd
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebx + 4]
mov edx, 1
mov ecx, ebx
push dword [ebx]
call fcn.03701110
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x36ed6b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
xor ebx, ebx
test esi, esi
je 0x36ed738
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [ecx + esi + 0x18]
add ecx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 8], eax
test eax, eax
je 0x36ed738
push ebp
push edi
mov edi, dword [ecx + 0x20]
mov ebp, esi
add edi, esi
mov eax, dword [edi]
add eax, esi
test eax, 0xffff0000
je 0x36ed709
test edx, 0xffff0000
je 0x36ed709
push ecx
mov ecx, eax
call fcn.036ed670
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, eax
jmp 0x36ed710
xor ecx, ecx
cmp eax, edx
sete cl
test ecx, ecx
je 0x36ed72a
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x24]
movzx ecx, word [eax + ebp]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov ebx, dword [eax + esi]
add ebx, esi
add edi, 4
add ebp, 2
dec dword [esp + 0x10]
jne 0x36ed6e3
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
add esp, 0xc
ret
Function at 0x36f70f0
Capabilities:
Enumerate pe sections

Disassembly:
movzx eax, word [ecx + 0x14]
push ebx
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
xor ecx, ecx
push esi
xor esi, esi
push edi
mov edi, edx
cmp cx, bx
jae 0x36f7129
jmp 0x36f7110
mov edx, dword [eax + 0xc]
cmp edx, edi
ja 0x36f7120
mov ecx, dword [eax + 8]
add ecx, edx
cmp ecx, edi
ja 0x36f712f
inc esi
add eax, 0x28
cmp si, bx
jb 0x36f7110
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [eax + 0x14]
sub eax, edx
add eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x3708eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x44
push ebx
mov dword [esp + 0xc], edx
mov ebx, ecx
push esi
xor edx, edx
push edi
test ebx, ebx
je 0x3708f27
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, ebx
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x78]
add edi, ebx
cmp dword [edi + 0x18], edx
jbe 0x3708f27
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x20]
lea eax, [eax + esi*4]
mov ecx, dword [eax + ebx]
add ecx, ebx
test ecx, 0xffff0000
je 0x3708f14
mov eax, dword [esp + 0x14]
test eax, 0xffff0000
je 0x3708f12
push eax
push ecx
call dword [0x100f5114]
mov edx, dword [esp + 0x14]
neg eax
sbb eax, eax
inc eax
jmp 0x3708f1b
mov edx, eax
xor eax, eax
cmp ecx, edx
sete al
test eax, eax
jne 0x3708f30
inc esi
cmp esi, dword [edi + 0x18]
jb 0x3708ee1
xor edx, edx
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov edx, dword [eax + ebx]
add edx, ebx
mov dword [esp + 0x14], edx
cmp edx, edi
jb 0x3708f27
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x7c]
add eax, edi
cmp edx, eax
ja 0x3708f27
xor ecx, ecx
mov eax, edx
cmp byte [edx], cl
je 0x3708f6b
lea eax, [eax + 1]
inc ecx
cmp byte [eax], 0
jne 0x3708f62
xor edi, edi
lea esi, [ecx + 1]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
test esi, esi
je 0x3708f91
mov ecx, esi
call fcn.03707780
mov edx, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
push esi
push edx
push edi
call dword [0x1011f348]
cmp byte [edi], 0
mov esi, edi
je 0x3708fac
cmp byte [esi], 0x2e
je 0x3709007
inc esi
cmp byte [esi], 0
jne 0x3708fa1
xor ebx, ebx
lea eax, [esp + 0x30]
mov dword [esp + 0x24], 0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x13]
push ecx
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], 0x1011f690
mov dword [esp + 0x2c], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x24]
mov dword [esp + 0x34], 0
push eax
mov dword [esp + 0x3c], 0xffffffff
movdqu xmmword [esp + 0x40], xmm0
call fcn.037039a0
test al, al
jne 0x370901f
jmp 0x3709027
push edi
mov byte [esi], 0
call dword [0x100f5198]
lea edx, [esi + 1]
mov ecx, eax
call fcn.03708eb0
mov ebx, eax
jmp 0x3708fae
mov eax, dword [esp + 0x40]
inc dword [eax]
mov al, 1
push edi
push 1
push dword [0x1011f2ec]
mov byte [esp + 0x58], al
call dword [0x100f5100]
cmp byte [esp + 0x4c], 0
je 0x370907e
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 0x10]
dec dword [eax]
jne 0x370907e
mov eax, dword [esi + 0x10]
push 0
mov dword [eax], 0
push dword [esi + 8]
call dword [0x100f528c]
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
jle 0x370907e
push eax
call dword [0x100f5290]
mov eax, dword [esi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x14d0fa28
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], ebx
call dword [0x14d12300]
test eax, eax
je 0x14d0fb16
cmp dword [ebp - 0xc], 0xc8
jne 0x14d0fb16
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [0x14d12158]
mov esi, eax
cmp esi, 0xffffffff
je 0x14d0fb16
mov byte [ebp - 1], bl
push ebx
push dword [ebp + 0x10]
call dword [0x14d12150]
test eax, eax
je 0x14d0fabc
lea eax, [ebp - 8]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call dword [0x14d122ec]
test eax, eax
jne 0x14d0fac0
mov byte [ebp - 1], 1
cmp dword [ebp - 8], ebx
je 0x14d0faf0
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [0x14d12190]
test eax, eax
je 0x14d0fae7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
je 0x14d0faeb
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
je 0x14d0fa91
push esi
call dword [0x14d121a0]
push esi
call dword [0x14d12140]
cmp byte [ebp - 1], bl
je 0x14d0fb0c
push dword [ebp + 0xc]
call fcn.14d0eab6
pop ecx
xor eax, eax
cmp byte [ebp - 1], bl
sete al
jmp 0x14d0fb18
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x10001060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call fcn.1000106f
Function at 0x101ad3d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101dcbe0], 0
mov byte [0x101dcbe4], 0
mov edi, dword [0x101dcbd8]
add edi, 0xfffff6be
mov dword [0x101dcbd4], edi
mov dword [0x101dcbdc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101ad4f5
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101dcbe8], 0
mov dword [0x101dcbd8], 0x526
mov edi, dword [0x101dcbe0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101dcbe8], esi
mov dword [0x101dcbd8], 0x253a
mov eax, esi
cdq
idiv ecx
mov dword [0x101dcbe0], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101dcbe4], cl
mov dword [0x101dcbd4], 0x179b
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov esi, dword [0x101dcbd4]
add esi, 0xffffe180
mov dword [0x101dcbd4], esi
mov cl, byte [0x101dcbe4]
mov esi, dword [0x101dcbe0]
mov byte [ebx + esi], cl
mov esi, dword [0x101dcbdc]
add esi, 1
mov dword [0x101dcbdc], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x101ad422
jmp 0x101ad527
mov dword [0x101dcbdc], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x101ad422
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101dcbd8], 0x1057
mov eax, dword [0x101dcbdc]
add eax, 1
mov dword [0x101dcbdc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101ad4f5
jmp 0x101ad4e1
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ada00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x34
mov dword [ebp - 8], 0
mov dword [0x101dcbd4], 0x114c
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [0x101dcbd8], 0x255
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
jmp 0x101adb2d
xor eax, eax
mov dword [0x101dcbd8], 0xb65
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
je 0x101adad3
jmp 0x101adb9f
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
je 0x101ada4a
jmp 0x101adb9f
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
je 0x101adb6e
jmp 0x101adb9f
mov eax, dword [ebp - 0x24]
add eax, 0x1fb
mov dword [0x101dcbd4], eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff7
mov dword [ebp - 0x28], eax
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2], 0x64
mov dword [ebp - 0x20], eax
je 0x101ada86
jmp 0x101adb9f
xor eax, eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffdd9
mov dword [0x101dcbd4], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
je 0x101adaa3
jmp 0x101adb9f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov dword [0x101dcbd4], eax
mov dword [0x101dcbd8], 0x1c19
mov esi, dword [ebp - 0x14]
cmp word [esi + ecx*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
je 0x101ada6d
jmp 0x101adb9f
mov eax, dword [ebp - 0x18]
mov ecx, 0x17ef
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ecx
je 0x101adafb
mov eax, 0x1b2b
mov ecx, dword [ebp - 0x34]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], ecx
jl 0x101adb2d
jmp 0x101adafb
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x36], dx
xor eax, eax
mov cx, word [ebp - 0x36]
cmp cx, 0x6c
mov dword [ebp - 0x20], eax
jne 0x101adb9f
mov eax, 1
mov dword [0x101dcbd4], 0xff8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add esp, 0x34
pop esi
pop ebp
ret
Function at 0x101adbb0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov edx, dword [0x101dcbd8]
add edx, 0xfffff095
mov dword [0x101dcbd4], edx
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.101ad540
lea ecx, [0x101adf20]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x68], edx
mov dword [esp + 0x7c], 0x124000
mov edx, dword [0x101dcbc0]
mov dword [esp + 0x5c], edx
mov edx, dword [0x101dcbc4]
mov dword [esp + 0x38], edx
mov edx, dword [0x101dcbc8]
mov dword [esp + 0x60], edx
mov edx, dword [0x101dcbcc]
mov dword [esp + 0x4c], edx
mov edx, dword [0x101dcbd0]
mov dword [esp + 0x70], edx
mov dword [0x101dcbd8], 0x207b
mov dword [0x101dcbd4], 0x202a
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x101adc6c
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
and eax, 0xfffff000
mov dword [0x101dcbd8], 0x1067
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x101adc48
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jne 0x101adc48
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov dword [0x101dcbd8], 0x336
mov dword [0x101dcbd4], 0xa55
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x48], eax
call fcn.101ada00
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x101add01
lea eax, [esp + 0x38]
mov dword [0x101dcbd4], 0x1bcd
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101ae2a0
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x101adda0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x101dcbdc], 0
mov dword [0x101dcbe0], 0
mov dword [0x101dcbec], 0
mov edi, dword [0x101dcbd8]
add edi, 0xfffff42c
mov dword [0x101dcbd4], edi
cmp eax, 0
sete bl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x1d], bl
mov al, byte [ebp - 0x1d]
test al, 1
jne 0x101adf11
jmp 0x101ade09
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
jmp 0x101ade1a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101dcbdc], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x101dcbe0], edx
mov dword [0x101dcbd8], 0xc7e
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101dcbe4], cl
mov dword [0x101dcbd4], 0xffffeec8
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x101dcbe4]
mov edx, dword [0x101dcbe0]
mov byte [edi + edx], cl
mov dword [0x101dcbd4], 0x13fb
mov edx, dword [0x101dcbdc]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101dcbe0]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101dcbec], ebx
mov dword [0x101dcbd4], 0xffffe559
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
xor cl, byte [edx + ebx]
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
mov dword [0x101dcbd8], 0xd2
add ebx, 1
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x3c], ebx
je 0x101adf0f
mov eax, dword [0x101dcbdc]
mov ecx, dword [0x101dcbe0]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], edx
jmp 0x101ade1a
jmp 0x101adf11
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ae090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x101dcbd4], 0x2410
mov dword [ebp - 0x10], eax
call fcn.101acdf0
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x101dcbd8], 0x336
mov dword [0x101dcbd4], 0xa55
mov esi, dword [eax + esi + 0x78]
mov dword [0x101dcbd4], 0x1f57
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101dcbd8], 0x1824
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x101ae223
jmp 0x101ae137
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [0x101dcbd4], 0x2410
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
jmp 0x101ae159
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x101ae223
mov eax, dword [ebp - 0x20]
add eax, 0x24
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x40], ecx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x40]
add ecx, dword [edx]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jmp 0x101ae107
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
mov byte [ebp - 0x47], bl
je 0x101ae1c2
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], ch
mov al, byte [ebp - 0x4d]
test al, 1
mov ecx, dword [ebp - 0x4c]
mov dl, byte [ebp - 0x46]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x47], dl
jne 0x101ae159
jmp 0x101ae1c2
mov al, byte [ebp - 0x47]
test al, 1
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x54], ecx
jne 0x101ae1f6
mov eax, dword [ebp - 0x34]
add eax, 2
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
jb 0x101ae107
jmp 0x101ae12d
mov eax, dword [ebp - 0x54]
movzx eax, word [eax]
mov dword [0x101dcbd4], 0x1488
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x1c]
mov dword [0x101dcbd8], 0x1415
mov esi, dword [ebp - 0x1c]
add esi, dword [ecx + eax*4]
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40ec11
Capabilities:
Parse pe header

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