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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100df2cd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10103040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
vpxor xmm0, xmm0, xmm0
xor edx, edx
mov dword [ebp - 0x2c], 1
mov edi, 0xf
mov dword [ebp - 0x18], edx
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], eax
cmp esi, eax
je 0x100a5a0c
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x100a5983
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x100a5971
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1003a060
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x100a599d
cmp edi, 0xf
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x100a59aa
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.1004a730
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov edi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
test edx, edx
je 0x100a59e4
mov esi, dword [ebp - 0x34]
nop dword [eax]
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edi
imul edi, ecx, 0x1000193
cmp eax, edx
jb 0x100a59d0
mov esi, dword [ebp - 0x30]
cmp edi, dword [ebp + 8]
jne 0x100a59f4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100a5a07
dec eax
mov dword [ebp - 0x2c], eax
add esi, 0x1c
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x38]
je 0x100a5a0c
mov edi, dword [ebp - 0x14]
jmp 0x100a5960
mov esi, dword [esi + 0x18]
jmp 0x100a5a0e
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x100a5a46
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100a5a3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a5a3c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dbda7
add esp, 8
mov eax, esi
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.100db879
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100a73f0
Capabilities:
Create thread
Get disk information
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e5bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x10103040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x105
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x105
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x224], 0
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
jne 0x100a75db
push 0x105
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x105
lea eax, [ebp - 0x220]
push eax
push 0x100f567c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x100a75db
mov esi, dword [0x1041a274]
mov ecx, esi
mov edx, dword [ebp - 0x224]
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100a74d9
cmp dword [eax + 0x10], edx
jae 0x100a74cf
mov eax, dword [eax + 8]
jmp 0x100a74d3
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x100a74c5
cmp byte [ecx + 0xd], 0
jne 0x100a74e4
cmp edx, dword [ecx + 0x10]
jae 0x100a74e6
mov ecx, esi
cmp ecx, esi
je 0x100a75d3
mov esi, dword [esi]
mov dword [ebp - 0x228], esi
cmp byte [esi + 0xd], 0
jne 0x100a75ad
mov edi, dword [esi + 0x10]
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x248]
call fcn.10035f70
mov dword [ebp - 4], 0
cmp edi, dword [ebp - 0x224]
jne 0x100a7555
cmp dword [ebp - 0x234], 0xf
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmova eax, dword [ebp - 0x248]
mov ecx, 0x1032a7dc
push eax
call fcn.1003a060
mov eax, dword [esi + 0x10]
mov dword [0x1032a7f8], eax
mov byte [0x1032a7f4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x234]
cmp ecx, 0xf
jbe 0x100a7592
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a7588
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a75cd
push ecx
push edx
call fcn.100dbda7
add esp, 8
lea ecx, [ebp - 0x228]
call fcn.10052a10
mov esi, dword [ebp - 0x228]
cmp byte [esi + 0xd], 0
je 0x100a7500
push 0
push 0
push 0
push 0x10046a80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100a75db
mov eax, 1
jmp 0x100a75dd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor eax, eax
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.100db879
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100b8c30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100df3e3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10103040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x100b8e1c
cmp dword [0x10324448], 0
je 0x100b8e1c
mov ebx, dword [eax + 8]
mov eax, dword [0x104220b8]
test al, 1
jne 0x100b8cc0
or eax, 1
mov dword [0x104220b8], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.1005ab50
push 0xda7d68cb
mov edx, eax
mov ecx, 0x104220bc
call fcn.1005af80
add esp, 4
push 0x100e8620
call fcn.100dbd8d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x104220bc]
call eax
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ebx, ebx
je 0x100b8d35
test ecx, ecx
je 0x100b8d35
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x100b8d35
nop dword [eax + eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx]
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x100b8d29
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x100b8d00
xor edx, edx
test ecx, ecx
je 0x100b8d29
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100b8d10
cmp edi, 0x11ab48ff
je 0x100b8d37
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x100b8d35
mov ecx, dword [ebp - 0x18]
jmp 0x100b8ce0
xor ebx, ebx
movsx eax, byte [ebx + 0x10]
dec eax
cmp eax, 6
ja case.0x100b8d41.2
jmp dword [eax*4 + 0x100b8e30]
push dword [ebx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, eax
jmp 0x100b8d92
push dword [ebx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
jmp 0x100b8d92
fld dword [ebx + 0xc]
fstp qword [ebp - 0x20]
vxorpd xmm0, xmm0, xmm0
vroundsd xmm0, xmm0, qword [ebp - 0x20], 1
vmovsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp dword [ebp - 0x18]
vcvttss2si edx, dword [ebp - 0x18]
jmp 0x100b8d92
xor edx, edx
jmp 0x100b8d92
mov edx, dword [ebx + 0xc]
mov ecx, dword [0x10419fa4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x10419fa4]
mov esi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
call edx
cmp esi, eax
jne 0x100b8e1c
mov ecx, dword [0x1041ac1c]
xor edx, edx
mov esi, dword [0x1041ac20]
vmovss xmm1, dword [0x100f6c58]
add esi, ecx
cmp ecx, esi
je 0x100b8e1c
mov edi, dword [0x1041ac14]
mov ebx, dword [0x1041ac18]
nop dword [eax + eax]
lea eax, [ebx - 1]
and eax, ecx
mov eax, dword [edi + eax*4]
cmp byte [eax + 0x30], 0
jne 0x100b8e0f
mov edi, dword [0x1041a004]
vmovss xmm0, dword [edi]
vsubss xmm0, xmm0, dword [eax + 8]
vcomiss xmm1, xmm0
mov edi, dword [0x1041ac14]
jb 0x100b8e0f
vmovaps xmm1, xmm0
mov edx, eax
inc ecx
cmp ecx, esi
jne 0x100b8de0
test edx, edx
je 0x100b8e1c
mov byte [edx + 0x30], 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
Function at 0x100be6b0
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 0x100be841
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100be841
mov eax, dword [0x1041a018]
cmp dword [eax + 0x174], 0xffffffff
je 0x100be841
mov eax, dword [0x10421f9c]
add eax, 0xffffff8e
xor eax, 0x8fb53efd
cmp dword [eax + ebx], 0
mov eax, dword [0x10421f64]
setle cl
add eax, 0xffffff9c
xor eax, 0x8fb53eef
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x10421f58]
add eax, 0xffffff9f
xor eax, 0x8fb53eec
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x10421f5c]
add eax, 0xffffff9e
xor eax, 0x8fb53eed
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [0x10421f60]
lea eax, [ecx - 0x63]
xor eax, 0x8fb53eee
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x100be79e
lea eax, [ecx - 0x63]
xor eax, 0x8fb53eee
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x100be796
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100be78a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x100be787
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [0x10421f60]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x100be753
lea eax, [ecx - 0x63]
xor eax, 0x8fb53eee
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 [0x1041a02c]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x100be832
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 [esi + ecx], 0
jne 0x100be7f6
xor edx, edx
test ecx, ecx
je 0x100be81c
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100be803
cmp edi, 0x79705c5e
je 0x100be827
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x100be832
mov ecx, dword [ebp - 4]
jmp 0x100be7e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + ebx*4]
jmp 0x100be834
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x1041a188]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100d80f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
movzx eax, byte [edx]
push ebx
push esi
xor eax, 0x811c9dc5
push edi
mov edi, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 8]
imul ebx, ecx, 0x1000193
mov ecx, edi
push ebx
push edx
push eax
call fcn.100d8b60
mov esi, dword [eax + 4]
test esi, esi
je 0x100d81a5
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x100d816c
cmp eax, esi
jne 0x100d8164
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x100d8174
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x100d8174
cmp eax, esi
jne 0x100d8174
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edi + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 0x50]
call fcn.100360f0
push 0x5c
push esi
call fcn.100dbda7
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100d8290
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp ebx, eax
je 0x100d83ff
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.100360f0
push 0x5c
push edi
call fcn.100dbda7
mov edx, dword [ebp - 0x14]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x100d835d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x100d8310
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x100d83f5
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x100d8371
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [edi], eax
jmp 0x100d8374
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x100d83f5
nop
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x1c]
and eax, dword [edx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.100360f0
push 0x5c
push edi
call fcn.100dbda7
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x100d8406
cmp esi, eax
jne 0x100d83c5
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x100d8380
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100db2de
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x100db305
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100db308
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100db2ba
pop esi
leave
ret 8
Function at 0x404e60
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x404f0b
call fcn.0040c7a0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040e160
jmp 0x404ebf
mov dword [ebp - 4], 2
call fcn.0040e760
lea eax, [ebp - 0x18]
push eax
call fcn.0040cea0
mov eax, dword [eax]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
jmp 0x404ef3
mov ecx, dword [esi + 0xc4]
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ecx
mov dword [ebp - 4], 0xffffffff
call edi
jmp 0x404f11
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x404f1e
push eax
call edi
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x404f2b
push eax
call edi
call fcn.00429f90
mov ecx, eax
call fcn.0042a6e0
mov ecx, esi
call sub.MFC42.DLL_CWinApp::ExitInstance
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408b90
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
call fcn.0040c7a0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x408bf9
call fcn.00410d30
push 0
push 0x444ec0
push 0x444b48
push 0
push 0
push 4
push 0
push 0
push 0x438a70
call sub.MFC42.DLL_AfxBeginThread
push eax
call sub.MSVCRT.dll___RTDynamicCast
add esp, 0x14
mov dword [esi + 0x39b0], eax
test eax, eax
je 0x408bf9
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0x39b0]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esi + 0x39b0]
call fcn.00410ca0
pop esi
ret

