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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fa58
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x10072368]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.1002aaa8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.LcW.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.10003b50
mov dword [esi + 0x30], 0x10065b5c
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.6fr1ZGi9ZAB6Cc2TzXD_Vv_.0
mov dword [esi + 0x30], vtable.6fr1ZGi9ZAB6Cc2TzXD_Vv_.1.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a860
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x10072368]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0xff
lea eax, [ebp - 0x103]
push 0
push eax
mov byte [ebp - 0x104], 0
call fcn.1002c660
push 0x11c
lea ecx, [ebp - 0x23c]
push 0
push ecx
call fcn.1002c660
add esp, 0x18
lea edx, [ebp - 0x23c]
push edx
mov dword [ebp - 0x23c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1000a8c8
or esi, 0xffffffff
jmp 0x1000a900
mov eax, dword [ebp - 0x238]
cmp eax, 6
jne 0x1000a8e1
cmp dword [ebp - 0x234], 1
jne 0x1000a8fe
lea esi, [eax - 3]
jmp 0x1000a900
cmp eax, 5
jne 0x1000a8fe
mov eax, dword [ebp - 0x234]
cmp eax, 2
jne 0x1000a8f5
mov esi, eax
jmp 0x1000a900
cmp eax, 1
jne 0x1000a8fe
mov esi, eax
jmp 0x1000a900
xor esi, esi
push edi
lea eax, [ebp - 0x120]
push 0x10074ab4
push eax
call fcn.1005bf90
mov edi, 0x10
add esp, 8
cmp dword [eax + 0x14], edi
jb 0x1000a921
mov eax, dword [eax]
mov edx, dword [0x10074a98]
cmp dword [0x10074aac], edi
jae 0x1000a934
mov edx, 0x10074a98
mov ecx, dword [str.y_f24]
cmp dword [0x10074a90], edi
jae 0x1000a947
mov ecx, str.y_f24
push eax
push edx
movzx edx, byte [0x10075b74]
push edx
mov edx, dword [0x10075b68]
push ecx
mov ecx, dword [0x10075b6c]
movsx eax, si
push eax
mov eax, dword [0x10075b70]
push ecx
push edx
push eax
push str.dtfsmacmtm_dercd_doser_dwvin_dsrc_ssame_dmsrc_spsrc_s
lea edx, [ebp - 0x104]
call fcn.1000c740
add esp, 0x24
cmp dword [ebp - 0x10c], edi
pop edi
jb 0x1000a995
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.1002a8ed
add esp, 4
mov esi, dword [ebp + 0xc]
push esi
push 0
push ebx
call fcn.1002c660
push esi
lea edx, [ebp - 0x104]
push edx
push ebx
call fcn.1002c6e0
mov ecx, dword [ebp - 4]
add esp, 0x18
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret
Function at 0x1000b980
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x10072368]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.1002c660
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x404]
push ecx
xor esi, esi
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x1000b9f4
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x1000b9f4
mov eax, dword [eax + 0xc]
cmp dword [eax], esi
je 0x1000b9f4
mov eax, dword [eax]
mov eax, dword [eax]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret
Function at 0x1000cee0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx], 0
mov edx, dword [ebp + 0x18]
mov byte [edx], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000cfa8
mov ecx, dword [ebp - 8]
movsx edx, word [ecx + 8]
cmp edx, 2
jne 0x1000cf88
mov eax, dword [ebp - 8]
movsx ecx, word [eax + 0xa]
cmp ecx, 4
jne 0x1000cf88
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 4], eax
jmp 0x1000cf45
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x1000cf88
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
movzx eax, word [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.1000ce40
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0
jne 0x1000cf7b
mov eax, 8
jmp 0x1000cfee
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
add ecx, 0x1c
mov dword [ebp - 0xc], ecx
jmp 0x1000cf3c
push 0x400
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
push 0x401
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.100303cf
add esp, 0x10
xor eax, eax
jmp 0x1000cfee
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
sub edx, 0x2af9
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 3
ja case.default.0x1000cfc6
mov eax, dword [ebp - 0x10]
jmp dword [eax*4 + 0x1000cff4]
mov eax, 0x2af9
jmp 0x1000cfee
mov eax, 0x2afa
jmp 0x1000cfee
mov eax, 0x2afb
jmp 0x1000cfee
mov eax, 0x2af9
jmp 0x1000cfee
mov eax, 0x2af9
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1000d8e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x10072368]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], str.getaddrinfo
mov dword [ebp - 0x1c], 0x1000d2b0
mov dword [ebp - 0x18], str.getnameinfo
mov dword [ebp - 0x14], 0x1000d630
mov dword [ebp - 0x10], str.freeaddrinfo
mov dword [ebp - 0xc], fcn.1000d240
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
cmp dword [0x10075bd0], 0
je 0x1000d94b
movzx eax, word [ebp + 8]
mov eax, dword [eax*8 + 0x100743f4]
jmp 0x1000dafb
push 0x104
lea ecx, [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x1000d966
jmp 0x1000da5b
lea edx, [ebp - 0x240]
push edx
push 0x10c
lea eax, [ebp - 0x138]
push eax
call fcn.1002fad8
add esp, 0xc
push str.ws2_32
push 0x10c
lea ecx, [ebp - 0x138]
push ecx
call fcn.10030362
add esp, 0xc
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1000d9d9
push str.getaddrinfo
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1000d9d9
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0
je 0x1000d9e1
jmp 0x1000da5b
lea edx, [ebp - 0x240]
push edx
push 0x10c
lea eax, [ebp - 0x138]
push eax
call fcn.1002fad8
add esp, 0xc
push str.wship6
push 0x10c
lea ecx, [ebp - 0x138]
push ecx
call fcn.10030362
add esp, 0xc
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1000da54
push str.getaddrinfo
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1000da54
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x24], 0
jmp 0x1000da5b
cmp dword [ebp - 0x24], 0
je 0x1000dae6
mov dword [ebp - 4], 0
jmp 0x1000da77
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 3
jge 0x1000dab5
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*8 - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*8 - 0x1c], eax
mov edx, dword [ebp - 4]
cmp dword [ebp + edx*8 - 0x1c], 0
jne 0x1000dab3
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x24], 0
jmp 0x1000dab5
jmp 0x1000da6e
cmp dword [ebp - 0x24], 0
je 0x1000dae6
mov dword [ebp - 4], 0
jmp 0x1000dacd
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 3
jge 0x1000dae6
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*8 - 0x1c]
mov dword [edx*8 + 0x100743f4], ecx
jmp 0x1000dac4
mov dword [0x10075bd0], 1
movzx edx, word [ebp + 8]
mov eax, dword [edx*8 + 0x100743f4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1002a8f8
mov esp, ebp
pop ebp
ret 4
Function at 0x10012a3c
Capabilities:
Hash data with md5

Disassembly:
inc eax
push ebx
push esi
push edi
dec eax
sub esp, 0x90
dec eax
mov eax, dword [0x56b2]
dec eax
xor eax, esp
dec eax
mov dword [esp + 0x88], eax
dec eax
mov ebx, edx
xor edx, edx
inc ecx
mov edi, eax
dec eax
mov esi, ecx
dec eax
lea ecx, [esp + 0x24]
inc esp
lea eax, [edx + 0x54]
call fcn.10016320
and dword [esp + 0x34], 0
and dword [esp + 0x30], 0
dec eax
lea ecx, [esp + 0x20]
inc esp
mov eax, edi
dec eax
mov edx, ebx
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
call fcn.1001322c
mov edx, 2
dec esp
lea ebx, [esp + 0x81]
dec eax
lea ecx, [esp + 0x32]
lea ebx, [edx + 2]
invalid
mov al, byte [ecx - 2]
inc ecx
mov byte [ebx - 1], al
mov al, byte [ecx - 1]
inc ecx
mov byte [ebx], al
mov al, byte [ecx]
inc ecx
mov byte [ebx + 1], al
mov al, byte [ecx + 1]
dec eax
add ecx, ebx
inc ecx
mov byte [ebx + 2], al
dec esp
add ebx, ebx
dec eax
sub edx, 1
jne 0x10012ac1
mov ecx, dword [esp + 0x30]
lea eax, [edx + 0x38]
inc esp
lea eax, [edx + 0x78]
shr ecx, 3
dec eax
lea edx, [0x56d4]
and ecx, 0x3f
sub eax, ecx
inc esp
sub eax, ecx
cmp ecx, 0x38
dec eax
lea ecx, [esp + 0x20]
inc esp
cmovb eax, eax

Function at 0x10012e24
Capabilities:
Parse pe header

Disassembly:
dec eax
mov dword [esp + 8], ebx
dec eax
mov dword [esp + 0x18], esi
push edi
dec eax

Function at 0x10012e30
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x20
dec eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x38], ebx
dec eax
cmp ecx, ebx
je 0x10012e8a
call dword [0x42d9]
cmp al, bl
je 0x10012e8a
dec eax
lea ecx, [edi + 0x40]
call dword [0x42cb]
cmp al, bl
je 0x10012e8a
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x10012e90
dec eax
arpl word [edi + 0x3c], si
dec eax
add esi, edi
je 0x10012e88
dec eax
mov ecx, esi
call dword [0x42ab]
cmp al, bl
je 0x10012e88
cmp dword [esi], 0x4550
jne 0x10012e90
mov ebx, 1
jmp 0x10012e90
jmp 0x10012e90
jmp 0x10012e90
mov eax, ebx
dec eax
mov ebx, dword [esp + 0x30]
dec eax
mov esi, dword [esp + 0x40]
dec eax
add esp, 0x20
pop edi
ret
Function at 0x100426dc
Capabilities:
Encode data using xor

