joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fac0
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x43b050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp edi, 0x10
je 0x40faf4
cmp edi, 0xc
je 0x40faf4
cmp edi, 8
je 0x40faf4
mov dword [ebp + 0x10], 0x10
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
xor edx, edx
lea esi, [ecx - 8]
mov dword [ebx], edi
mov dword [ebp - 0x108], edx
test esi, esi
js 0x40fb7a
add esi, 8
shr esi, 3
lea ecx, [esi*8]
mov dword [ebp - 0x108], ecx
jmp 0x40fb20
movzx edi, byte [eax + 1]
movzx ecx, byte [eax]
shl edi, 8
or ecx, edi
movzx edi, byte [eax + 2]
shl edi, 0x10
or ecx, edi
movzx edi, byte [eax + 3]
shl edi, 0x18
or ecx, edi
movzx edi, byte [eax + 5]
mov dword [ebp + edx*4 - 0x104], ecx
movzx ecx, byte [eax + 4]
shl edi, 8
or ecx, edi
movzx edi, byte [eax + 6]
shl edi, 0x10
or ecx, edi
movzx edi, byte [eax + 7]
shl edi, 0x18
or ecx, edi
mov dword [ebp + edx*4 - 0x100], ecx
add eax, 8
add edx, 2
dec esi
jne 0x40fb20
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov esi, ecx
sub esi, dword [ebp - 0x108]
je 0x40fbf3
and ecx, 7
add eax, ecx
dec ecx
xor edi, edi
xor esi, esi
cmp ecx, 7
ja case.default.0x40fb93
jmp dword [ecx*4 + 0x40fcd4]
movzx edi, byte [eax - 1]
dec eax
shl edi, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or edi, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or edi, ecx
movzx ecx, byte [eax - 1]
dec eax
or edi, ecx
movzx esi, byte [eax - 1]
dec eax
shl esi, 0x18
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 0x10
or esi, ecx
movzx ecx, byte [eax - 1]
dec eax
shl ecx, 8
or esi, ecx
movzx eax, byte [eax - 1]
or esi, eax
mov ecx, dword [ebp + 8]
mov dword [ebp + edx*4 - 0x100], edi
mov edi, dword [ebp + 0x10]
mov dword [ebp + edx*4 - 0x104], esi
lea eax, [ecx + 3]
cdq
and edx, 3
add eax, edx
lea edx, [edi + edi + 2]
sar eax, 2
mov ecx, 1
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], edx
mov dword [ebx + 4], 0xb7e15163
cmp edx, ecx
jle 0x40fc32
nop
mov esi, dword [ebx + ecx*4]
sub esi, 0x61c88647
mov dword [ebx + ecx*4 + 4], esi
inc ecx
cmp ecx, edx
jl 0x40fc20
cmp edx, eax
jg 0x40fc38
mov edx, eax
lea ecx, [edx + edx*2]
xor edi, edi
xor esi, esi
xor eax, eax
mov dword [ebp - 0x108], edi
test ecx, ecx
jle 0x40fcc4
mov dword [ebp - 0x10c], ecx
jmp 0x40fc60
mov edx, dword [ebp - 0x108]
mov edx, dword [ebp + edx*4 - 0x104]
lea ecx, [eax + edi]
add ecx, dword [ebx + esi*4 + 4]
add edx, eax
rol ecx, 3
mov edi, ecx
mov dword [ebx + esi*4 + 4], ecx
lea ecx, [eax + edi]
and ecx, 0x1f
add edx, edi
rol edx, cl
mov ecx, dword [ebp - 0x108]
inc esi
mov dword [ebp + ecx*4 - 0x104], edx
mov eax, edx
cmp esi, dword [ebp - 0x110]
jl 0x40fca3
xor esi, esi
inc ecx
mov dword [ebp - 0x108], ecx
cmp ecx, dword [ebp - 0x114]
jl 0x40fcbc
mov dword [ebp - 0x108], 0
dec dword [ebp - 0x10c]
jne 0x40fc60
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041b25d
mov esp, ebp
pop ebp
ret
Function at 0x411ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e3a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
test esi, esi
je 0x41210f
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412050
sub eax, edx
sar eax, 1
test al, 1
jne 0x41210f
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0x10], 0
call fcn.00411470
mov esi, eax
add esp, 8
test esi, esi
je 0x41210f
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov dword [0x43e520], 0x120
test ecx, ecx
je 0x4120a1
xor byte [eax + esi], 0x2a
inc eax
cmp eax, ecx
jb 0x412098
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4120a6
sub eax, edx
sar eax, 1
push esi
lea ecx, [ebp - 0x14]
push ecx
mov ebx, eax
call fcn.00403ae0
push esi
call fcn.0041b300
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
add esp, 4
mov eax, esi
call fcn.00403b90
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41213a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [ebx - 0x10]
mov eax, esi
call fcn.00403b90
or edx, 0xffffffff
add eax, 0x10
mov dword [ebp - 4], edx
lea ecx, [esi + 0xc]
mov dword [edi], eax
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41213a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412c10
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x43b050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, ecx
mov ecx, dword [esi]
push edi
push ecx
mov dword [ebp - 0x1c], eax
call ebx
mov edx, dword [esi + 4]
push edx
mov edi, eax
call ebx
mov esi, eax
xor ebx, ebx
mov eax, dword [ebx + str.37k_IF__y_d]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + ebx - 0x14], eax
add ebx, 4
cmp ebx, 0x10
jl 0x412c42
mov eax, 0xe3779b90
mov dword [ebp - 0x18], 0x10
mov ecx, edi
shr ecx, 5
add ecx, dword [ebp - 8]
mov edx, edi
shl edx, 4
add edx, dword [ebp - 0xc]
xor ecx, edx
lea edx, [eax + edi]
xor ecx, edx
sub esi, ecx
mov ecx, esi
shr ecx, 5
add ecx, dword [ebp - 0x10]
mov edx, esi
shl edx, 4
add edx, dword [ebp - 0x14]
xor ecx, edx
lea edx, [eax + esi]
xor ecx, edx
sub edi, ecx
add eax, 0x61c88647
dec dword [ebp - 0x18]
jne 0x412c67
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
call edi
mov ebx, dword [ebp - 0x1c]
push esi
mov dword [ebx], eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 4], eax
xor ecx, ebp
pop ebx
call fcn.0041b25d
mov esp, ebp
pop ebp
ret