Function at 0x409720
Capabilities:
Get file attributes

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 2
je 0x40973d
pop edi
mov eax, 1
pop esi
ret 4
mov eax, dword [esi + 0x117c]
lea ecx, [esi + 0x117c]
push edi
call dword [eax + 0x158]
mov esi, eax
cmp esi, 0xffffff98
jne 0x40976a
push 0
push 0x447144
call fcn.0040be40
mov ecx, eax
call fcn.0040bfe0
mov eax, esi
pop edi
pop esi
ret 4
Function at 0x40cbc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x432fe1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CString::CString_3
mov esi, 1
lea ecx, [esp + 0xc]
push esi
push 0x1a
push 0x208
mov dword [esp + 0x58], esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
mov edi, eax
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp edi, ebx
jne 0x40cce4
mov al, byte [esp + 0x54]
mov edi, 0x446fe0
mov byte [esp + 0x18], al
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40cc7b
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov edx, ecx
mov esi, 0x446fe0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
mov byte [eax + ebp], bl
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 2
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0x446fe0
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
mov dl, byte [esp + 0x1c]
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 3
mov byte [esp + 0x3c], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
push ecx
push ebx
push edx
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea eax, [esp + 0x2c]
push 0x43bd40
push eax
mov byte [esp + 0x58], 2
mov dword [esp + 0x34], vtable.SystemError.0
call sub.MSVCRT.dll__CxxThrowException
pop ebp
mov edi, dword [esp + 0x54]
lea ecx, [esp + 0xc]
push str.EPSONCreativity_Suite
push ecx
push edi
call sub.MFC42.DLL_operator
mov dword [esp + 0x14], esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret
Function at 0x40cea0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4330c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CString::CString_3
mov esi, 1
push 0x208
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
mov edi, eax
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp edi, ebx
jne 0x40cfc5
mov al, byte [esp + 0x54]
mov edi, 0x446fe0
mov byte [esp + 0x18], al
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40cf5c
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov edx, ecx
mov esi, 0x446fe0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
mov byte [eax + ebp], bl
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 2
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0x446fe0
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
mov dl, byte [esp + 0x1c]
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 3
mov byte [esp + 0x3c], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
push ecx
push ebx
push edx
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea eax, [esp + 0x2c]
push 0x43bd40
push eax
mov byte [esp + 0x58], 2
mov dword [esp + 0x34], vtable.SystemError.0
call sub.MSVCRT.dll__CxxThrowException
pop ebp
mov edi, dword [esp + 0x54]
lea ecx, [esp + 0xc]
push 0x447290
push ecx
push edi
call sub.MFC42.DLL_operator_1
mov dword [esp + 0x14], esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret