joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d4068
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53c34c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0052b618
mov dword [esi], method.CTreeCtrl.virtual_0
lea edi, [esi + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], fcn.004c5a80
call fcn.004d90a0
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.004d90a0
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 2
call fcn.004d90a0
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 3
call fcn.004d90a0
mov dword [edi], 0x15f39cc
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 4
call fcn.005285d5
mov dword [esi + 0xd8], 0
mov dword [esi + 0xd4], 0x15f3a9c
mov eax, dword [0x16e8474]
mov dword [esi + 0xdc], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 7
call fcn.004d90a0
lea ecx, [esi + 0xf4]
mov byte [esp + 0x18], 8
call fcn.005285d5
mov ecx, dword [esp + 0x10]
mov dword [esi], method.CTreeCtrl.virtual_0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4d4150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53c3d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CTreeCtrl.virtual_0
lea ecx, [esi + 0xf4]
mov dword [esp + 0x18], 5
call fcn.005285fe
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 4
mov dword [ecx], 0x15f39c8
call fcn.004d92a0
lea ecx, [esi + 0xdc]
mov byte [esp + 0x18], 3
call fcn.00529f94
lea ecx, [esi + 0xd4]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 6
call fcn.00530de7
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 1
call fcn.005285fe
lea edi, [esi + 0x3c]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 9
mov dword [ecx], 0x15f39c8
call fcn.004d92a0
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x15f39c8
call fcn.004d92a0
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x15f39c8
call fcn.004d92a0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x15f39c8
call fcn.004d92a0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00528197
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4f2e10
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x53de50
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f2fb7
mov ecx, dword [0x16e8474]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4f2f0c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004f1b30
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0052a0cd
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00529f94
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x16e6b00
call fcn.0052a002
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004f1ef0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0052a0cd
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00529f94
lea ecx, [esp + 0xc]
call fcn.0052a4ba
mov ecx, dword [esp + 0xc]
push 0x16e753c
push ecx
call fcn.0050d214
add esp, 8
test eax, eax
je 0x4f2f34
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4f2e6d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00529f94
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00529f94
jmp 0x4f2fbb
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004f2bb0
test eax, eax
push 0
je 0x4f2f9f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004f1250
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4f2f85
cmp eax, 0x64
jg 0x4f2f73
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [0x540404]
mov esi, eax
jmp 0x4f2f10
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [0x540404]
mov esi, eax
jmp 0x4f2f10
cmp eax, 0x64
jge 0x4f2f0c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [0x540404]
mov esi, eax
jmp 0x4f2f10
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004f1250
mov esi, eax
jmp 0x4f2f10
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4f2fc5
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x17840ab
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test eax, eax
pushfd
push edx
mov byte [esp], 0x3e
pushal
lea esp, [esp + 0x2c]
je 0x1786ff0
or si, dx
pushfd
bsf dx, ax
test al, dh
mov esi, dword [eax + 0x3c]
adc dl, 0x64
dec edx
add esi, eax
shr dx, 0xd
movsx dx, al
mov edx, dword [esi + 0x78]
stc
mov word [esp], si
test edx, edx
push dword [esp]
pushal
lea esp, [esp + 0x28]
je 0x1786ff0
sal cl, cl
btr cx, di
bt bp, dx
rcl ch, 5
add edx, eax
dec ch
sal cx, 0xc
shr cl, 7
mov ecx, dword [esi + 0x7c]
jmp 0x178712e
call 0x1789d4c
add byte [eax], al
inc ebx
jb 0x178719d
popal
push edx
insb byte es:[edi], dx

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

Disassembly:
lea esp, [esp + 0x2c]
jne 0x1787517
jge 0x1786ef3
push edi
pushal
pushal
inc esi
mov byte [esp], 0xc8
mov word [esp + 4], 0x813e
inc edi
mov word [esp], sp
pushfd
lea esp, [esp + 0x48]
jmp fcn.0178cde7
Function at 0x1786e98
Capabilities:
Resolve function by parsing pe exports

