joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403f29
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and byte [ebp - 0x104], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
and byte [ebp - 0x208], 0
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x207]
cmp dword [0x416190], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x403f8b
push dword [0x416178]
call fcn.00403891
cmp eax, dword [0x416118]
pop ecx
je 0x403f8b
push 0x23
pop eax
mov dword [0x416138], eax
jmp 0x40409e
push ebx
push esi
push dword [ebp + 8]
call fcn.004040a1
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
test eax, eax
mov dword [0x416138], eax
mov edi, str._spftw_d.pkg
jne 0x404041
cmp dword [0x4160ec], 0
jne 0x404050
push dword [0x416178]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x404033
push 1
pop ebx
cmp dword [0x41610c], ebx
jl 0x404033
push ebx
lea eax, [ebp - 0x104]
push dword [0x41617c]
push edi
push eax
call esi
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004014c2
add esp, 0x18
test eax, eax
je 0x40402a
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004059cd
pop ecx
mov dword [0x416138], eax
pop ecx
inc ebx
cmp ebx, dword [0x41610c]
jle 0x403fea
push dword [ebp + 8]
call fcn.00404332
pop ecx
mov dword [0x416138], eax
cmp eax, 0xfffffff6
jne 0x404050
mov dword [0x416140], 1
push 1
pop ebx
cmp dword [0x41610c], ebx
jl 0x40409c
push ebx
lea eax, [ebp - 0x104]
push dword [0x41617c]
push edi
push eax
call esi
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004014c2
add esp, 0x18
test eax, eax
je 0x40408e
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc ebx
cmp ebx, dword [0x41610c]
jle 0x40405b
mov eax, dword [0x416138]
pop esi
pop ebx
pop edi
leave
ret
Function at 0x404653
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
push 1
and byte [ebp - 0x110], 0
pop edx
push 0x40
xor eax, eax
pop esi
lea edi, [ebp - 0x10f]
mov ecx, esi
and dword [ebp - 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 0xc], 0
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push edx
mov dword [ebp - 8], edx
push dword [0x41617c]
stosb byte es:[edi], al
mov edi, str._spftw_d.pkg
lea eax, [ebp - 0x110]
push edi
push eax
call ebx
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004014c2
add esp, 0x18
test eax, eax
je 0x4047c1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x110]
push eax
call section..text
cmp dword [ebp - 4], 0
pop ecx
pop ecx
jl 0x4046db
add dword [ebp - 0xc], eax
inc dword [ebp - 8]
jmp 0x4046e1
cmp dword [ebp - 4], 0xfffffff6
je 0x4046f4
push dword [ebp - 8]
lea eax, [ebp - 0x110]
push dword [0x41617c]
push edi
push eax
jmp 0x4046a0
and byte [ebp - 0x318], 0
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x317]
rep stosd dword es:[edi], eax
and byte [ebp - 0x41c], 0
mov ecx, esi
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x41b]
rep stosd dword es:[edi], eax
and byte [ebp - 0x214], 0
mov ecx, esi
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x213]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x104
lea eax, [ebp - 0x318]
push esi
mov edi, 0x13e
push eax
push edi
push dword [0x4160d8]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x318]
push esi
push eax
push edi
push str.Strings
call fcn.00401457
add esp, 0x10
lea eax, [ebp - 0x214]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x214]
push 4
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x41c]
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x41c]
push 0x10
push dword [0x4161a4]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 4], 0xfffffff6
pop edi
pop esi
pop ebx
jne 0x4047ce
xor eax, eax
leave
ret
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.004047e1
add esp, 0xc
leave
ret
Function at 0x404b31
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
push 0x100
push 0x8000
push dword [ebp + 8]
movzx ebx, word [esi + 0x1c]
call fcn.004018df
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x404bb9
and dword [ebp - 0x10], 0
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
mov ax, word [esi + 0x1a]
push eax
mov ax, word [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
je 0x404baf
and dword [ebp - 8], 0
xor eax, eax
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x404baf
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
and ebx, 0x27
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x4052c7
Capabilities:
Delete file
Move file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7e04
call fcn.00408190
push ebx
push esi
push edi
push 4
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x4053c3
and byte [ebp - 0x104], al
push 0x40
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
and byte [ebp - 0x7e04], 0
mov ecx, 0x1f3f
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x7e03]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, str.wininit.ini
stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x7e04]
push 0x7cff
mov edi, str.rename
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov esi, eax
lea eax, [ebp - 0x104]
push 0x104
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
jne 0x405362
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test esi, esi
jne 0x40537c
lea eax, [ebp - 0x104]
push ebx
push eax
push 0x415208
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4053c3
lea eax, [ebp + esi - 0x7e04]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x415208
push eax
mov dword [ebp + 8], eax
call esi
push 0x415204
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call esi
push 0x416308
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x7e04]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x405400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 2
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x40549d
mov cx, word [eax + 0xe]
cmp cx, 8
ja 0x40549d
push 1
pop esi
shl esi, cl
movzx edi, si
lea eax, [edi*4 + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ecx]
add eax, ecx
test ebx, ebx
je 0x40549d
test si, si
mov word [ebx], 0x300
mov word [ebx + 2], si
jbe 0x40548c
lea ecx, [ebx + 5]
mov dl, byte [eax + 2]
mov byte [ecx - 1], dl
mov dl, byte [eax + 1]
mov byte [ecx], dl
mov dl, byte [eax]
mov byte [ecx + 1], dl
and byte [ecx + 2], 0
add ecx, 4
add eax, 4
dec edi
jne 0x40546f
push ebx
call dword [sym.imp.GDI32.dll_CreatePalette]
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40550c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push 2
push 0x76
push dword [0x4160d8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4055b0
push eax
push dword [0x4160d8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4055b0
push ebx
push edi
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_GetDC]
push 1
mov cl, byte [esi + 0xe]
pop edi
mov ebx, eax
push 0
push dword [0x4161f8]
shl edi, cl
push ebx
call dword [sym.imp.GDI32.dll_SelectPalette]
push ebx
call dword [sym.imp.GDI32.dll_RealizePalette]
mov ecx, dword [esi]
push 0
movzx eax, di
push esi
lea eax, [ecx + eax*4]
add eax, esi
push eax
push 4
push esi
push ebx
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push eax
push 0
push 0x172
push 0x85
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push ebx
mov esi, eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop ebx
pop esi
ret
Function at 0x405963
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.004056e0
test byte [ecx], ch
sahf
pop ebp
lea eax, [ebp - 0x58]
push eax
call fcn.004056f0
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.004056a5
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4059ce
invalid
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004056e0
and dword cs:[ebx], ebp
loop 0x4059b0
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x405ab2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub dh, al
inc ebp
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004056f0
push eax
push esi
push dword [ebp + 8]
call fcn.004056a5
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004056f0
push eax
push esi
push dword [ebp + 8]
call fcn.004056a5
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004056e0
xchg ebx, eax
sub eax, 0x9d888053
jl 0x405b65
invalid
invalid

Function at 0x40766c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.004056e0
lds esp, [ecx + 0x5d]
push esi
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x4076c3
lea eax, [ebp - 0x714]
push eax
call fcn.004056f0
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.004056a5
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x4076c3
jmp 0x407082
cmp dword [ebp - 0x37c], 0
je 0x4076d1
jmp 0x407786
push 0
Function at 0x40bb71
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4156d8
cmp edx, dword [eax]
je 0x40bb93
add eax, 8
inc ecx
cmp eax, 0x415768
jl 0x40bb84
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4156d8]
jne 0x40bcc1
mov eax, dword [0x416330]
cmp eax, 1
je 0x40bc9b
test eax, eax
jne 0x40bbc4
cmp dword [0x4152e4], 1
je 0x40bc9b
cmp edx, 0xfc
je 0x40bcc1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40bbfb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407da0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004075b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40bc3e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004075b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x413748
push edi
call fcn.0040ce10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407da0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407db0
lea eax, [ebp - 0xa0]
push 0x4151cc
push eax
call fcn.00407db0
push dword [esi + 0x4156dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407db0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040cd7d
add esp, 0x2c
pop edi
jmp 0x40bcc1
lea eax, [ebp + 8]
lea esi, [esi + 0x4156dc]
push 0
push eax
push dword [esi]
call fcn.004075b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x40f2ed
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov eax, esi
shr eax, 2
push edi
mov edi, eax
dec eax
test edi, edi
jle 0x40f32d
lea edi, [eax + 1]
movzx eax, byte [ecx]
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or eax, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or eax, ebx
inc ecx
xor edx, eax
dec edi
jne 0x40f30b
and esi, 3
xor eax, eax
dec esi
je 0x40f349
dec esi
je 0x40f342
dec esi
jne 0x40f34e
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
pop esi
xor eax, edx
pop ebx
ret 0xc
Function at 0x404d00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
cmp byte [ebx], 0
jne 0x404d32
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebx, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.004054e0
pop ecx
mov esi, eax
test esi, esi
jne 0x404d65
push 1
call fcn.00404530
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [esi + eax*4]
push eax
push esi
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x407288], eax
mov dword [0x40728c], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404da0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test eax, eax
jne 0x404dbb
mov ebx, dword [0x407358]
mov esi, ebx
xor ecx, ecx
jmp 0x404dde
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404dc6
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404dd9
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404dc1
lea eax, [ecx + 1]
push eax
call fcn.004054e0
pop ecx
mov edi, eax
mov dword [0x407294], eax
cmp dword [0x407294], 0
jne 0x404e05
push 1
call fcn.00404530
pop ecx
mov esi, ebx
jmp 0x404e3a
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404e0e
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404e35
mov ecx, edi
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x404e25
pop eax
mov eax, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404e09
mov byte [edi], 0
cmp ebx, dword [0x407358]
je 0x404e51
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x300d2c81
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x5c6747e1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40ec50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
test esi, esi
jne 0x40ec75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
lea eax, [esi + 1]
je 0x40ec77
mov eax, esi
pop esi
pop ebp
ret

