joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4378a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xcc
je 0x4378c8
mov eax, dword [esi + 0x17c]
push esi
call dword [eax]
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x10], 0xcc
mov ecx, dword [esi + 0x17c]
mov al, byte [ecx + 8]
test al, al
je 0x4378f3
mov edx, dword [esi]
push esi
mov dword [edx + 0x14], 0x2d
mov eax, dword [esi]
call dword [eax]
mov ecx, dword [esi + 0x17c]
add esp, 4
mov al, byte [ecx + 8]
test al, al
jne 0x4378d5
mov cl, byte [esi + 0x41]
xor edx, edx
test cl, cl
setne dl
add edx, 0xcd
mov al, 1
mov dword [esi + 0x10], edx
pop esi
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x434004]
jne 0x401010
repz ret
jmp fcn.00401501

Function at 0x404a15
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.00402bcf
and dword [ebp - 4], 0
cmp dword [0x43708c], 0
mov ebx, eax
jne 0x404ac6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404b77
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404b77
push eax
call fcn.00402b5d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43708c], eax
call esi
push eax
call fcn.00402b5d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x437090], eax
call esi
push eax
call fcn.00402b5d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x437094], eax
call esi
push eax
call fcn.00402b5d
pop ecx
mov dword [0x43709c], eax
test eax, eax
je 0x404ac6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402b5d
pop ecx
mov dword [0x437098], eax
mov eax, dword [0x437098]
cmp eax, ebx
je 0x404b1e
cmp dword [0x43709c], ebx
je 0x404b1e
push eax
call fcn.00402bd8
push dword [0x43709c]
mov esi, eax
call fcn.00402bd8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404b1e
test edi, edi
je 0x404b1e
call esi
test eax, eax
je 0x404b15
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404b15
test byte [ebp - 0xc], 1
jne 0x404b1e
or dword [ebp + 0x10], 0x200000
jmp 0x404b57
mov eax, dword [0x437090]
cmp eax, ebx
je 0x404b57
push eax
call fcn.00402bd8
pop ecx
test eax, eax
je 0x404b57
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404b57
mov eax, dword [0x437094]
cmp eax, ebx
je 0x404b57
push eax
call fcn.00402bd8
pop ecx
test eax, eax
je 0x404b57
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43708c]
call fcn.00402bd8
pop ecx
test eax, eax
je 0x404b77
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404b79
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42c9a0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x804
mov eax, dword [0x434004]
xor eax, esp
mov dword [esp + 0x800], eax
cmp dword [0x809e2c], 0x114e
mov eax, dword [esp + 0x808]
mov dword [0x809c70], eax
jne 0x42c9e1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401006
add esp, 0x804
ret
Function at 0x42ca10
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push edi
cmp ebp, 0x182
jne 0x42ca37
push 0
push 0
push 0
push str.Fal_yusujucecimirijimamawi
push str.nalamediw_tevufefizibulecojivagojitimajive_cililarerakurehofehel
push 0
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
xor edi, edi
test ebp, ebp
jle 0x42ca77
push esi
mov edi, edi
lea esi, [esp + 0xc]
mov dword [esp + 0x14], 5
mov dword [esp + 0xc], 0
call fcn.0042ca00
mov eax, dword [esp + 0xc]
add eax, 0x46
mov dword [esp + 0x14], eax
nop
sub dword [esp + 0x14], 0x46
mov al, byte [esp + 0x14]
xor byte [edi + ebx], al
inc edi
cmp edi, ebp
jl 0x42ca40
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x42ca92
mov dword [0x809f60], 0xa62e7790
mov dword [0x809f64], 0xffffffff
pop ecx
ret

