joyce8/EMBER2024-capa huggingface dataset:
Function at 0x638f10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6b1dd3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
movss xmm0, dword [esp + 0x20]
xorps xmm1, xmm1
mulss xmm0, xmm1
ucomiss xmm0, xmm0
lahf
test ah, 0x44
jp 0x638ff9
movss xmm0, dword [esp + 0x24]
mulss xmm0, xmm1
ucomiss xmm0, xmm0
lahf
test ah, 0x44
jp 0x638ff9
push 0x34
call fcn.00547bd8
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
test esi, esi
je 0x638fdc
mov eax, dword [esp + 0x28]
mov ecx, esi
push dword [esp + 0x2c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 1
call fcn.005a7260
mov byte [esp + 0x18], 1
movss xmm0, dword [esp + 0x20]
mov dword [esi], vtable.SkOffsetImageFilter.0
movss dword [esi + 0x2c], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esi + 0x30], xmm0
mov byte [esp + 0x18], 0
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
xor esi, esi
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x6392e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6b2e0d
mov eax, dword fs:[0]
push eax
sub esp, 0x58c
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x588], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x5a0]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x5bc]
lea ecx, [esp + 0x30]
mov ebp, dword [esp + 0x5b4]
mov esi, dword [esp + 0x5b0]
mov edi, dword [esp + 0x5b8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c0]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xc]
push ebp
mov eax, dword [eax]
mov dword [esp + 0x18], eax
call fcn.005702e0
mov dword [esp + 0x5a8], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
test eax, eax
je 0x639396
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
push ecx
push edi
push ebp
push esi
mov ecx, eax
call fcn.005a7df0
test al, al
je 0x6393b4
lea eax, [esp + 0xa8]
mov ecx, ebx
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
push edi
call fcn.005a78b0
test al, al
jne 0x6393bb
xor bl, bl
jmp 0x639528
mov edx, dword [esp + 0xb4]
mov ecx, esi
sub edx, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0xa8]
push edx
push eax
call fcn.005a7d40
mov esi, eax
mov dword [esp + 0x14], esi
mov byte [esp + 0x5a8], 2
test esi, esi
jne 0x639400
mov byte [esp + 0x5a8], al
xor bl, bl
jmp 0x639520
push esi
lea ecx, [esp + 0xbc]
call fcn.0057a2e0
mov byte [esp + 0x5a8], 4
lea ecx, [esp + 0x64]
call fcn.005758d0
mov byte [esp + 0x5a8], 5
lea ecx, [esp + 0x64]
push 1
call fcn.00578770
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xb8]
sub eax, dword [esp + 0xac]
sub esp, 8
movd xmm0, eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0xb0]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.00582e60
push 1
lea eax, [ebx + 0x2c]
mov ecx, edi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00573d60
movss xmm0, dword [esp + 0x2c]
lea eax, [esp + 0x64]
push eax
sub esp, 8
lea eax, [esp + 0x3c]
lea ecx, [esp + 0xc4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
push eax
call fcn.0057b6d0
push 0
mov ecx, esi
call fcn.005a9850
mov ecx, dword [esp + 0x20]
push eax
call fcn.00570460
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0xa8]
mov dword [ecx], eax
mov eax, dword [esp + 0xac]
mov dword [ecx + 4], eax
mov byte [esp + 0x5a8], 4
lea ecx, [esp + 0x64]
call fcn.00575e00
mov byte [esp + 0x5a8], 2
lea ecx, [esp + 0xb8]
call fcn.0057a7f0
mov byte [esp + 0x5a8], 0
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x63951e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov bl, 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x5a8], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.005703a0
mov al, bl
mov ecx, dword [esp + 0x5a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x588]
xor ecx, esp
call fcn.005472b9
add esp, 0x598
ret 0x14
Function at 0x63aed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6b2bc3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x48
call fcn.00547bd8
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
test esi, esi
je 0x63af78
push 0
push 0
push 0
mov ecx, esi
call fcn.005a7260
mov byte [esp + 0x14], 1
mov edx, dword [esp + 0x1c]
mov dword [esi], vtable.SkPictureImageFilter.0
test edx, edx
je 0x63af3a
lea ecx, [edx + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x2c], edx
movdqu xmm0, xmmword [ecx]
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 1
movdqu xmmword [esi + 0x30], xmm0
mov byte [esp + 0x14], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
mov dword [esp + 0x14], 0xffffffff
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x63afa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6b2bc3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x48
call fcn.00547bd8
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
test esi, esi
je 0x63b048
push 0
push 0
push 0
mov ecx, esi
call fcn.005a7260
mov byte [esp + 0x14], 1
mov edx, dword [esp + 0x1c]
mov dword [esi], vtable.SkPictureImageFilter.0
test edx, edx
je 0x63b00a
lea ecx, [edx + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x2c], edx
movdqu xmm0, xmmword [ecx]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x40], 1
movdqu xmmword [esi + 0x30], xmm0
mov dword [esi + 0x44], ecx
mov byte [esp + 0x14], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
mov dword [esp + 0x14], 0xffffffff
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x64b020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
movsd xmm0, qword [0x6b7ea0]
push esi
mov esi, dword [ecx + 0x78]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [0x6d3a18]
movsd qword [esp + 4], xmm0
test esi, esi
je 0x64b0f1
push ebx
mov ebx, dword [esp + 0x3c]
push edi
mov edi, dword [esi]
lea eax, [esp + 0x1c]
push ebx
push edi
push eax
call fcn.005f33c0
add esp, 0xc
movdqu xmm0, xmmword [eax]
movaps xmm1, xmm0
unpckhpd xmm1, xmm0
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm1, xmm0
movsd xmm0, qword [esp + 0xc]
comisd xmm0, xmm1
jbe 0x64b099
movsd xmm0, qword [edi + 0xa8]
movsd qword [esp + 0xc], xmm1
movsd qword [esp + 0x14], xmm0
push ebx
lea eax, [edi + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005f33c0
add esp, 0xc
movdqu xmm0, xmmword [eax]
movapd xmm1, xmm0
mulsd xmm1, xmm0
movsd xmm0, qword [eax + 8]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, qword [esp + 0xc]
comisd xmm0, xmm1
jbe 0x64b0e4
movsd xmm0, qword [edi + 0xb0]
movsd qword [esp + 0xc], xmm1
movsd qword [esp + 0x14], xmm0
mov esi, dword [esi + 4]
test esi, esi
jne 0x64b051
pop edi
pop ebx
fld qword [esp + 0xc]
pop esi
add esp, 0x30
ret 4

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

Disassembly:
sub esp, 0x30
movsd xmm0, qword [0x6b7ea0]
push esi
mov esi, dword [ecx + 0x78]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [0x6d3a18]
movsd qword [esp + 4], xmm0
test esi, esi
je 0x64b2b3
push ebx
mov ebx, dword [esp + 0x3c]
push edi
mov edi, dword [esi]
lea eax, [esp + 0x1c]
push ebx
push edi
push eax
call fcn.005f33c0
add esp, 0xc
movdqu xmm0, xmmword [eax]
movapd xmm1, xmm0
mulsd xmm1, xmm0
movsd xmm0, qword [eax + 8]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, qword [esp + 0xc]
comisd xmm0, xmm1
jbe 0x64b25b
movsd xmm0, qword [edi + 0xa0]
movsd qword [esp + 0xc], xmm1
movsd qword [esp + 0x14], xmm0
push ebx
lea eax, [edi + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005f33c0
add esp, 0xc
movdqu xmm0, xmmword [eax]
movapd xmm1, xmm0
mulsd xmm1, xmm0
movsd xmm0, qword [eax + 8]
mulsd xmm0, xmm0
addsd xmm1, xmm0
movsd xmm0, qword [esp + 0xc]
comisd xmm0, xmm1
jbe 0x64b2a6
movsd xmm0, qword [edi + 0xa8]
movsd qword [esp + 0xc], xmm1
movsd qword [esp + 0x14], xmm0
mov esi, dword [esi + 4]
test esi, esi
jne 0x64b211
pop edi
pop ebx
fld qword [esp + 0xc]
pop esi
add esp, 0x30
ret 4
Function at 0x66af40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6b3ef3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi + 4], 0
mov dword [edi], 8
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
shl eax, 2
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 8
mov dword [edi + 0x2c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
mov byte [esp + 0x18], 1
mov eax, dword [edi + 0x14]
imul eax, edx
push eax
call fcn.0066b7b0
push dword [edi + 0x18]
lea ecx, [edi + 0x24]
call fcn.0066b850
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x66e3f2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x702c12f3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call sym._GetSystemInfo_4
sub esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 0x182
je 0x702c1325
mov eax, dword [ebp - 0x14]
cmp eax, 0x1e6
je 0x702c1325
mov eax, dword [ebp - 0x14]
cmp eax, 0x24a
jne 0x702c132c
mov eax, 1
jmp 0x702c1331
mov eax, 0
leave
ret
Function at 0x702c1759
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1f0fff
call sym._OpenProcess_12
sub esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._VirtualAllocEx_20
sub esp, 0x14
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._WriteProcessMemory_20
sub esp, 0x14
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], sym._LoadLibraryA_4
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CreateRemoteThread_28
sub esp, 0x1c
mov dword [ebp - 0x14], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._VirtualFreeEx_16
sub esp, 0x10
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
nop
leave
ret

Function at 0x702c188c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._ftell
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.File_size_is__d_n
call sym._printf
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._malloc
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x702c18fa
mov dword [esp], str.Malloc_failed_
call sym._puts
mov dword [esp], 1
call sym._exit
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fread
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x702c1aa9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov eax, dword [ebp + 8]
call eax
nop
leave
ret
Function at 0x702c1e70
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x702c603c
call sym._EnterCriticalSection_4
mov ebx, dword [0x702c6034]
sub esp, 4
test ebx, ebx
je 0x702c1ebb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x702c1eb4
test esi, esi
je 0x702c1eb4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x702c1e90
mov dword [esp], 0x702c603c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x702c20a0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], 0x702c414c
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x702c20f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x702c21c8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x702c212e
cmp eax, 4
jne 0x702c2150
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x702c213e
cmp edx, 4
je 0x702c213e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.702c20a0
Function at 0x1000e1bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1000e1cb
pop dword [ebp - 0x38]
mov eax, 0xffc6cd2e
add eax, 0x103a149d
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x35679
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x3998
xor edx, edx
add edx, eax
mov esi, 0xe2a7f570
add esi, 0x2d599090
add esi, dword [ebp - 0x38]
mov ebx, 0xd8052c7e
sub ebx, 0x60e677fb
add dword [ebp - 0x18], 0x5019dd7f
mov edi, dword [esi]
mov dword [ebp - 0x18], 0x18e71ada
xor edi, ebx
xor dword [ebp - 0x14], 0x3a473da1
mov dword [edx], edi
add dword [ebp - 4], 0x9ea3712f
add edx, 4
add esi, 4
loop 0x1000e221
add eax, 0x941ccdae
add eax, 0x6be40b85
xor ebx, ebx
add ebx, eax
add eax, 0x9c521b4e
add eax, 0x63ade4b7
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x406c81
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x406cbf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406c95
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x406c90
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406cec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406ccd
not eax
pop ebp
ret 0xc