Function at 0x410255
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fbc
push ebx
push esi
push edi
push ecx
xor ecx, 0xf54
call 0x410278
add byte [0x44504134], dh
cmp eax, dword [ebp + 0x3e]
cmp byte [eax - 0x7d], dl
les eax, [ecx + eax*4]
jmp 0x4268cf
in eax, dx
add byte [eax], al
mov cl, byte [esi + 0xede5]
test byte [esi + 0xede5], bh
add dword [esi + 0x41], esi
push ecx
pop eax
test ch, al
add eax, 0x7b9fe182
add al, byte [ecx]
sub cl, 0x61
lodsb al, byte [esi]
add dword [ecx], eax
xor cl, 0x2f
jle 0x4268f8
add dword [edx + 0x24594e9], eax
add dword [ecx + 0x53], ebx
sub cl, 0x94
inc ebp
add al, byte [ecx]
pop ecx
push ebx
xor bl, 0xb6
fiadd word [ecx]
add dword [edx + 0x2017bc3], eax
add dword [edx + 0x23f45e3], eax
add dword [ebx - 0x74], ebx
xchg esi, eax
mov eax, dword [0x8a0000fc]
xchg esi, eax
sbb eax, 0xec0000fe
imul edx, dword [ebx + 0x58], 0xec05c584
add eax, 0x3d354d45
sub bl, 0x4b
cmp dword [ecx], eax
add dword [edx + 0x1d7c3eb], eax
add dword [ebx + 0x53], ebx
pop eax
test ch, al
add eax, 0xce47f382
add dword [ecx], eax
sub bl, 0x14
add al, byte ds:[ecx]
in al, dx
pop es
cmp al, byte [ebp + 0x39]
inc ebx
aas
aas
pop ebx
mov word [esi + 0xfca1], es
mov word [ecx], cs
mov cl, byte [esi + 0xfca1]
mov word [esi + 0xfca1], ss
cmp al, 0x96
mov eax, dword [0x8c0000fc]
xchg esi, eax
mov eax, dword [0x3c0000fc]
xchg esi, eax
jne 0x42695d
add byte [eax], al
jne 0x426980
mov word [esi + 0xfca1], es
test byte [ecx + 0x31], bh
add dword [eax], edx
xchg byte [edi - 0x37ffff02], dh
xchg byte [0x10000fe], bl
add dword [ecx], eax
add dword [ebx + 0x51], edx
test ch, al
add eax, 0x26efe382
add al, byte [ecx]
jmp 0x1436aa5
Function at 0x410278
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fbc
push ebx
push esi
push edi
push ecx
xor ecx, 0xf54
call 0x410278
add byte [0x44504134], dh
cmp eax, dword [ebp + 0x3e]
cmp byte [eax - 0x7d], dl
les eax, [ecx + eax*4]
jmp 0x4268cf
in eax, dx
add byte [eax], al
mov cl, byte [esi + 0xede5]
test byte [esi + 0xede5], bh
add dword [esi + 0x41], esi
push ecx
pop eax
test ch, al
add eax, 0x7b9fe182
add al, byte [ecx]
sub cl, 0x61
lodsb al, byte [esi]
add dword [ecx], eax
xor cl, 0x2f
jle 0x4268f8
add dword [edx + 0x24594e9], eax
add dword [ecx + 0x53], ebx
sub cl, 0x94
inc ebp
add al, byte [ecx]
pop ecx
push ebx
xor bl, 0xb6
fiadd word [ecx]
add dword [edx + 0x2017bc3], eax
add dword [edx + 0x23f45e3], eax
add dword [ebx - 0x74], ebx
xchg esi, eax
mov eax, dword [0x8a0000fc]
xchg esi, eax
sbb eax, 0xec0000fe
imul edx, dword [ebx + 0x58], 0xec05c584
add eax, 0x3d354d45
sub bl, 0x4b
cmp dword [ecx], eax
add dword [edx + 0x1d7c3eb], eax
add dword [ebx + 0x53], ebx
pop eax
test ch, al
add eax, 0xce47f382
add dword [ecx], eax
sub bl, 0x14
add al, byte ds:[ecx]
in al, dx
pop es
cmp al, byte [ebp + 0x39]
inc ebx
aas
aas
pop ebx
mov word [esi + 0xfca1], es
mov word [ecx], cs
mov cl, byte [esi + 0xfca1]
mov word [esi + 0xfca1], ss
cmp al, 0x96
mov eax, dword [0x8c0000fc]
xchg esi, eax
mov eax, dword [0x3c0000fc]
xchg esi, eax
jne 0x42695d
add byte [eax], al
jne 0x426980
mov word [esi + 0xfca1], es
test byte [ecx + 0x31], bh
add dword [eax], edx
xchg byte [edi - 0x37ffff02], dh
xchg byte [0x10000fe], bl
add dword [ecx], eax
add dword [ebx + 0x51], edx
test ch, al
add eax, 0x26efe382
add al, byte [ecx]
jmp 0x1436aa5
Function at 0x413dd0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
dec edx
cmp al, byte [ecx + 0x13ce3c6]
add byte [ecx + 0x12fc1ce], al
add byte [ecx + 0x15a9fce], al
add byte [esi + 0x53], bl
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

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