joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4751d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x94
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
xor ebp, ebp
push edi
cmp ebx, ebp
je 0x4751f0
test byte [ebx + 0x1c], 0x10
je 0x4751f0
mov edi, ebx
jmp 0x4751f2
xor edi, edi
or eax, 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebp
cmp edi, ebp
je 0x4753fb
mov eax, dword [ebx + 0x18]
cmp eax, ebp
je 0x475216
push eax
push ebp
call fcn.0046eb30
add esp, 8
test byte [edi + 0x4c], 2
je 0x475271
push 0x4b31ec
push 0x4b3204
push 0x104
push 0x4b3220
push 0x4b3230
push 0xdeaddead
call fcn.00466710
add esp, 0x18
push 0x4b3254
push str._buf_o__write_in_progress
push 0x104
push 0x4b3288
push 0x4b3298
call fcn.004768a8
add eax, 0x40
push eax
call fcn.00476b83
add esp, 0x18
call fcn.00445392
test byte [ebx + 0x1c], 4
jne 0x4753e5
test byte [edi + 0x4c], 1
jne 0x4753e5
push esi
push 0x80
lea esi, [edi + 0x58]
push ebp
push esi
mov dword [edi + 0x50], ebp
mov dword [edi + 0x54], ebp
call fcn.00444cd0
mov ebp, dword [esp + 0xb8]
push 0x10
push ebp
push ebx
call fcn.00464ee0
add esp, 0x18
cmp eax, 0xffffffff
je 0x4753e4
push 0
push ebx
call fcn.00463790
push 1
lea eax, [esp + 0x24]
push eax
push 0x10
lea ecx, [esp + 0x38]
push ecx
push ebp
push ebx
call fcn.00462af0
mov ebp, eax
add esp, 0x20
xor eax, eax
test ebp, ebp
jle 0x4752f6
mov ecx, esi
mov edx, dword [esp + eax*8 + 0x24]
mov dword [ecx + 4], edx
mov edx, dword [esp + eax*8 + 0x28]
mov dword [ecx], edx
inc eax
add ecx, 8
cmp eax, ebp
jl 0x4752e1
mov eax, dword [esp + 0x18]
mov dword [edi + 0x54], ebp
mov esi, dword [eax]
mov dword [edi + 0x50], esi
mov dword [esp + 0x10], 0
test esi, esi
je 0x475325
mov edi, edi
push 0x10
push esi
call fcn.00461810
mov esi, dword [esi]
inc dword [esp + 0x18]
add esp, 8
test esi, esi
jne 0x475310
cmp dword [esp + 0x10], ebp
je 0x475380
push 0x4b32bc
push 0x4b32d4
push 0x120
push 0x4b32e4
push 0x4b32f4
push 0xdeaddead
call fcn.00466710
add esp, 0x18
push str.evbuffer_launch_read_
push str.npin__nvecs
push 0x120
push str.buffer_iocp.c
push str._s:_d:_Assertion__s_failed_in__s
call fcn.004768a8
add eax, 0x40
push eax
call fcn.00476b83
add esp, 0x18
call fcn.00445392
push ebx
call fcn.00461940
mov ecx, dword [esp + 0xb4]
add esp, 4
push 0
push ecx
mov ecx, dword [edi + 0x48]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
push ebp
lea eax, [edi + 0x58]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x4753d8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x4753d8
push 0x10
push edi
call fcn.00474cc0
push 0
push ebx
call fcn.004637d0
push ebx
call fcn.00461da0
add esp, 0x14
jmp 0x4753e4
or dword [edi + 0x4c], 1
mov dword [esp + 0x14], 0
pop esi
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x4753f7
push ebx
push 0
call fcn.0046eb40
add esp, 8
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
add esp, 0x94
ret
Function at 0x40154b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x46f1a0]
xor ebx, ebx
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x4015bb
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.004017a5
lea ecx, [esp + 0x1c]
call fcn.00401317
cmp eax, dword [esp + 0x10]
je 0x4015d2
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00401782
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x40158b
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401add
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00401782
jmp 0x4015bd

