joyce8/EMBER2024-capa huggingface dataset:
Function at 0xef3520
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0xf40ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0xf5af3c]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
push edi
mov eax, dword [0xf5af3c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
cmp dword [edi + 0x14], 8
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
jb 0xef356f
mov eax, dword [edi]
jmp 0xef3571
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0xef3591
push esi
push edi
push ebx
call fcn.00ef1590
add esp, 0xc
jmp 0xef36c5
test eax, 0x400
je 0xef3693
cmp dword [edi + 0x14], 8
jb 0xef35a6
mov edx, dword [edi]
jmp 0xef35a8
mov edx, edi
xor eax, eax
mov word [esp + 0x20], ax
mov ebx, 7
mov eax, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xef35c5
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.00eab240
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], 0
jae 0xef35f6
lea eax, [esp + 0x20]
push 0
push 0x2000000
push 3
push 0
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x34], 8
mov byte [esp + 0x48], 2
jb 0xef362a
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00ef66c6
add esp, 4
mov dword [esp + 0x34], ebx
xor edx, edx
or ebx, 0xffffffff
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
cmp esi, ebx
jne 0xef365b
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push eax
push edi
push esi
call fcn.00ef1590
add esp, 0xc
mov eax, esi
jmp 0xef36c7
push edi
call fcn.00eef820
add esp, 4
mov dword [esp + 0x48], ebx
push esi
test al, al
jne 0xef3681
mov edi, dword [esp + 0x18]
mov dword [edi], 9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0xef36c7
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test esi, esi
je 0xef36a9
mov dword [esi], 0
call fcn.00ef58c0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
test al, 0x10
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 3
jne 0xef36c1
mov dword [esp + 0x10], 2
mov ecx, dword [eax]
mov dword [ebx], ecx
mov eax, ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00ef6bce
add esp, 0x3c
ret
Function at 0xef36f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x14], 8
jb 0xef3701
mov eax, dword [edi]
jmp 0xef3703
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0xef372a
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push eax
push edi
push esi
call fcn.00ef1590
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov esi, dword [esp + 0x18]
test esi, esi
je 0xef3740
mov dword [esi], 0
call fcn.00ef58c0
mov dword [esi + 4], eax
test ebx, 0x400
je 0xef3775
push edi
call fcn.00eef820
add esp, 4
test al, al
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
jne 0xef3769
mov dword [esp + 0x14], 9
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
ret
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 3
test bl, 0x10
jne 0xef378e
mov dword [esp + 0x14], 2
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], edx
pop ebx
ret

Function at 0xef6bce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xf5af3c]
jne 0xef6bd8
repz ret
jmp fcn.00f00e6c
Function at 0xf0ee6a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xf5af3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00f0085c
and dword [ebp - 0x14], 0
cmp dword [0xf77270], 0
mov dword [ebp - 0x18], eax
jne 0xf0ef1d
push 0xf62328
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0xf0efc5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xf5e778
push ebx
call edi
test eax, eax
je 0xf0efc5
mov esi, dword [0xf5c390]
push eax
call esi
push 0xf62318
push ebx
mov dword [0xf77270], eax
call edi
push eax
call esi
push 0xf62304
push ebx
mov dword [0xf77274], eax
call edi
push eax
call esi
push 0xf622e8
push ebx
mov dword [0xf77278], eax
call edi
push eax
call esi
mov dword [0xf77280], eax
test eax, eax
je 0xf0ef1d
push 0xf622d0
push ebx
call edi
push eax
call esi
mov dword [0xf7727c], eax
mov eax, dword [0xf7727c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0xf5c394]
cmp eax, ecx
je 0xf0ef76
cmp dword [0xf77280], ecx
je 0xf0ef76
push eax
call esi
push dword [0xf77280]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0xf0ef76
test ebx, ebx
je 0xf0ef76
call edi
test eax, eax
je 0xf0ef6d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0xf0ef6d
test byte [ebp - 8], 1
jne 0xf0ef76
or dword [ebp + 0x10], 0x200000
jmp 0xf0efa9
mov eax, dword [0xf77274]
cmp eax, dword [ebp - 0x18]
je 0xf0efa9
push eax
call esi
test eax, eax
je 0xf0efa9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0xf0efa9
mov eax, dword [0xf77278]
cmp eax, dword [ebp - 0x18]
je 0xf0efa9
push eax
call esi
test eax, eax
je 0xf0efa9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xf77270]
call esi
test eax, eax
je 0xf0efc5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0xf0efc7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ef6bce
leave
ret
Function at 0xf1c3b8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0xf1c43d
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00ef6fe0
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0xf1c400
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0xf1c422
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0xf1c498
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.00f1c108
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0xf1c484
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0xf1c498
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0xf1c3c1
pop esi
pop ebx
leave
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, 0x7fe83efb
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x23057c9a
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x62aaf9
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf061650c
jmp 0x62ab64
mov dword [esp], ebx
pop word [esp]
mov word [esp], si
jmp 0x62ab86
mov word [esp + 0xf], di
mov dword [esp + 0xf], ecx
push word [esp + 0x1a]
jmp 0x62ab56
jmp 0x62ab23
pushfd
jmp 0x625031
lea esp, [esp + 2]
mov dword [esp + 0x20], edi
lea esp, [esp + 0x20]
jmp 0x62ab3b
neg al
jmp 0x62abe5
lea esp, [esp + 2]
push esi
pushal
mov word [esp + 0x1d], di
push dword [esp + 0x1e]
jo 0x62ab39
mov word [esp + 0xf], di
mov dword [esp + 0xf], ecx
push word [esp + 0x1a]
lea esp, [esp + 2]
mov dword [esp + 0x20], edi
jmp 0x62ab5e

