joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d77
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3ec]
sub esp, 0x46c
mov eax, dword [0x406018]
xor eax, ebp
mov dword [ebp + 0x3e8], eax
mov eax, dword [ebp + 0x3f4]
push ebx
push esi
push edi
push 0x44
pop edi
push edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x80]
push 0
push eax
mov esi, ecx
call sub.MSVCR90.dll_memset
mov dword [ebp - 0x80], edi
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x1e0], ax
lea eax, [ebp + 0x1e2]
push eax
call sub.MSVCR90.dll_memset
mov ebx, 0x103
push ebx
push esi
mov esi, dword [sym.imp.MSVCR90.dll_wcsncpy_s]
lea edi, [ebx + 1]
lea eax, [ebp + 0x1e0]
push edi
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x26]
push eax
call sub.MSVCR90.dll_memset
push ebx
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push edi
push eax
call esi
add esp, 0x44
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
xor esi, esi
lea eax, [ebp - 0x28]
push eax
push esi
push 0x20
push esi
push esi
push esi
lea eax, [ebp + 0x1e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x401e3e
xor eax, eax
jmp 0x401e44
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x3e8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402cf0
add ebp, 0x3ec
leave
ret

Function at 0x4020e8
Capabilities:
Link many functions at runtime

Disassembly:
push 0x40462c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x4020fd
xor al, al
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404648
push eax
call edi
test eax, eax
je 0x402154
push str.Process32FirstW
push dword [esi + 0x28]
mov dword [esi + 0x10], eax
call edi
test eax, eax
je 0x402154
push str.Process32NextW
push dword [esi + 0x28]
mov dword [esi + 0x14], eax
call edi
test eax, eax
je 0x402154
push str.Module32FirstW
push dword [esi + 0x28]
mov dword [esi + 0x18], eax
call edi
test eax, eax
je 0x402154
push str.Module32NextW
push dword [esi + 0x28]
mov dword [esi + 0x1c], eax
call edi
test eax, eax
jne 0x402168
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x30], 2
xor al, al
pop edi
ret
mov dword [esi + 0x20], eax
mov byte [esi + 0x2d], 1
mov al, 1
pop edi
ret

Function at 0x402cf0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406018]
jne 0x402cfa
repz ret
jmp fcn.004031c6
Function at 0x410c92
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4173c8]
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.0040bc68
and dword [ebp - 0x14], 0
cmp dword [0x42ef40], 0
mov dword [ebp - 0x18], eax
jne 0x410d45
push 0x403e78
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x410ded
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e6c
push ebx
call edi
test eax, eax
je 0x410ded
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e5c
push ebx
mov dword [0x42ef40], eax
call edi
push eax
call esi
push 0x403e48
push ebx
mov dword [0x42ef44], eax
call edi
push eax
call esi
push 0x403e2c
push ebx
mov dword [0x42ef48], eax
call edi
push eax
call esi
mov dword [0x42ef50], eax
test eax, eax
je 0x410d45
push 0x403e14
push ebx
call edi
push eax
call esi
mov dword [0x42ef4c], eax
mov eax, dword [0x42ef4c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x410d9e
cmp dword [0x42ef50], ecx
je 0x410d9e
push eax
call esi
push dword [0x42ef50]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x410d9e
test ebx, ebx
je 0x410d9e
call edi
test eax, eax
je 0x410d95
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x410d95
test byte [ebp - 8], 1
jne 0x410d9e
or dword [ebp + 0x10], 0x200000
jmp 0x410dd1
mov eax, dword [0x42ef44]
cmp eax, dword [ebp - 0x18]
je 0x410dd1
push eax
call esi
test eax, eax
je 0x410dd1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x410dd1
mov eax, dword [0x42ef48]
cmp eax, dword [ebp - 0x18]
je 0x410dd1
push eax
call esi
test eax, eax
je 0x410dd1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42ef40]
call esi
test eax, eax
je 0x410ded
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x410def
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004085a1
leave
ret
Function at 0x4133e0
Capabilities:
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x1b08
call fcn.004116f0
cmp dword [0x8d9394], 0x37
push esi
jne 0x4134da
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push 0
lea ecx, [esp + 0x30c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0
call esi
push 0x403f04
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push 0
lea eax, [esp + 0xb0c]
push eax
push 0x403f44
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea ecx, [esp + 0x130c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0xe8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call esi
push 0x403f64
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0x30
lea eax, [esp + 0x24]
push 0
push eax
mov dword [esp + 0x28], 0
call fcn.0040e6b0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
mov edx, dword [0x8dbaf8]
mov dword [esp + 8], edx
mov eax, 0x5d1
add dword [esp + 8], eax
mov eax, dword [esp + 8]
mov cl, byte [eax + edi]
mov edx, dword [0x8d7b8c]
mov byte [edx + edi], cl
pop esi
add esp, 0x1b08
ret
Function at 0x402370
Capabilities:
Delete file

Disassembly:
sub esp, 0x208
mov ecx, 0x41
xor eax, eax
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x114]
rep stosd dword es:[edi], eax
mov eax, dword [0x4542e8]
lea ecx, [esp + 0x114]
add eax, 0x1cb
push eax
push str._s_tuc_fileF300B
push ecx
call fcn.00409684
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x1c]
add esp, 0xc
rep stosd dword es:[edi], eax
lea edi, [esp + 0x114]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..IDX
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
and ecx, 3
lea eax, [esp + 0x10]
rep movsb byte es:[edi], byte [esi]
push eax
call ebx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x114]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..DAT
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x208
ret
Function at 0x402490
Capabilities:
Delete file