Function at 0x401659
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
sub cx, 0x1f9
mul edi
dec cx
mul di
mul ebx
sub ax, 0x22b
or edi, ebx
shr cx, 2
rcl eax, 0x6e
rol ax, 0x19
rcl cx, 0xcb
mul si
mov si, 0x1b0
rcr esi, 0xed
inc si
dec dx
movsx ebx, si
movsx ecx, si
rcl cx, 0x33
mov edx, esi
shr ax, 0xb9
dec cx
ja 0x4016b3
test edx, 0x43
ja 0x4016d4
dec bx
imul eax
jmp 0x4016c3
rol bx, 0x64
sub di, cx
ror esi, 0x18
ror ecx, 0xef
movsx ebx, bx
rcl eax, 0x5b
mul esi
jae 0x4016d4
inc ax
movsx ecx, si
rcr ebx, 0x8e
jmp 0x4016ef
and ecx, 0x33b
ror edx, 0x56
rcr di, 0xc6
or esi, 0x389
movzx edi, ax
movsx edi, si
imul edx
mul cx
ror ax, 0x4e
sub ebx, 0xb9
rcl cx, 0x60
jb 0x40170e
imul si
mul eax
inc esi
xor bx, dx
inc ebx
jmp 0x401720
mul eax
add eax, edi
mov ax, 0x2a4
mul ebx
ror edi, 0xfc
xor di, 0xdb
movsx ecx, di
dec bx
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x46f1a0], eax
push 0x27
mov esi, 0x46e130
mov edx, 0x547
push 0x41b900
mov ecx, esi
call fcn.00401112
pop ecx
pop ecx
mov edx, 0x8aafdc01
call fcn.0040154b
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
pop ebx
test eax, eax
je 0x40177c
call fcn.004015f4
xor eax, eax
leave
ret 0x10

Function at 0x40238b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4023ca
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4023ca
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4023ca
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4023ca
cmp dword [ecx + 0x74], 0xe
jbe 0x4023ca
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x412fc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412fed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412fed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x103b4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x103b41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x103b407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103b406a
add dl, dl
jne 0x103b4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103b40dc
xor eax, eax
add dl, dl
jne 0x103b4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103b417d
add dl, dl
jne 0x103b40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103b40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103b40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103b40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x103b40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x103b4075
mov eax, 1
add dl, dl
jne 0x103b40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103b40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103b40e1
sub eax, ebx
mov ebx, 1
jne 0x103b4128
mov ecx, 1
add dl, dl
jne 0x103b410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x103b4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103b4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103b4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x103b413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x103b414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103b4136
cmp eax, 0x7d00
jae 0x103b416d
cmp eax, 0x500
jb 0x103b4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103b4075
cmp eax, 0x7f
ja 0x103b4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103b4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x103b419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x103b4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x1011b3f
Capabilities:
Encode data using xor

