joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c84b
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x42c876
call fcn.0042b93c
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x42c899
push eax
push dword [esi + 4]
call fcn.0042c7d1
push esi
push eax
mov ecx, 0x5b0ed8
call fcn.0042c473
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x488e07
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x488e21
call fcn.0042b93c
mov esi, dword [eax + 0xc]
push dword [0x5b2cd8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x488e3f
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x488e37
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x488e6c
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x488e39
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00488d35
mov esi, eax
jmp 0x488e5e

Function at 0x5023de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x5023f6
mov edi, dword [esi + 0xc]
jmp 0x502436
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x50240f
call fcn.00420cb2
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x502424
call fcn.00420cb2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x502436
call fcn.00420cb2
call fcn.0042b93c
cmp dword [eax + 0x3c], 0
je 0x50244b
push edi
mov ecx, ebx
call fcn.00501208
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.005022f8
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x502469
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x502475
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x51b896
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5ac1d0]
jne 0x51b8a0
repz ret
jmp fcn.00524e93
Function at 0x531928
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5ac1d0]
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.005248bb
and dword [ebp - 0x14], 0
cmp dword [0x5b56a8], 0
mov dword [ebp - 0x18], eax
jne 0x5319db
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x531a83
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x57b358
push ebx
call edi
test eax, eax
je 0x531a83
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x57b348
push ebx
mov dword [0x5b56a8], eax
call edi
push eax
call esi
push 0x57b334
push ebx
mov dword [0x5b56ac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5b56b0], eax
call edi
push eax
call esi
mov dword [0x5b56b8], eax
test eax, eax
je 0x5319db
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5b56b4], eax
mov eax, dword [0x5b56b4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x531a34
cmp dword [0x5b56b8], ecx
je 0x531a34
push eax
call esi
push dword [0x5b56b8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x531a34
test ebx, ebx
je 0x531a34
call edi
test eax, eax
je 0x531a2b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x531a2b
test byte [ebp - 8], 1
jne 0x531a34
or dword [ebp + 0x10], 0x200000
jmp 0x531a67
mov eax, dword [0x5b56ac]
cmp eax, dword [ebp - 0x18]
je 0x531a67
push eax
call esi
test eax, eax
je 0x531a67
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x531a67
mov eax, dword [0x5b56b0]
cmp eax, dword [ebp - 0x18]
je 0x531a67
push eax
call esi
test eax, eax
je 0x531a67
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5b56a8]
call esi
test eax, eax
je 0x531a83
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x531a85
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051b896
leave
ret
Function at 0x8003b13
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x800438c], 0x30
mov dword [0x8004394], 0x8003424
mov dword [0x8004390], 2
mov dword [0x8004398], 0
mov dword [0x800439c], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b56
mov dword [0x80043a0], eax
mov dword [0x80043b4], 0x80041cc
mov dword [0x80043ac], 0xf
mov dword [0x80040ee], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043a4], eax
mov dword [0x80043b8], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x80040f6], ebp
mov dword [0x80043a8], eax
push 0x800438c
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x800440c], eax
push 0
push dword [0x80040ee]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x8004404], eax
push 1
push dword [0x8004404]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x8004404]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c14
xor edi, edi
lea ebx, [0x80043bc]
jmp 0x8003c2c
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c1e
jmp 0x8003c40
mov eax, dword [0x80043c4]
call 0x8002b1f
ret

Function at 0x427e1e
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0x3c244434
xor al, 0xc7
and al, 0x3c
xor al, 0x6c
mov cl, 0x35
xor al, 0xc7
and al, 0x3c
xor al, 0xe5
and al, 0x3c
xor al, 0xac
mov cl, 0x35
xor al, 0xf4
and al, 0x3c
xor al, 0x22
and al, 0x3c
xor al, 0xbc
mov cl, 0x35
xor al, 0x22
and al, 0x3c
xor al, 0x3e
and eax, 0xb1e4343c
xor eax, 0x3c253e34
xor al, 0x5a
and eax, 0xb1f0343c
xor eax, 0x3c255a34
xor al, 0x79
and eax, 0xb1fc343c
xor eax, 0x3c258434
xor al, 0x6d
sub bh, byte [esp + esi]
or byte [ecx + 0x2a6d3435], dh
cmp al, 0x34
xchg esp, eax
sub bh, byte [esp + esi]
push esp
mov bl, 0x35
xor al, 0x94
sub bh, byte [esp + esi]
mov ebx, 0x70343c2a
mov bl, 0x35
xor al, 0xbb
sub bh, byte [esp + esi]
sbb byte [edx], ch
cmp al, 0x34
invalid