Function at 0x414580
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dbd3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
or ecx, 0xffffffff
mov dword [edi + 8], ecx
mov dword [edi + 4], ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x20], 0x43e52c
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [ebp - 4], eax
lea ebx, [edi + 0x34]
mov dword [edi], vtable.QBXmlSpace::TiXmlDocument.0
mov dword [ebx], 0x43e52c
mov byte [ebp - 4], 1
mov dword [edi + 0x40], ecx
mov dword [edi + 0x3c], ecx
push 0x435bec
xor esi, esi
mov dword [edi + 0x38], 4
mov byte [edi + 0x44], al
mov byte [edi + 0x2c], al
mov dword [edi + 0x30], eax
call fcn.00413180
xor eax, eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
mov eax, edi
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 0x417340
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417345
sub eax, edx
sar eax, 1
mov edx, eax
add edx, edx
xor eax, eax
xor ecx, ecx
test edx, edx
jle 0x41737c
push ebx
push edi
movzx edi, byte [ecx + esi]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x43c300]
inc ecx
cmp ecx, edx
jl 0x417362
pop edi
pop ebx
not eax
ret

Function at 0x417cf0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ecx
push esi
call fcn.00419cb0
test eax, eax
jne 0x417cff
xor eax, eax
pop ecx
ret
cmp dword [0x43e538], 0
jne 0x417cfb
push esi
call fcn.00419e90
test eax, eax
je 0x417cfb
mov eax, dword [esi + 0x4c]
cmp dword [eax - 0xc], 0
je 0x417d41
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417d41
mov eax, dword [esi + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x417d41
push 4
push eax
mov eax, dword [esi + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [0x43e538], 0
jne 0x417cfb
mov eax, esi
call fcn.0041a170
cmp dword [0x43e538], 0
jne 0x417cfb
push 3
push 0
push 0x3ed
xor ecx, ecx
mov edx, 0x43e4e0
call fcn.00405f70
add esp, 0xc
cmp dword [0x43e538], 0
jne 0x417cfb
mov eax, 1
mov dword [esi + 0x44], eax
pop ecx
ret
Function at 0x418080
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ede8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.00408950
push esi
mov dword [ebp - 4], 0
call fcn.00417d90
test eax, eax
je 0x418197
cmp dword [0x43e538], 0
jne 0x418197
mov ecx, dword [esi + 0x30]
call fcn.00408ae0
test eax, eax
je 0x418180
mov edx, dword [ebp - 0x10]
cmp dword [edx - 0xc], 0
je 0x418138
mov eax, dword [esi + 0x30]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x418101
push 0x80004005
call fcn.00401540
push eax
push edx
call fcn.0041c116
add esp, 8
test eax, eax
je 0x418138
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418138
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x418138
push 4
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x3f1
call fcn.00407610
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41816b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x3f2
call fcn.00407610
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4181bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418950
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42edc0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x18]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x418a96
mov ecx, dword [esi + 0x1c]
cmp dword [ecx - 0xc], 0
je 0x418a96
lea edx, [ebp - 0x10]
push edx
call fcn.00408fb0
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x418a5e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x418a5e
push eax
lea ecx, [ebp - 0x14]
call fcn.0041a1a0
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x1c]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4189ed
push 0x80004005
call fcn.00401540
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0041c116
xor edx, edx
add esp, 8
test eax, eax
setne dl
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov esi, edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419cb0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ed90
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.0041a3d0
mov dword [ebp - 4], 0
cmp dword [0x43e538], 0
je 0x419d0f
or esi, 0xffffffff
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
jmp 0x419e63
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jne 0x419d2e
or esi, 0xffffffff
lea eax, [ecx - 0x10]
mov dword [ebp - 4], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
jmp 0x419e63
mov esi, dword [ebx]
mov edi, ecx
test esi, esi
je 0x419e30
cmp word [esi], 0
je 0x419e30
cmp word [ecx], 0
je 0x419e30
push esi
call fcn.00401010
add esp, 4
test eax, eax
jne 0x419d98
mov dword [ebp - 0x14], vtable.CBindStatusCallback.0
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
push ecx
push 0
push edi
push esi
push 0
call dword [0x43c2c0]
test eax, eax
jne 0x419e2d
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419e2d
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041a1a0
add esp, 4
push eax
lea eax, [ebx + 4]
call fcn.0041aed0
mov bl, al
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or esi, 0xffffffff
add esp, 4
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419dd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x419e3b
mov edi, dword [ebp + 8]
add edi, 0x14
lea eax, [ebp - 0x10]
call fcn.004032d0
push 0x3eb
call fcn.00407610
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x419e14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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
mov ecx, dword [ebp - 0x10]
or esi, 0xffffffff
mov dword [ebp - 4], esi
lea eax, [ecx - 0x10]
jmp 0x419e5b
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x3ec
call fcn.00407610
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add esp, 4
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x419e71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
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 0x41a170
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [eax + 0x14]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x41a19d
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
ret
xor eax, eax
ret
Function at 0x41a1a0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dedb
mov eax, dword fs:[0]
push eax
mov eax, 0x2178
call fcn.004273b0
mov eax, dword [0x43b050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
mov ebx, ecx
push eax
mov dword [ebp - 0x2184], ebx
mov dword [ebp - 0x2180], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a215
push ebx
mov ecx, 0x432a70
call fcn.00403220
mov eax, ebx
jmp 0x41a3b4
xor eax, eax
push 0x5c
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x217c]
push edi
push eax
mov byte [ebp - 0x20], 0
call fcn.0041d2e0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push edi
lea ecx, [ebp - 0x2180]
push ecx
push 0x2000
lea edx, [ebp - 0x2120]
push edx
push esi
mov dword [ebp - 0x217c], 0x67452301
mov dword [ebp - 0x2178], 0xefcdab89
mov dword [ebp - 0x2174], 0x98badcfe
mov dword [ebp - 0x2170], 0x10325476
mov dword [ebp - 0x216c], edi
mov dword [ebp - 0x2168], edi
mov dword [ebp - 0x2124], edi
mov dword [ebp - 0x2180], edi
call ebx
mov eax, dword [ebp - 0x2180]
cmp eax, edi
je 0x41a2e1
push eax
lea eax, [ebp - 0x217c]
push eax
lea eax, [ebp - 0x2120]
call fcn.00412830
add esp, 8
push edi
lea ecx, [ebp - 0x2180]
push ecx
push 0x2000
lea edx, [ebp - 0x2120]
push edx
push esi
mov dword [ebp - 0x2180], edi
call ebx
mov eax, dword [ebp - 0x2180]
cmp eax, edi
jne 0x41a2a4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x217c]
call fcn.00412ad0
push 0xfe
lea edx, [ebp - 0x11e]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x120], cx
call fcn.0041d2e0
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea ebx, [ebp - 0x120]
xor esi, esi
movzx eax, byte [ebp + esi - 0x20]
push eax
push str._.2x
push 3
push ebx
call edi
inc esi
add esp, 0x10
add ebx, 4
cmp esi, 0x10
jb 0x41a323
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
mov edi, dword [ebp - 0x2184]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
test ecx, 0xffff0000
jne 0x41a38b
mov edx, ecx
movzx esi, dx
push esi
call fcn.00404170
add esp, 4
test eax, eax
je 0x41a3b2
push eax
mov eax, esi
call fcn.00403cc0
jmp 0x41a3b2
lea eax, [ebp - 0x120]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a394
sub eax, edx
lea ecx, [ebp - 0x120]
sar eax, 1
push ecx
push edi
mov ebx, eax
call fcn.00403ae0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b25d
mov esp, ebp
pop ebp
ret
Function at 0x41ac50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e378
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403220
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00403700
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
cmp eax, 1
jne 0x41acb4
test eax, eax
jns 0x41acaa
push 0x80070057
call fcn.00401540
cmp word [ecx], 0x5c
jne 0x41acb4
xor bl, bl
jmp 0x41acb6
mov bl, 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41acd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41acea
push 1
push 0x4329f8
lea ebx, [ebp - 0x10]
call fcn.00403d60
push 7
push str.tst.tmp
lea ebx, [ebp - 0x10]
call fcn.00403d60
mov ecx, dword [ebp - 0x10]
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, esi
je 0x41ad5f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x41ad49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x41ad7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41b25d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43b050]
jne 0x41b267
repz ret
jmp fcn.0041d3c8
Function at 0x426bdc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43b050]
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.0041eabc
and dword [ebp - 0x14], 0
cmp dword [0x43e45c], 0
mov dword [ebp - 0x18], eax
jne 0x426c8f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x426d37
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x426d37
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43e45c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43e460], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43e464], eax
call edi
push eax
call esi
mov dword [0x43e46c], eax
test eax, eax
je 0x426c8f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43e468], eax
mov eax, dword [0x43e468]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x426ce8
cmp dword [0x43e46c], ecx
je 0x426ce8
push eax
call esi
push dword [0x43e46c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x426ce8
test ebx, ebx
je 0x426ce8
call edi
test eax, eax
je 0x426cdf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x426cdf
test byte [ebp - 8], 1
jne 0x426ce8
or dword [ebp + 0x10], 0x200000
jmp 0x426d1b
mov eax, dword [0x43e460]
cmp eax, dword [ebp - 0x18]
je 0x426d1b
push eax
call esi
test eax, eax
je 0x426d1b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x426d1b
mov eax, dword [0x43e464]
cmp eax, dword [ebp - 0x18]
je 0x426d1b
push eax
call esi
test eax, eax
je 0x426d1b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43e45c]
call esi
test eax, eax
je 0x426d37
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x426d39
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b25d
leave
ret