Disassembly:
sub esp, 0x208
mov ecx, 0x41
xor eax, eax
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x114]
rep stosd dword es:[edi], eax
mov eax, dword [0x4542e8]
lea ecx, [esp + 0x114]
add eax, 0x1cb
push eax
push str._s_tuc_fileF300UA
push ecx
call fcn.00409684
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x1c]
add esp, 0xc
rep stosd dword es:[edi], eax
lea edi, [esp + 0x114]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..IDX
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
and ecx, 3
lea eax, [esp + 0x10]
rep movsb byte es:[edi], byte [esi]
push eax
call ebx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x114]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..DAT
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x208
ret
Function at 0x405250
Capabilities:
Get hostname
Get session user name

Disassembly:
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x34]
mov dword [esp + 0x10], 0x28
rep stosd dword es:[edi], eax
mov eax, dword [0x4542e8]
cmp dword [eax + 0x3dc60], 1
jne 0x40528f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x40529f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov al, byte [esp + 0x34]
test al, al
jne 0x4052d8
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x34]
lea edx, [esp + 0x34]
rep stosd dword es:[edi], eax
mov edi, str.Standalone
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x84]
mov dl, byte [esp + 0x34]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x34]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov al, byte [esp + 0x35]
dec ecx
mov byte [esp + 0x85], dl
mov byte [esp + 0x86], al
mov cl, byte [esp + ecx + 0x33]
mov byte [esp + 0x84], cl
mov cl, byte [esp + 0x36]
mov byte [esp + 0x87], cl
mov eax, dword [esp + 0x84]
push eax
mov dword [0xbdb300], eax
call fcn.0040990b
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
xor ebx, ebx
mov edx, dword [0x4542d4]
mov ecx, 0x14
add edx, 0x66
xor eax, eax
mov edi, 0xbdb584
push edx
push str._sTUCFILELOCKMOTI
push 0xbdb584
rep stosd dword es:[edi], eax
call fcn.00409684
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push 0xbdb584
call esi
cmp eax, 0xffffffff
jne 0x405411
call dword [sym.imp.KERNEL32.dll_GetLastError]
inc ebx
mov dword [0xbdb314], eax
cmp ebx, 0x12c
jg 0x405416
call fcn.00409915
mov edx, eax
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x84]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x88]
push 0x413704
push eax
call fcn.00409684
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x20]
mov dl, byte [esp + 0x91]
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x90]
stosw word es:[edi], ax
lea eax, [esp + 0x20]
mov byte [esp + 0x20], cl
push eax
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], 0x30
call fcn.00409792
add esp, 0x10
mov dword [0xbddc74], eax
push eax
call ebp
jmp 0x405343
mov dword [0xbdb5ec], eax
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc4
ret
Function at 0x405450
Capabilities:
Get hostname
Get session user name

