joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008ee80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], esi
mov edx, dword [esi + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
lea ecx, [ecx*8 + 4]
add ecx, edx
mov edx, eax
mov dword [ebp - 4], ecx
cmp edx, esi
jne 0x1008eeea
mov ecx, esi
jmp 0x1008eeee
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1008ef15
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x1008ef00
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
jmp 0x1008eee2
cmp eax, esi
je 0x1008ef15
pop edi
mov dword [ebx], eax
mov eax, ebx
pop esi
mov byte [ebx + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esi]
lea eax, [ebp - 4]
push ecx
push eax
push ecx
mov dword [ebp - 4], edi
mov edi, dword [esi + 4]
push edi
push esi
call fcn.1008f620
mov edx, eax
mov ecx, 0xaaaaaa9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub ecx, eax
cmp ecx, 1
jae 0x1008ef49
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov ecx, dword [ebp - 8]
inc eax
mov dword [ecx + 8], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
push ebx
call fcn.1008f260
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1008f570
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, ecx
mov ebx, dword [ebp + 8]
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
lea esi, [ecx*8]
mov ecx, dword [edx + 0xc]
add ecx, esi
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x1008f5e6
cmp eax, edi
jne 0x1008f5de
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x1008f5ee
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1008f5ee
cmp eax, edi
jne 0x1008f5ee
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [edx + 8]
call fcn.1008ec90
push 0x2c
push edi
call fcn.100b55ca
add esp, 8
mov dword [ebx], esi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1008f650
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
movzx edx, byte [eax + 8]
mov edi, ecx
movzx ecx, byte [eax + 9]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
mov ebx, dword [ebp + 8]
xor edx, ecx
movzx ecx, byte [eax + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x1008f6c7
cmp ecx, eax
jne 0x1008f6bf
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x1008f6cf
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x1008f6cf
cmp ecx, eax
jne 0x1008f6cf
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x18
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.100b55ca
add esp, 8
mov dword [ebx], esi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100906f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1009071b
push 0
push 0
push 0
push 0x10026000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1009071b
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x100996a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd146
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x100cc008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100f464c]
mov dword [ebp - 0x38], ecx
test al, 1
jne 0x100997fb
or eax, 1
mov dword [0x100f464c], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100c1ae0]
pxor xmm0, xmmword [0x100c1980]
mov dword [ebp - 0x20], 0x8292e182
mov dword [ebp - 0x1c], 0x9382e492
mov dword [ebp - 0x18], 0x949a8293
mov byte [ebp - 0x14], 0xa2
movups xmmword [ebp - 0x30], xmm0
nop dword [eax]
xor byte [ebp + eax - 0x30], 0xa2
inc eax
cmp eax, 0x1d
jb 0x10099730
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x50], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10099753
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.1001e170
mov byte [ebp - 4], 1
mov edx, dword [0x100ef69c]
test edx, edx
je 0x1009977c
mov edx, dword [edx + 0x50]
jmp 0x1009977e
xor edx, edx
mov eax, dword [0x100ef694]
test eax, eax
je 0x1009978c
mov eax, dword [eax + 0x18]
jmp 0x1009978e
xor eax, eax
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10018590
mov eax, dword [ebp - 0x34]
add esp, 8
test eax, eax
je 0x100997b5
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x100997b0
xor eax, eax
jmp 0x100997b5
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x3c]
mov dword [0x100f4650], eax
cmp edx, 0x10
jb 0x100997f4
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100997ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100997ea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100b55ca
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [0x100f4650], 0
je 0x10099819
push 0
mov ecx, dword [ebp - 0x38]
movss xmm1, dword [ebx + 0xc]
movss xmm2, dword [ebx + 8]
call dword [0x100f4650]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100a48f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100a4a81
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100a4a81
mov eax, dword [0x100ef748]
cmp dword [eax + 0x174], 0xffffffff
je 0x100a4a81
mov eax, dword [0x100ef9b0]
add eax, 0xffffff91
xor eax, 0xeb81ef5c
cmp dword [eax + ebx], 0
mov eax, dword [0x100ef978]
setle cl
add eax, 0xffffff9f
xor eax, 0xeb81ef4e
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x100ef96c]
add eax, 0xffffffa2
xor eax, 0xeb81ef4b
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x100ef970]
add eax, 0xffffffa1
xor eax, 0xeb81ef4c
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [0x100ef974]
lea eax, [ecx - 0x60]
xor eax, 0xeb81ef4d
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x100a49de
lea eax, [ecx - 0x60]
xor eax, 0xeb81ef4d
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x100a49d6
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100a49ca
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x100a49c7
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [0x100ef974]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x100a4993
lea eax, [ecx - 0x60]
xor eax, 0xeb81ef4d
lea ecx, [ebx + 8]
push 0
mov dword [eax + ebx + 0xc], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push 0
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x100ef75c]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x100a4a72
nop dword [eax]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x100a4a36
xor edx, edx
test ecx, ecx
je 0x100a4a5c
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100a4a43
cmp edi, 0x79705c5e
je 0x100a4a67
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x100a4a72
mov ecx, dword [ebp - 4]
jmp 0x100a4a20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + ebx*4]
jmp 0x100a4a74
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x100ef830]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100aa2b0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd768
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100cc008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x100ef748]
mov edi, dword [esi + 0x174]
test edi, edi
setg byte [ebp - 0x14]
cmp dword [0x100de658], 4
jne 0x100aa319
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x100ef6f0]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x14]
push edi
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x100f4664], 0
jne 0x100aa44c
movaps xmm0, xmmword [0x100c1910]
xor eax, eax
movaps xmm2, xmmword [0x100c1ae0]
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x1c], 0xe1e4
movaps xmm0, xmmword [0x100c1850]
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x1a], 0xa2
nop
movups xmm0, xmmword [ebp + eax - 0x3c]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x3c], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x100aa350
cmp eax, 0x23
jae 0x100aa37b
nop
xor byte [ebp + eax - 0x3c], 0xa2
inc eax
cmp eax, 0x23
jb 0x100aa370
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x54], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100aa393
sub ecx, edx
lea eax, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.1001e170
mov dword [ebp - 4], 0
mov edx, dword [0x100ef6a8]
test edx, edx
je 0x100aa3bf
mov edx, dword [edx + 0x50]
jmp 0x100aa3c1
xor edx, edx
mov eax, dword [0x100ef6a0]
test eax, eax
je 0x100aa3cf
mov eax, dword [eax + 0x18]
jmp 0x100aa3d1
xor eax, eax
lea ecx, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.1003e670
mov edi, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x40]
inc edi
cmp edx, 0x10
jb 0x100aa41b
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa411
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100aa411
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100b55ca
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x14], 0
call esi
lea eax, [ebp - 0x14]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
mov byte [0x100f4664], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b5137
mov esp, ebp
pop ebp
ret
Function at 0x100b48e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], esi
mov edx, dword [esi + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
lea ecx, [ecx*8 + 4]
add ecx, edx
mov edx, eax
mov dword [ebp - 4], ecx
cmp edx, esi
jne 0x100b494a
mov ecx, esi
jmp 0x100b494e
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x100b4975
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x100b4960
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
jmp 0x100b4942
cmp eax, esi
je 0x100b4975
pop edi
mov dword [ebx], eax
mov eax, ebx
pop esi
mov byte [ebx + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esi]
lea eax, [ebp - 4]
push ecx
push eax
push ecx
mov dword [ebp - 4], edi
mov edi, dword [esi + 4]
push edi
push esi
call fcn.100b4a70
mov edx, eax
mov ecx, 0xffffffe
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub ecx, eax
cmp ecx, 1
jae 0x100b49a9
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov ecx, dword [ebp - 8]
inc eax
mov dword [ecx + 8], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
push ebx
call fcn.10029370
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1001961
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 1
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_SaferCreateLevel]
mov edi, eax
cmp edi, esi
je 0x10019c0
push esi
push esi
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_SaferComputeTokenFromLevel]
mov edi, eax
cmp edi, esi
je 0x10019c0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push 0x10
push esi
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
cmp dword [ebp - 4], esi
je 0x10019ce
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_SaferCloseLevel]
cmp dword [ebp - 8], esi
je 0x10019dc
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret 0x18
Function at 0x1002dbe
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x10036a0
call fcn.01003084
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x10054d8
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1002b75
cmp eax, esi
jne 0x1002b68
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1002b78
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1002b4f
xor esi, esi
inc esi
mov eax, dword [0x10054d4]
cmp eax, esi
jne 0x1002b8b
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1002bba
mov eax, dword [0x10054d4]
test eax, eax
jne 0x1002bb4
mov dword [0x10054d4], esi
push 0x10011ac
push 0x10011a0
call fcn.01002ab4
pop ecx
pop ecx
test eax, eax
je 0x1002bba
jmp 0x1002ce2
mov dword [0x100519c], esi
mov eax, dword [0x10054d4]
cmp eax, esi
jne 0x1002bde
push 0x100119c
push 0x1001194
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10054d4], 2
test ebx, ebx
jne 0x1002bea
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10054dc], 0
je 0x1002c0e
push 0x10054dc
call fcn.01002ff9
pop ecx
test eax, eax
je 0x1002c0e
push 0
push 2
push 0
call dword [0x10054dc]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1002c6a
test al, al
je 0x1002c28
cmp dword [ebp - 0x1c], 0
jne 0x1002c6a
mov al, byte [esi]
test al, al
je 0x1002c38
cmp al, 0x20
ja 0x1002c38
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1002c28
test byte [ebp - 0x3c], 1
je 0x1002c44
movzx eax, word [ebp - 0x38]
jmp 0x1002c47
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1005198], eax
cmp dword [0x100518c], 0
jne 0x1002cbe
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x1002c79
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x1002c8c
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1002c15
cmp dword [0x100519c], 0
jne 0x1002ccd
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1005198]
jmp 0x1002cee
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010030c9
ret
call fcn.010031a7
jmp 0x1002b15
Function at 0x4031b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c19d1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4d98f0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00403060
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ecx, [esi + 0x30]
call fcn.00431c10
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x1ef0]
call fcn.0045d720
mov byte [esp + 0x18], 2
mov eax, dword [esp + 0x20]
mov byte [esi + 0x1eec], bl
mov byte [esi + 0x1eed], bl
mov dword [esi + 0x1edc], ebx
mov dword [esi + 0x1ee0], ebx
mov dword [esi + 0x1ee4], ebx
mov dword [esi + 0x1ee8], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x1ed8], ebx
mov dword [esi + 0x1f4c], esi
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x406c90
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2e0
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2fc]
push esi
push edi
mov edi, dword [esp + 0x2f4]
mov ebx, ecx
push 0x808
mov dword [esp + 0x38], ebx
call fcn.004b0a20
mov ecx, dword [esp + 0x300]
mov esi, eax
mov eax, dword [esp + 0x2fc]
add esp, 4
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
call fcn.0046f910
lea edx, [esi + 8]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x406ce7
cmp dword [ebx + 4], 0x50000
jb 0x406d17
call fcn.00444860
cmp eax, 0x400
je 0x406d17
cmp byte [esp + 0x310], 0
jne 0x406d62
mov ebx, dword [esp + 0x300]
cmp ebx, 0xffffffff
je 0x406d27
test ebp, ebp
jne 0x406d69
cmp dword [esp + 0x2f8], 2
mov eax, 0x4201
jne 0x406d3b
mov eax, 0x4203
push eax
push 0x2b4
lea edx, [esp + 0x40]
push edx
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, 0xffffffff
jne 0x406d58
mov ebx, dword [esp + 0x3c]
test ebp, ebp
jne 0x406d69
lea ebp, [esp + 0x44]
jmp 0x406d69
mov ebx, dword [esp + 0x300]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0x37
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x406da7
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x30c]
mov ecx, dword [esp + 0x308]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
push 0
mov dword [esp + 0x34], ecx
mov ecx, dword [eax]
push 0x40b
push ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004affec
add esp, 0x2e0
ret 0x20
Function at 0x407970
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x2d0], eax
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
je 0x407a99
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push eax
call esi
lea eax, [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x407a0f
mov edx, dword [esp + 0xc]
push 0x4209
push 0x2b4
lea ecx, [esp + 0x18]
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
mov eax, dword [edi]
push 0
push 0x402
push eax
call esi
mov eax, dword [0x53eddc]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov edx, dword [esp + 0x14]
push 0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
push ecx
push edx
push 0
mov eax, ecx
push 1
push eax
mov ecx, edi
call fcn.00406c90
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x407a38
mov edx, dword [esp + 8]
push eax
push eax
push edx
mov ecx, edi
call fcn.00407150
test al, al
jne 0x407a91
push ebx
push ebp
call fcn.0048b020
mov ebp, eax
xor esi, esi
mov ebx, 1
test ebp, ebx
je 0x407a87
lea eax, [esi + 0x41]
push eax
lea ecx, [esp + 0x2d0]
push 0x4c6888
push ecx
mov edx, 0xa
call fcn.00407130
add esp, 0xc
push 1
push 0xffffffffffffffff
push 2
push 0
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x2e8]
push edx
mov ecx, edi
call fcn.00406c90
inc esi
rol ebx, 1
cmp esi, 0x20
jl 0x407a48
pop ebp
pop ebx
mov ecx, edi
call fcn.004076d0
pop esi
mov ecx, dword [esp + 0x2d4]
pop edi
xor ecx, esp
call fcn.004affec
add esp, 0x2d4
ret
Function at 0x407ab0
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
sub esp, 0x804
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
push 0x400
mov esi, ecx
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
push edx
call fcn.0044c470
mov ecx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 8]
push eax
push 0xffffffffffffffff
push 0x158
push ecx
call edi
cmp eax, 0xffffffff
je 0x407b58
mov edx, dword [esi]
push 0
push eax
push 0x14e
push edx
call edi
mov ecx, esi
call fcn.00407850
cmp byte [0x51a779], 0
mov ecx, esi
je 0x407b3c
call fcn.004074a0
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004affec
add esp, 0x804
ret
call fcn.004070a0
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004affec
add esp, 0x804
ret
cmp byte [0x51a779], 0
je 0x407b95
lea eax, [esp + 8]
push eax
call fcn.004571a0
test al, al
jne 0x407b95
lea ecx, [esp + 8]
push ecx
mov ecx, 0x5210a8
call fcn.0044a290
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004affec
add esp, 0x804
ret
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407bcf
test al, 0x10
jne 0x407bcf
lea eax, [esp + 8]
push eax
mov ecx, 0x5210a8
call fcn.0044a0e0
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004affec
add esp, 0x804
ret
lea ecx, [esp + 8]
push ecx
call fcn.004937e0
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.004affec
add esp, 0x804
ret