joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100f75a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x10237184
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ebx, dword [0x1023717c]
sub esp, 4
test ebx, ebx
je 0x100f75f5
mov ebp, dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x100f75ee
test esi, esi
je 0x100f75ee
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x100f75d0
mov dword [esp], 0x10237184
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x100f7930
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x10000000], 0x5a4d
jne 0x100f7955
mov ecx, dword [0x1000003c]
cmp dword [ecx + 0x10000000], 0x4550
lea edx, [ecx + 0x10000000]
je 0x100f7960
ret
cmp word [ecx + 0x10000018], 0x10b
jne 0x100f7955
push esi
movzx eax, word [ecx + 0x10000014]
push ebx
movzx esi, word [ecx + 0x10000006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x10000000
test si, si
je 0x100f79a8
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x100f799e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x100f79aa
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x100f7990
xor eax, eax
pop ebx
pop esi
ret
Function at 0x10115e78
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov byte [eax + 0x10], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [ebp - 0x20], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov dword [ebp - 0x1c], edx
mov dword [esp + 4], str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov dword [esp], eax
call sym._sqlite3NestedParse
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x10115edd
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], edx
mov dword [esp + 4], str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov dword [esp], ebx
call sym._sqlite3NestedParse
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x101599ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
xor edx, edx
mov ecx, 6
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0xc]
pop ebp
jmp sym._openDatabase

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0xc]
pop ebp
jmp sym._openDatabase

Function at 0x101623fc
Capabilities:
Create thread

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
mov ebx, eax
sub esp, 0x1c
mov byte [eax + 0x38], 1
movzx edi, byte [eax + 0x3b]
mov dword [ebp - 0x1c], ecx
dec edi
cmp esi, edi
jge 0x101624d5
movzx eax, byte [ebx + 0x3a]
lea eax, [esi + eax + 1]
cdq
idiv edi
imul eax, edx, 0x48
lea ecx, [ebx + eax + 0x40]
cmp dword [ebx + eax + 0x44], 0
mov dword [ebp - 0x1c], ecx
jne 0x10162448
imul edx, edx, 0x48
cmp dword [ebx + edx + 0x40], 0
je 0x1016245f
inc esi
jmp 0x10162417
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
call sym._vdbeSorterJoinThread
mov edx, dword [ebp - 0x20]
test eax, eax
je 0x1016243b
jmp 0x101624ed
mov edx, dword [ebp - 0x1c]
lea ecx, [ebx + 0x40]
mov eax, dword [ebp - 0x1c]
lea esi, [ebx + 0x24]
sub edx, ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x1c]
sar edx, 3
imul edx, edx, 0x38e38e39
lea edi, [ecx + 0x10]
mov ecx, 3
mov byte [ebx + 0x3a], dl
xor edx, edx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x2c], edx
test eax, eax
je 0x101624a2
mov dword [ebx + 0x28], eax
call sym._sqlite3MallocSize
mov dword [ebx + 0x34], eax
jmp 0x101624b8
cmp dword [ebx + 0x28], 0
je 0x101624b8
mov eax, dword [ebx + 0x34]
cdq
call sym._sqlite3Malloc
mov dword [ebx + 0x28], eax
test eax, eax
je 0x101624ce
mov ecx, dword [ebp - 0x1c]
add esp, 0x1c
mov edx, sym._vdbeSorterFlushThread
pop ebx
pop esi
mov eax, ecx
pop edi
pop ebp
jmp sym._sqlite3ThreadCreate
mov eax, 7
jmp 0x101624ed
jne 0x1016245f
imul esi, esi, 0x48
add esp, 0x1c
lea edx, [ebx + 0x24]
lea eax, [ebx + esi + 0x40]
pop ebx
pop esi
pop edi
pop ebp
jmp sym._vdbeSorterListToPMA
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x1016c654
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
sub esp, 8
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp - 0x10]
mov ecx, esi
mov edx, dword [eax + 8]
lea ebx, [esi + edi]
xor edi, edi
mov dword [ebp - 0x14], ebx
lea esi, [edx + 1]
add edx, dword [eax]
mov bl, byte [ecx]
xor byte [edx], bl
cmp dword [eax + 4], esi
cmovle esi, edi
inc ecx
mov edx, esi
cmp dword [ebp - 0x14], ecx
jne 0x1016c672
mov dword [eax + 8], esi
mov edi, dword [ebp - 0x10]
add dword [eax + 0xc], edi
pop eax
pop edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x10001fd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x1003b014]
xor eax, esp
mov dword [esp + 0x24], eax
sub dword [ebp + 0xc], 1
jne 0x10002196
mov edx, 0x1003751c
mov ecx, 0x1003c0e8
call fcn.10004980
lea eax, [esp + 0x10]
push eax
call fcn.10004cc0
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [0x10037670]
movsd qword [esp], xmm0
call fcn.10029de0
movsd xmm1, qword [esp]
mov edx, 0x10037560
mulsd xmm1, qword [0x10037688]
mov ecx, 0x1003c0e8
mulsd xmm0, qword [0x10037680]
movsd qword [esp], xmm1
movsd qword [esp + 8], xmm0
call fcn.10004980
movsd xmm1, qword [esp + 0x10]
mov ecx, eax
call fcn.100024b0
mov edx, 0x10037548
mov ecx, eax
call fcn.10004980
movsd xmm1, qword [esp + 8]
mov ecx, eax
call fcn.100024b0
mov edx, 0x10037540
mov ecx, eax
call fcn.10004980
push eax
call fcn.10004c20
add esp, 4
mov edx, 0x10037570
mov ecx, 0x1003c0e8
call fcn.10004980
movsd xmm1, qword [esp]
mov ecx, eax
call fcn.100024b0
mov edx, 0x10037564
mov ecx, eax
call fcn.10004980
push eax
call fcn.10004c20
add esp, 4
push 8
push 0
push str.ic.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
je 0x100020f8
push str.DoMagic
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100020f8
push 0
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100020f8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x10037590
mov ecx, 0x1003c0e8
call fcn.10004980
lea eax, [esp + 0x18]
push eax
call fcn.10004cc0
movsd xmm3, qword [esp + 0x18]
mov edx, str.f_g_x__
movaps xmm1, xmm3
mov ecx, 0x1003c0e8
mulsd xmm1, qword [0x10037678]
mulsd xmm3, xmm3
addsd xmm1, qword [0x10037668]
mulsd xmm3, qword [0x10037678]
mulsd xmm1, xmm1
addsd xmm3, qword [0x10037668]
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm3
call fcn.10004980
movsd xmm1, qword [esp + 8]
mov ecx, eax
call fcn.100024b0
push eax
call fcn.10004c20
add esp, 4
mov edx, str.g_f_x__
mov ecx, 0x1003c0e8
call fcn.10004980
movsd xmm1, qword [esp]
mov ecx, eax
call fcn.100024b0
push eax
call fcn.10004c20
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, 1
xor ecx, esp
call fcn.1000b30c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10004360
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ac90
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1003b014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1000b34b
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100097f6
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001d0a8
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100301c0
push 0x100301b8
push str.FlsAlloc
push 0x1e
call fcn.1001cf72
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d0dc
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002c134]
call esi
jmp 0x1001d0e2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001d126
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100301d0
push 0x100301c8
push str.FlsGetValue
push 0x20
call fcn.1001cf72
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d15d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002c134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1001f142
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001efb3