Function at 0x414b70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x414b8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414b91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414b80
mov eax, 1
add ebx, ebx
jne 0x414ba3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414b98
jne 0x414bb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414b98
xor ecx, ecx
sub eax, 3
jb 0x414bc8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414c3a
mov ebp, eax
add ebx, ebx
jne 0x414bd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414be0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414c04
inc ecx
add ebx, ebx
jne 0x414bf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414be5
jne 0x414c01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414be5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414c24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414c15
jmp 0x414b86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414c24
add edi, ecx
jmp 0x414b86
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414c42
cmp byte [edi], 5
jne 0x414c42
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 0x414c47
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414cbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19be8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19c24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414c74
mov ecx, edi
jns 0x414ca3
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 + 0x19c2c]
or eax, eax
je 0x414cb9
mov dword [ebx], eax
add ebx, 4
jmp 0x414c91
call dword [esi + 0x19c28]
mov ebp, dword [esi + 0x19c30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x414cf3
sub esp, 0xffffff80
jmp 0x401150
Function at 0x10002fb6
Capabilities:
Get common file path
Set current directory

Disassembly:
push 0x64c
mov eax, 0x1011128c
call fcn.1011094d
mov dword [ebp - 0x658], ecx
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x64c], edi
mov esi, 0x208
mov dword [ebp - 4], edi
push esi
lea eax, [ebp - 0x440]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x238]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x654], 0x103
mov dword [ebp - 0x650], 0xf
test ebx, ebx
jne 0x1000301f
mov esi, 0x80004003
jmp 0x1000315c
push edi
push edi
push edi
push ecx
push edi
mov edx, ebx
lea ecx, [ebp - 0x64c]
call fcn.10046129
mov esi, eax
test esi, esi
js 0x1000315c
mov eax, dword [ebp - 0x64c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xbc]
test eax, eax
jne 0x10003058
mov esi, 0x80004005
jmp 0x1000315c
mov eax, dword [ebp - 0x64c]
lea edx, [ebp - 0x654]
push edx
lea edx, [ebp - 0x648]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
mov esi, eax
test esi, esi
js 0x1000315c
cmp dword [ebp - 0x654], 4
jbe 0x1000304e
mov eax, dword [ebp - 0x64c]
lea edx, [ebp - 0x650]
push edx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x68]
mov esi, eax
test esi, esi
js 0x1000315c
cmp dword [ebp - 0x650], 5
je 0x100030b8
cmp dword [ebp - 0x650], 3
jne 0x1000304e
push ecx
mov edx, str.accdb
lea ecx, [ebp - 0x30]
call fcn.10043548
test eax, eax
jne 0x100030e0
push ecx
mov edx, 0x101193ac
lea ecx, [ebp - 0x30]
call fcn.10043548
test eax, eax
je 0x1000304e
lea eax, [ebp - 0x440]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1000304e
push esi
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x64c]
call fcn.10046129
mov esi, eax
test esi, esi
js 0x1000315c
mov edi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x238]
push eax
call edi
mov esi, eax
lea eax, [ebp - 0x440]
push eax
call edi
test esi, esi
je 0x1000304e
mov esi, dword [ebp - 0x658]
push dword [esi + 0x44]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [esi + 0x44], 0
mov ecx, ebx
call fcn.10006afa
push eax
push ebx
lea ecx, [esi + 0x44]
call fcn.10046129
mov esi, eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x64c]
test eax, eax
je 0x10003173
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.101108ff
ret 4
Function at 0x100042e4
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x10111452
call fcn.10110919
mov edi, edx
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x10004307
mov esi, 0x80004003
jmp 0x10004372
test edi, edi
je 0x10004300
push eax
push eax
push eax
push ecx
push eax
mov edx, ebx
mov dword [edi], 1
lea ecx, [ebp - 0x10]
call fcn.10046129
mov esi, eax
test esi, esi
js 0x10004372
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xbc]
test eax, eax
jne 0x1000433a
and dword [edi], eax
jmp 0x10004372
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push ebx
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x1000436b
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
cmp esi, 2
jne 0x10004372
xor esi, esi
and dword [edi], esi
jmp 0x10004372
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10004386
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.101108ea
ret