joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dc5b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x612a76
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b4], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005e2ec0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
push ecx
call fcn.004d8b00
add esp, 8
mov dword [ebp - 0x2b8], eax
mov edx, dword [ebp - 0x2b8]
push edx
mov ecx, 0x6cf428
call fcn.0048bd20
lea ecx, [ebp - 0x248]
call fcn.0048bcd0
call fcn.004d7a40
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0
je 0x4dc66c
mov dword [ebp - 0x2b0], str._64bit
jmp 0x4dc676
mov dword [ebp - 0x2b0], str._32bit
lea eax, [ebp - 0x278]
push eax
call fcn.004d61f0
add esp, 4
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2b0]
push edx
mov eax, dword [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.004ca1d0
add esp, 0xc
mov dword [ebp - 0x2c8], eax
mov edx, dword [ebp - 0x2c8]
push edx
mov ecx, 0x6cf410
call fcn.0048bd20
lea ecx, [ebp - 0x260]
call fcn.0048bcd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.0048bcd0
lea eax, [ebp - 0x230]
push eax
call fcn.004d65c0
add esp, 4
mov dword [ebp - 4], 1
push 0
push 0x6a0d50
lea ecx, [ebp - 0x230]
call fcn.0048b6e0
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0xffffffff
jne 0x4dc749
push 0x6a0d38
mov ecx, 0x6cf3e0
call fcn.004a8ec0
push str.Unknown
mov ecx, 0x6cf3c8
call fcn.004a8ec0
jmp 0x4dc7cb
mov ecx, dword [ebp - 0x2ac]
push ecx
push 0
lea edx, [ebp - 0x290]
push edx
lea ecx, [ebp - 0x230]
call fcn.0048b660
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
push eax
mov ecx, 0x6cf3c8
call fcn.0048bd20
lea ecx, [ebp - 0x290]
call fcn.0048bcd0
mov ecx, dword [0x6a56b0]
push ecx
mov edx, dword [ebp - 0x2ac]
add edx, 1
push edx
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.0048b660
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2d0]
push ecx
mov ecx, 0x6cf3e0
call fcn.0048bd20
lea ecx, [ebp - 0x2a8]
call fcn.0048bcd0
call sym.Setup.exe_CreateExportObj
mov dword [0x6cf15c], eax
cmp dword [0x6cf128], 0
jne 0x4dc7f4
push str.UserLogMutex
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [0x6cf128], eax
push 0
push 0
mov edx, dword [ebp - 0x2b4]
push edx
push 0x4dccb0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0048bcd0
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x41aa083f
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, str.8z_
mov ebx, 0x4304d8
nop
mov ecx, 0x7ad02e38
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10001e4c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100163c0]
jne 0x10001e56
repz ret
jmp fcn.100020fd

Function at 0x10002680
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x100163a0], 0
mov byte [0x100163a4], 0
mov dword [0x10016394], 0x7e8
mov dword [0x1001639c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100026db
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x1001639c], 0
jmp 0x1000270d
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10016398], 0x126
mov eax, dword [0x1001639c]
add eax, 1
mov dword [0x1001639c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100026db
jmp 0x100026cf
mov eax, 0x100
mov dword [0x100163a8], 0
mov ecx, dword [0x100163a0]
mov edx, dword [0x1001639c]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x20], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x100163a8], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x100163a0], edx
mov dword [0x10016394], 0x1c92
mov ecx, dword [0x1001639c]
mov bl, byte [esi + ecx]
mov byte [0x100163a4], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x100163a4]
mov ecx, dword [0x100163a0]
mov byte [esi + ecx], bl
mov ecx, dword [0x1001639c]
add ecx, 1
mov dword [0x1001639c], ecx
cmp ecx, 0x100
jl 0x1000270d
jmp 0x100026c7