Function at 0x1001f53c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1000c230
mov eax, dword [0x1003b014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1001aac7
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1001f57e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1001f6da
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10029a20
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x1003ca00]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.10020533
mov ecx, dword [esi*4 + 0x1003ca00]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x1001f6d3
cmp eax, dword [edi + ecx + 0x24]
jne 0x1001f6d3
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001f6d3
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10020533
add esp, 0x14
test edx, edx
jl 0x1001f6d3
jg 0x1001f649
test eax, eax
jb 0x1001f6d3
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1001f6d3
jl 0x1001f663
cmp dword [ebp - 0x1008], eax
ja 0x1001f6d3
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1001f681
test ebx, ebx
je 0x1001f6ba
cmp ecx, edi
jae 0x1001f6ba
mov al, byte [ecx]
cmp al, 0xd
jne 0x1001f69b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1001f6a7
cmp byte [ecx + 1], 0xa
jne 0x1001f6a7
inc ecx
jmp 0x1001f6a7
movzx eax, al
movsx eax, byte [eax + 0x1003b2a8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1001f681
cmp edx, ebx
jne 0x1001f681
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1001f6d8
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1000b30c
leave
ret
Function at 0x1001f9d1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x1003ca00]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001fa11
cmp byte [ebx], 0xa
jne 0x1001fa11
or byte [eax + edi + 0x28], 4
jmp 0x1001fa16
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x1001fb14
mov al, byte [edx]
cmp al, 0x1a
je 0x1001faf6
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x1001fa45
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x1001fa6a
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x1001fa74
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x1001fa27
jmp 0x1001fb14
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001faf1
cmp dword [ebp - 0xc], 0
je 0x1001faf1
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x1003ca00]
test byte [eax + edi + 0x28], 0x48
je 0x1001facb
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1001fab6
mov byte [esi], dl
jmp 0x1001fac7
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1003ca00]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1001fb14
cmp byte [ebp - 1], 0xa
jne 0x1001fada
cmp esi, ebx
jne 0x1001fada
mov byte [esi], 0xa
jmp 0x1001fb13
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10020551
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1001fb14
mov byte [esi], 0xd
jmp 0x1001fb13
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x1003ca00]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1001fb10
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1001fb14
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1001fb1d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x1003ca00]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001fb60
cmp word [esi], dx
jne 0x1001fb60
or byte [edi + eax + 0x28], 4
jmp 0x1001fb65
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x1001fcb8
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x1001fc98
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x1001fba7
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1001fbdd
cmp eax, edx
jae 0x1001fbe9
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x1001fb7f
jmp 0x1001fcb8
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001fc94
cmp dword [ebp - 0x14], 0
je 0x1001fc94
mov eax, dword [ebx*4 + 0x1003ca00]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x1001fc6c
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x1001fc35
mov word [esi], cx
jmp 0x1001fc68
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x1003ca00]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x1003ca00]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x1003ca00]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x1001fcb8
pop ebx
cmp word [ebp - 4], bx
jne 0x1001fc7d
cmp esi, dword [ebp + 0xc]
jne 0x1001fc7d
mov word [esi], bx
jmp 0x1001fcb5
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10020551
add esp, 0x10
cmp word [ebp - 4], bx
je 0x1001fcb8
push 0xd
jmp 0x1001fcb1
mov ecx, dword [ebx*4 + 0x1003ca00]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1001fcaf
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1001fcb8
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10022fc1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002305e
push ebx
push esi
call fcn.10022f8a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10021d21
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002300b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002305d
push edi
push eax
call fcn.10019bd6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002302b
call fcn.10019b9c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002305c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10021d21
add esp, 0x20
test eax, eax
jne 0x1002304a
push edi
call fcn.10019b9c
jmp 0x10023052
push ebx
call fcn.10019b9c
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x5cabd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17b000]
push edi
jmp 0x5cabea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5cabf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cabe0
mov eax, 1
add ebx, ebx
jne 0x5cac03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5cac14
jne 0x5cac33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cac33
dec eax
add ebx, ebx
jne 0x5cac20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5cabf8
add ebx, ebx
jne 0x5cac2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5cac85
xor ecx, ecx
sub eax, 3
jb 0x5cac4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5cacba
sar eax, 1
mov ebp, eax
jmp 0x5cac56
add ebx, ebx
jne 0x5cac56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cac24
inc ecx
add ebx, ebx
jne 0x5cac64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cac24
add ebx, ebx
jne 0x5cac71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5cac66
jne 0x5cac82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5cac66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5caca4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5cac96
jmp 0x5cabe6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5caca4
add edi, ecx
jmp 0x5cabe6
pop esi
mov edi, esi
mov ecx, 0x1593
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5cacc2
cmp byte [edi], 0x11
jne 0x5cacc2
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 al, bl
loop 0x5cacc7
lea edi, [esi + 0x1c5000]
mov eax, dword [edi]
or eax, eax
je 0x5cad3f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f08cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f0a34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5cacf4
mov ecx, edi
jns 0x5cad23
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f0a38]
or eax, eax
je 0x5cad39
mov dword [ebx], eax
add ebx, 4
jmp 0x5cad11
call dword [esi + 0x1f0a48]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5cad70
cmp al, 0xef
ja 0x5cad63
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5cad45
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5cad52
mov ebp, dword [esi + 0x1f0a3c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5cada4
sub esp, 0xffffff80
jmp 0x418bae
Function at 0x43c500
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x43ca20
test edx, edx
je 0x43ca20
call fcn.0043c517
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x43ca60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.0043c500
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x43cad1
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x43ca96
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

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

Disassembly:
push ebp
push ebx
push esi
push edi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp ebp, 0x80
je 0x43d464
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp ebp, 0xc0
je 0x43d43c
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
jmp 0x43d444
mov ecx, eax
mov edx, ebx
not ecx
not edx
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
nop
call fcn.0043d469

Function at 0x4485f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca6b0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x659bc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x448654
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x448665
push 0x48
push esi
call fcn.005c7447
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4