Disassembly:
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x34]
mov dword [esp + 0x10], 0x28
rep stosd dword es:[edi], eax
mov eax, dword [0x4542e8]
cmp dword [eax + 0x3dc60], 1
jne 0x40548f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x40549f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov al, byte [esp + 0x34]
test al, al
jne 0x4054d8
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x34]
lea edx, [esp + 0x34]
rep stosd dword es:[edi], eax
mov edi, str.Standalone
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x84]
mov dl, byte [esp + 0x34]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x34]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov al, byte [esp + 0x35]
dec ecx
mov byte [esp + 0x85], dl
mov byte [esp + 0x86], al
mov cl, byte [esp + ecx + 0x33]
mov byte [esp + 0x84], cl
mov cl, byte [esp + 0x36]
mov byte [esp + 0x87], cl
mov eax, dword [esp + 0x84]
push eax
mov dword [0xbddc7c], eax
call fcn.0040990b
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
xor ebx, ebx
mov edx, dword [0x4542d4]
mov ecx, 0x14
xor eax, eax
mov edi, 0xbdb4e4
rep stosd dword es:[edi], eax
mov cx, word [edx + 0x66]
lea eax, [edx + 0x66]
push eax
push str._sTUCFILELOCKTFNAME
push 0xbdb4e4
mov word [0xbdb4e4], cx
call fcn.00409684
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push 0xbdb4e4
call esi
cmp eax, 0xffffffff
jne 0x40561c
call dword [sym.imp.KERNEL32.dll_GetLastError]
inc ebx
mov dword [0xbddc78], eax
cmp ebx, 0x12c
jg 0x405621
call fcn.00409915
mov edx, eax
mov ecx, 0x14
push edx
xor eax, eax
lea edi, [esp + 0x88]
lea edx, [esp + 0x88]
push 0x413704
push edx
rep stosd dword es:[edi], eax
call fcn.00409684
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x20]
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x91]
push edx
stosw word es:[edi], ax
mov al, byte [esp + 0x94]
mov byte [esp + 0x25], cl
mov byte [esp + 0x24], al
mov byte [esp + 0x26], 0x30
call fcn.00409792
add esp, 0x10
mov dword [0xbdb4d0], eax
push eax
call ebp
jmp 0x405543
mov dword [0xbddc6c], eax
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc4
ret
Function at 0x4088e0
Capabilities:
Get disk information

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esp], eax
push esi
movsx edx, byte [ecx]
mov dword [esp + 8], eax
push edx
mov word [esp + 0x10], ax
lea eax, [esp + 8]
push str._C:_
push eax
call fcn.00409684
add esp, 0xc
lea ecx, [esp + 4]
xor esi, esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
mov eax, 1
je 0x408926
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x40c4a5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4145e8
cmp edx, dword [eax]
je 0x40c4c7
add eax, 8
inc ecx
cmp eax, 0x414678
jl 0x40c4b8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4145e8]
jne 0x40c5f5
mov eax, dword [0xbddce0]
cmp eax, 1
je 0x40c5cf
test eax, eax
jne 0x40c4f8
cmp dword [0x413fd4], 1
je 0x40c5cf
cmp edx, 0xfc
je 0x40c5f5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40c52f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040e380
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040ac20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40c572
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040ac20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x412574
push edi
call fcn.00409b60
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040e380
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040e390
lea eax, [ebp - 0xa0]
push 0x412554
push eax
call fcn.0040e390
push dword [esi + 0x4145ec]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040e390
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004102e5
add esp, 0x2c
pop edi
jmp 0x40c5f5
lea eax, [ebp + 8]
lea esi, [esi + 0x4145ec]
push 0
push eax
push dword [esi]
call fcn.0040ac20
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 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x73a01a65
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3998775b
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7be563a
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x47fe05e6
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x405750
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431108]
jne 0x40575a
repz ret
jmp fcn.00411380
Function at 0x41d7c0
Capabilities:
Get disk information
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x23a7494], 0x37
jne 0x41d82c
push str.gujena
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push str.xacapixivuwavogatedejinukiden
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.mobonidiriretituco_vicevibofaromo
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call dword [sym.imp.KERNEL32.dll_IsSystemResumeAutomatic]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov dword [ebp - 4], 0
mov eax, dword [0x23a7b90]
add dword [ebp - 4], eax
mov eax, 0x12336
add dword [ebp - 4], eax
mov eax, dword [0x239f5d8]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp + 8]
mov dl, byte [ecx]
mov byte [eax], dl
mov esp, ebp
pop ebp
ret 4
Function at 0x41dd10
Capabilities:
Copy file
Delete file
Manipulate console buffer
Read .ini file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1030
call fcn.00414650
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [0x23a7494], 0x516
jne 0x41dd60
push 0
push 0
call sub.KERNEL32.dll_Process32NextW
xor ecx, ecx
mov word [ebp - 0x14], cx
xor edx, edx
mov word [ebp - 0x12], dx
lea eax, [ebp - 0x81c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 0x818]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
shr ecx, 3
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
jmp 0x41dd81
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jae 0x41de57
cmp dword [0x23a7494], 0x29
jne 0x41ddb3
push 0
push str.texokokepokisasate
push str.vuxadunonitobonohuzederovoruvutogubudori
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push str.ciyine
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
cmp dword [0x23a7494], 0xe1b
jne 0x41ddd7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebp - 0x10]
shl edx, 1
mov dword [ebp - 0x10], edx
cmp dword [0x23a7494], 0x1c
jne 0x41de3f
push str.pibilegovuworenefukuhewo
push 0
lea eax, [ebp - 0x1030]
push eax
push str.zuhosen
push str.facojonagozehinewud
push str.xuhiwigofevuhojegapolupayazet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x830], 0
xor ecx, ecx
mov dword [ebp - 0x82c], ecx
mov dword [ebp - 0x828], ecx
mov dword [ebp - 0x824], ecx
mov dword [ebp - 0x820], ecx
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*4]
push edx
call fcn.0041db00
jmp 0x41dd78
mov esp, ebp
pop ebp
ret 0xc