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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9d0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x62c], ebx
mov dword [ebp - 0x630], ebx
mov dword [ebp - 0x624], ebx
mov dword [ebp - 0x628], ebx
mov dword [ebp - 0x61c], ebx
mov dword [ebp - 0x620], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040ab34
xor eax, eax
push ebp
push 0x829e86
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x620]
mov edx, dword [ebp - 4]
movzx edx, word [edx + ebx*2]
call fcn.0040b94c
mov eax, dword [ebp - 0x620]
call fcn.00829984
lea ecx, [ebp - 0x61c]
mov edx, 4
call fcn.00829af4
mov edx, dword [ebp - 0x61c]
lea eax, [ebp - 8]
call fcn.0040bb38
inc ebx
cmp ebx, 0x20
jne 0x829cc0
mov ebx, 0x180
lea ecx, [ebp - 0x618]
imul eax, esi, 0xb
add eax, 0x12d9d
mov esi, 0x13ddb
cdq
idiv esi
mov esi, edx
mov eax, dword [ebp - 0x10]
mov edx, eax
shl eax, 4
add eax, edx
add eax, 0x16a2d
mov edi, 0x2f12b
cdq
idiv edi
mov dword [ebp - 0x10], edx
mov eax, esi
add eax, dword [ebp - 0x10]
and eax, 0x8000007f
jns 0x829d49
dec eax
or eax, 0xffffff80
inc eax
mov dword [ecx], eax
add ecx, 4
dec ebx
jne 0x829d0c
mov esi, pe_nt_image_headers32
lea ebx, [ebp - 0x218]
mov edi, dword [ebx]
mov eax, esi
and eax, 0x8000007f
jns 0x829d6c
dec eax
or eax, 0xffffff80
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + edi*2]
mov word [ebp - 0x12], ax
lea eax, [ebp - 8]
call fcn.0040b008
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx edx, word [edx + ecx*2]
mov word [eax + edi*2], dx
lea eax, [ebp - 8]
call fcn.0040b008
mov edx, dword [ebp - 0x18]
movzx ecx, word [ebp - 0x12]
mov word [eax + edx*2], cx
dec esi
sub ebx, 4
cmp esi, 0xffffffff
jne 0x829d5c
xor ebx, ebx
lea esi, [ebp - 0x218]
lea eax, [ebp - 0x628]
mov edx, dword [ebp - 8]
movzx edx, word [edx + ebx*2]
call fcn.0040b94c
mov eax, dword [ebp - 0x628]
call fcn.0042637c
xor eax, dword [esi]
and eax, 1
lea edx, [ebp - 0x624]
call fcn.00425fe4
mov eax, dword [ebp - 0x624]
movzx edi, word [eax]
lea eax, [ebp - 8]
call fcn.0040b008
mov word [eax + ebx*2], di
inc ebx
add esi, 4
cmp ebx, 0x80
jne 0x829db4
xor ebx, ebx
lea eax, [ebp - 0x630]
push eax
mov edx, ebx
add edx, edx
add edx, edx
inc edx
mov ecx, 4
mov eax, dword [ebp - 8]
call fcn.0040bd00
mov eax, dword [ebp - 0x630]
call fcn.00829b34
push edx
push eax
lea edx, [ebp - 0x62c]
mov eax, 1
call fcn.0042635c
mov edx, dword [ebp - 0x62c]
lea eax, [ebp - 0xc]
call fcn.0040bb38
inc ebx
cmp ebx, 0x20
jne 0x829e04
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.0040ae30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x829e8d
lea eax, [ebp - 0x630]
mov edx, 6
call fcn.0040aab0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040aab0
ret
Function at 0x83a76c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x83a77f
xor eax, eax
jmp 0x83a818
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
jmp 0x83a7b7
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x83a816
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x14], edx
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.0083a721
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x83a814
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x83a818
jmp 0x83a7b0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x851bb8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040ab34
mov eax, dword [ebp - 8]
call fcn.0040ab34
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x851c93
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, esi
mov dword [esi], 0x3c
mov dword [esi + 4], 0x40
mov eax, dword [0x8bd610]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0040b924
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x48]
mov ecx, 0x851cb0
mov edx, dword [ebp - 8]
call fcn.0040bb90
mov eax, dword [ebp - 0x48]
call fcn.0040b924
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x20], eax
push ebx
call sub.shell32.dll_ShellExecuteExW
push 0x1f4
mov eax, dword [esi + 0x38]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ebx, eax
mov eax, dword [0x8bd610]
mov eax, dword [eax]
call fcn.0060b0e0
cmp ebx, 0x102
je 0x851c4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x851c9a
lea eax, [ebp - 0x48]
call fcn.0040aa50
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040aab0
ret
Function at 0x407e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407e68
mov eax, dword [ebp - 4]
call fcn.00407220
jmp 0x407e70
mov eax, dword [ebp - 4]
call fcn.00407c1c
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407ebc
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407ea6
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.00407220
jmp 0x407eb8
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407c1c
inc ebx
dec esi
jne 0x407e80
push 1
push dword [ebp - 4]
push 0x407f20
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f84
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f10
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x3ad96b92
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..text_1
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x63766983
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x15d309a6
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..idata
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3956c8c
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401240
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x24]
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
call fcn.004011f0
mov esi, eax
push 0x42047c
push edi
sub esi, 0xe
call fcn.0040cea4
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x401285
push str._s__d___n___FILE_____LINE__
call fcn.00401140
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
push ebp
push esi
call fcn.0040d57e
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4012a7
push str._s__d___n___FILE_____LINE__
call fcn.00401140
add esp, 4
lea ebx, [ebp + 1]
jmp 0x401320
push edi
push 0xe
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.0040d512
add esp, 0x10
cmp eax, 0xe
je 0x4012c2
push 0x6c
jmp 0x401303
mov ax, word [esp + 0x14]
mov ecx, 0x4d42
cmp ax, cx
je 0x4012f0
movzx edx, ax
push edx
push 0x73
push str.._bitmap.cpp
push str._s__d_
call fcn.00401140
add esp, 0x10
mov ebx, 1
jmp 0x401320
push edi
push esi
push 1
push ebp
call fcn.0040d512
add esp, 0x10
cmp eax, esi
je 0x40131c
push 0x79
push str.._bitmap.cpp
push 0x420480
call fcn.00401140
add esp, 0xc
mov ebx, 1
jmp 0x401320
mov dword [esp + 0x10], ebp
push edi
call fcn.0040cb3d
add esp, 4
test ebx, ebx
je 0x401344
test ebp, ebp
je 0x40133a
push ebp
call fcn.0040d1e4
add esp, 4
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x401350
Capabilities:
Get common file path

