joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405b80
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov edi, dword [esp + 0x30]
mov ebx, dword [0x409040]
test ebx, ebx
js 0x405c04
mov ecx, dword [0x409040]
test ecx, ecx
jne 0x405bdc
mov eax, dword [0x410070]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x405bcc
lea ebx, [esp + 0x1c]
mov edx, ebx
mov eax, edi
call fcn.00405624
cmp eax, 7
je 0x405c0b
call sub.msvcrt.dll_abort
lea esi, [esi]
lea ebx, [esp + 0x1c]
mov edx, ebx
mov eax, edi
call fcn.00405708
jmp 0x405bbf
mov ebx, dword [0x410080]
call sub.kernel32.dll_GetLastError
mov esi, eax
mov dword [esp], ebx
call sub.KERNEL32.dll_TlsGetValue
push edx
mov ebx, eax
mov dword [esp], esi
call sub.KERNEL32.dll_SetLastError
push eax
mov eax, ebx
jmp 0x405ba3
call fcn.0040556c
jmp 0x405b94
lea eax, [esp + 0x18]
mov edx, ebx
call fcn.004057d8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebx
sub esp, 8
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
dec eax
mov dword [ebx + 4], eax
test eax, eax
je 0x405c3c
xor eax, eax
add esp, 8
pop ebx
ret
mov dword [ebx + 8], 0
sub esp, 0xc
push ebx
call sub.KERNEL32.dll_InterlockedDecrement
add esp, 0xc
test eax, eax
js 0x405c33
push ecx
push 0
push 1
push dword [ebx + 0xc]
call sub.KERNEL32.dll_ReleaseSemaphore
pop edx
test eax, eax
sete al
movzx eax, al
add esp, 8
pop ebx
ret

Function at 0x405e10
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x14
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call sub.KERNEL32.dll_TlsSetValue
pop edx
pop ecx
test eax, eax
je 0x405e2c
xor eax, eax
add esp, 0xc
ret
add esp, 0xc
jmp sub.kernel32.dll_GetLastError

Function at 0x405e34
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 4
call sub.kernel32.dll_GetLastError
mov esi, eax
sub esp, 0xc
push dword [esp + 0x1c]
call sub.KERNEL32.dll_TlsGetValue
mov ebx, eax
push esi
call sub.KERNEL32.dll_SetLastError
mov eax, ebx
add esp, 0x10
pop ebx
pop esi
ret

Function at 0x405e80
Capabilities:
Allocate thread local storage

Disassembly:
push esi
push ebx
sub esp, 4
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x405eac
mov dword [ebx], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
pop esi
pop ebx
pop esi
jmp fcn.004060b0
pop ebx
pop ebx
pop esi
jmp sub.kernel32.dll_GetLastError
Function at 0x404888
Capabilities:
Create pipe
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x527ee8]
mov ecx, dword [0x526e3c]
sub esp, 0xe84
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x40498b
mov ebx, ecx
mov dword [ebp - 8], eax
cmp dword [0x527ee8], 0x959
jne 0x404979
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push esi
push esi
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0x403fe8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x404040
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0xe80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call fcn.00404695
add ebx, 8
dec dword [ebp - 8]
jne 0x4048b1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406fdb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x476708]
jne 0x406fe5
repz ret
jmp fcn.0040eb2c