Disassembly:
bt ax, 1
bt di, 3
push 0x9838112d
cmp al, ah
pushal
jmp 0x178b9de
lea esp, [esp + 8]
ja 0x1786ed1
pushfd
bt bx, sp
stc
add ah, 0x20
clc
test sp, 0x4fe8
pushal
or al, al
mov byte [esp + 8], 0x98
lea esp, [esp + 0x24]
je 0x178c34d
call fcn.0178a0e4
add byte [eax], al
inc ebx
outsd dx, dword [esi]
inc ebx
jb 0x1786ee2
popal
je 0x1786ee5
dec ecx
outsb dx, byte [esi]
jae 0x1786ef8
popal
outsb dx, byte [esi]
arpl word [ebp], sp
add byte [eax], al
inc ebx
jb 0x1786ef3
popal
je 0x1786ef6
push esp
push 0x64616572
add bh, bh
push dword [esp]
push dword [esp]
lea esp, [esp + 0x14]
jb 0x1786ed1
cmp dl, al
stc
push eax
cmp ah, 0x5a
lea esp, [esp + 4]
jge 0x178c55f
pushal
mov byte [esp + 8], 0xec
mov byte [esp], 0xd9
lea esp, [esp + 0x20]
ja 0x1786ed1
cmp dh, 0xc7
cmc
add ah, 0x20
push 0x2edec224
cmc
or al, al
push dword [esp]
push dword [esp + 4]
mov byte [esp + 4], bl
and al, 4
lea esp, [esp + 0xc]
and al, 0xc
je 0x178c34d
jmp 0x17860b9
call fcn.0178e12a
add byte [eax], al
add byte [eax], al
inc ecx
jb 0x1786f60
add byte [eax], al
add byte [ebp + 0x6e], al
inc esp
imul esp, dword [ecx + 0x6c], 0x676f
add byte [edi + 0x65], al
je 0x1786f67
imul ebp, dword [esi + 0x64], 0x6f4c776f
outsb dx, byte [esi]
inc ecx
add byte [ebp + 0xf042464], cl
sbb al, 0
add byte [eax], al
push edi
imul ebp, dword [esi + 0x64], 0x7250776f
outsd dx, dword [esi]
jb 0x1786fd8
arpl word [ecx], ax
je 0x1786fe0
shl byte [edi - 0x2906e6e0], cl
push es
jno 0x178701d
or byte [esp + edi*4], dl
loopne 0x1786fca
insb byte es:[edi], dx
out 0x69, eax
xor eax, 0x30f62838
div byte [eax]
dec edx
add byte [eax], al
dec edi
insb byte es:[edi], dx
push edx
jne 0x1787059
add byte [eax], al
add byte [eax], al
add byte [esi + 0xf], ah
movsb byte es:[edi], byte [esi]
fisttp word [ecx]
or al, bh
push ebx
or ah, ah
pushal
call fcn.017874fe
cmpsb byte [esi], byte es:[edi]
imul byte [edx - 0x8021336]
push esi
jmp 0x29e9cefe
jmp 0x1786e46
push 0x4fed3323
mov dword [esp + 0xc], 0x20decd4b
mov byte [esp + 8], dh
push dword [esp + 4]
push 0x9f5f26fa
lea esp, [esp + 0x14]
jmp 0x178fa2e
push 0xa12bfe44
call fcn.017866a5
add byte [eax], al
push eax
je 0x178ba43
imul esi, dword [ebx + 0x69], 0x656c62
mov dword [esp + 4], 0x78f37968
push 0x9f9e8117
push dword [esp]
jmp 0x178a400
cmp ah, dh
jmp 0x17884c4
push ecx
push 0xf71eb9cd
jmp 0x178868c

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