Disassembly:
sub esp, 0xc0c
mov eax, dword [0x428c30]
xor eax, esp
mov dword [esp + 0xc08], eax
mov eax, dword [esp + 0xc10]
push ebx
push ebp
mov ebp, dword [esp + 0xc20]
push esi
push edi
push 0x3ff
lea ecx, [esp + 0x81d]
push 0
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x824], 0
call fcn.0040d9c0
push 0x3ff
lea edx, [esp + 0x29]
push 0
push edx
mov byte [esp + 0x30], 0
call fcn.0040d9c0
push 0x3ff
lea eax, [esp + 0x435]
push 0
push eax
mov byte [esp + 0x43c], 0
call fcn.0040d9c0
lea eax, [esp + 0x43c]
add esp, 0x24
xor ebx, ebx
lea edx, [eax + 1]
jmp 0x4013e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4013e0
sub eax, edx
push eax
lea ecx, [esp + 0x41c]
push 0
push ecx
call fcn.0040d9c0
add esp, 0xc
push 0
push 0x23
lea edx, [esp + 0x20]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401414
sub eax, edx
cmp byte [esp + eax + 0x17], 0x5c
lea eax, [esp + eax + 0x18]
je 0x40142b
mov byte [eax], 0x5c
lea edi, [esp + 0x18]
mov eax, edi
push 0x420528
push eax
call fcn.0040ca40
mov esi, eax
add esp, 8
test esi, esi
je 0x40149d
mov ebp, esi
sub ebp, edi
push ebp
lea ecx, [esp + ebx + 0x81c]
push edi
push ecx
call fcn.0040d650
lea eax, [esp + 0x824]
add esp, 0xc
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401463
mov dx, word [0x420524]
mov cl, byte [0x420526]
lea edi, [esi + 1]
push 0x420528
mov word [eax], dx
push edi
mov byte [eax + 2], cl
lea ebx, [ebx + ebp + 2]
call fcn.0040ca40
mov esi, eax
add esp, 8
test esi, esi
jne 0x401445
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x818]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4014a5
mov edx, dword [str.printcache_barcode_]
mov ecx, dword [0x420510]
mov dword [eax], edx
mov edx, dword [0x420514]
mov dword [eax + 4], ecx
mov ecx, dword [0x420518]
mov dword [eax + 8], edx
mov edx, dword [0x42051c]
mov dword [eax + 0xc], ecx
mov cx, word [0x420520]
mov dword [eax + 0x10], edx
mov word [eax + 0x14], cx
xor eax, eax
jmp 0x4014f0
mov cl, byte [esp + eax + 0x818]
mov byte [esp + eax + 0x418], cl
inc eax
test cl, cl
jne 0x4014f0
mov edi, dword [esp + 0x14]
test edi, edi
je 0x401584
test ebp, ebp
je 0x401584
lea eax, [esp + 0x418]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401520
sub eax, edx
push eax
lea edx, [esp + 0x41c]
push edx
push ebp
call fcn.0040d650
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401540
sub eax, edx
mov edx, eax
mov eax, ebp
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401550
push edx
sub eax, esi
add eax, ebp
push edi
push eax
call fcn.0040d650
add esp, 0xc
dec ebp
mov al, byte [ebp + 1]
inc ebp
test al, al
jne 0x401567
mov eax, dword [str..bmp]
mov dword [ebp], eax
mov cl, byte [0x420508]
mov byte [ebp + 4], cl
xor eax, eax
jmp 0x401587
or eax, 0xffffffff
mov ecx, dword [esp + 0xc18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040cebb
add esp, 0xc0c
ret
Function at 0x401820
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x401829
ret
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x401840
Capabilities:
Create process on windows
Delete file

Disassembly:
sub esp, 0x514
mov eax, dword [0x428c30]
xor eax, esp
mov dword [esp + 0x510], eax
push ebx
xor eax, eax
push esi
mov esi, dword [esp + 0x520]
xor ebx, ebx
push 0xff
mov dword [esp + 0xd], eax
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov word [esp + 0x19], ax
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1d]
push ebx
push eax
mov byte [esp + 0x14], bl
mov byte [esp + 0x24], bl
call fcn.0040d9c0
push 0xff
lea ecx, [esp + 0x229]
push ebx
push ecx
mov byte [esp + 0x230], bl
call fcn.0040d9c0
push 0xff
lea edx, [esp + 0x135]
push ebx
push edx
mov byte [esp + 0x13c], bl
call fcn.0040d9c0
push 0x1ff
lea eax, [esp + 0x341]
push ebx
push eax
mov byte [esp + 0x348], bl
call fcn.0040d9c0
push ebx
lea ecx, [esp + 0x24c]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x44]
push eax
push esi
call fcn.0040ddda
add esp, 0x44
lea ecx, [esp + 0x218]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x124]
push str._s_s_s
push ecx
call fcn.0040db6b
lea edx, [esp + 0x12c]
push edx
lea eax, [esp + 0x330]
push str.cmd__c__rd___s___s_q_
push eax
call fcn.0040db6b
add esp, 0x20
push ebx
lea ecx, [esp + 0x31c]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x518]
pop esi
pop ebx
xor ecx, esp
call fcn.0040cebb
add esp, 0x514
ret
Function at 0x4021a0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push str.HDLogMutex
push 0
push 0
call esi
mov dword [0x42a500], eax
test eax, eax
jne 0x4021d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateMutex_LogMutex_error:__d_n
call fcn.0040df32
add esp, 8
xor eax, eax
pop esi
ret 0x10
push str.HDGetPrinterMutex
push 0
push 0
call esi
mov dword [0x429fac], eax
test eax, eax
jne 0x402203
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateMutex_GetPrinterMutex_error:__d_n
call fcn.0040df32
add esp, 8
xor eax, eax
pop esi
ret 0x10
push str.HDClearMutex
push 0
push 0
call esi
mov dword [0x42a2ac], eax
test eax, eax
jne 0x402231
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateMutex_ClearMutex_error:__d_n
call fcn.0040df32
add esp, 8
xor eax, eax
pop esi
ret 0x10
push str.HDQuitMutex
push 0
push 0
call esi
mov dword [0x429fa4], eax
test eax, eax
jne 0x40225f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateMutex_ghMutexQT_error:__d_n
call fcn.0040df32
add esp, 8
xor eax, eax
pop esi
ret 0x10
mov esi, dword [esp + 0x10]
push 0x420774
push esi
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
push esi
push 0x4ac
push str..EmfView.cpp
push str._s__d_.szCmdLine_s_n
call fcn.004024d0
push esi
call fcn.00401970
add esp, 0x14
test eax, eax
je 0x4022ac
push 0x40
push 0x4205d0
push 0x420744
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
or eax, 0xffffffff
pop esi
ret 0x10
call fcn.00401ea0
mov esi, eax
call fcn.00402130
call fcn.00402300
push str.C:Documents_and_SettingsAll_UsersApplication_DataprintcacheBlankEmf.zip
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x42a610
call fcn.00401840
add esp, 4
mov eax, esi
pop esi
ret 0x10