Function at 0x42e006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x7ad708e7
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x59057640
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40741c
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x41f250]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x407458
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x407470
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x407469
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call sub.Vcl50.bpl__System__FillChar_qqrv
xor edx, edx
mov eax, 0x41f450
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4074da
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x40748e
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x407718
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x407731
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x40772a
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x407743
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x40773c
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0040730c
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x40775d
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.0040741c
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4077e2
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4077ff
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0040739c
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x407828
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x407859
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x407852
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x40786d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00407204
test bl, bl
jne 0x407940
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4200a4
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4078a4
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4078b8
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00407718
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4078ea
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x407899
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x40790d
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x40791e
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x407932
jmp 0x4079fb
cmp bl, 1
jne 0x4079fb
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4200fe
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x407960
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x407974
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00407718
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4079a6
sub ebx, 6
inc dword [ebp - 8]
jne 0x407955
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4079cd
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4079de
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4079f2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00407288
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x40ab98
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x105
call sub.Vcl50.bpl__System__FillChar_qqrv
lea eax, [esp + 0x105]
xor ecx, ecx
mov edx, 0x105
call sub.Vcl50.bpl__System__FillChar_qqrv
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
push 0x104
lea eax, [esp + 0x109]
push eax
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetLongPathNameA
mov eax, ebx
lea edx, [esp + 0x105]
mov ecx, 0x105
call sub.Vcl50.bpl__System__LStrFromArray_qqrr17System_AnsiStringpci
add esp, 0x20c
pop ebx
ret

Function at 0x40b738
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x40b747
add esp, 0xfffffff0
call sub.Vcl50.bpl__System__ClassCreate_qqrv
mov ebx, edx
mov edi, eax
push 0x40b80c
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
mov dword [edi + 4], esi
test esi, esi
je 0x40b7e7
push 0x40b81c
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [edi + 8], eax
push 0x40b830
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [edi + 0xc], eax
push 0x40b840
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [edi + 0x10], eax
push 0x40b854
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [edi + 0x14], eax
push 0x40b868
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [edi + 0x18], eax
push 0x40b878
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [edi + 0x1c], eax
push 0x40b888
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [edi + 0x20], eax
push 0x40b898
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [edi + 0x24], eax
lea eax, [edi + 0x28]
call sub.Vcl50.bpl__System__LStrClr_qqrr17System_AnsiString
mov eax, edi
test bl, bl
je 0x40b804
call sub.Vcl50.bpl__System__AfterConstruction_qqrv
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x431470
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.tier0.dll_Plat_IsInDebugSession]
movzx eax, al
test eax, eax
je 0x431483
int3
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.tier0.dll_WriteMiniDump]
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop ebp
ret

Function at 0x4324e0
Capabilities:
Terminate process

Disassembly:
push 0x4a2480
push 0x4a2484
push str.VFileSystem022
push str.filesystem_stdio
call fcn.00444200
add esp, 0x10
test al, al
jne 0x432520
push 0x4a2480
push 0x4a2484
push str.VFileSystem022
push str.filesystem_steam
call fcn.00444200
add esp, 0x10
test al, al
je 0x432568
mov ecx, dword [0x4a2480]
push 0x4324c0
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test al, al
je 0x43256f
mov ecx, dword [0x4a2480]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp eax, 1
jne 0x432576
mov ecx, dword [0x4a2480]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [0x4a2480]
push 0
push str.LOCAL
push 0x488b86
mov eax, dword [ecx]
call dword [eax + 0x1c]
ret
push 0
call fcn.0043400c
push 0
call fcn.0043400c
push 0
call fcn.0043400c
int3
Function at 0x441d25
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x495bd0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [section..data]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00436f25
mov dword [ebp - 0x14], eax
cmp dword [0x4a31fc], esi
jne 0x441e18
push 0x800
push esi
push 0x4903cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x441da5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x441ef8
push esi
push esi
push 0x4903cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x441ef8
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x441ef8
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4a31fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4a3200], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4a3204], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a320c], eax
test eax, eax
je 0x441e15
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a3208], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x441e3d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x441e30
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x441e52
push 4
pop eax
jmp 0x441efa
cmp dword [ebp - 0x14], esi
je 0x441e52
push dword [0x4a31fc]
call dword [0x495004]
push 3
jmp 0x441e37
mov eax, dword [0x4a3208]
mov ebx, dword [0x495004]
cmp eax, edi
je 0x441eb0
cmp dword [0x4a320c], edi
je 0x441eb0
push eax
call ebx
push dword [0x4a320c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x441eb0
test eax, eax
je 0x441eb0
call ecx
test eax, eax
je 0x441ea5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x441ea5
test byte [ebp - 8], 1
jne 0x441eb0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x441ee0
mov eax, dword [0x4a3200]
cmp eax, edi
je 0x441edd
push eax
call ebx
test eax, eax
je 0x441edd
call eax
mov esi, eax
test esi, esi
je 0x441edd
mov eax, dword [0x4a3204]
cmp eax, edi
je 0x441edd
push eax
call ebx
test eax, eax
je 0x441edd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4a31fc]
call ebx
test eax, eax
je 0x441ef8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x441efa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434aaf
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x934370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x93438e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x95d074
push ecx
mov edi, eax
call fcn.00948198
mov esi, eax
add esp, 8
test esi, esi
jne 0x9343cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0094802e
push esi
call fcn.00947fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x937850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x9378ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x962720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9378ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.009481e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x9378ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x962720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x93792a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00949082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x937957
mov word [eax], si
add eax, 2
push eax
call fcn.00949030
add esp, 4
jmp 0x937959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x9378ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x9378b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x937ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret