joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4046ae
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.00401756
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x404736
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 0x40472c
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 0x40472c
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 0x404dac
Capabilities:
Delete file
Move file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7e04
call fcn.00407c60
and byte [ebp - 0x104], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
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
push 4
push 0
push dword [ebp + 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x404e97
mov ebx, str.wininit.ini
lea eax, [ebp - 0x7e04]
push ebx
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 esi, esi
jne 0x404e50
lea eax, [ebp - 0x104]
push ebx
push eax
push 0x414208
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x404e97
lea eax, [ebp + esi - 0x7e04]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x414208
push eax
mov dword [ebp + 8], eax
call esi
push 0x414204
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call esi
push 0x4152dc
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 0x405121
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
je 0x40515b
mov ecx, dword [ebp + 8]
push esi
lea edx, [eax + 1]
mov eax, dword [ebp + 0x10]
movzx esi, byte [ecx]
and eax, 0xff
xor eax, esi
mov esi, dword [0x4152e0]
inc ecx
mov eax, dword [esi + eax*4]
mov esi, dword [ebp + 0x10]
shr esi, 8
xor esi, eax
dec edx
mov dword [ebp + 0x10], esi
jne 0x405135
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret
Function at 0x405160
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
or dword [ebp - 0xc], 0xffffffff
cmp dword [ebp + 8], 0xffffffff
je 0x4051de
push ebx
push esi
mov esi, 0x8000
push edi
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.00407c8f
pop ecx
mov dword [ebp - 8], eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push eax
push esi
push dword [ebp - 8]
push dword [ebp + 8]
call edi
test eax, eax
je 0x4051d2
cmp dword [ebp - 4], ebx
je 0x4051d2
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00405121
add esp, 0xc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push ebx
push eax
push esi
push dword [ebp - 8]
push dword [ebp + 8]
jmp 0x4051a5
push dword [ebp - 8]
call fcn.00407c9d
pop ecx
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
not eax
leave
ret

Function at 0x405445
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov byte [ebp - 4], 0x13
mov byte [ebp - 3], 0x35
mov byte [ebp - 2], 0x86
mov byte [ebp - 1], 7
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
push ebx
call fcn.00407c8f
mov esi, eax
pop ecx
test esi, esi
je 0x405493
xor edx, edx
test ebx, ebx
jbe 0x405493
sub edi, esi
mov eax, edx
lea ecx, [edx + esi]
and eax, 3
mov al, byte [ebp + eax - 4]
xor al, byte [edi + ecx]
inc edx
cmp edx, ebx
mov byte [ecx], al
jb 0x40547d
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405723
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x117]
mov byte [ebp - 0x118], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x21b]
mov byte [ebp - 0x21c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
stosb byte es:[edi], al
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov cl, byte [eax]
cmp cl, 0x5c
jne 0x4057b4
cmp byte [eax + 1], cl
jne 0x4057b4
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x21c]
push 0x4141dc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x4057d0
mov al, byte [eax + 1]
mov byte [ebp - 0x118], cl
mov byte [ebp - 0x117], al
mov byte [ebp - 0x116], 0x5c
mov byte [ebp - 0x115], bl
cmp dword [ebp - 0x14], ebx
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
je 0x405812
cmp byte [ebp - 0x21c], bl
lea eax, [ebp - 0x21c]
jne 0x4057ef
lea eax, [ebp - 0x118]
push esi
push edi
push dword [ebp + 0xc]
push eax
call dword [ebp - 0x14]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x4058a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x4058a8
cmp byte [ebp - 0x21c], bl
je 0x405839
lea eax, [ebp - 0x118]
push 0x104
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004058b0
add esp, 0xc
test eax, eax
je 0x4058ab
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x405893
push dword [ebp - 0xc]
mov dword [edi + 4], ebx
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0040593e
push dword [ebp - 0x10]
mov dword [edi], eax
mov dword [esi + 4], ebx
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0040593e
mov dword [esi], eax
mov ecx, eax
mov eax, dword [ebp + 0xc]
add esp, 0x18
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
cmp byte [ebp - 0x21c], bl
je 0x4058a8
lea eax, [ebp - 0x118]
push eax
call fcn.00405967
pop ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405f7b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x20]
push 0xfffffffffffffff4
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, dword [eax]
mov esi, dword [eax + 0x30]
push ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], ebx
call edi
test esi, esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
je 0x405fdd
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0xffffff37
push eax
push 0
push 0x4e
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x18], 0
jne 0x406114
mov eax, dword [ebp - 4]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp dword [esi], eax
jne 0x40609c
push esi
push 0x406e81
push ebx
mov dword [ebp - 0x14], eax
push dword [esi + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x13d
mov dword [ebp - 8], 0xc1
push dword [esi + 8]
call fcn.00405b28
add esp, 0x14
mov dword [ebp + 0xc], eax
test eax, eax
je 0x406117
push 0xfffffffffffffff0
push eax
call edi
and eax, 0x7b30ff7f
or eax, 0x40000000
push eax
push 0xfffffffffffffff0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xffffffffffffffec
push dword [ebp + 0xc]
call edi
and ax, 0xfefe
push eax
push 0xffffffffffffffec
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [esi + 4]
and eax, 2
test al, al
jne 0x406076
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x10], 0x2c
mov dword [ebp - 8], 0x8f
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_MapDialogRect]
push 0x214
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0xffffff38
push eax
push 0
push 0x4e
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x18], 0xffffffff
je 0x406114
xor edi, edi
cmp dword [ebp - 0x18], edi
je 0x4060cf
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.0040613f
pop ecx
pop ecx
jmp 0x406117
mov eax, dword [ebp + 8]
push 1
push edi
push ebx
mov dword [eax + 0x30], esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push edi
push edi
push dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetNextDlgTabItem]
call edi
test eax, eax
jne 0x406109
push eax
push eax
push ebx
call edi
test eax, eax
je 0x40610c
push eax
jmp 0x40610e
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406194
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 8]
push 0xe
mov dword [ebp - 0x90], ebx
stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x8c]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetDC]
push 0xc
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x53]
mov byte [ebp - 0x54], bl
rep stosd dword es:[edi], eax
push ebx
push ebx
push 0x31
push dword [ebp + 8]
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x90]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0x90]
mov byte [ebp - 0x75], 0x20
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 4]
call edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x54]
push 0x32
push eax
push 0x3ee
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00407080
pop ecx
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
push dword [ebp - 0x20]
push dword [ebp - 4]
call edi
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 4]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x1c]
push eax
push 0x3ed
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 8]
push 0xfffffffffffffffe
mov eax, ecx
add ecx, 2
cdq
sub eax, edx
pop edx
sar eax, 1
sub edx, eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x18], edx
push ebx
add eax, 5
push ecx
push eax
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x18]
push ebx
push 0x3ee
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b641
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4146d8
cmp edx, dword [eax]
je 0x40b663
add eax, 8
inc ecx
cmp eax, 0x414768
jl 0x40b654
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4146d8]
jne 0x40b791
mov eax, dword [0x415304]
cmp eax, 1
je 0x40b76b
test eax, eax
jne 0x40b694
cmp dword [0x4142e4], 1
je 0x40b76b
cmp edx, 0xfc
je 0x40b791
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b6cb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407870
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407080
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b70e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407080
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x412740
push edi
call fcn.0040c8e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407870
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407880
lea eax, [ebp - 0xa0]
push 0x4141cc
push eax
call fcn.00407880
push dword [esi + 0x4146dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407880
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040c84d
add esp, 0x2c
pop edi
jmp 0x40b791
lea eax, [ebp + 8]
lea esi, [esi + 0x4146dc]
push 0
push eax
push dword [esi]
call fcn.00407080
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 0x40edbe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov eax, dword [esp + 0x10]
mov ebp, esp
push esi
push edi
mov esi, dword [ebp + 0xc]
shr esi, 2
mov edx, dword [ebp + 8]
mov ecx, esi
dec esi
test ecx, ecx
jle 0x40edff
movzx edi, byte [edx]
inc edx
movzx ecx, byte [edx]
shl ecx, 8
inc edx
or edi, ecx
movzx ecx, byte [edx]
shl ecx, 0x10
inc edx
or edi, ecx
movzx ecx, byte [edx]
shl ecx, 0x18
inc edx
or edi, ecx
mov ecx, esi
xor eax, edi
dec esi
test ecx, ecx
jg 0x40edd7
xor esi, esi
mov ecx, dword [ebp + 0xc]
and ecx, 3
cmp ecx, 1
je 0x40ee26
cmp ecx, 2
je 0x40ee1d
cmp ecx, 3
jne 0x40ee2b
movzx esi, byte [edx]
shl esi, 0x10
inc edx
movzx ecx, byte [edx]
shl ecx, 8
inc edx
or esi, ecx
movzx ecx, byte [edx]
or esi, ecx
xor eax, esi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x426bb6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00414886
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x426bf2
call fcn.00426dd5
mov dword [esi + 0xc], 1
jmp 0x426bf7
call fcn.00426dd5
cmp dword [esi], 0
je 0x426c40
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x426c1a
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00409ec0
jmp 0x426c2b
push 0xff
mov ecx, esi
call fcn.00402b80
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00403da0
jmp 0x426c64
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x426c64
push dword [esi]
push dword [ebp - 4]
call fcn.004201f3
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x426d2a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00426dd5
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x426d72
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00409ec0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403da0
jmp 0x426d7d
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004201f3
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4aaf8a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sti
invalid
dec edx
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.004aab62
push eax
push esi
push dword [ebp + 8]
call fcn.004aab17
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004aab52
jne 0x4aaf65
pop dword [edi - 0x836278]
invalid
Function at 0x410994
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x44], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x4c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 0x50], eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 8]
add edx, 0x44
push edx
push 0x410a77
push 0x800
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x40], eax
push 0xf
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esp, ebp
pop ebp
ret 4
Function at 0x411378
Capabilities:
Create directory
Enumerate files on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5144
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
mov dword [ebp - 0x26c], ecx
lea ecx, [ebp - 0x14]
call fcn.004048b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004048b0
mov byte [ebp - 4], 1
push 0x725
mov ecx, dword [ebp - 0x26c]
call fcn.004cd5d4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.0040a3d0
push 0x104
push 0
lea eax, [ebp - 0x268]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x26c]
add ecx, 0x5c
push ecx
lea edx, [ebp - 0x268]
push edx
call fcn.004a9f30
add esp, 8
push 0x508dc4
lea eax, [ebp - 0x268]
push eax
call fcn.004a9f40
add esp, 8
lea ecx, [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x4114a4
push 0
lea edx, [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x411484
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0xb7
je 0x411484
lea eax, [ebp - 0x268]
push eax
push 0x508dc8
lea ecx, [ebp - 0x10]
push ecx
call fcn.004c3f32
add esp, 0xc
push 0
push 0x508e0c
lea ecx, [ebp - 0x10]
call fcn.004048d0
push eax
mov ecx, dword [ebp - 0x26c]
call fcn.004cbd0e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004ce361
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004ce361
jmp 0x4115cd
push 0x140
push 0
lea edx, [ebp - 0x158]
push edx
call fcn.004a9cd0
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
push 0x508e14
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0xffffffff
jne 0x4114fb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004ce361
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004ce361
jmp 0x4115cd
cmp dword [ebp - 0x15c], 0xffffffff
je 0x411569
lea ecx, [ebp - 0x14]
call fcn.004ce2ec
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004ce4ea
push 0x2e
lea ecx, [ebp - 0x14]
call fcn.004c3bcf
mov dword [ebp - 0x164], eax
push 0
mov edx, dword [ebp - 0x164]
push edx
lea ecx, [ebp - 0x14]
call fcn.004c36a2
lea ecx, [ebp - 0x14]
call fcn.004048d0
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0040a3a0
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x411567
jmp 0x411569
jmp 0x4114fb
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x104
push 0
mov eax, dword [ebp - 0x26c]
add eax, 0x46c
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x26c]
add ecx, 0x46c
push ecx
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00413960
push 0
mov ecx, dword [ebp - 0x18]
call fcn.0040a310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004ce361
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004ce361
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4117a2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0
jmp 0x4117bd
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 7
jge 0x41180f
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x40]
add edx, 1
push edx
push 0x508e2c
lea eax, [ebp - 0x3c]
push eax
call fcn.004aa1dd
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0
lea edx, [ebp - 0x3c]
push edx
push 0x508e34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov dword [edx + ecx*4 + 0x570], eax
jmp 0x4117b4
push 0x58
push 0
mov eax, dword [ebp - 0x44]
add eax, 0x58c
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x29
mov edx, dword [ebp - 0x44]
add edx, 0x58c
push edx
push 0
push 0x508e3c
push 0x508e48
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp + 8]
push eax
push 0x15
mov ecx, dword [ebp - 0x44]
add ecx, 0x5b5
push ecx
push 0
push 0x508e54
push 0x508e58
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp + 8]
push edx
push 9
mov eax, dword [ebp - 0x44]
add eax, 0x5ca
push eax
push 0
push 0x508e64
push 0x508e70
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x508e7c
push 0x508e88
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x5d8], eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0x508e94
push 0x508ea0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x5dc], eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0x508eac
push 0x508ebc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x44]
mov byte [ecx + 0x5d3], al
mov edx, dword [ebp + 8]
push edx
push 0
push 0x508ec8
push 0x508ed4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x5d4], eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0x508ee0
push 0x508ee4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x5e0], eax
mov esp, ebp
pop ebp
ret 4