Disassembly:
out dx, al
sar ah, 0xca
cmp al, 0x10
les esi, [0x9f24db72]
adc esp, dword [ebp - 0x27f4ca57]
xchg ebp, eax
popfd
jo 0x10042729
jle 0x10042729
rcr dword [eax], 1
mov byte [ebx + 0x79b25f44], bl
inc ecx
in al, 0x94
sub al, 0x37
pushal
sbb dh, ch
pop esi
enter 0xffffffffffff837d, 0xffffffffffffffaa
xor esi, edi
lds eax, [ebx + 0x76]
arpl word [ecx - 0x3d], sp
jns 0x1004275d
mov esi, 0xc7cd5ad1
mov eax, 0x987c1d41
shl byte [eax], 1
stosd dword es:[edi], eax
pop eax
mov ah, 0x33
sbb al, 0xd6
or dword [0x60d7a45f], esi
xlatb
pushal
invalid
cmp ch, byte [edi]
out 0xe1, al
jo 0x100427d2
outsd dx, dword [esi]
sub eax, 0x1b35f0af
mov al, byte [0xf6c1352a]
fist word [ebx]
xchg byte [ecx], dl
jo 0x10042762
rol byte [eax], cl
aas
adc byte [edi - 0x7a], dh
xor esi, dword [edx]
cdq
ror byte [ebp - 0x17], 0x85
sbb dl, byte [ecx]
aaa
mov ecx, 0x6b05509e
pop ebx
clc
and byte [edx], dh
sbb cl, ch
dec eax
aaa
mov bh, 0xbf
sbb eax, esp
mov ch, 0xe1
insd dword es:[edi], dx
push ds
add dword [edi + 0x16], esi
push esi
sub eax, dword [esi]
salc
mov ch, 0x34
movsb byte es:[edi], byte [esi]
xor al, 0xa4
add dl, ah
jae 0x100427a2
and eax, 0x84bbd455
test al, 0x51
cdq
mov ds, word [esi + 0x21]
test al, 0x7e
mov al, byte [0x42744d8d]
add dword [edx], eax
invalid
or dword [eax - 0x20], ebx
lock add dword [edx + 1], ebx
adc edx, edi
aad 0x68
mov esi, 0x580d2e37
lodsb al, byte [esi]
out dx, al
push edx
insd dword es:[edi], dx
and eax, 0xf62a2dc1
pop edx
shl dword [ecx], cl
push ecx
mov bh, 0x95
dec ebx
cld
pop ds
push esp
in al, 0xd7
xchg ecx, eax
invalid