Function at 0x4108a7
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.0040875d
and dword [ebp - 4], 0
cmp dword [0x478a30], 0
mov ebx, eax
jne 0x410958
push 0x4037fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x410a09
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4037f0
push edi
call esi
test eax, eax
je 0x410a09
push eax
call fcn.004086eb
mov dword [esp], 0x4037e0
push edi
mov dword [0x478a30], eax
call esi
push eax
call fcn.004086eb
mov dword [esp], 0x4037cc
push edi
mov dword [0x478a34], eax
call esi
push eax
call fcn.004086eb
mov dword [esp], 0x4037b0
push edi
mov dword [0x478a38], eax
call esi
push eax
call fcn.004086eb
pop ecx
mov dword [0x478a40], eax
test eax, eax
je 0x410958
push 0x403798
push edi
call esi
push eax
call fcn.004086eb
pop ecx
mov dword [0x478a3c], eax
mov eax, dword [0x478a3c]
cmp eax, ebx
je 0x4109b0
cmp dword [0x478a40], ebx
je 0x4109b0
push eax
call fcn.00408766
push dword [0x478a40]
mov esi, eax
call fcn.00408766
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4109b0
test edi, edi
je 0x4109b0
call esi
test eax, eax
je 0x4109a7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4109a7
test byte [ebp - 0xc], 1
jne 0x4109b0
or dword [ebp + 0x10], 0x200000
jmp 0x4109e9
mov eax, dword [0x478a34]
cmp eax, ebx
je 0x4109e9
push eax
call fcn.00408766
pop ecx
test eax, eax
je 0x4109e9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4109e9
mov eax, dword [0x478a38]
cmp eax, ebx
je 0x4109e9
push eax
call fcn.00408766
pop ecx
test eax, eax
je 0x4109e9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x478a30]
call fcn.00408766
pop ecx
test eax, eax
je 0x410a09
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x410a0b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406230
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4a976b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x40450c
call fcn.00406e91
push 4
mov dword [esp + 0x18], 0
call fcn.00407d36
mov edi, eax
add esp, 4
test edi, edi
je 0x4062a4
push ebx
call fcn.00406d69
mov dword [edi], eax
call fcn.00406b28
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406e52
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406298
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406e7a
pop ebx
jmp 0x4062a6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4087a1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ac520]
jne 0x4087ab
repz ret
jmp fcn.0040cefc
Function at 0x411b42
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ac520]
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.0040aea1
and dword [ebp - 0x14], 0
cmp dword [0x4b1a94], 0
mov dword [ebp - 0x18], eax
jne 0x411bf5
push 0x403924
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411c9d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403918
push ebx
call edi
test eax, eax
je 0x411c9d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403908
push ebx
mov dword [0x4b1a94], eax
call edi
push eax
call esi
push 0x4038f4
push ebx
mov dword [0x4b1a98], eax
call edi
push eax
call esi
push 0x4038d8
push ebx
mov dword [0x4b1a9c], eax
call edi
push eax
call esi
mov dword [0x4b1aa4], eax
test eax, eax
je 0x411bf5
push 0x4038c0
push ebx
call edi
push eax
call esi
mov dword [0x4b1aa0], eax
mov eax, dword [0x4b1aa0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411c4e
cmp dword [0x4b1aa4], ecx
je 0x411c4e
push eax
call esi
push dword [0x4b1aa4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411c4e
test ebx, ebx
je 0x411c4e
call edi
test eax, eax
je 0x411c45
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411c45
test byte [ebp - 8], 1
jne 0x411c4e
or dword [ebp + 0x10], 0x200000
jmp 0x411c81
mov eax, dword [0x4b1a98]
cmp eax, dword [ebp - 0x18]
je 0x411c81
push eax
call esi
test eax, eax
je 0x411c81
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411c81
mov eax, dword [0x4b1a9c]
cmp eax, dword [ebp - 0x18]
je 0x411c81
push eax
call esi
test eax, eax
je 0x411c81
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b1a94]
call esi
test eax, eax
je 0x411c9d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411c9f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004087a1
leave
ret
Function at 0x4a8290
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x836820], 0x37
jne 0x4a8327
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x404164
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov ecx, dword [0x836824]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x4b6884]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x4a8590
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x836820]
sub esp, 0x434
push ebx
push ebp
push esi
mov esi, dword [0x4b6884]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x4a877f
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
jmp 0x4a85c6
mov esi, dword [esp + 0x20]
xor edi, edi
cmp dword [0x836820], 0x1c
jne 0x4a85dd
lea eax, [esp + 0x38]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [0x4ad700]
mov ebx, dword [0x4ad708]
mov ebp, dword [0x4ad70c]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x4ad704]
mov dword [esp + 0x18], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 0x20
jmp 0x4a8626
mov eax, dword [esp + 0x18]
xor edi, edi
mov edx, eax
shr edx, 5
add edx, ebp
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x1c], edx
add ecx, ebx
lea edx, [esi + eax]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov dword [0x8357a4], edi
mov eax, dword [esp + 0x1c]
add dword [0x8357a4], eax
mov eax, dword [0x8357a4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x34]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
cmp dword [0x836820], 0x1be
mov eax, dword [esp + 0x14]
lea edi, [esi + eax]
jne 0x4a86bd
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x2c]
cmp dword [0x836820], 0x979
mov dword [0x8357a8], 0xff6b3619
mov dword [0x8357ac], 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x4a86f7
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
xor dword [esp + 0x10], edi
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x18], eax
mov eax, dword [0x836820]
cmp eax, 0x93
je 0x4a871d
add esi, 0x61c88647
dec dword [esp + 0x28]
jne 0x4a8620
cmp eax, 0x8d4
jne 0x4a8734
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], eax
cmp dword [0x836820], 0x17
jne 0x4a876e
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x40]
push ecx
push 0x4040f0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x20], esi
jne 0x4a85c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x434
ret
Function at 0x11c3fd6
Capabilities:
Encode data using xor