Function at 0x4022e0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4022fc
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.0040d1e4
add esp, 4
pop esi
ret

Function at 0x40cebb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428c30]
jne 0x40cec5
repz ret
jmp fcn.004134c0
Function at 0x41c6b7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00416737
and dword [ebp - 4], 0
cmp dword [0x42e330], 0
mov ebx, eax
jne 0x41c768
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41c819
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x422d28
push edi
call esi
test eax, eax
je 0x41c819
push eax
call fcn.004166c5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42e330], eax
call esi
push eax
call fcn.004166c5
mov dword [esp], 0x422d04
push edi
mov dword [0x42e334], eax
call esi
push eax
call fcn.004166c5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42e338], eax
call esi
push eax
call fcn.004166c5
pop ecx
mov dword [0x42e340], eax
test eax, eax
je 0x41c768
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004166c5
pop ecx
mov dword [0x42e33c], eax
mov eax, dword [0x42e33c]
cmp eax, ebx
je 0x41c7c0
cmp dword [0x42e340], ebx
je 0x41c7c0
push eax
call fcn.00416740
push dword [0x42e340]
mov esi, eax
call fcn.00416740
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41c7c0
test edi, edi
je 0x41c7c0
call esi
test eax, eax
je 0x41c7b7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c7b7
test byte [ebp - 0xc], 1
jne 0x41c7c0
or dword [ebp + 0x10], 0x200000
jmp 0x41c7f9
mov eax, dword [0x42e334]
cmp eax, ebx
je 0x41c7f9
push eax
call fcn.00416740
pop ecx
test eax, eax
je 0x41c7f9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41c7f9
mov eax, dword [0x42e338]
cmp eax, ebx
je 0x41c7f9
push eax
call fcn.00416740
pop ecx
test eax, eax
je 0x41c7f9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42e330]
call fcn.00416740
pop ecx
test eax, eax
je 0x41c819
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c81b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417a30
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401496
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401478
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x2c]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov ecx, 7
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], ebx
call fcn.0040f30c
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edi, eax
call esi
lea ecx, [ebp - 0x50]
push ecx
push 0xf00ff
push edi
call fcn.0040f754
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x68]
push 0x41049c
push eax
call edi
push eax
lea ecx, [ebp - 0x64]
push 0x40f63c
push ecx
call edi
push eax
call fcn.0040f7a4
call esi
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x64]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x4c], 1
push ecx
push edx
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x50]
push ecx
lea edx, [ebp - 0x4c]
push 0x1c
push edx
push ebx
push eax
mov dword [ebp - 0x40], 2
call fcn.0040f7f4
call esi
push 0x417b33
jmp 0x417b32
ret