Function at 0x10002b70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [fcn.10002b70]
mov ecx, 0x20fb
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x10002b89
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp word [ecx], 0x5a4d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
je 0x10002bc8
mov eax, 0x207e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jmp 0x10002b89
mov eax, dword [ebp - 0xc]
mov dword [0x10016394], eax
mov eax, dword [ebp - 0x10]
add esp, 0x10
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x10002bb8
jmp 0x10002b9c
Function at 0x10002be0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov dword [ebp - 8], 0
mov dword [0x10016398], 0x1aa4
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10016394], 0x82f
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x10002c9e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10002d0b
mov dword [0x10016394], 0x90f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10002d0b
mov eax, 1
mov ecx, 0x1f9
mov dword [0x10016398], 0x201d
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x10002d1f
jmp 0x10002d0b
mov dword [0x10016394], 0x1ebc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10002cee
jmp 0x10002d0b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x10002ccb
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
jl 0x10002c9e
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x10002d0b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10002c83
jmp 0x10002d0b
mov dword [0x10016394], 0x716
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10002c21
xor eax, eax
mov ecx, dword [0x10016394]
add ecx, 0x544
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [0x10016394], eax
mov eax, ecx
add esp, 0x24
pop esi
pop ebp
ret
Function at 0x10003150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10016394], 0x15b6
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, ecx, 0x74
mov edi, edx
add edi, esi
add edi, 8
mov esi, ecx
add esi, 1
imul ecx, ecx, 0x74
add edx, ecx
add edx, 4
mov ecx, dword [edi]
movzx edx, word [edx]
xor edx, ecx
add edx, eax
cmp esi, 0x260
mov eax, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], eax
jne 0x10003173
lea eax, [0x100042d3]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov esi, dword [0x10016394]
add esi, 0x1ba6
mov dword [0x10016398], esi
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
call fcn.10002dc0
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.100034a0
mov ecx, eax
mov dword [0x100163b4], eax
mov eax, esp
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
lea edx, section..data
imul esi, ecx, 0x74
mov edi, edx
add edi, esi
add edi, 4
imul esi, ecx, 0x74
mov ebx, edx
add ebx, esi
add ebx, 8
mov esi, ecx
add esi, 1
imul ecx, ecx, 0x74
add edx, ecx
mov ecx, dword [ebp - 0x48]
add ecx, eax
mov ebx, dword [ebx]
mov edx, dword [edx]
movzx edi, word [edi]
xor edi, ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], edi
call fcn.10003360
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
add eax, ecx
mov edx, dword [ebp - 0x58]
cmp edx, 0x260
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], eax
jne 0x1000323b
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 8], ecx
call fcn.10002fe0
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x7dc0b
mov edx, dword [ebp - 0x48]
add edx, 0x35b51
mov dword [0x10016394], 0x1c3a
mov esi, dword [ebp - 0x30]
mov dword [esi], ecx
mov dword [esi + 4], 0x129600
mov dword [esi + 8], edx
mov dword [esi + 0xc], 0x20b0
mov dword [0x10016398], 0x950
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100034e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1001639c], 0
mov dword [0x100163a0], 0
mov dword [0x100163ac], 0
mov dword [0x10016394], 0x1403
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
je 0x10003636
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, eax
add edx, 1
mov dword [0x10016394], 0x53e
mov esi, dword [0x1001639c]
add esi, 1
mov dword [ebp - 0x24], eax
mov eax, esi
mov dword [ebp - 0x28], edx
cdq
idiv ecx
mov dword [0x1001639c], edx
mov esi, dword [0x100163a0]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x100163a0], edx
mov ecx, dword [0x10016394]
add ecx, 0xffffe856
mov dword [0x10016398], ecx
mov ecx, dword [0x1001639c]
mov bl, byte [edi + ecx]
mov byte [0x100163a4], bl
mov ecx, dword [0x10016394]
add ecx, 0x25c1
mov dword [0x10016394], ecx
mov ecx, dword [0x100163a0]
mov bl, byte [edi + ecx]
mov ecx, dword [0x1001639c]
mov byte [edi + ecx], bl
mov bl, byte [0x100163a4]
mov ecx, dword [0x100163a0]
mov byte [edi + ecx], bl
mov ecx, dword [0x1001639c]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x100163a0]
movzx edx, byte [edi + edx]
add edx, ecx
and edx, 0xff
mov dword [0x100163ac], edx
mov bl, byte [edi + edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
movzx esi, byte [ecx + edx]
mov dword [esp], esi
movzx esi, bl
mov dword [esp + 4], esi
call fcn.10001000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov byte [ecx + edx], al
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x10]
cmp esi, edi
mov dword [ebp - 0x20], esi
jne 0x10003539
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10003ebf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x10003ece
pop dword [ebp - 8]
mov eax, 0x9bc49bc6
add eax, 0x743ba308
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x735d0d48
add dword [ebp - 0x18], 0xdaf53803
mov dword [ebp - 0x14], 0xacce65ff
add dword [ebp - 0x14], 0x8564e646
mov dword [ebp - 0x10], 0x33c3923c
add dword [ebp - 0x10], 0x1888b1f2
mov dword [ebp - 0xc], 0x99132e42
add dword [ebp - 0xc], 0x66ecd1be
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x1815d4c6
sub dword [ebp - 0x18], 0xa3a36b70
mov dword [ebp - 0x14], 0x9e1516bc
sub dword [ebp - 0x14], 0x5ca8b547
mov dword [ebp - 0x10], 0x45c8adc8
add dword [ebp - 0x10], 0x1da6bea4
mov dword [ebp - 0xc], 0x7424bde4
add dword [ebp - 0xc], 0x8bdb421c
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x9b14c7d4
sub eax, 0x8b147794
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x36256
push 0
call eax
mov ecx, 0xee1dabd4
sub ecx, 0xee1d65c7
xor esi, esi
add esi, eax
mov edi, 0x1000b600
add edi, dword [ebp - 8]
mov edx, 0xb8317307
add dword [ebp - 4], edx
mov ebx, dword [edi]
mov dword [ebp - 4], 0x4394debe
add ebx, edx
xor dword [ebp - 4], edx
mov dword [esi], ebx
add esi, 4
add edi, 0x8ee3aee8
sub edi, 0x8ee3aee4
loop 0x10003fe1
add eax, 0x10b07
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x402f80
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x402ff0
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
and eax, 0xff
inc eax
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00402390
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x40a000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
mov eax, dword [0x4c7480]
mov dword [esp + 4], ecx
push esi
push edi
test al, 1
je 0x40b536
mov edi, dword [ebp + 0x10]
xor eax, eax
push 8
mov word [esp + 0x5c], 1
add byte [ecx - 0x38dbdb84], cl
inc esp
and al, 0x28
add byte [eax], al
add byte [eax], al
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], 1
call fcn.00420ff6
mov edx, eax
mov dword [esp + 0x20], eax
add esp, 4
test edx, edx
je 0x40b68a
mov dword [edx], 0x14
mov esi, dword [ebp + 0xc]
mov dword [edx + 4], 0
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
mov dword [esp + 0x50], 1
mov dword [esp + 0x10], 0x17
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
movsx eax, word [eax + 0xa]
mov dword [esp + 0x5c], eax
jmp 0x40a10a
or eax, 1
mov dword [0x4c7488], 0
push 0x43b83c
mov dword [0x4c7480], eax
mov dword [0x4c7490], 0
mov dword [0x4c7494], 1
call fcn.00422f80
add esp, 4
jmp 0x40a01f
xor edx, edx
mov dword [esp + 0x1c], edx
jmp 0x40a064

Function at 0x40a152
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [edx]
cmp eax, 4
jl 0x40b1a6
cmp eax, 0x27
jge 0x40b1a6
dec eax
cmp eax, 0x29
ja case.0x40b1b7.4
movzx eax, byte [eax + 0x40b844]
jmp dword [eax*4 + 0x40b824]
lea eax, [ecx + 1]
mov esi, 7
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a16b
push 0x4c7488
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0x16
call fcn.0041fb84
lea ecx, [esp + 0x20]
call fcn.0041fb6d
mov esi, eax
mov ecx, esi
call fcn.00409a20
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov dword [esi + 0xc], 9
mov byte [esi], 0
mov esi, dword [ebp + 0xc]
mov dword [ebp + 0x10], edi
mov dword [esp + 8], eax
inc dword [esi]
jmp 0x40a107
push 0x4c7488
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0x16
call fcn.0041fb84
mov byte [esp + 0xa4], 1
lea ecx, [esp + 0x20]
push dword [esp + 0xa4]
call fcn.0041fb6d
mov ecx, eax
call fcn.00409863
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x10], edi
inc dword [esi]
mov dword [esp + 8], eax
jmp 0x40a107
lea eax, [ecx + 1]
mov esi, 8
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a16b
lea eax, [ecx + 1]
mov esi, 0xa
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a16b
sub esp, 0x10
mov dword [esp + 0x20], 0x16
mov ecx, esp
push 0x4ba4d4
call fcn.00407f41
push 0xffffffffffffffff
push 0x29
jmp 0x44060d
sub esp, 0x10
mov dword [esp + 0x20], 0x16
mov ecx, esp
push 0x48f910
call fcn.00407f41
push 0
push 0x2a
lea ecx, [esp + 0x110]
call fcn.00466bbd
push 0x4c7488
lea ecx, [esp + 0x24]
call fcn.0041fb84
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x24]
call fcn.0041fb6d
mov ecx, eax
call fcn.004677cf
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x100]
Function at 0x410b30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x160
push esi
push edi
mov edi, ecx
mov dword [esp + 0x44], edi
mov eax, dword [edi + 0xec]
cmp eax, 0xed8
jge 0x4450ed
inc eax
mov dword [edi + 0xec], eax
cmp eax, 1
je 0x411023
cmp byte [edi + 0xfc], 0
mov byte [edi + 0x144], 0
jne 0x410e44
mov esi, dword [0x48f6f0]
mov eax, dword [edi + 0x11c]
mov dword [esp + 0x40], eax
lea ecx, [ecx]
test eax, eax
je 0x410b65
jmp 0x445108
push 0xffffffffffffffff
push 0x9a
mov byte [0x4c6280], 0
call fcn.0046a0b5
or eax, 0xffffffff
jmp 0x410e63
push dword [eax]
mov ecx, edi
call fcn.00409fbd
test eax, eax
je 0x445123
mov eax, dword [eax + 0x10]
mov ecx, edi
push 1
inc eax
push eax
call fcn.004568bf
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x44]
call fcn.00456cea
mov eax, dword [esp + 0x40]
jmp 0x411030

