joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4376bf
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x504e68]
call esi
test eax, eax
je 0x4376df
xor eax, eax
push eax
push eax
push eax
push dword [0x504e68]
jmp 0x43770f
push dword [0x504e60]
call esi
test eax, eax
je 0x4376f8
xor eax, eax
push eax
push eax
push eax
push dword [0x504e60]
jmp 0x43770f
push dword [0x504e5c]
call esi
test eax, eax
je 0x437717
xor eax, eax
push eax
push eax
push eax
push dword [0x504e5c]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

Function at 0x438784
Capabilities:
Check if file exists
Set current directory

Disassembly:
mov eax, 0x4c9120
call fcn.00494300
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4387c2
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041a71f
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004b40f1
lea eax, [ebp - 0x14]
push eax
call fcn.0041c6fa
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00419c31
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004b40f1
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.004b4288
push dword [ebp + 0x10]
mov eax, esi
neg eax
push dword [ebp - 0x24]
lea ecx, [esi + 0x68]
sbb eax, eax
and eax, ecx
mov ecx, esi
push eax
call fcn.00438565
test eax, eax
je 0x438819
mov esi, eax
jmp 0x43884e
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push ebx
push dword [ebp - 0x24]
call dword [eax + 0x28]
test eax, eax
je 0x438833
or esi, 0xffffffff
jmp 0x43884e
mov edi, dword [edi]
mov eax, dword [esi]
push edi
push ebx
mov ecx, esi
call dword [eax + 0x2c]
or esi, 0xffffffff
cmp eax, esi
je 0x43884e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00419c9e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x43cec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c9428
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x44]
push esi
mov ebx, ecx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43cf42
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x43cf67
push ebp
push eax
lea ecx, [esp + 0x18]
call fcn.00442a50
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x3c], 0
call fcn.0043d070
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x34], 0xffffffff
call fcn.00442aa0
mov al, bl
jmp 0x43cf69
mov edi, str.Unable_to_load_resource_
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor al, al
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x446940
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
call fcn.00439c20
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
jns 0x446972
mov dword [esp + 0x2c], 0
jmp 0x44698d
mov ecx, ebp
call fcn.00439c20
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x2c], eax
mov ecx, ebp
call fcn.00439c20
xor edi, edi
mov ebx, eax
mov di, word [esi]
xor ecx, ecx
mov cx, word [esi + 4]
xor edx, edx
xor eax, eax
mov dx, di
mov ax, word [esi + 2]
sub ebx, eax
lea esi, [ecx + edx]
mov ecx, ebp
mov dword [esp + 0x20], ebx
call fcn.00439c30
cmp eax, esi
jae 0x4469cd
mov ecx, ebp
call fcn.00439c30
mov dword [esp + 0x10], eax
jmp 0x4469d1
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
call fcn.00439a50
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
cmp ebp, ebx
jge 0x446a3d
mov eax, dword [esp + 0x10]
mov esi, edi
cmp edi, eax
jge 0x446a38
mov eax, dword [esp + 0x2c]
mov ebx, ebp
sub ebx, eax
mov ecx, dword [esp + 0x28]
mov eax, esi
sub eax, edi
push ebx
push eax
call fcn.0043b940
mov edx, dword [esp + 0x18]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xff
cmp ecx, edx
je 0x446a2b
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push esi
call fcn.0043bdb0
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4469f8
mov ebx, dword [esp + 0x20]
inc ebp
cmp ebp, ebx
jl 0x4469e6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x44a1e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x44a210
push esi
call fcn.0044a6e0
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x44a209
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x44a293
mov eax, dword [esi + 0x1a0]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x44a27f
mov eax, dword [esi + 8]
test eax, eax
je 0x44a234
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1a0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44a27b
cmp eax, 2
je 0x44a27f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44a227
cmp eax, 3
je 0x44a25a
cmp eax, 1
jne 0x44a227
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44a227
mov edx, dword [esi + 0x120]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44a227
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.0044a2c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44a2b3
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0044a2c0
add esp, 4
pop esi
ret
Function at 0x472170
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x47218a
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x47218a
mov edx, dword [esp + 8]
push edx
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x473d60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
push 1
call fcn.00475750
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, esi
jne 0x473d93
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0xf4240
mov dword [edx + 0x258], eax
mov ecx, dword [ebp - 4]
push 0x40
mov dword [ecx + 0x25c], eax
push fcn.004976f4
mov edx, dword [ebp - 4]
push edx
call fcn.00472110
push esi
push eax
call fcn.00497770
add esp, 0x14
test eax, eax
je 0x473dcf
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push eax
push ecx
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00475970
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004721d0
mov edi, dword [ebp + 8]
add esp, 0x20
cmp edi, esi
mov ebx, 0x20000
je 0x473e39
push 0
call fcn.00472900
mov dl, byte [esi + edi]
mov cl, byte [eax + esi]
add esp, 4
cmp dl, cl
je 0x473e27
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x70]
or ecx, ebx
mov dword [eax + 0x70], ecx
push 0
call fcn.00472900
mov al, byte [eax + esi]
add esp, 4
inc esi
test al, al
jne 0x473e08
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x70]
test ebx, eax
je 0x473eb1
test edi, edi
je 0x473eaa
mov bl, byte [edi]
push 0
call fcn.00472900
mov cl, byte [eax]
add esp, 4
cmp bl, cl
jne 0x473e7d
cmp bl, 0x31
jne 0x473e72
push 0
call fcn.00472900
mov dl, byte [edi + 2]
mov cl, byte [eax + 2]
add esp, 4
cmp dl, cl
jne 0x473e7d
cmp byte [edi], 0x30
jne 0x473eb1
cmp byte [edi + 2], 0x39
jge 0x473eb1
test edi, edi
je 0x473eaa
push 0
call fcn.00472900
push eax
push edi
push str.Application_built_with_libpng__.20s_but_running_with__.20s
lea eax, [ebp - 0x58]
push 0x50
push eax
call fcn.00497b82
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00471f30
add esp, 0x20
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
mov eax, dword [ebp - 8]
test eax, eax
jne 0x473eff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xb4]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00475940
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xb0]
test eax, eax
jne 0x473ef8
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x473f3c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004758f0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x20]
push ecx
mov dword [eax + 0xb0], 0
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004757f0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.004756d0
mov edx, dword [ebp - 4]
push edx
call fcn.00474460
add esp, 0x14
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x495609
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x495629
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0049816e
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x49564c
test byte [esp + 8], 2
je 0x49564c
call fcn.004981e1
mov dword [eax], 0xd
call fcn.004981ea
mov dword [eax], 5
jmp 0x495625
xor eax, eax
ret
Function at 0x4abdc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004943f0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4abe8b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4abe8b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4abe3e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4abe49
or bh, 8
and edi, 0x8000000
je 0x4abe64
mov eax, dword [0x508cbc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4abe8b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ac260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4ac28b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4ac2af
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4ac2ca
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x4b10fe
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b1136
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b45af
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b4586
jmp 0x4b1142
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4b2a42
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b2a84
call fcn.004c3176
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4b2a84
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b2a7b
xor eax, eax
jmp 0x4b2a8c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b2a92
pop edi
pop esi
pop ebx
ret 4
Function at 0x10013074
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10013083
pop dword [ebp - 0x50]
mov eax, 0xf786af48
add eax, 0x187a813b
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x3edebd8d
sub dword [ebp - 0x60], 0xf08c7842
mov dword [ebp - 0x5c], 0x6a895d86
add dword [ebp - 0x5c], 0xc7a9eebf
mov dword [ebp - 0x58], 0x9d0852f3
sub dword [ebp - 0x58], 0x50bc0ec5
mov dword [ebp - 0x54], 0x7c435b81
add dword [ebp - 0x54], 0x83bca47f
lea eax, [ebp - 0x60]
push eax
mov eax, 0x27eeea41
sub eax, 0x17ed99a9
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xf5b704d5
sub dword [ebp - 0x60], 0x81449b7f
mov dword [ebp - 0x5c], 0x6ba64f90
sub dword [ebp - 0x5c], 0x2a39ee1b
mov dword [ebp - 0x58], 0x779359c3
add dword [ebp - 0x58], 0xebdc12a9
mov dword [ebp - 0x54], 0x97e6d4e2
sub dword [ebp - 0x54], 0x97e6d4e2
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xfebb5945
sub eax, 0xeeba08a9
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x39194
push 0
call eax
mov ecx, 0x89928840
sub ecx, 0x89923e67
mov edx, eax
mov edi, 0x10041c00
add edi, dword [ebp - 0x50]
mov esi, 0xecf629c9
sub esi, 0x1212383e
xor dword [ebp - 0x30], ebx
mov ebx, dword [edi]
add dword [ebp - 0x10], ebx
add ebx, esi
xor dword [ebp - 0x34], ecx
mov dword [edx], ebx
sub dword [ebp - 0x24], 0x81aeae5d
add edx, 4
add edi, 4
loop 0x1001319f
add eax, 0x7978af69
add eax, 0x86886ace
mov ebx, eax
add eax, 5
mov ecx, 0x7f5467b1
sub ecx, 0x6f5467b1
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x25802400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x2580240f
pop dword [ebp - 0x14]
mov eax, 0x2580240f
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x69818521
add dword [ebp - 0x24], 0xe4d0c02a
mov dword [ebp - 0x20], 0x5bb902b5
add dword [ebp - 0x20], 0xd67a4990
mov dword [ebp - 0x1c], 0xcd8b25a3
sub dword [ebp - 0x1c], 0x813ee175
mov dword [ebp - 0x18], 0x1ff0740c
add dword [ebp - 0x18], 0xe00f8bf4
lea eax, [ebp - 0x24]
push eax
mov eax, 0x7772ad32
add eax, 0xae0f2312
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xc533dbd1
add dword [ebp - 0x24], 0xaf3e8d85
mov dword [ebp - 0x20], 0x307c5edc
sub dword [ebp - 0x20], 0xef0ffd67
mov dword [ebp - 0x1c], 0x7c51839e
add dword [ebp - 0x1c], 0xe71de8ce
mov dword [ebp - 0x18], 0x1b3da8b4
add dword [ebp - 0x18], 0xe4c2574c
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x78ef7111
add eax, 0xac925f6f
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3ebeb
push 0
call eax
mov ecx, 0x4fa1
mov edx, eax
mov ebx, 0x23da9711
sub ebx, 0xfe580111
add ebx, dword [ebp - 0x14]
mov esi, 0x7d867b87
sub esi, 0xd411a1e2
xor dword [ebp - 0x10], edx
mov edi, dword [ebx]
add dword [ebp - 0xc], edx
sub edi, esi
mov dword [edx], edi
add dword [ebp - 8], edx
add edx, 4
add ebx, 0x5a791f70
sub ebx, 0x5a791f6c
loop 0x25802526
add eax, 0x4c1e6b50
sub eax, 0x4c1d39f9
xor ebx, ebx
add ebx, eax
add eax, 0xb24fefdc
sub eax, 0xb24fefd7
mov ecx, 0x961ac96a
sub ecx, 0x709ac96a
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [0x2fc0c8]
push eax
add ecx, 0x40
push 0x40d274
push ecx
call dword [0x40cf80]
mov ecx, 0x4102ac
sub dword [eax + 0xc], 0xffffff85
add dh, byte [edi + ecx + 0x50]
push 0x40c254
call dword [0x4940c149]
add esp, 8
mov dh, 0xdc
call dword [sym.imp.MSVCRT.dll_exit]
jo 0x40174e
inc eax
add byte [eax - 0x7e137416], dl
in al, dx
invalid
invalid

Function at 0x40b2d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
mov al, byte [esi - 0xa]
test al, al
je 0xb740b36f
mov ecx, dword [esi + 0x48]
mov al, al
push ds
cmp ecx, 1
push edi
pop ebp
inc ebp
cld
pop eax
clc
jae 0x40b303
test dword [eax + eax - 0x68d9ffa5], ebx
cmp al, 0x3b
pushal
imul eax, dword [ecx + edx*4 - 0x75000000], 0x5e
cmp byte [ebx + 0x2f76ffff], al
add byte [ebx - 0x7cc7a2], cl
push dword [esi + 0x2f]
xor dword [ebp + 0x53], 0xffffffeb
adc dword [ebx + 0x4618bc7], ecx
test byte [ebp - 0x44], 0x6a
add byte [ecx + 0x5d], dl
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40b358
xchg ebx, eax
inc ebp
cld
mov edx, dword [esi - 0x71]
mov ecx, dword [esi + 0x54]
add ebx, dword [edi - 0x7d]
rol dword [eax], 1
sub al, bh
add ebx, eax
mov dword [edx + 0x50], edi
ud0
push ebp
leave
cwde
rol byte [eax], 0xff
xlatb
test eax, eax
jne 0x40b369
mov ebp, edi
popfd
jmp 0x40b373
inc dword [ebp + 5]
cmp ah, 0xa
add byte [ecx + 0x458b0845], cl
cld
mov eax, dword [ebp - 4]
mov edx, dword [esi + 0x50]
mov edx, dword [esp + edx*2 + 3]
Function at 0x40bb00
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40bcce
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40bb2b
mov eax, 0x7000000
jmp 0x40bb33
test eax, eax
je 0x40bca9
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.004609d0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x5b2480]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40bcc1
cmp ecx, 0x21
jae 0x40bcb5
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045b220
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.0045b2f0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x522880]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x5228e8]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40bc84
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x522930]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.00460ab0
mov eax, ecx
mov ecx, 0x21
call fcn.00460b60
nop
call fcn.0045f610
jmp fcn.0040bb00