joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421550
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f59f9
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
cmp dword [esi + 0xc8], 0
jne 0x4215f1
lea eax, [esp + 4]
push eax
call fcn.0041f200
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0xc8], eax
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 4]
call dword [0x4fff34]
cmp dword [esi + 0xc8], 0
jne 0x4215cf
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
sete cl
mov eax, ecx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x4267e0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push 0xffffffffffffffff
push 0x4f16a2
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call dword [0x4fff58]
xor ebx, ebx
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x18]
call dword [0x4fff58]
mov byte [esp + 0x48], 1
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004289e0
test eax, eax
je 0x426908
push ebx
push 0x5c
lea ecx, [esp + 0x1c]
call dword [0x4ffb80]
cmp eax, 0xffffffff
je 0x426862
mov dword [esp + 0x1c], 2
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea edx, [esp + 0x34]
push edx
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call dword [0x4ff50c]
add esp, 0x10
lea ecx, [esp + 0x2c]
push ecx
call edi
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x34]
mov dword [esi + 0x8530], edx
mov eax, dword [esi + 0x8530]
imul eax, eax, 0x3e8
mov dword [esi + 0x8530], eax
mov eax, dword [esi + 0x8530]
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
cdq
push ecx
push edx
push eax
call fcn.004f09c0
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push ebx
push ebx
push 0x858
push edx
mov dword [esi + 0x8530], eax
call edi
mov eax, dword [esi + 0x20]
push ebx
push ebx
push 0x85b
push eax
mov dword [esi + 0x85e0], ebx
mov dword [esi + 0x85e8], ebx
call edi
mov byte [esp + 0x48], bl
lea ecx, [esp + 0x18]
call dword [0x4fff34]
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x14]
call dword [0x4fff34]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x428f10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f17e9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x24c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call ebx
add eax, 1
je 0x428fc1
mov ecx, dword [edi + 0x24c]
push 2
lea esi, [eax - 1]
push esi
push 0x100c
push ecx
call ebx
cmp esi, 0xffffffff
je 0x428fc1
mov edx, dword [edi + 0x24c]
push 1
push esi
push 0x1013
push edx
call ebx
push 1
push esi
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00425960
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x428faf
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x10]
call dword [0x4fff34]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x42dfe0
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, eax
cmp dword [edi + 0x85a0], 0
jne 0x42e08a
mov eax, dword [edi + 0x85cc]
push ebx
push ebp
push esi
push eax
call dword [0x4ff500]
add esp, 4
push 0
push 0
push 4
push 0
push edi
push 0x425260
call fcn.004ef612
mov ebp, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
test esi, esi
je 0x42e04b
push 2
push 0
push 0
lea eax, [edi + 0x85a0]
push eax
call ebx
mov ecx, dword [esi + 0x2c]
push eax
push ecx
call ebx
push eax
call ebp
mov edx, dword [esi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
push 0
push 4
push 0
push edi
push 0x426480
call fcn.004ef612
mov esi, eax
test esi, esi
je 0x42e087
push 2
push 0
push 0
add edi, 0x85a4
push edi
call ebx
push eax
mov eax, dword [esi + 0x2c]
push eax
call ebx
push eax
call ebp
mov ecx, dword [esi + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ebp
pop ebx
pop edi
ret
Function at 0x4332c0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x4f74da
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x52e028]
xor eax, esp
mov dword [esp + 0x2cc], eax
push ebp
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2f4]
mov ebp, dword [esp + 0x2f0]
mov edi, ecx
lea esi, [edi + 0x28]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x433330
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 0xffffffffffffffff
mov ecx, esi
call eax
mov dword [esp + 0x2e8], 1
push edi
mov ecx, ebp
call fcn.00432d70
mov edi, eax
test edi, edi
jne 0x433378
push eax
mov ecx, ebx
call dword [0x4fff2c]
mov dword [esp + 0x14], 1
mov byte [esp + 0x2e8], 0
test esi, esi
je 0x433429
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
jmp 0x433429
mov ecx, dword [edi + 8]
cmp dword [ecx - 0xc], 0
lea ebp, [edi + 8]
jne 0x4333f6
lea edx, [esp + 0x10]
push edx
mov ecx, edi
call fcn.00432f10
mov byte [esp + 0x2e8], 2
push 0x2b0
lea eax, [esp + 0x2c]
push 0
push eax
mov dword [esp + 0x30], 0
call fcn.004f0a6a
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0x4211
push 0x2b4
lea ecx, [esp + 0x2c]
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
call dword [0x4fff04]
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x14], ecx
mov byte [esp + 0x2e8], 1
lea ecx, [esp + 0x10]
call dword [0x4fff34]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x433403
mov edx, dword [edi + 0x14]
mov dword [eax], edx
push ebp
mov ecx, ebx
call dword [0x4fff00]
mov dword [esp + 0x14], 1
mov byte [esp + 0x2e8], 0
test esi, esi
je 0x433429
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
mov eax, ebx
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x2cc]
xor ecx, esp
call fcn.004efe2a
add esp, 0x2dc
ret 8
Function at 0x456200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f6c10
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.0043b940
xor eax, eax
mov dword [esp + 0x14], eax
or ecx, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], eax
mov edx, vtable.CMenu.0
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], eax
mov byte [esp + 0x14], 1
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], eax
mov byte [esp + 0x14], 2
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esp + 0x14], ecx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x459d70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f6ac8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [esi + 4], vtable.ATL::CImage.0
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov cl, byte [edi + 0x20]
mov byte [esi + 0x20], cl
mov dl, byte [edi + 0x21]
mov byte [esi + 0x21], dl
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov dword [esp + 0x14], 0
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
lea eax, [esi + 0x3c]
lea ecx, [edi + 0x3c]
push eax
mov dword [esi + 0x38], edx
call fcn.00459e50
mov byte [esp + 0x14], 1
mov ecx, dword [edi + 0x54]
lea eax, [edi + 0x54]
mov dword [esi + 0x54], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x58], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x5c], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x60], edx
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x45a400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f6a57
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.0043b940
xor edi, edi
mov dword [esp + 0x14], edi
lea eax, [esi + 0x18]
push eax
call fcn.0043b940
mov byte [esp + 0x14], 1
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0xff
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x45b670
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x52e028]
xor eax, esp
mov dword [esp + 0x2b4], eax
push 0x2b0
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0
call fcn.004f0a6a
add esp, 0xc
push 0x4001
push 0x2b4
lea ecx, [esp + 8]
push ecx
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [esp + 0x2b4]
mov eax, dword [esp + 4]
xor ecx, esp
call fcn.004efe2a
add esp, 0x2b8
ret
Function at 0x469400
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f4740
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x18], vtable.CGdiObject.0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], vtable.CPen.0
mov dword [esp + 0x30], 1
mov ebp, dword [sym.imp.GDI32.dll_CreatePen]
push 0x7a7a7a
push 1
push eax
call ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.004ef4aa
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.004efa8c
mov ecx, dword [esi + 4]
push ecx
mov ebx, eax
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.004efa56
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
push edx
push eax
mov ecx, edi
call fcn.004efa5c
mov dword [esp + 0x10], vtable.CGdiObject.0
mov dword [esp + 0x14], 0
mov byte [esp + 0x30], 2
mov dword [esp + 0x10], vtable.CPen.0
mov byte [esp + 0x30], 3
push 0xffffff
push 1
push 0
call ebp
push eax
lea ecx, [esp + 0x14]
call fcn.004ef4aa
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004efa8c
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, edi
call fcn.004efa56
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, edi
call fcn.004efa5c
push ebx
mov ecx, edi
call fcn.004efa8c
mov byte [esp + 0x30], 1
mov esi, vtable.CPen.0
mov dword [esp + 0x10], esi
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call fcn.0040b760
or eax, 0xffffffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x18]
call fcn.0040b760
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret

Function at 0x46a490
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4f2356
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xf
cmp al, 6
jb 0x46a4e0
push 0x10
call fcn.004ef114
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x46a507
push eax
call fcn.0046b2a0
jmp 0x46a509
push 0xc
call fcn.004ef114
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x10], 1
test eax, eax
je 0x46a507
push 0x504a24
push eax
call fcn.0046a6e0
jmp 0x46a509
xor eax, eax
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x46ef50
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esi + 4]
test eax, eax
je 0x46ef5c
xor eax, eax
ret 8
push ebx
push edi
xor edi, edi
lea ecx, [esi + 8]
push ecx
mov dword [esi + 4], 1
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [esi]
mov dword [esi + 0x28], edx
cmp eax, edi
je 0x46efa0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
push edi
push edi
push 4
push edi
push esi
push 0x46eff0
call fcn.004ef612
mov ebx, eax
cmp ebx, edi
je 0x46efdd
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push edi
push edi
push esi
call ebp
mov ecx, dword [ebx + 0x2c]
push eax
push ecx
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edx, dword [ebx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop ebp
xor eax, eax
cmp dword [esi], edi
pop edi
setne al
pop ebx
ret 8

Function at 0x470180
Capabilities:
Query environment variable

Disassembly:
push 0x8000
push 0
push 0x531e30
call fcn.004f0a6a
add esp, 0xc
push 0x8000
push 0x531e30
push 0x513914
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4701ba
cmp eax, 0x8000
ja 0x4701ba
mov eax, 0x531e30
ret
xor eax, eax
ret

Function at 0x470185
Capabilities:
Query environment variable

Disassembly:
push 0x8000
push 0
push 0x531e30
call fcn.004f0a6a
add esp, 0xc
push 0x8000
push 0x531e30
push 0x513914
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4701ba
cmp eax, 0x8000
ja 0x4701ba
mov eax, 0x531e30
ret
xor eax, eax
ret
Function at 0x1096c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1096c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1096c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1096c06a
add dl, dl
jne 0x1096c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1096c0dc
xor eax, eax
add dl, dl
jne 0x1096c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1096c17d
add dl, dl
jne 0x1096c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1096c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1096c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1096c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1096c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1096c075
mov eax, 1
add dl, dl
jne 0x1096c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1096c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1096c0e1
sub eax, ebx
mov ebx, 1
jne 0x1096c128
mov ecx, 1
add dl, dl
jne 0x1096c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1096c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1096c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1096c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1096c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1096c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1096c136
cmp eax, 0x7d00
jae 0x1096c16d
cmp eax, 0x500
jb 0x1096c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1096c075
cmp eax, 0x7f
ja 0x1096c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1096c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1096c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1096c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
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 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..pdata
nop
mov ebx, 0x408f6c
mov ecx, 0x3a2b0d9c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x4f7b008a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401080
Capabilities:
Delete directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f0
mov eax, dword [0x40f004]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.data
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x4f0]
push str.del__s__f__q___s___nul
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x4f0]
push ecx
call fcn.00402c8a
add esp, 0x10
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402c7b
mov esp, ebp
pop ebp
ret

Function at 0x401100
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
xor esi, esi
push 0x40
lea eax, [ebp - 0x50]
push esi
push eax
mov dword [ebp - 0x54], esi
call fcn.00405d80
xor eax, eax
add esp, 0xc
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.data4.32_Update_3_Part_2.bsf
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40116f
mov ecx, dword [ebp - 0xc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x10]
push eax
call esi
pop esi
mov esp, ebp
pop ebp
ret