Function at 0x100435b9
Capabilities:
Encode data using xor

Disassembly:
push 0x3b
imul edi, esi, 0x841b3d4d
mov esi, 0xfd183d3d
add ch, byte [edx - 0x56a9b412]
mov byte [ebx + ecx - 0x5cb68b2], ch
int3
adc ebx, eax
test dword [ebx - 0xfa29552], ecx
pop edi
push ebx
push esi
xor byte [edx - 0xf00eb7b], cl
add esi, ebx
xchg ecx, eax
xchg esi, eax
mov dword [esi + 0x7a1e7590], ebx
sahf
nop
jne 0x100435db
jp 0x10043544
mov ebx, 0x22d514b1
sahf
nop
jne 0x100435db
jp 0x10043544
mov ebx, 0x22d514b1
push esi
in al, 0x8b
push 0x50
cmpsb byte [esi], byte es:[edi]
stosd dword es:[edi], eax
jg 0x100435a3
pop edi
and dword [ecx + 0x64], 0xc348a51c
ror byte [ecx - 0x703ea89], cl
aad 0x69
cli
salc
invalid
Function at 0x10044c64
Capabilities:
Encode data using xor

Disassembly:
fst dword [ebp - 0x31]
sub byte [ecx + 0x5e62a1fe], bl
mov eax, dword [0xf3125e62]
xlatb
pushfd
les ebx, [ecx - 0x38]
add eax, dword [ecx + 0x65]
add al, 0xe5
cmp al, 0x29
adc cl, byte [esi]
sub eax, 0x4fd169af
or eax, 0xe6d2b077
mov ch, 0x18
daa
xlatb
lahf
lds esi, [ecx - 0x71abf530]
popal
dec ebp
cmp ebx, dword [ebx + 0x62]
push cs
in eax, dx
out dx, al
inc ebx
inc ebx
jne 0x10044cc0
salc
pushal
cmp esp, dword [eax + 0x42b88045]
cmp byte [eax - 0x27a1efbe], 0x22
scasb al, byte es:[edi]
jae 0x10044c9f
cmp byte [eax], 0x95
cmp byte [eax - 0x27a1efbe], 0x22
scasb al, byte es:[edi]
jae 0x10044c9f
cmp byte [eax], 0x95
loopne 0x10044c24
fisub word [edi]
add al, 0x7f
mov byte [ebp + 0x2d], dh
fld xword [eax]
enter 0x2565, 0xfffffffffffffffb
jmp 0x38463aa5
push 0x757c5ac4
insb byte es:[edi], dx
and al, byte [eax + 0x12]
mov edi, 0x74db22c0
sahf
add bh, byte [edi + 0x7ca0275b]
and ah, ah
xor ebx, dword [edx + 0x6e6a9e29]
fidiv dword [esp + esi*4 + 0x24]
sbb dl, ch
push cs
xor al, 0xdf
fucom st(5)
fnstsw word [ebp + 0x34]
add al, cl
out 0x37, al
in eax, 0xdd
jl 0x10044d30
xor al, 2
shl esi, 0x37
jle 0x10044cc7
xchg edi, eax
push cs
rcr dword [ebp + 0x55], 0x75
sub ebp, dword [edi]
daa
xor dword [edi + 0x5b], esp
adc al, 0xe5
js 0x10044d03
dec eax
cmp al, 0xd8
mov edx, 0xa98b8c34
sbb edx, dword [edx + 0x3988a605]
sti
dec esi
leave
rol esi, 1
add eax, 0x355b3c
sub eax, 0xe1e5f468
or ch, dl
in eax, dx
adc al, 0xdc
fdiv dword [esi - 0x3c]
in al, dx
rol byte [eax], cl
adc al, 0x3e
hlt
js 0x10044cf6
insb byte es:[edi], dx
fstp qword [esi + 0x48eff648]
inc eax
sbb esi, edi
call 0xae33890a
and ecx, dword [esi - 0x6a]
adc eax, 0xcaf5ae3d
retf
Function at 0x401000
Capabilities:
Create process on windows
Delete file
Set file attributes