Function at 0x42caa0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x434c60]
push ebx
mov ebx, dword [0x809c74]
push esi
mov esi, dword [0x809e2c]
push eax
call fcn.0042c9a0
add esp, 4
cmp dword [0x809e2c], 0x2f
jne 0x42cacb
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
call fcn.0042ca10
add esp, 4
cmp dword [0x809e2c], 0x568
pop esi
pop ebx
jne 0x42caea
push 0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
ret
Function at 0xfb139f
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
push edi
lea eax, [ebp - 0xd0]
push eax
mov dword [ebp - 0xd0], 0x9c
call dword [0xfb3074]
cmp dword [ebp - 0xcc], 6
jae 0xfb14da
lea eax, [ebp - 0x24]
push eax
push str.SeDebugPrivilege
push 0
call dword [0xfb3008]
xor edi, edi
inc edi
cmp eax, edi
jne 0xfb13f1
lea esi, [ebp - 0x24]
call fcn.00fb119f
jmp 0xfb13f3
xor eax, eax
test eax, eax
je 0xfb14da
call fcn.00fb120e
test eax, eax
je 0xfb14da
cmp dword [ebp - 0xc8], edi
jne 0xfb141b
lea ebx, [eax + 0x84]
mov dword [ebp - 4], ebx
jmp 0xfb1432
cmp dword [ebp - 0xc8], 2
jne 0xfb14da
add eax, 0x94
mov dword [ebp - 4], eax
mov ebx, eax
push edi
push 0xc
push 0xc
push ebx
lea esi, [ebp - 0x14]
call fcn.00fb1319
test eax, eax
je 0xfb14da
call dword [0xfb3078]
cmp dword [ebp - 0x14], eax
jne 0xfb14da
mov eax, dword [ebp - 0x10]
mov ecx, 0x80000000
cmp eax, ecx
jbe 0xfb14da
mov edx, dword [ebp - 0xc]
cmp edx, ecx
jbe 0xfb14da
push edi
push 8
pop edi
push edi
push edi
push eax
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], edx
call fcn.00fb1319
push 1
push edi
push edi
push dword [ebp - 8]
lea esi, [ebp - 0x2c]
call fcn.00fb1319
add ebx, 4
cmp dword [ebp - 0x18], ebx
jne 0xfb14da
cmp dword [ebp - 0x2c], ebx
jne 0xfb14da
mov eax, dword [ebp - 8]
push 2
push edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
push edi
push eax
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
call fcn.00fb1319
push 2
push edi
push edi
push dword [ebp - 8]
lea esi, [ebp - 0x2c]
call fcn.00fb1319
push 2
push 0xc
push 0xc
push dword [ebp - 4]
lea esi, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.00fb1319
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0xfb1af9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
xor edx, edx
xor eax, eax
cmp esi, 1
jne 0xfb1b11
push esi
call fcn.00fb1638
jmp 0xfb1b87
cmp esi, 2
jne 0xfb1b2b
push edx
push edx
push esi
push fcn.00fb1638
push edx
push edx
call dword [0xfb30a4]
xor eax, eax
inc eax
jmp 0xfb1b87
cmp esi, 3
jne 0xfb1b40
xor esi, esi
xor dl, byte [esi + ecx]
inc esi
cmp esi, 6
jb 0xfb1b32
mov byte [ecx + 6], dl
jmp 0xfb1b87
cmp esi, 4
jne 0xfb1b5f
mov al, byte [ecx + 6]
push 5
pop edx
xor al, byte [edx + ecx]
dec edx
cmp edx, 1
jge 0xfb1b4b
xor edx, edx
cmp al, byte [ecx]
sete dl
mov eax, edx
jmp 0xfb1b87
cmp esi, 5
jne 0xfb1b87
mov esi, dword [ecx + 8]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 4], esi
cmp esi, edx
jne 0xfb1b7a
mov dword [ebp - 4], 0x7c59af1e
jmp 0xfb1b84
push ecx
mov ecx, 0x10
rol dword [ebp - 4], cl
pop ecx
xor eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x20ae7d3f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x432060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x134a5a1d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40c39c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4208e0]
jne 0x40c3a6
repz ret
jmp fcn.0040ebbc

Function at 0x4151cc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4208e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040e5b5
and dword [ebp - 0x14], 0
cmp dword [0x424a08], 0
mov dword [ebp - 0x18], eax
jne 0x41527f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x415327
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x415327
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x424a08], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x424a0c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x424a10], eax
call edi
push eax
call esi
mov dword [0x424a18], eax
test eax, eax
je 0x41527f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x424a14], eax
mov eax, dword [0x424a14]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4152d8
cmp dword [0x424a18], ecx
je 0x4152d8
push eax
call esi
push dword [0x424a18]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4152d8
test ebx, ebx
je 0x4152d8
call edi
test eax, eax
je 0x4152cf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4152cf
test byte [ebp - 8], 1
jne 0x4152d8
or dword [ebp + 0x10], 0x200000
jmp 0x41530b
mov eax, dword [0x424a0c]
cmp eax, dword [ebp - 0x18]
je 0x41530b
push eax
call esi
test eax, eax
je 0x41530b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41530b
mov eax, dword [0x424a10]
cmp eax, dword [ebp - 0x18]
je 0x41530b
push eax
call esi
test eax, eax
je 0x41530b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x424a08]
call esi
test eax, eax
je 0x415327
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x415329
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c39c
leave
ret
Function at 0x4021ff
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.0040230f
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
call sub.gdiplus.dll_GdiplusStartup
mov dword [ebp - 0x48], 0x30
and dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x401ed4
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
mov eax, dword [section..data]
mov dword [ebp - 0x34], eax
push 0x74
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x30], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
mov dword [ebp - 0x20], str.MyClass
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [section..data]
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Hello_World
push str.MyClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 8], eax
push 0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4022ec
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4022cc
push dword [ebp - 4]
call sub.gdiplus.dll_GdiplusShutdown
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0xe313d13
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x73794e84
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4051ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4087d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040429a
and dword [ebp - 0x14], 0
cmp dword [0x40c630], 0
mov dword [ebp - 0x18], eax
jne 0x40525e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405306
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405306
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40c630], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40c634], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40c638], eax
call edi
push eax
call esi
mov dword [0x40c640], eax
test eax, eax
je 0x40525e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40c63c], eax
mov eax, dword [0x40c63c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4052b7
cmp dword [0x40c640], ecx
je 0x4052b7
push eax
call esi
push dword [0x40c640]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4052b7
test ebx, ebx
je 0x4052b7
call edi
test eax, eax
je 0x4052ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4052ae
test byte [ebp - 8], 1
jne 0x4052b7
or dword [ebp + 0x10], 0x200000
jmp 0x4052ea
mov eax, dword [0x40c634]
cmp eax, dword [ebp - 0x18]
je 0x4052ea
push eax
call esi
test eax, eax
je 0x4052ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4052ea
mov eax, dword [0x40c638]
cmp eax, dword [ebp - 0x18]
je 0x4052ea
push eax
call esi
test eax, eax
je 0x4052ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40c630]
call esi
test eax, eax
je 0x405306
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405308
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405516
leave
ret

