joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405e40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x41da8c], 0
jne 0x40611a
push esi
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj12.8_.4202:zb0.1:bb
mov byte [0x41da8c], 1
call fcn.0040773f
push 0x12a0
push 0
push 0x41c7d8
call fcn.0040c840
push 0
push 0x41c7f6
push 0x4175ec
call fcn.00405d70
push 0
push 0x41c9f4
push 0x4175f4
call fcn.00405d70
push 0x41ca30
push 0
push 0x4175fc
call fcn.00405d70
push 0
push 0x41ca34
push 0x417604
call fcn.00405d70
add esp, 0x40
push 0
push 0x41cc32
push 0x41760c
call fcn.00405d70
push 0x41cc70
push 0
push 0x417614
call fcn.00405d70
push 0
push 0x41cc74
push 0x41761c
call fcn.00405d70
push 0
push 0x41ce72
push 0x417624
call fcn.00405d70
push 0x41ceb0
push 0
push 0x41762c
call fcn.00405d70
push 0
push 0x41ceb4
push 0x417634
call fcn.00405d70
add esp, 0x48
push 0
push 0x41cef0
push 0x41763c
call fcn.00405d70
push 0
push 0x41cf2c
push 0x417644
call fcn.00405d70
push 0
push 0x41cf90
push 0x41764c
call fcn.00405d70
push 0
push 0x41cff4
push 0x417654
call fcn.00405d70
push 0x41d058
push 0
push 0x41765c
call fcn.00405d70
push 0x41d05c
push 0
push 0x417664
call fcn.00405d70
add esp, 0x48
push 0x41d060
push 0
push 0x41766c
call fcn.00405d70
push 0x41d064
push 0
push 0x417674
call fcn.00405d70
push 0x41d068
push 0
push 0x41767c
call fcn.00405d70
push 0x41d06c
push 0
push 0x417684
call fcn.00405d70
push 0x41d070
push 0
push 0x41768c
call fcn.00405d70
push 0x41d074
push 0
push 0x417694
call fcn.00405d70
add esp, 0x48
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.Console
push connect
mov dword [ebp - 8], 3
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406042
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
push eax
call esi
cmp dword [ebp - 4], 0xa
jbe 0x406119
push 0x7d0
push 0
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj12.8_.4202:zb0.1:bb
call fcn.0040c840
mov eax, dword [ebp - 0xc]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push str.0:db0:lk0:hs0:ld0:ll0:hb0:pj12.8_.4202:zb0.1:bb
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
push eax
call esi
push 0
push 0x41c7f6
push 0x4175ec
call fcn.00405d70
push 0
push 0x41c9f4
push 0x4175f4
call fcn.00405d70
push 0x41ca30
push 0
push 0x4175fc
call fcn.00405d70
push 0
push 0x41ca34
push 0x417604
call fcn.00405d70
push 0
push 0x41cc32
push 0x41760c
call fcn.00405d70
push 0x41cc70
push 0
push 0x417614
call fcn.00405d70
add esp, 0x48
push 0
push 0x41cc74
push 0x41761c
call fcn.00405d70
push 0
push 0x41ce72
push 0x417624
call fcn.00405d70
push 0x41ceb0
push 0
push 0x41762c
call fcn.00405d70
add esp, 0x24
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402280
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419066
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x422040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], edx
mov esi, ecx
lea eax, [esi + 0x10]
xor ecx, ecx
mov dword [ebp - 0x90], eax
mov edx, 2
mov eax, dword [eax]
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040d198
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 7
jbe 0x4022e4
mov esi, dword [esi]
mov ecx, dword [ebp - 0x90]
push esi
mov ecx, dword [ecx]
inc ecx
push ecx
push edi
call fcn.00410425
push 0x44
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.0040e750
add esp, 0x18
lea eax, [ebp - 0xa4]
xorps xmm0, xmm0
movups xmmword [ebp - 0xa4], xmm0
push eax
lea eax, [ebp - 0xe8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push edi
test eax, eax
je 0x40246a
call fcn.0040d1a1
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 4
push 0x32
push dword [ebp - 0xa4]
call esi
cmp eax, 0x102
jne 0x402403
mov eax, dword fs:[0x2c]
mov edi, dword [eax]
nop dword [eax]
mov eax, dword [0x4239c0]
cmp eax, dword [edi + 4]
jle 0x4023e9
push 0x4239c0
call fcn.0040d222
add esp, 4
cmp dword [0x4239c0], 0xffffffff
jne 0x4023e9
mov dword [ebp - 4], 3
mov dword [0x4239d4], 0
mov dword [0x4239d0], 0
mov dword [0x4239cc], 0
mov dword [0x4239c4], 0
mov byte [ebp - 4], 4
call fcn.00404710
push 0x4194a0
call fcn.0040d053
push 0x4239c0
mov dword [ebp - 4], 0xffffffff
call fcn.0040d1d1
add esp, 8
call fcn.00404670
push 0x32
push dword [ebp - 0xa4]
call esi
cmp eax, 0x102
je 0x402370
cmp eax, 0x80
je 0x4024ca
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0
push eax
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4024e5
push dword [ebp - 0xa4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xa0]
call esi
mov eax, dword [ebp - 0x8c]
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.0040cdb6
mov esp, ebp
pop ebp
ret
call fcn.0040d1a1
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00405100
mov esi, eax
push dword [ebp - 0x94]
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
call fcn.00402bd0
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00402b70
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00402c20
add esp, 8
lea eax, [ebp - 0x28]
push 0x4214c4
push eax
call fcn.0040e15a
push str.The_condition_waiting_on_the_termination_of_the_.NET_installer_was_abandoned.
lea ecx, [ebp - 0x28]
call fcn.004029a0
push 0x4214c4
lea eax, [ebp - 0x28]
push eax
call fcn.0040e15a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00405100
push 0x4214c4
lea eax, [ebp - 0x40]
push eax
call fcn.0040e15a
int3
Function at 0x4033a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419115
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x422040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
call fcn.004029f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x42017c
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00403250
cmp dword [ebp + 0x1c], 7
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x28]
cmova ecx, dword [ebp + 8]
cmp dword [ebp - 0x14], 7
mov edx, dword [ebp - 0x28]
cmova esi, edx
movzx ecx, word [ecx + eax*2 - 2]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], esi
test eax, eax
je 0x403441
cmp word [esi], cx
je 0x4034b6
add esi, 2
sub eax, 1
jne 0x403434
or esi, 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x40347b
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403471
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403537
push ecx
push edx
call fcn.0040d068
add esp, 8
cmp esi, 0xffffffff
jne 0x40348d
push 0x420184
lea ecx, [ebp + 8]
call fcn.00402af0
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
push 0
cmova eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4034c8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x40351d
jmp 0x4034c1
test esi, esi
je 0x403441
sub esi, dword [ebp - 0x44]
sar esi, 1
jmp 0x403444
mov ecx, edi
call fcn.004035f0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x4034fe
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4034f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403537
push ecx
push edx
call fcn.0040d068
add esp, 8
mov eax, edi
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.0040cdb6
mov esp, ebp
pop ebp
ret 0x18
call esi
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00405100
push 0x4214c4
lea eax, [ebp - 0x40]
push eax
call fcn.0040e15a
call fcn.0041012f
int3
Function at 0x4035f0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28c
mov eax, dword [0x422040]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push esi
push edi
push 0x250
lea eax, [esp + 0x44]
mov esi, ecx
push 0
push eax
call fcn.0040e750
mov ecx, dword [esi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
add esp, 0xc
cmp eax, 1
jb 0x40379b
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x403640
mov eax, dword [esi]
push 1
push 0x420188
push ecx
push eax
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.00402fd0
cmp dword [esp + 0x24], 7
lea ecx, [esp + 0x40]
lea eax, [esp + 0x10]
cmova eax, dword [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [esp + 0x24]
mov ebx, eax
cmp ecx, 7
jbe 0x4036af
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4036a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4037a0
push ecx
push edx
call fcn.0040d068
add esp, 8
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
cmp ebx, 0xffffffff
je 0x4037a5
nop
mov edx, dword [esi + 0x10]
lea eax, [esp + 0x6c]
lea edi, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4036e0
sub eax, edi
mov ecx, 0x7ffffffe
sar eax, 1
sub ecx, edx
cmp ecx, eax
jb 0x40379b
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x403708
mov ecx, dword [esi]
push eax
lea eax, [esp + 0x70]
push eax
push edx
push ecx
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x40]
call fcn.00402fd0
cmp dword [esp + 0x3c], 7
lea eax, [esp + 0x28]
cmova eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x3c]
cmp ecx, 7
jbe 0x40376b
mov edx, dword [esp + 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403761
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4037a0
push ecx
push edx
call fcn.0040d068
add esp, 8
lea eax, [esp + 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4036d0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x294]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040cdb6
mov esp, ebp
pop ebp
ret
call fcn.004010a0
call fcn.0041012f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0x28]
call fcn.00405100
push 0x4214c4
lea eax, [esp + 0x2c]
push eax
call fcn.0040e15a
int3
Function at 0x404b80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4192ab
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x422040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov bl, byte [ebp + 8]
xor eax, eax
mov ecx, 5
test bl, bl
cmovne eax, ecx
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
je 0x404c59
push 1
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4239c0]
cmp eax, dword [ecx + 4]
jle 0x404c54
push 0x4239c0
call fcn.0040d222
add esp, 4
cmp dword [0x4239c0], 0xffffffff
jne 0x404c54
mov dword [ebp - 4], 0
mov dword [0x4239d4], 0
mov dword [0x4239d0], 0
mov dword [0x4239cc], 0
mov dword [0x4239c4], 0
mov byte [ebp - 4], 1
call fcn.00404710
push 0x4194a0
call fcn.0040d053
push 0x4239c0
call fcn.0040d1d1
add esp, 8
call fcn.00404670
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40c710
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 8], ecx
mov eax, dword [eax]
and eax, 7
cmp edx, 5
jae 0x40c730
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
add edx, 0xfffffffc
or ebx, 0xffffffff
add edx, ecx
push esi
mov dword [ebp - 4], edx
nop dword [eax]
lea esi, [edi + ecx]
cmp esi, edx
jae 0x40c759
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x40c756
inc esi
cmp esi, edx
jb 0x40c747
mov ecx, dword [ebp - 8]
mov edi, esi
sub edi, ecx
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x40c86f
cmp ecx, 3
jbe 0x40c798
xor eax, eax
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test cl, cl
je 0x40c7d6
cmp cl, 0xff
je 0x40c7d6
mov edx, dword [ebp - 4]
and eax, 3
add eax, eax
mov ecx, 1
or eax, 1
add edi, ecx
mov ecx, dword [ebp - 8]
jmp 0x40c740
dec ecx
shl eax, cl
and eax, 7
je 0x40c770
cmp byte [eax + 0x42012c], 0
je 0x40c7c3
movzx ecx, byte [eax + 0x420134]
mov edx, esi
sub edx, ecx
mov cl, byte [edx + 4]
test cl, cl
je 0x40c7c0
cmp cl, 0xff
jne 0x40c770
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
and eax, 3
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x40c740
movzx ebx, cl
movzx ecx, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
sub ebx, edi
sub ebx, 5
test eax, eax
je 0x40c83a
nop dword [eax]
movzx edx, byte [eax + 0x420134]
mov ecx, 0x18
shl edx, 3
sub ecx, edx
mov dword [ebp - 0xc], edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x40c821
cmp dl, 0xff
jne 0x40c83a
mov ecx, 0x20
mov edx, 1
sub ecx, dword [ebp - 0xc]
shl edx, cl
dec edx
xor ebx, edx
sub ebx, edi
sub ebx, 5
jmp 0x40c800
mov edx, dword [ebp - 4]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
neg cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
add edi, ecx
mov ecx, dword [ebp - 8]
jmp 0x40c740
pop esi
pop ebx
cmp ecx, 3
jbe 0x40c884
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x40d8d7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40d916
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d916
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d916
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40d916
cmp dword [ecx + 0x74], 0xe
jbe 0x40d916
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41254a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41cd8c
push 0x41cd84
push str.FlsAlloc
push 0x1f
call fcn.00412485
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41257e
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a1d8]
call esi
jmp 0x412584
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x4125c8
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41cd9c
push 0x41cd94
push str.FlsGetValue
push 0x21
call fcn.00412485
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4125ff
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a1d8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x412607
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41cda4
push 0x41cd9c
push str.FlsSetValue
push 0x22
call fcn.00412485
mov esi, eax
add esp, 0x10
test esi, esi
je 0x412641
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41a1d8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x41415c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x422040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4141a7
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004142f7
test al, al
jne 0x4141a1
sub edx, 2
cmp edx, edi
jne 0x414187
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4141c9
lea eax, [edi + 2]
cmp edx, eax
je 0x4141c9
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004140a8
add esp, 0x10
jmp 0x4142c3
push esi
lea ecx, [ebp - 0x255]
call fcn.004142f7
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41420c
push dword [ebp - 0x25c]
jmp 0x4141b9
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x414249
cmp word [ebp - 0x226], 0
je 0x41426a
cmp word [ebp - 0x226], ax
jne 0x414249
cmp word [ebp - 0x224], 0
je 0x41426a
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004140a8
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4142b6
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x414223
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41429e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4142c3
push 0x413ed8
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004162f0
add esp, 0x10
jmp 0x414293
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cdb6
leave
ret
Function at 0x418e20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x418e4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x418e4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219