Disassembly:
sub esp, 0x15c
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x5d]
mov byte [esp + 0x5c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x164]
push eax
call fcn.00401150
add esp, 4
test eax, eax
je 0x401137
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push str.play.exe
push 0x4084f0
lea ecx, [esp + 0x68]
push str._s_s
push ecx
call ebx
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x1c], 0x44
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x7c]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x401136
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
mov esi, 0x4050d0
mov dword [esp + 0x10], 6
push esi
push 0x4084f0
lea eax, [esp + 0x70]
push str._s_s
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x68]
push 0x80
push ecx
call edi
lea edx, [esp + 0x68]
push edx
call ebp
add esi, 0x20
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x4010bc
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
push 0
push str.captemp.exe
push 0x4084f0
lea edx, [esp + 0x74]
push str._s_s
push edx
call ebx
add esp, 0x14
lea eax, [esp + 0x68]
push 0x80
push eax
call edi
lea ecx, [esp + 0x68]
push ecx
call ebp
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x15c
ret 0x10
Function at 0x40230d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x406110
cmp edx, dword [eax]
je 0x40232f
add eax, 8
inc ecx
cmp eax, 0x4061a0
jl 0x402320
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x406110]
jne 0x40245d
mov eax, dword [0x408600]
cmp eax, 1
je 0x402437
test eax, eax
jne 0x402360
cmp dword [0x406064], 1
je 0x402437
cmp edx, 0xfc
je 0x40245d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402397
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004028f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402aa0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4023da
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402aa0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4054a0
push edi
call fcn.004040d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004028f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402900
lea eax, [ebp - 0xa0]
push 0x405480
push eax
call fcn.00402900
push dword [esi + 0x406114]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402900
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00404045
add esp, 0x2c
pop edi
jmp 0x40245d
lea eax, [ebp + 8]
lea esi, [esi + 0x406114]
push 0
push eax
push dword [esi]
call fcn.00402aa0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40e981
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xa0]
add eax, 0xfffffc17
cmp eax, 0xc
ja case.default.0x40e92c
movzx edx, byte [eax + 0x40e9bc]
push ebx
jmp dword [edx*4 + 0x40e9a0]
push esi
lea esi, [ecx - 0x54]
call fcn.0040eae0
pop esi
pop ebx
ret 4
add ecx, 0xffffffac
pop ebx
mov dword [esp + 4], ecx
jmp fcn.0040eb80
lea ebx, [ecx - 0x54]
call fcn.00410310
pop ebx
ret 4
mov eax, dword [ecx - 0x34]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop ebx
ret 4
push edi
lea edi, [ecx - 0x54]
mov ebx, 1
call fcn.00410440
pop edi
pop ebx
ret 4
push 1
push 0
push 0
push str.http:__box.yxdown.com_license.html
push 0x4a04c0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebx
ret 4