Function at 0x426f23
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
mov ecx, dword [esp + 8]
push esi
push edi
mov edx, ecx
push ebp
cmp byte [ecx], al
je 0x426f39
inc edx
cmp byte [edx], 0
jne 0x426f33
dec edx
mov esi, dword [esp + 0x1c]
mov edi, esi
cmp edx, ecx
jb 0x426f4e
mov bl, byte [edx]
dec edx
mov byte [edi], bl
inc edi
cmp edx, ecx
jae 0x426f44
mov byte [edi], 0
mov edi, esi
cmp byte [esi], 0
je 0x426f5e
inc edi
cmp byte [edi], 0
jne 0x426f58
dec edi
mov ebx, ecx
cmp byte [ecx], 0
je 0x426f6c
inc ebx
cmp byte [ebx], 0
jne 0x426f66
dec ebx
mov ebp, esi
cmp ebx, ecx
jbe 0x426f86
mov dl, byte [ebp]
xor dl, byte [ecx]
inc ecx
mov byte [ebp], dl
inc ebp
movsx edx, dl
add eax, edx
cmp ebx, ecx
ja 0x426f73
mov ecx, esi
cmp edi, esi
jbe 0x426f92
inc ecx
dec edi
cmp edi, ecx
ja 0x426f8c
dec ecx
mov edi, 0xa
sub edx, edx
div edi
add dl, 0x61
mov edi, dword [esp + 0x18]
cmp ecx, esi
jb 0x426fbf
mov al, byte [esi]
and al, 0xf
add al, dl
mov byte [edi], al
inc edi
mov al, byte [esi]
inc esi
sar al, 4
add al, dl
mov byte [edi], al
inc edi
cmp esi, ecx
jbe 0x426fa7
pop ebp
mov byte [edi], 0
pop edi
pop esi
pop ebx
ret
Function at 0x405e7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x74a847bd
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, str.n_N
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x602e20d6
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

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