Function at 0x4149c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
mov ebx, edx
mov eax, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], eax
push esi
push edi
test ebx, ebx
je 0x4481ff
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov eax, dword [esi]
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x24], ecx
cmp eax, dword [esi + 4]
jae 0x450158
mov edx, dword [ebp - 8]
cmp dword [ebp + 0x18], 0
lea ecx, [ebp + 0x18]
jne 0x448221
push 1
push 0
push 0
push 0
push 0
xor edx, edx
call fcn.004149c0
add esp, 0x14
jmp 0x414b3d
sub ecx, eax
test ecx, ecx
jle 0x448229
neg ecx

Function at 0x415e58
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x415e80
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x415e72
pop edi
pop esi
pop ebp
ret 4
Function at 0x41710e
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, edx
mov dword [ebp - 0x120], ecx
mov ecx, dword [ecx]
mov dword [ebp - 0x140], eax
push ebx
mov edx, dword [eax]
mov eax, ecx
shr eax, 0xb
and eax, 1
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x3c], eax
mov eax, ecx
shr eax, 9
push esi
mov esi, dword [ebp + 8]
and eax, 1
mov dword [ebp - 0xdc], eax
xor eax, 1
push edi
xor edi, edi
mov dword [ebp - 0xe8], eax
mov esi, dword [esi]
mov ebx, edi
push 0xfffffffffffffffe
pop eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x2c], eax
movsx eax, cl
and eax, dword [ebp - 0xc]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 8], edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x64], edi
pushfd
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xb4], 0xff
mov dword [ebp - 0x12c], 0xfc00
mov dword [ebp - 0x148], 0xdc00
mov dword [ebp - 0x158], 0x2b
mov dword [ebp - 0x128], 0x7b
mov dword [ebp - 0xe4], 0x30
mov dword [ebp - 0x118], 0x29
mov dword [ebp - 0x90], 0x39
mov dword [ebp - 0x110], 0x3c
mov dword [ebp - 0x144], 0x52
mov dword [ebp - 0xe0], 0x27
mov dword [ebp - 0x154], 0x2d
invalid
Function at 0x4691bf
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x45c]
test eax, eax
je 0x4691e7
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x454]
call fcn.00424a93
add esp, 0x10
and dword [esi + 0x45c], 0
pop esi
ret

Function at 0x469393
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
lea ecx, [ebp - 0xdc]
push esi
push edi
call fcn.004691e9
push dword [ebp + 0x10]
lea ecx, [ebp - 0xdc]
call fcn.0046922f
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x4693d7
mov edi, dword [ebp + 8]
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.00469367
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x4693c1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4693df
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x11b8
call fcn.00431b90
push ebx
push esi
push edi
xor edi, edi
xor eax, eax
mov ebx, ecx
mov dword [ebp - 0x4ac], edi