Disassembly:
add ecx, esp
xchg esp, eax
or bh, bh
push 0xa
push 0x26c28ca5
push 0x4c0c5295
add al, 6
mov cl, 0xa0
pop esi
sar bh, 0xa
mov edx, eax
add al, 0
push ebp
mov ebp, esp
sub esp, 0x3802c256
xor al, 0x29
cwde
add edi, dword [ebx - 0x4304b278]
cld
mov eax, dword [ebp + 0x5542612b]
pop esp
outsd dx, dword [esi]
pop ss
popal
and byte [esp + eax*2], bh
sub eax, 0x8265bae3
add dh, ch
cmp dword [esi], eax
inc esp
push 0x39858083
sahf
dec edx
or byte [ebx + eax*8 - 0x1d], cl
xchg ebx, eax
movsd dword es:[edi], dword [esi]
push 4
fsub st(1)
test byte [ebx], cl
adc ch, byte [eax - 0x49]
mov cl, 4
dec ebx
and eax, 0xc139b7a7
add ah, byte [ebx - 0x4c]
mov bh, 0x67
invalid
Function at 0x1711e40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xda1000]
push edi
or ebp, 0xffffffff
jmp 0x1711e62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1711e69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1711e58
mov eax, 1
add ebx, ebx
jne 0x1711e7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1711e8c
jne 0x1711eab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1711eab
dec eax
add ebx, ebx
jne 0x1711e98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1711e70
add ebx, ebx
jne 0x1711ea7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1711efd
xor ecx, ecx
sub eax, 3
jb 0x1711ec3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1711f32
sar eax, 1
mov ebp, eax
jmp 0x1711ece
add ebx, ebx
jne 0x1711ece
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1711e9c
inc ecx
add ebx, ebx
jne 0x1711edc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1711e9c
add ebx, ebx
jne 0x1711ee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1711ede
jne 0x1711efa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1711ede
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1711f1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1711f0e
jmp 0x1711e5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1711f1c
add edi, ecx
jmp 0x1711e5e
pop esi
mov edi, esi
mov ecx, 0x6cf04
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1711f3a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1711f3f
lea edi, [esi + 0x130d000]
mov eax, dword [edi]
or eax, eax
je 0x1711fb0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x133d90c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x133dacc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1711f65
mov ecx, edi
jns 0x1711f94
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x133dad4]
or eax, eax
je 0x1711faa
mov dword [ebx], eax
add ebx, 4
jmp 0x1711f82
call dword [esi + 0x133dad0]
mov ebp, dword [esi + 0x133dad8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1711fe4
sub esp, 0xffffff80
jmp 0xf4a4f6
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x402883
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xa
mov edi, ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x402960
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x402960
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
je 0x402960
push esi
call dword [sym.imp.ole32.dll_OleInitialize]
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, esi
je 0x402960
push dword [ebp - 4]
push ebx
push edi
call fcn.0040c3d0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push esi
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp - 8], esi
je 0x402928
lea eax, [ebp - 0xc]
push eax
push 0x418498
push esi
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x402960
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push 4
push esi
push esi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_CopyImage]
mov esi, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x402962
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405a1c
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x415cc4
call fcn.0040cb10
sub esp, 0x158
push esi
mov esi, ecx
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x405b1b
cmp byte [eax], 0
je 0x405b1b
push 0x41c474
call fcn.004031bc
test eax, eax
jne 0x405b1b
push 0x41cfd8
mov ecx, esi
call fcn.004031bc
test eax, eax
jne 0x405b1b
push edi
push 0x41cffc
mov edx, esi
lea ecx, [ebp - 0x24]
call fcn.004022d9
and dword [ebp - 4], 0
lea ecx, [ebp - 0x164]
push ecx
mov ecx, eax
call fcn.0040320c
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov edi, eax
call fcn.00402ef7
test edi, edi
je 0x405b0c
lea eax, [ebp - 0x138]
push eax
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.004022d9
test byte [ebp - 0x164], 0x10
mov dword [ebp - 4], 1
je 0x405ad8
cmp byte [ebp - 0x138], 0x2e
je 0x405ae7
lea ecx, [ebp - 0x18]
call fcn.00405a1c
jmp 0x405ae7
lea ecx, [ebp - 0x18]
call fcn.0040320c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402ef7
lea eax, [ebp - 0x164]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405aa4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, esi
call fcn.0040320c
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40733e
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push 0x28
mov edi, edx
mov ebx, ecx
call fcn.0040e390
mov esi, eax
test esi, esi
pop ecx
jne 0x407371
push str.out_of_dynamic_memory_in_yy_create_buffer__
push 0x41d03c
push 0x41e3b0
call fcn.0040e080
add esp, 0xc
push 2
call fcn.0040df8d
lea eax, [edi + 2]
push eax
mov dword [esi + 0xc], edi
call fcn.0040e390
test eax, eax
pop ecx
mov dword [esi + 4], eax
jne 0x4073a3
push str.out_of_dynamic_memory_in_yy_create_buffer__
push 0x41d03c
push 0x41e3b0
call fcn.0040e080
add esp, 0xc
push 2
call fcn.0040df8d
push 1
pop edi
mov ecx, esi
mov dword [esi + 0x14], edi
call fcn.004073bf
and dword [esi + 0x18], 0
mov dword [esi + 0x20], edi
pop edi
mov dword [esi], ebx
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4073f1
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
mov ebp, edx
cmp ebp, 2
push edi
mov edi, ecx
jb 0x407467
xor ebx, ebx
cmp byte [edi + ebp - 2], bl
jne 0x407467
cmp byte [edi + ebp - 1], bl
jne 0x407467
push 0x28
call fcn.0040e390
mov esi, eax
cmp esi, ebx
pop ecx
jne 0x407438
push str.out_of_dynamic_memory_in_yy_scan_buffer__
push 0x41d03c
push 0x41e3b0
call fcn.0040e080
add esp, 0xc
push 2
call fcn.0040df8d
lea eax, [ebp - 2]
mov ecx, esi
mov dword [esi + 0xc], eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x14], ebx
mov dword [esi], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call fcn.004072c6
mov eax, esi
jmp 0x407469
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40746e
Capabilities:
Terminate process

Disassembly:
xor edx, edx
cmp byte [ecx], dl
je 0x40747b
inc edx
cmp byte [edx + ecx], 0
jne 0x407474
jmp fcn.00407480