Function at 0x410310
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4941b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4b8a40]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push str.YouXunBoxYouxun.exe
lea esi, [ebx + 0x18c]
lea eax, [esp + 0x10]
push esi
push eax
mov dword [ebx + 0x194], 1
call fcn.00405010
mov dword [esp + 0x28], 0
mov eax, dword [0x4be1c4]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
push eax
call fcn.00402360
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00404c50
push str.YouXunBox
lea ecx, [esp + 0x14]
push esi
push ecx
test eax, eax
je 0x4103a9
call fcn.00405010
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
add esp, 0xc
push 5
push eax
push 0x4a0dbc
push edx
jmp 0x4103c2
call fcn.00405010
mov eax, dword [eax]
mov edx, dword [0x4be1cc]
add esp, 0xc
push 5
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
push 0x4a04c0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4103ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0x20]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410427
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x4346c0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
jne 0x4346d1
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [edi], 0
mov edi, edi
mov eax, 0x400000
cmp esi, 0x400000
ja 0x4346ef
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x434726
test ecx, ecx
je 0x43471f
test esi, esi
ja 0x4346e0
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x434740
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
jne 0x434751
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [edi], 0
mov edi, edi
mov eax, 0x400000
cmp esi, 0x400000
ja 0x43476f
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x4347a6
test ecx, ecx
je 0x43479f
test esi, esi
ja 0x434760
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x437290
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4bf420], ecx
inc edx
cmp edx, 0x100
jb 0x437293
cmp edx, 0x800
jae 0x437369
lea ecx, [ecx]
mov eax, dword [edx*4 + 0x4bf020]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4bf420]
inc edx
mov dword [edx*4 + 0x4bf41c], eax
cmp edx, 0x800
jb 0x437340
mov dword [0x4bdcb0], 0x438680
call fcn.00438850
test eax, eax
jne 0x437386
mov dword [0x4bdcb0], 0x438730
pop ecx
ret