Function at 0x405516
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4087d0]
jne 0x405520
repz ret
jmp fcn.00406683

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x407ef8
nop
mov ecx, 0x6a963a38
nop
nop
nop
nop
nop
test eax, eax
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x6b62a70
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
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
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x410c70
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4025e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x70
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401f20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.00404fd8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x64]
push eax
push 0x28
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00405038
mov dword [ebp - 0x70], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x70], 0
setne dl
neg edx
movsx eax, dx
test eax, eax
je 0x410e25
mov dword [ebp - 4], 4
xor ecx, ecx
test ecx, ecx
je 0x410d46
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x1c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0x1c
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
call fcn.00405088
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x410e25
mov dword [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
push 0x404ae4
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.004050e8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x6c], 0
setne dl
neg edx
mov word [ebp - 0x74], dx
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x74]
test eax, eax
je 0x410e25
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410dc3
mov dword [ebp - 0x8c], 0
jmp 0x410dcf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0xc
lea eax, [ebp + edx - 0x5c]
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410e06
mov dword [ebp - 0x90], 0
jmp 0x410e12
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 0xc
mov dword [ebp + ecx - 0x54], 2
jmp 0x410d14
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404e50
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x410e4d
jmp 0x410e4c
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call sym.F_q
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym.n_nPnpn_nnnnnTla_F_q
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.DLL_CreateThread
sub esp, 0x18
mov dword [esp], 0xea60
call sub.KERNEL32.DLL_Sleep
sub esp, 4
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 1
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, edx
sub ecx, eax
mov eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [esp], eax
call sym.la_F_q
jmp 0x4012d2
Function at 0x4016c2
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
mov dword [esp], 0x3a98
call sub.KERNEL32.DLL_Sleep
sub esp, 4
mov dword [ebp - 0x48c], 0
mov eax, dword [ebp - 0x48c]
cmp dword [eax*4 + section..data], 0
je 0x4016cb
mov eax, dword [ebp - 0x48c]
mov eax, dword [eax*4 + section..data]
mov dword [esp + 4], eax
lea eax, [ebp - 0x378]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
mov eax, dword [ebp - 0x48c]
mov eax, dword [eax*4 + section..data]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s.
lea eax, [ebp - 0x268]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
lea eax, [ebp - 0x268]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindFirstFileA
sub esp, 8
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindNextFileA
sub esp, 8
test eax, eax
je 0x4017f7
cmp dword [ebp - 0x148], 0x20
jne 0x40175b
mov eax, dword [ebp - 0x48c]
mov dword [esp + 4], 0x404000
mov eax, dword [eax*4 + section..data]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4017b7
lea eax, [ebp - 0x148]
add eax, 0x2c
mov dword [esp], eax
call sym.n
jmp 0x40175b
lea eax, [ebp - 0x148]
add eax, 0x2c
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x378]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_s
lea eax, [ebp - 0x488]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
lea eax, [ebp - 0x488]
mov dword [esp], eax
call sym.n
jmp 0x40175b
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call sub.KERNEL32.DLL_CloseHandle
sub esp, 4
lea eax, [ebp - 0x48c]
inc dword [eax]
jmp 0x4016e4