Disassembly:
cmp eax, 0x6e43ace9
js 0x1011bbf
pop edi
hlt
pop ss
xchg dword [edx + 0x7e], edx
mov dl, 0x3c
add edi, dword [ecx]
mov byte [edx + 0x14a9826f], 0x9e
push eax
xchg esi, eax
cmc
shr esp, cl
xor dword [ebx + 0x54], esi
not dword [ecx - 0x22]
sal byte [edx + eax*8], 1
leave
loopne 0x1011bce
mov eax, dword [0xc6e6c32b]
sub byte [edx + 0x25], dl
movsb byte es:[edi], byte [esi]
int3
Function at 0x1ed8fd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19c3000]
push edi
or ebp, 0xffffffff
jmp 0x1ed8ff2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1ed8ff9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed8fe8
mov eax, 1
add ebx, ebx
jne 0x1ed900b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1ed901c
jne 0x1ed903b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed903b
dec eax
add ebx, ebx
jne 0x1ed9028
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1ed9000
add ebx, ebx
jne 0x1ed9037
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1ed908d
xor ecx, ecx
sub eax, 3
jb 0x1ed9053
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1ed90c2
sar eax, 1
mov ebp, eax
jmp 0x1ed905e
add ebx, ebx
jne 0x1ed905e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed902c
inc ecx
add ebx, ebx
jne 0x1ed906c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ed902c
add ebx, ebx
jne 0x1ed9079
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1ed906e
jne 0x1ed908a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1ed906e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1ed90ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1ed909e
jmp 0x1ed8fee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1ed90ac
add edi, ecx
jmp 0x1ed8fee
pop esi
mov edi, esi
mov ecx, 0x121cb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1ed90ca
cmp byte [edi], 0x62
jne 0x1ed90ca
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 0x1ed90cf
lea edi, [esi + 0x1abe000]
mov eax, dword [edi]
or eax, eax
je 0x1ed9147
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ad9f9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ada108]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1ed90fc
mov ecx, edi
jns 0x1ed912b
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 + 0x1ada110]
or eax, eax
je 0x1ed9141
mov dword [ebx], eax
add ebx, 4
jmp 0x1ed9119
call dword [esi + 0x1ada10c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1ed9178
cmp al, 0xef
ja 0x1ed916b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1ed914d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1ed915a
mov ebp, dword [esi + 0x1ada114]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x1ed91ac
sub esp, 0xffffff80
jmp 0x65f6d3
Function at 0x409284
Capabilities:
Encode data using xor

Disassembly:
push esp
xchg ah, bh
mov word [esi + eax*4 - 8], dx
mov word [esi + eax*4 - 0xc], dx
invalid

Function at 0x40a363
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov esi, dword [esp + 8]
movzx esi, byte [esp + esi + 0x18]
lea edi, [edx - 0x4d57c92e]
sub edx, edi
mov dword [esp + 0x28], edx
push esp
and al, 0x28
mov edx, dword [esp + 0x28]
add dl, 0x42
mov esi, dword [esp + 8]
and al, 8
mov byte [esp + esi + 0x18], dl
inc dword [esp + 8]
mov edx, dword [esp + 8]
cmp edx, 0x10
jb 0x40a341
mov dword [esp + 8], 0x64626644
mov word [esp + 0xc], 0x7d60
mov dword [esp + 0xe], 0
mov byte [esp + 0x12], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 0xa
ja 0x40a3f5
nop
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
add al, ah
dec esi
mov bh, 0xb6
jl 0x40a3f2
or byte [ebp - 0x397ec5cc], cl
outsd dx, dword [esi]
pop ss
pop ebx
invalid
and al, 0x8b
adc al, 0x24
and al, 0x83
cli
or esi, dword [edx - 0x44]
cmp edx, 0xb
jb 0x40a3b7
mov dword [esp + 0x28], 0xd0320605
mov dword [esp + 0x2c], 0xd42c0202
sub al, 2
add ch, byte [esp + edx*8]
mov dword [esp + 0x30], 0x27dcd205
mov dword [esp + 0x34], 0xdcdf24d3
mov dword [esp + 0x38], 0x2cdfd3d0
mov dword [esp + 0x3c], 0xee3d4749
mov dword [esp + 0x40], 0x38e4e9ec
inc eax
in al, dx
jmp 0xad53dd19
loope 0x40a3fe
inc esp
and al, 0x44
out 0x22, al
xor al, 0xe8
mov dword [esp + 0x48], 0xc3e5e5e3
inc esp
and al, 0x3c
dec ecx
inc edi
cmp eax, 0x2444c7ee
cmp dword [edx], 0x2444c7de
dec esp
cmc
std
idiv esi
mov dword [esp + 0x50], 0xe4c23fc
add al, 0xeb
jns 0x40a424
inc esp
and al, 0x54
div ebx
xor al, 0xc7
inc esp
and al, 0x58
add al, byte [edx]
invalid

Function at 0x40a697
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [esp + 0x88], 0x2b2d321a
mov dword [esp + 0x8c], 0xe3dad225
mov dword [esp + 0x90], 0xda9fe19f
add byte [eax], al
lahf
loope 0x40a5c9
fcmovb st(0), st(7)
test byte [esp + edx*4], ah
add byte [eax], al
add al, cl
invalid
fcmovnu st(0), st(2)
mov dword [esp + 0x98], 0x747a76ea
mov word [esp + 0x9c], 0x7d78
mov dword [esp + 0x9e], 0
mov dword [esp + 8], 0
add byte [eax], al
add byte [ebx - 0x7cf7dbbc], cl
clc
sub dword [edi + 0x30], esi
loopne 0x40a6b7
mov bh, 0x90
nop
nop
nop
or byte [eax - 0x87f3bc], cl
inc esp
and al, 8
add byte [eax], al
add al, 0x8b
dec esp
and al, 4
Function at 0x40a773
Capabilities:
Contain obfuscated stackstrings
Encrypt data using rc4 prga

Disassembly:
mov dword [esp + 0x34], 0x761a3068
mov dword [esp + 0x38], 0x100d1113
mov dword [esp + 0x3c], 0x80f110d
mov dword [esp + 0x40], 0xd4a5306
mov dword [esp + 0x44], 0x42031f03
mov dword [esp + 0x48], 0x12061014
mov dword [esp + 0x4c], 0x1618554f
mov dword [esp + 0x50], 0x59471c15
mov dword [esp + 0x54], 0x1a12141a
mov dword [esp + 0x58], 0x25627a62
mov dword [esp + 0x5c], 0x2923292d
mov dword [esp + 0x60], 0x762f2429
mov word [esp + 0x64], 0x8d6e
mov byte [esp + 0x68], 0
mov word [esp + 0x66], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x50
ja 0x40a84c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
invalid
invalid
Function at 0x4345dc
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
add al, 1
invalid
sti
mov dword [esp + 0xc], edi
mov edi, esi
not edi
mov esi, dword [esp + 0x28]
or edi, esi
xor edi, ebx
add eax, dword [esp + 0x24]
rol edx, 0xf
add dword [esi], ecx
add al, 0xeb
js 0x434561
dec esi
std
push ebx
test eax, 0x5c8bca01
and al, 0x18
rol ebx, 0xa
mov eax, edx
loopne 0x4345bb
retf 0x5c8b
mov bh, 0x89
pop esp
and al, 0x18
not edi
and edi, dword [esp + 0x1c]
add ecx, dword [esp + 0x48]
add ecx, edi
mov edi, edx
and edi, ebx
add ecx, edi
add ecx, 0x5c4dd124
mov edi, eax
rol edi, 0xf
rol esi, 0xa
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x10]
add edi, ebx
mov eax, edi
mov dword [esp + 0x14], edi
mov edi, esi
not edi
or edi, dword [esp + 0xc]
xor edi, eax
add ebx, dword [esp + 0x20]
rol ecx, 0xd
add dword [esi], ecx
add al, 0xeb
jnp 0x43453a
ret
std
push ebx
test eax, 0x448be901
and al, 0x1c
rol eax, 0xa
mov dword [esp + 0x1c], eax
mov edi, eax
not edi
and edi, edx
add ebp, dword [esp + 0x58]
add ebp, edi
mov edi, ecx
and edi, eax
lea esi, [edi + ebp]
xor al, 0x2f
add esi, 0x5c4dd124
rol ebx, 5
mov edi, dword [esp + 0xc]
rol edi, 0xa
mov dword [esp + 0xc], edi
mov eax, dword [esp]
add ebx, eax
mov dword [esp + 8], ebx
not edi
or edi, dword [esp + 0x14]
xor edi, ebx
add eax, dword [esp + 0x30]
rol esi, 0xb
lea ebx, [edi + eax]
add ebx, 0xa953fd4e
mov eax, dword [esp + 0x18]
add esi, eax
rol edx, 0xa
mov edi, ecx
not edi
or edi, esi
xor edi, edx
add eax, dword [esp + 0x3c]
add dword [esi], ecx
add al, 0xeb
js 0x434633
jo 0x43469f
mov edi, esi
not edi
div edi
xlatb
std
push ebx
test eax, 0x1240489
iretd
Function at 0x40114a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
push eax
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], edx
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], str.runas
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004219ad
leave
ret