Function at 0x62ac11
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp + 1]
mov dword [esp], ebp
jmp 0x62abca
mov edi, dword [esp + 0x2c]
mov esi, 0xabfe76d4
xchg bx, si
mov al, ah
jmp 0x62abcf
mov byte [esp + 3], cl
pop word [esp + 1]
mov dword [esp], ebp
call fcn.0062aaf9
mov dx, word [esp]
call fcn.0062ac21
or eax, 0x8b781989
dec eax
lodsd eax, dword [esi]
sub bh, byte [eax - 0x3462d521]
ja 0x62ab6c
jbe 0x62ab6c
lea esi, [esp]
xchg dl, ah
xchg bx, bp
mov ebp, 0x43d6ad46
jmp 0x62ac7d
lea esp, [esp + 2]
push word [esp + 1]
jg 0x62abbe
mov byte [esp + 3], cl
jmp 0x62ab16
sub esp, 0xc0
mov ebp, esp
xchg cx, bx
lea ecx, [esi*4]
sub esp, 0xe
jmp 0x62ad0c
jns 0x62abfb
lea esp, [esp + 2]
call fcn.0062acdf
test eax, 0x871aec83
sub esp, 0x1a
xchg dword [esp + 0x10], edx

Function at 0x62ac21
Capabilities:
Execute anti-debugging instructions

Disassembly:
neg cx
bswap edx
mov ebp, eax
sub esp, 0x12
lea esp, [esp + 2]
jmp 0x62ad39
xchg dword [esp + 0x10], eax
mov ebp, dword [esp]
setb ch
call fcn.0062ac34

Function at 0x62acdf
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea edi, reloc.mscoree.dll__CorExeMain
sub esp, 0x19
mov dword [esp + 0x14], edx
jmp 0x62ace5
push dword [esp]
push dword [esp + 7]
xchg dword [esp + 0xc], edi
rdtsc
mov cl, 0xf1
mov dl, 0xee
jmp 0x62acaf
lea eax, [edx + edx]
push edi
jmp 0x62acc5
mov cx, 0xb5b8
xchg cx, ax
not ax
lea esp, [esp + 1]
xchg dword [esp + 0x24], edi
mov eax, 0xc540ba4f
jmp fcn.0062ad1c

Function at 0x675ebd
Capabilities:
Encode data using xor

Disassembly:
jmp 0x676777
push eax
jmp 0x6767e6
lea esp, [esp + 4]
jne 0x676273
call fcn.006767ff
push esp
add byte [edi + eax - 0x74], dl
push cs
pop es
mov word [esi], cs
xor dword [eax + reloc.mscoree.dll__CorExeMain], edi
sub byte [esi - 0x3c1f9222], bh
ja 0x676787
mul cl
and byte [esi - 1], ah
je 0x6767c3
add ecx, dword [ebp - reloc.mscoree.dll__CorExeMain]
and al, 4
mov byte [ebp + esi - 0x118], 0
call fcn.00676695
lea esp, [esp + 4]
jmp 0x6767d4
aad 0xc4
jp 0x676785
arpl word [edx - 0x3c7c1b0b], bx
add dl, byte [ebx - 0x18]
loope 0x6767d1
invalid
invalid
call 0x62ee73
mov cx, 0xe540
mov ch, dh
mov ch, bl
lea ecx, [edi + 0x59]
jmp 0x67681c
push esi
pushal
lea esp, [esp + 0xf]
mov word [esp + 0xc], bx
lea esp, [esp + 1]
jmp 0x676806
lea esp, [esp + 0x10]
jmp 0x676838
pop ecx
jmp 0x676273
call fcn.0061a26c
jmp 0x61a45c

Function at 0x6c469b
Capabilities:
Access peb ldr_data

Disassembly:
push dword [esp]
push dword [esp + 6]
push word [esp + 7]
jmp 0x6c42ba
Function at 0x100023d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
movzx ecx, word [edx]
mov eax, dword [ebx]
mov word [eax], cx
movzx ecx, byte [edx + 2]
mov byte [eax + 2], cl
movzx ecx, word [edx + 0x12]
mov word [eax + 6], cx
movzx ecx, word [edx + 0x14]
mov word [eax + 0xa], cx
movzx ecx, word [edx + 0x16]
mov word [eax + 8], cx
mov ecx, dword [edx + 0xc]
mov byte [eax + 3], 0
mov word [eax + 4], cx
mov ecx, dword [edx + 0x18]
shr ecx, 3
and ecx, 1
mov byte [eax + 0xf], cl
mov ecx, dword [edx + 0xc]
shr ecx, 6
and ecx, 1
mov byte [eax + 0x10], cl
movzx ecx, word [edx + 4]
mov word [eax + 0x12], cx
mov ecx, dword [edx + 0x64]
mov dword [eax + 0x20], ecx
mov ecx, dword [edx + 0x60]
mov dword [eax + 0x24], ecx
mov ecx, dword [edx + 0x50]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x54]
mov dword [eax + 0x2c], ecx
mov ecx, dword [edx + 0x58]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x5c]
mov dword [eax + 0x34], ecx
mov ecx, dword [edx + 0x18]
shr ecx, 4
and ecx, 1
mov byte [eax + 0xc], cl
test cl, cl
jne 0x100024c0
movzx ecx, word [edx + 6]
mov word [eax + 0x14], cx
movzx ecx, word [edx + 0x3c]
mov word [eax + 0x38], cx
movzx ecx, word [edx + 0x48]
mov word [eax + 0x44], cx
mov ecx, dword [edx + 0x18]
shr ecx, 6
and ecx, 1
mov byte [eax + 0xd], cl
test cl, cl
movzx ecx, word [edx + 0x40]
mov word [eax + 0x3c], cx
je 0x10002498
movzx ecx, word [edx + 0x42]
mov word [eax + 0x3e], cx
movzx ecx, byte [edx + 0x18]
shr cl, 7
mov byte [eax + 0xe], cl
jne 0x100024f0
movzx edx, word [edx + 0x44]
mov word [eax + 0x40], dx
mov eax, 0x110000
add dword [ebx], 0x48
pop ebx
pop ebp
ret
mov ecx, 1
mov word [eax + 0x14], cx
movzx ecx, word [edx + 0x3c]
mov word [eax + 0x38], cx
movzx ecx, word [edx + 0x3e]
mov word [eax + 0x3a], cx
movzx ecx, word [edx + 0x48]
mov word [eax + 0x44], cx
movzx ecx, word [edx + 0x4a]
mov word [eax + 0x46], cx
jmp 0x10002478
movzx ecx, word [edx + 0x44]
mov word [eax + 0x40], cx
movzx edx, word [edx + 0x46]
mov word [eax + 0x42], dx
mov eax, 0x110000
add dword [ebx], 0x48
pop ebx
pop ebp
ret