Disassembly:
mov ebx, dword [edx + 0x20]
btc ecx, 0xc
add ebx, eax
rol cx, cl
or ecx, 0x795a13fc
rol cl, cl
mov dword [ebp - 8], 0
stc
mov ecx, dword [edx + 0x18]
add esp, 4
pushfd
test ax, 0xfeee
pushfd
cmp ecx, dword [ebp - 8]
pushfd
pushfd
push dword [esp]
lea esp, [esp + 0x14]
jbe 0x1786ff0
cmc
sub ecx, 1
ror di, cl
add di, sp
cmp edi, 0xc4d82c57
mov dword [ebp - 4], ecx

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

Disassembly:
lea esp, [esp + 0xc]
ja 0x1788bd5
bt edx, esi
rcl al, 1
stc
sub ebx, edi
not al
shrd di, cx, 1
add ebx, esp
jmp 0x17867cc
Function at 0x178b35e
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
call 0x178c7a1
imul edx, dword [esi - 0x109f18a], 0xa
cmp dword [ecx], esp
std
adc al, 0
add byte [ebx - 0x6a], ch
jbe 0x178b375
idiv dh
or bh, byte [ecx]
and ebp, edi
clc
pop dword [ebx + 0x55]
nop
arpl word [ecx + 1], sp
sahf
jnp 0x178b35f
xor al, 0xb5
test ebx, ebx
mov dword [ecx], ecx
and esp, dword [ebx]
xchg esp, eax
imul edi, dword [eax + 0x46dbc497], 6
invalid

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

Disassembly:
push ecx
mov esp, esi
pushfd
lea esp, [esp + 4]
jmp 0x1786ffd

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

Disassembly:
bswap esi
lea edi, [ebp + 0x290094cb]
movzx esi, word [edx + 0x1a]
not di
lea esi, [esi + edx + 0x1c]
not di
movzx di, cl
mov edi, dword [ebp + 8]
pushfd
mov byte [esp], 0xab
lea esp, [esp + 4]
call fcn.0178cde7
pushal
mov word [esp + 4], dx
pushal
mov byte [esp], bl
lea esp, [esp + 0x40]
jne 0x178e8a7
pushfd
pushal
pushal
mov eax, dword [edx + 8]
mov word [esp + 4], di
mov word [esp], di
push dword [esp + 4]
lea esp, [esp + 0x48]
jmp 0x1786b76
pushal
pushal
lea esp, [esp + 0x40]
je 0x1786b6c
pushal
add edx, 0x11c
push dword [esp]
push edx
pushfd
push 0x424b0717
lea esp, [esp + 0x30]
jmp 0x178331c
lea esp, [esp + 0x10]
jne 0x178e8a7
ja 0x178e8e1
pushfd
mov eax, dword [edx + 8]
push dword [esp]
lea esp, [esp + 8]
jmp 0x1786b76
cmc
test ah, ah
stc
add ecx, 0xffffffff
pushal
lea esp, [esp + 0x20]
jne 0x178a8dd
pushfd
mov dword [esp], esp
lea esp, [esp + 4]
je 0x1786b6c
cmc
test bp, 0x849e
pushal
pushfd
add edx, 0x11c
push dword [esp]
lea esp, [esp + 0x28]
jmp 0x178331c
pushal
pushfd
pushfd
mov eax, dword [edx + 8]
push 0x945e82c
mov byte [esp], 4
lea esp, [esp + 0x2c]
jmp 0x1786b76
Function at 0x178e12a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push dword [esp]
push 0xc3977baa
pushfd
inc esi
mov word [esp + 4], 0xaa91
mov byte [esp], 0xf4
inc edi
pushfd
pushal
pushfd
push ebx
lea esp, [esp + 0x3c]
jmp fcn.0178cde7

Function at 0x178e32c
Capabilities:
Encode data using xor

Disassembly:
test dl, 0x88
add ecx, 1
cmp dx, ax
test ah, ah
pushfd
lea esp, [esp + 0x44]
and al, 0x44
jne 0x1788486
pushfd
mov byte [esp], al
mov dword [esp], edi
push edi
mov dword [esp], ebx
call fcn.0178b35e
add byte [eax], al
inc ebx
outsd dx, dword [esi]
sar bh, 1
inc dword [eax]
add byte [ebx + 0x6f], al
push esp
popal
jae 0x178e3c5
dec ebp
insd dword es:[edi], dx
inc esi
jb 0x178e3c5
add byte gs:[esi], dh
mov edi, 0xae5cfe6
cmp al, byte [edx + eax*8 - 0x6de54895]
jbe 0x178e37f
add cl, byte [edx - 0x5a]
push esi
jge 0x178e37b
or ecx, dword [eax - 5]
jo 0x178e33a
mov esi, 0x20fbcc2f
out dx, al
das
int3
and dh, ch
mov byte [edx], bh
sub bl, byte [edi + 0x5f78d72]
scasd eax, dword es:[edi]
xchg dword [ecx], eax
jns 0x178e349
sub edx, dword [ecx + 0x11]
sbb al, 0x97
in al, dx
call 0xfbdbaba0
jnp 0x178e3a1
push 0xb6d7e77e
sub cl, byte [ebx - 0x13b73883]
pop ds
in al, 0xb8
push ebx
pop edi
sub al, 0xec
test al, 0xaa
or dword [ebp - 6], edi
mov ah, 0xac
dec edi
mov ebx, dword [ebx + 0x40]
pop ds
jecxz 0x178e406
xor al, 0x79
jl 0x178e34f
out dx, eax
lodsb al, byte [esi]
in al, 0x2f
mov cl, 0xa6
cmpsb byte [esi], byte es:[edi]
loope 0x178e407
invalid
inc edx
jo 0x178e40b
add byte [eax], al
dec ebp
jae 0x178e484
popal
inc edx
outsd dx, dword [esi]
js 0x178e459
add byte [ecx - 0x2e], dl
invalid
insb byte es:[edi], dx
mov dl, 0x59
invalid
mov edx, 0xefaf7b3c
sub edx, 0x51
add dword [ecx], edx
mov es, word [esi + ecx*4 + 0x3d6ca5ff]
insb byte es:[edi], dx
inc edx
sbb bh, byte [ebx - 0x3e]
push ds
wait
pop eax
mov ebp, 0x17a4f695
imul dword [edi - 0x7ffa1d56]
mov ah, 0x18
adc bh, al
jle 0x178e4e3
cmp byte [esi - 0xbd41ebb], bl
sub eax, 0x6d19f291
int3
mov al, 0
dec ebp
cmp dword [0x7720c551], 0x7417ba5e
leave
pop eax
pop esi
mov edx, 0x58c97417
inc esi
xchg ecx, eax
jo 0x178e4f4
adc eax, dword [0x62a7ade8]
call 0x9d4fbf54
dec ebx
xor dword [ebx + 0x5e], esp
jle 0x178e4ec
jae 0x178e525
invalid
stc
add byte [eax], bh
pop ebx
mov esi, 0x7cc901d9
xor eax, 0xdf479f38
stc
int3
Function at 0x401db0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x110], 0
cmp dword [ebp + 8], 0
jne 0x401ddd
mov eax, 8
jmp 0x401f42
push 0x104
push 0
lea eax, [ebp - 0x104]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
push 0x104
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.ntdll.dll_strncpy]
add esp, 0xc
push 0x4bfc84
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x401e37
mov eax, 6
jmp 0x401f42
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401a40
add esp, 4
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x108]
mov dword [edx], eax
mov ecx, dword [ebp - 0x108]
add ecx, 1
push ecx
call fcn.004017c0
add esp, 4
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x401ea0
cmp dword [ebp - 0x110], 0
je 0x401e8c
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 0x110], 0
mov eax, 9
jmp 0x401f42
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x108]
push eax
push 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x108]
je 0x401f1d
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0
je 0x401eea
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
cmp dword [ebp - 0x110], 0
je 0x401f0c
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 0x110], 0
mov eax, 6
jmp 0x401f42
cmp dword [ebp - 0x110], 0
je 0x401f36
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 0x110], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402305
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.004029c0
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
jmp 0x402335
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 8]
jae 0x40245b
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.00402af0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x402398
cmp dword [ebp - 0xc], 0
jne 0x402398
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
call fcn.0041c482
test eax, eax
je 0x40237a
mov dword [ebp - 0x1c], 0x4bfb68
jmp 0x402381
mov dword [ebp - 0x1c], 0x4bfb74
mov ecx, dword [ebp - 0x1c]
push ecx
push 2
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.004029e0
jmp 0x40232c
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.00402a10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x402456
cmp dword [ebp - 0x10], 0
je 0x402456
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
push 1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
call dword [eax + 0xc]
test eax, eax
je 0x402440
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
call dword [edx + 8]
cmp eax, 1
jne 0x402400
push 0x4bfb80
push 2
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.004029e0
jmp 0x40243e
call fcn.0041c3b8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x402428
push 0x4bfb8c
push 2
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.004029e0
jmp 0x40243e
push 0x4bfbac
push 2
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.004029e0
jmp 0x402456
push 0x4bfbd0
push 2
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.004029e0
jmp 0x40232c
cmp dword [ebp - 4], 0
jne 0x402478
push 0
push 0x53e690
push 0x4bfbdc
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00402b20
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402480
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.004029c0
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x4024b0
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 4]
jae 0x4025d6
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.00402af0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x402513
cmp dword [ebp - 0xc], 0
jne 0x402513
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
call fcn.0041c83a
test eax, eax
je 0x4024f5
mov dword [ebp - 0x1c], 0x4bfbe8
jmp 0x4024fc
mov dword [ebp - 0x1c], 0x4bfbf8
mov ecx, dword [ebp - 0x1c]
push ecx
push 2
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.004029e0
jmp 0x4024a7
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.00402a10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4025d1
cmp dword [ebp - 0x10], 0
je 0x4025d1
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
call dword [eax + 0xc]
test eax, eax
je 0x4025bb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
call dword [edx + 8]
cmp eax, 2
jne 0x40257b
push 0x4bfc08
push 2
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.004029e0
jmp 0x4025b9
call fcn.0041c3b8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4025a3
push 0x4bfc18
push 2
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.004029e0
jmp 0x4025b9
push 0x4bfc40
push 2
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.004029e0
jmp 0x4025d1
push 0x4bfc68
push 2
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.004029e0
jmp 0x4024a7
cmp dword [ebp - 8], 0
jne 0x4025f3
push 0
push 0x53e694
push 0x4bfc78
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00402b20
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402f83
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov dword [ebp - 0x418], ecx
push 0
mov ecx, dword [ebp - 0x418]
add ecx, 4
call fcn.00401480
push 0x42d
mov ecx, dword [ebp - 0x418]
add ecx, 4
call fcn.00402ad0
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0x1c
call fcn.004043d0
push 0x42c
mov ecx, dword [ebp - 0x418]
add ecx, 4
call fcn.00402ad0
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0x74
call fcn.004043d0
push 0x433
mov ecx, dword [ebp - 0x418]
add ecx, 4
call fcn.00402ad0
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0xcc
call fcn.004043d0
push 0
push 4
mov ecx, dword [ebp - 0x418]
add ecx, 0x1c
call fcn.00404210
push 0
push 4
mov ecx, dword [ebp - 0x418]
add ecx, 0xcc
call fcn.00404210
push 0x4c058c
push 0x410
lea eax, [ebp - 0x410]
push eax
push 0x4c05a0
push str.view_immunity
push 0x4c05e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x403073
lea ecx, [ebp - 0x410]
push ecx
mov ecx, dword [ebp - 0x418]
add ecx, 0x74
call fcn.00404260
jmp 0x403086
push str.http:__baike.360.cn_3229787_2649304.html_recommend1
mov ecx, dword [ebp - 0x418]
add ecx, 0x74
call fcn.00404260
push 0x42b
mov ecx, dword [ebp - 0x418]
add ecx, 4
call fcn.00402ad0
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0x124
call fcn.0041f590
push 0x429
mov ecx, dword [ebp - 0x418]
add ecx, 4
call fcn.00402ad0
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0x128
call fcn.0041f590
push 0x42a
mov ecx, dword [ebp - 0x418]
add ecx, 4
call fcn.00402ad0
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0x12c
call fcn.0041f590
push 0
push 1
push 0
push 0x4c062c
push 0x64
mov ecx, dword [ebp - 0x418]
add ecx, 0x130
call fcn.00403ea0
push 1
mov ecx, dword [ebp - 0x418]
add ecx, 0x130
call fcn.0041f4d0
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0x124
call fcn.00404040
push 1
mov ecx, dword [ebp - 0x418]
add ecx, 0x130
call fcn.0041f4d0
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0x128
call fcn.00404040
push 1
mov ecx, dword [ebp - 0x418]
add ecx, 0x130
call fcn.0041f4d0
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0x12c
call fcn.00404040
call fcn.0040322b
test eax, eax
je 0x4031aa
call fcn.00436a70
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x414]
call fcn.00436f56
test eax, eax
jne 0x4031aa
call fcn.004032a9
mov ecx, dword [ebp - 0x418]
call fcn.004035a2
test eax, eax
je 0x4031d3
push 0
push 1
push 0xf1
mov ecx, dword [ebp - 0x418]
add ecx, 0x12c
call fcn.00404010
call fcn.0041caa0
test eax, eax
je 0x4031fb
call fcn.0041cb08
push 0
push 1
push 0xf1
mov ecx, dword [ebp - 0x418]
add ecx, 0x124
call fcn.00404010
call fcn.0041c350
test eax, eax
je 0x403223
call fcn.0041c941
push 0
push 1
push 0xf1
mov ecx, dword [ebp - 0x418]
add ecx, 0x128
call fcn.00404010
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x403345
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov dword [ebp - 0x108], ecx
push 0x104
lea eax, [ebp - 0x104]
push eax
call fcn.00431e80
add esp, 8
test eax, eax
je 0x403389
push 5
push 0
lea ecx, [ebp - 0x104]
push ecx
push str.notepad.exe
push 0x4c0688
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403431
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov dword [ebp - 0x210], ecx
xor eax, eax
mov al, byte [0x53e69c]
and eax, 1
test eax, eax
jne 0x40346d
mov cl, byte [0x53e69c]
or cl, 1
mov byte [0x53e69c], cl
mov ecx, dword [ebp - 0x210]
call fcn.004035a2
mov dword [0x53e698], eax
cmp dword [0x53e698], 0
jne 0x403554
push 4
push 0x4c0690
push 0x4c0698
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 6
je 0x4034c3
push 0
push 0
push 0xf1
mov ecx, dword [ebp - 0x210]
add ecx, 0x12c
call fcn.00404010
xor eax, eax
jmp 0x40359c
push 0x104
lea edx, [ebp - 0x104]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x104]
push eax
push 0x4c0728
push 0x104
lea ecx, [ebp - 0x208]
push ecx
call fcn.00403d80
add esp, 0x10
lea edx, [ebp - 0x208]
push edx
call sub.ntdll.dll_strlen
add esp, 4
push eax
lea eax, [ebp - 0x208]
push eax
push 1
push 0x4c0734
push 0x4c073c
push SysStringLen
call fcn.00442b70
mov ecx, eax
call fcn.00442f8d
push 1
call fcn.00436a70
mov ecx, eax
call fcn.00436ec0
push 0
push 0x4c076c
push 0x4c0774
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403588
push 0x4c0788
push 0x4c0790
push SysStringLen
call fcn.00442b70
mov ecx, eax
call fcn.004430fd
push 0
push 0x4c07c0
push 0x4c07c8
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
cmp dword [0x53e698], 0
sete cl
mov dword [0x53e698], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10