Function at 0x4012a7
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x20], ebx
jne 0x401355
cmp dword [esi + 0x24], ebx
jne 0x401355
push edi
mov ecx, str.SHCore.dll
call fcn.00414ed0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x20], eax
test eax, eax
je 0x4012ee
push str.GetDpiForMonitor
push eax
call edi
push str.SetProcessDpiAwareness
push dword [esi + 0x20]
mov dword [esi + 4], eax
call edi
jmp 0x4012f3
mov dword [esi + 4], ebx
mov eax, ebx
mov ecx, str.user32.dll
mov dword [esi + 0xc], eax
call fcn.00414ed0
mov dword [esi + 0x24], eax
test eax, eax
je 0x401348
push str.SetProcessDpiAwarenessContext
push eax
call edi
push str.SetDialogControlDpiChangeBehavior
push dword [esi + 0x24]
mov dword [esi + 8], eax
call edi
push str.GetDpiForWindow
push dword [esi + 0x24]
mov dword [esi + 0x10], eax
call edi
push str.SystemParametersInfoForDpi
push dword [esi + 0x24]
mov dword [esi + 0x14], eax
call edi
push str.EnableNonClientDpiScaling
push dword [esi + 0x24]
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
jmp 0x401354
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4035a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4035ff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4035ff
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4035ef
cmp esi, ecx
jae 0x4035ff
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x4035dd
cmp esi, ecx
jae 0x4035ff
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x403601
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x405faa
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, ecx
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov eax, dword [edx + 0xc]
mov ebx, dword [edx]
mov edi, dword [edx + 4]
mov esi, dword [edx + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
or eax, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
je 0x40603c
mov edx, dword [ebp + 8]
mov eax, esi
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
mov eax, dword [ebp + 0x10]
shr ecx, 8
xor cl, byte [eax]
movzx eax, cl
xor eax, ebx
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 8]
movzx eax, al
shr ebx, 8
xor ebx, dword [ecx + eax*4]
movzx eax, bl
add eax, edi
imul edi, eax, 0x8088405
inc edi
mov eax, edi
shr eax, 0x18
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [ecx + eax*4]
add edx, 0xffffffff
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov byte [eax], cl
mov ecx, dword [ebp - 4]
adc ecx, 0xffffffff
inc eax
mov dword [ebp + 0x10], eax
mov eax, edx
or eax, ecx
mov dword [ebp - 4], ecx
jne 0x405fd6
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], edi
pop edi
mov dword [edx + 8], esi
pop esi
mov dword [edx], ebx
pop ebx
leave
ret 0xc