Function at 0x10004710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10004768
cmp byte [esi + ebx - 1], 0xa
je 0x1000473c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x1000b084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x10004d90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x10004f68
mov edi, dword [0x1000b084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x10004e77
test byte [0x10006040], 8
jne 0x10004f10
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10006050], 8
jne 0x10004ed0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10004e19
cmp esi, 3
jbe 0x10004e88
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x10004e2a
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x10008ac8]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x10004e19
mov dword [esp], 0x10006050
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10004df0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x10004df0
mov dword [esp], 0x10006040
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10004ddb
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x10004de3
mov eax, 0xffffffff
jmp 0x10004e77
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x55497db2
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4e8c09b5
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10004820
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0x55555556
imul ecx
push esi
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [ebp + 0xc]
lea eax, [esi + esi*2]
sub ecx, eax
push edi
mov eax, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], eax
test esi, esi
jle 0x100048d2
lea eax, [esi*4]
mov dword [ebp + 8], esi
mov dword [ebp - 8], eax
push ebx
mov edi, edi
mov bl, byte [edx]
movzx eax, byte [edx + 1]
movzx esi, bl
mov byte [ebp + 0xf], al
mov al, byte [edx + 2]
mov edi, esi
shr edi, 2
movzx ebx, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edi, byte [ebp + 0xf]
mov byte [ecx], bl
mov ebx, edi
shr ebx, 4
shl esi, 4
or ebx, esi
movzx esi, al
mov eax, esi
shr eax, 6
add edi, edi
and ebx, 0x3f
movzx ebx, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add edi, edi
or eax, edi
mov byte [ecx + 1], bl
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], al
and esi, 0x3f
movzx eax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 3], al
add edx, 3
add ecx, 4
dec dword [ebp + 8]
jne 0x10004860
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
pop ebx
cmp eax, 1
jne 0x10004905
movzx edx, byte [edx]
mov eax, edx
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and edx, 3
mov byte [ecx], al
shl edx, 4
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
lea eax, [edi + 4]
pop edi
mov byte [ecx + 1], dl
mov word [ecx + 2], 0x3d3d
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x10004955
mov al, byte [edx]
mov dl, byte [edx + 1]
movzx esi, al
mov eax, esi
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx edx, dl
mov eax, edx
shr eax, 4
shl esi, 4
or eax, esi
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
and edx, 0xf
movzx edx, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
lea eax, [edi + 4]
pop edi
mov byte [ecx + 2], dl
mov byte [ecx + 3], 0x3d
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10009f90
Capabilities:
Create thread

Disassembly:
push ecx
push 0
push 0
push 0x10093d10
push 0x10009e90
push 0
push 0
call fcn.10051666
add esp, 0x18
mov dword [0x10093d44], eax
test eax, eax
jne 0x10009ff8
call fcn.1001f000
call fcn.100ded64
push esi
push eax
push 0
push 0x1fffff
call fcn.100fbd1a
and al, byte [ebp + 0x6a1074c0]
add byte [eax - 0x18], dl
push 0x32
sbb eax, dword [eax]
lea ebp, [edx]
call fcn.100523fb
push eax
call fcn.1019c7a9
push 0
push eax
call fcn.100d6f3a
sbb dword [edx], ebp
push edi
call fcn.1024d851
pop ecx
ret
Function at 0x1001aa50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e118
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1008dc90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x1001ab71
cmp byte [edi + 0x49], bl
je 0x1001ab71
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x1001ab65
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x1001aac5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x1001aadd
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x1001ab06
dec eax
je 0x1001ab0a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x1001ab60
jmp 0x1001ab6c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x1001ab1a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x1001ab43
cmp ebx, 0x10
jae 0x1001ab29
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.10050e7e
add esp, 0x10
cmp esi, eax
jne 0x1001ab5d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x1001ab69
test esi, esi
jne 0x1001aad1
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.100198e0
jmp 0x1001aacb
lea ecx, [ebp - 0x2c]
call fcn.10006160
xor al, al
jmp 0x1001ab73
lea ecx, [ebp - 0x2c]
call fcn.10006160
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004fa55
mov esp, ebp
pop ebp
ret