Function at 0x40608e
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
push esi
push edi
mov edi, ecx
mov edx, dword [edi]
xor eax, edx
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 8]
movzx eax, al
shr edx, 8
xor edx, dword [esi + eax*4]
movzx eax, dl
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
mov dword [edi], edx
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [esi + eax*4]
mov dword [edi + 8], ecx
pop edi
pop esi
pop ebp
ret 4

Function at 0x4060d5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebp - 0x10]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
mov esi, ecx
movzx eax, word [esi + 8]
mov ecx, esi
or eax, 2
mov ebx, eax
xor ebx, 1
imul ebx, eax
sar ebx, 8
xor bl, byte [ebp + edi - 0x10]
mov byte [ebp - 0x14], bl
push dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
call fcn.0040608e
mov byte [ebp + edi - 0x10], bl
inc edi
cmp edi, 0xb
jl 0x4060f5
movzx eax, word [esi + 8]
mov ecx, esi
or eax, 2
mov ebx, eax
xor ebx, 1
imul ebx, eax
sar ebx, 8
xor bl, byte [ebp + edi - 0x10]
mov byte [ebp - 0x14], bl
push dword [ebp - 0x14]
call fcn.0040608e
cmp bl, byte [ebp + 0x10]
pop ebx
jne 0x406161
mov edx, dword [ebp - 0x18]
xor ecx, ecx
cmp dl, byte [ebp + 0xc]
setne cl
xor eax, eax
mov dword [esi + 0x10], ecx
inc eax
jmp 0x406163
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004219ad
leave
ret 0xc
Function at 0x407702
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 3
push 0xc0010000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4077cf
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea eax, [ebp - 8]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push 0x900c4
push esi
mov dword [ebp - 8], ebx
call edi
test eax, eax
je 0x4077c1
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ebx, dword [ebp + 8]
push 0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ecx, ecx
lea eax, [ebp - 0xc]
push ecx
push eax
push ecx
push ecx
push 0x10
lea eax, [ebp - 0x20]
push eax
push 0x980c8
push esi
call edi
test eax, eax
jne 0x407798
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4077c1
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
push 0
push dword [ebp + 0xc]
push ebx
push esi
call edi
test eax, eax
je 0x4077c1
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
push eax
push eax
push eax
push eax
push esi
call edi
mov eax, esi
jmp 0x4077d2
mov ecx, esi
call fcn.004076c7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004219ad
leave
ret