joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40156a
Capabilities:
Encode data using xor

Disassembly:
push esi
push str.__xml_version_1.0__encoding_UTF_8___
mov esi, 0x95a750
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str._metalink__file_
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [edi], 0
lea ecx, [eax - 0x20]
pop esi
test ecx, ecx
jle 0x4015b5
mov eax, dword [edi]
mov dl, byte [eax + 0x95a770]
xor dl, byte [eax + 0x95a750]
inc eax
cmp eax, ecx
mov byte [eax + 0x957f4f], dl
mov dword [edi], eax
jl 0x40159a
ret

Function at 0x4016c5
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, 0x32000
mov esi, ecx
cmp eax, ecx
ja 0x4016e2
mov esi, eax
push 2
push 0
mov eax, esi
neg eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x40171c
push 0
lea eax, [ebp - 4]
push eax
push esi
push 0x970f50
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40171c
mov eax, dword [ebp - 4]
call fcn.00401639
jmp 0x40171e
xor al, al
pop esi
leave
ret

Function at 0x40194e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2810
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
xor edi, edi
inc edi
push edi
push 0x80000000
push 0x94df30
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x401a19
push ebx
push esi
lea ecx, [ebp - 4]
push ecx
mov ebx, 0x2800
push ebx
lea ecx, [ebp - 0x2810]
push ecx
mov dword [ebp - 8], edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
jmp 0x4019ea
xor eax, eax
cmp dword [ebp - 4], eax
jbe 0x4019f0
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp + eax - 0x2810]
add eax, dword [ebp - 8]
xor edx, edx
mov ecx, 0xfff1
div ecx
lea eax, [esi + edx]
mov dword [ebp - 8], edx
xor edx, edx
div ecx
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov esi, edx
cmp eax, dword [ebp - 4]
jb 0x4019ad
push 0
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0x2810]
push eax
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4019a3
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
shl esi, 0x10
or esi, dword [ebp - 8]
push esi
push 0x404360
mov esi, 0x952f30
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, esi
pop ebx
jmp 0x401a1e
mov eax, 0x404368
pop edi
pop esi
leave
ret

Function at 0x401a22
Capabilities:
Get file size

Disassembly:
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x94df30
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, edi
je 0x401a5c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
Function at 0x401bba
Capabilities:
Create process on windows

Disassembly:
push esi
push edi
push str.__c__start
mov esi, 0x948f30
push esi
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov eax, esi
xor edi, edi
cmp word [eax], di
je 0x401bda
inc eax
inc eax
jne 0x401bd1
mov ecx, dword [esp + 0xc]
jmp 0x401c06
movzx edx, word [ecx]
cmp dx, di
je 0x401c0a
cmp dx, 0x26
je 0x401bf4
cmp dx, 0x7c
jne 0x401bfc
push 0x5e
pop edx
mov word [eax], dx
inc eax
inc eax
mov dx, word [ecx]
inc ecx
mov word [eax], dx
inc ecx
inc eax
inc eax
cmp ecx, edi
jne 0x401be0
push 0x22
pop ecx
push edi
push edi
push esi
push str.cmd.exe
mov word [eax], cx
push edi
xor ecx, ecx
push edi
mov word [eax + 2], cx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
ret
Function at 0x401dd4
Capabilities:
Create process on windows
Query environment variable
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00401d0b
push eax
push str.PR:_s
mov esi, 0x9ad6e8
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0x10
push esi
call edi
lea esi, [eax*2 + 0x9ad6ea]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov ebx, eax
jmp 0x401e34
cmp word [ebx], 0
je 0x401e38
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
call edi
push esi
lea ebx, [ebx + eax*2 + 2]
call edi
lea esi, [esi + eax*2 + 2]
test ebx, ebx
jne 0x401e18
xor eax, eax
push 2
mov word [esi], ax
push eax
mov esi, 0x94df30
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
xor ebx, ebx
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x401fbf
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x22
pop eax
push esi
mov word [0x9a86e8], ax
xor eax, eax
mov esi, 0x9a86e8
push esi
mov word [0x9a86ea], ax
call edi
push 0x404460
push esi
call edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp word [0x90b248], bx
je 0x401eb8
push 0x90b248
push esi
call edi
cmp word [0x90b248], bx
je 0x401eb8
push str._preloader
push 0x90b248
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x401ec0
push str.__preloader
push esi
call edi
xor eax, eax
mov word [ebp - 0x32], ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push 0x9ad6e8
push 0x404
push ebx
push ebx
push ebx
push esi
push ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401fbb
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
mov ecx, dword [ebp - 0x14]
mov edx, eax
mov eax, dword [ebp - 0x18]
call fcn.00401caa
push dword [ebp - 0x14]
mov edi, eax
push dword [ebp - 0x18]
call esi
call fcn.00401cda
pop ecx
pop ecx
lea esi, [ebp - 0x10]
mov dword [ebp - 4], eax
call fcn.004033e2
push edi
push 0xfc000
push ebx
push 4
mov eax, esi
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov eax, esi
call fcn.0040342e
cmp edi, ebx
je 0x401fa7
push edi
push 1
call fcn.0040343d
pop ecx
pop ecx
push ebx
push ebx
push ebx
push 2
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
je 0x401fa0
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call fcn.00401d39
push dword [ebp - 0x1c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x20]
call fcn.00401d92
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
mov al, 1
jmp 0x401fc9
push 6
jmp 0x401fc1
push 5
pop eax
call fcn.00401b10
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40222c
Capabilities:
Inspect load icon resource

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x86
push dword [0x406228]
call dword [sym.imp.USER32.dll_LoadIconW]
push dword [0x91a284]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, 0x3ec
push ebp
push dword [0x91a280]
mov dword [0x91a288], eax
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x2800
mov edi, 0x96bf50
push edi
lea esi, [ebp - 1]
push esi
push dword [0x91a280]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push dword [0x91a284]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
push esi
push dword [0x91a280]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 1
lea edi, [ebp + 2]
push edi
push dword [0x91a280]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 0xc9
push str.ieakui.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
push 0x467
push 0x3ea
push dword [0x91a280]
call ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
push 0x3f1
call fcn.004021bb
push ebp
call fcn.004021bb
push 0x3f2
call fcn.004021bb
push esi
call fcn.004021bb
push 0xffffffffffffffff
call fcn.004021bb
push edi
call fcn.004021bb
push 0x3ef
call fcn.004021bb
push 0x3f0
call fcn.004021bb
push 8
call fcn.004021bb
add esp, 0x24
push 0
push 0x32
push 1
push dword [0x91a280]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x91a288]
test eax, eax
je 0x402351
push eax
push 0
push 0x80
push dword [0x91a280]
call ebx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x402504
Capabilities:
Create thread

Disassembly:
push ebx
push 0x190
push 0x406210
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov eax, dword [esp + 8]
xor ebx, ebx
push ebx
mov dword [0x91a284], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x406228], eax
mov dword [0x91a280], ebx
cmp byte [esp + 0xc], bl
jne 0x40254f
push ebx
push ebx
push ebx
push 0x4024da
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
ret
Function at 0x402749
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0
lea eax, [ebp - 4]
push eax
mov ebx, 0x9385a0
push ebx
push 0
push 0x21
push dword [ebp + 8]
mov dword [ebp - 4], 0x2800
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x402814
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.http:__
push ebx
call esi
cmp eax, ebx
je 0x402810
push str.https:__
push ebx
call esi
cmp eax, ebx
je 0x402810
push str.http
mov esi, 0x9335a0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp byte [ebp + 0xc], 0
mov eax, str.s:__
jne 0x4027ba
mov eax, 0x404566
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push eax
push esi
call edi
push 0x92e5a0
push esi
call edi
push 0x40457c
push esi
call edi
movzx eax, word [ebp + 0x10]
push eax
push 0x404580
push 0x92e4d8
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x92e4d8
push esi
call edi
cmp word [0x9385a0], 0x2f
je 0x402807
push 0x404588
push esi
call edi
push ebx
push esi
call edi
mov eax, esi
pop edi
jmp 0x402816
mov eax, ebx
jmp 0x402816
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x402876
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [edi], 0
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, eax
push ebx
push dword [ebp + 0x10]
mov byte [ebp - 1], 0
push dword [ebp + 8]
call fcn.0040281a
add esp, 0xc
test al, al
je 0x40290b
mov esi, dword [ebp + 0x10]
and dword [ebp - 8], 0
sub ebx, esi
inc ebx
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x402903
cmp dword [ebp - 8], 0
jbe 0x4028ec
push dword [ebp - 8]
call fcn.00401ae6
mov eax, dword [ebp - 8]
add dword [edi], eax
sub ebx, eax
mov eax, dword [edi]
add eax, esi
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.004020d4
add esp, 0xc
test ebx, ebx
jne 0x4028f7
mov byte [ebp - 1], 1
jmp 0x4028f7
xor eax, eax
mov byte [ebp - 1], 1
call fcn.00401b10
cmp dword [ebp - 8], 0
jbe 0x40290b
test ebx, ebx
jg 0x4028a6
jmp 0x40290b
push 4
pop eax
call fcn.00401b10
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret
Function at 0x402912
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 1
push 0x40000000
push 0x94df30
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40299f
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402994
cmp dword [ebp - 8], esi
jne 0x402994
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push edi
call esi
cmp eax, dword [ebp + 0xc]
jne 0x402994
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
push edi
call esi
push eax
push dword [ebp + 0xc]
call fcn.004020d4
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00401af6
mov byte [ebp - 1], 1
jmp 0x4029a7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 8
jmp 0x4029a1
push 0xf
pop eax
call fcn.00401b10
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4031da
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x4031a9
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x40327f
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 0x20
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor ebx, ebx
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push 0x404658
push esi
call fcn.004034b2
pop ecx
pop ecx
test eax, eax
jne 0x4032cf
push str._silent
push esi
call fcn.004034b2
pop ecx
pop ecx
test eax, eax
je 0x4032d3
mov byte [ebp - 4], 1
call fcn.00401773
test al, al
je 0x4033d5
push 0x190
mov edi, 0x40622c
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
cmp word [0x424248], bx
je 0x403304
mov esi, 0x424248
call fcn.004031f4
call fcn.004031da
call fcn.0040302d
call fcn.004030ee
push dword [ebp - 4]
mov esi, eax
push esi
call fcn.00402504
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], ebx
call fcn.00402fea
add esp, 0x10
test al, al
je 0x403368
cmp dword [ebp - 4], ebx
je 0x40334a
push dword [ebp - 4]
call fcn.00401bba
pop ecx
push 7
pop eax
call fcn.00401b10
jmp 0x4033ae
call fcn.00401dd4
test al, al
je 0x4033ae
cmp word [0x618248], bx
je 0x4033c1
mov esi, 0x618248
call fcn.004031f4
jmp 0x4033c1
cmp word [0x910248], bx
je 0x4033ae
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x910248
mov esi, 0xbedb38
push esi
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
call fcn.00401b2f
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push esi
call fcn.00401bba
add dword [0x91a268], 0x3e8
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp word [0x41a248], bx
je 0x4033c1
mov eax, 0x41a248
call fcn.00401c65
cmp word [0x41f248], bx
je 0x4033d5
push 0x41f248
call fcn.00401c29
pop ecx
call fcn.00401fdd
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403510
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
je 0x403535
cmp al, 0x20
jle 0x403547
inc esi
cmp byte [esi], 0x20
jg 0x403529
jmp 0x403547
cmp al, 0x22
je 0x403546
inc esi
mov al, byte [esi]
test al, al
jne 0x403531
cmp al, 0x22
jne 0x403547
jmp 0x403546
cmp al, 0x20
jg 0x40354d
inc esi
mov al, byte [esi]
test al, al
jne 0x403542
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004035bb
push 0x406004
push section..data
call fcn.004035a1
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40357d
movzx eax, word [ebp - 0x14]
jmp 0x403580
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.004035d3
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401140
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4019bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 8]
call sub.MFC42u.DLL_CString::CString_2
mov dword [esi], 0x4020c0
mov eax, dword [0x4031cc]
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401191
mov ecx, dword [0x4031cc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call sub.360nzp.dll_Ordinal_1
mov ecx, dword [esp + 8]
mov dword [esi + 4], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x401280
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4019f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
xor ecx, ecx
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], esi
cmp eax, ecx
jne 0x4012c4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [eax]
push ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
push ecx
mov ecx, dword [ebp + 8]
push 3
push ecx
push eax
call dword [edx + 4]
mov edi, eax
jmp 0x4012f5
test edi, edi
mov dword [ebp - 4], 0xffffffff
je 0x40132a
mov edx, dword [ebp + 8]
lea ecx, [esi + 8]
push edx
call sub.MFC42u.DLL_CString::operator
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.004014d0
mov ecx, dword [eax]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp + 8]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000177c
Capabilities:
Packed with generic packer

Disassembly:
jle 0x10000fb0
stosb byte es:[edi], al
or byte [esi + 0x32f9bf2f], ah
fstp xword [edi - 0x78dcd67c]
inc edi
xor eax, 0x35024123
and esi, dword [ebx]
mov ebp, 0xb4c260ac
sub dword [ebx], esi
mov esi, 0xd4222ff8
mov byte [ecx + 0x23], bl
into
pop es
sub bp, si
test byte [ecx], bh
and esi, dword [edx]
xchg ecx, eax
sub byte [ecx - 0x42], bl
mov ah, 0x29
xor edi, dword [ebp - 0x41acce66]
xchg esp, eax
lodsb al, byte [esi]
pushal
retf 0x29b4
sub byte [ebp + 0x68fd0011], al
inc esi
add byte [ebx], cl
add byte [eax], al
add byte [edi + 0x3f000001], bl
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [eax + 0x4004668], dh
add byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], dl
add byte [eax], bl
add byte [eax], al
stc
jmp 0x10001783
pushal
clc
jmp 0x1000179f
call 0x100017c1
jbe 0x10001750
sbb dl, byte [esi]
jmp 0x100017ac
adc eax, 0x6f782cb4
sub al, 0x7f
xchg esi, eax
or eax, 0x90c71a1
fld dword [edx + 0x17a379eb]
xchg ecx, eax
pop esi
jae 0x100017de
ret 0x16da
add esi, 0xffffff8c
jmp 0x100017f4
cmp dword [esi], 0
jmp 0x10001806
je 0x100018ed
jmp 0x10001832
mov ecx, esi
jmp 0x1000183a
add esi, 4
jmp 0x10001860
mov edx, dword [esi]
jmp 0x10001884
add edx, esi
clc
jae 0x10001898
fisubr dword [edx]
adc dword [ecx + ecx*2 + 0x4e], 0x1cc563fe
pop ss
rol dword [ecx + 0x468b4804], cl
add al, 0xeb
add eax, 0x645bb242
imul eax, dword [ecx - 0x41dcd6d6], 0xffffff84
mov eax, dword [esi + 4]
jmp 0x100018a2
sub dword [edx], 0x84be2329
jmp 0x100018ac
add edx, 4
jmp 0x100018b9
sub eax, 1
clc
jmp 0x100018c0
jne 0x1000189b
jae 0x100018ca
sahf
add esi, 8
add esi, 8
jmp 0x100018d1
sub dword [ecx], 1
clc
jmp 0x100018d8
jne 0x1000183d
jmp 0x100018e2
mov ebx, esi
jmp 0x100018e8
call fcn.100018fb
jmp 0x100018f1
popal
stc
jmp 0x100018f6
jmp section..text
Function at 0x538467
Capabilities:
Encode data using xor

Disassembly:
pushal
jmp 0x538444
add dword [edx + 0x51], edx
add byte [esi + 0x1454bfd], dl
mov al, byte [esi + 0x1454109]
mov word [esi + 0x1454b37], es
mov cs, word [esi + 0x1454b52]
push edx
push ecx
add byte [esi + 0x1454bfd], dl
add cl, dl
test ch, al
adc dword [eax + 0x6b], esp
xor dword [esi + 0x454b5c9e], ecx
add dword [eax + ebx*2 + 0x6b], edx
add dword [eax], eax
xchg esi, eax
or dword [ecx + 0x45], eax
add dword [ebx], ebp
add byte [esi + 0x1454105], dl
mov word [0x3dee8225], gs
cmp al, byte [ebp + 1]
les eax, [ecx]
ljmp 0:0xfcc8
mov dl, 0xdc
call 0x538467
jno 0x5383ed
enter 0xffffffffffffe315, 0x4e
fsub dword [eax + 0x69]
enter 0x352a, 0x27
mov ah, 0x27
fild dword [ecx + 0x1361804b]
add eax, 0x9d69be3e
int 0x57
mov edx, 0x94a36587
mov edi, 0xf35f75f
pop ebx
add edx, 0x333acfc7
mov ecx, ebx
mov ebx, 0x464b10a3
jmp 0x5384a0
mov esi, 0xff11e213
jmp 0x5384be
sub bh, 0x83
add ecx, 0x232cbe67
jmp 0x5384e8
add bl, 0x39
jmp 0x538504
xor ebx, 0xb8ba68e1
or ebp, 0xc585b793
dec byte [ecx - 0x232cbe73]
mov edi, 0x83507379
sub ecx, 1
adc edx, 0xe836a873
dec esi
mov bx, ax
mov ebp, esi
mov dl, 0x7d
cmp ebp, 0xff11ddda
jne 0x538504
xor dh, 0x39
jmp 0x538557
jmp 0x53843b

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x222a75af
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x25d154f5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4042bc
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 1
push 0x1e
mov esi, ecx
lea ecx, [ebp - 0x40]
push 0x401144
call fcn.0040facc
xor edi, edi
mov dword [ebp - 0x1c], 0x4040b8
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
push 0x25
pop eax
test esi, esi
jne 0x40430b
mov dword [ebp - 0x40], 0x80070057
mov word [ebp - 0x3a], ax
jmp 0x4043c4
push dword [esi]
mov dword [ebp - 0x40], edi
mov word [ebp - 0x3c], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404350
test al, 0x10
je 0x40432d
mov dword [ebp - 0x40], edi
push 0x2d
jmp 0x4043bf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x404346
call fcn.00410d32
push 0x37
mov dword [ebp - 0x40], eax
pop eax
jmp 0x404302
push 0x37
pop eax
mov dword [ebp - 0x40], edi
mov word [ebp - 0x3c], ax
push edi
lea eax, [ebp - 4]
push eax
push 1
push 0x4011e8
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
jne 0x40436f
call fcn.00410d32
push 0x42
jmp 0x404340
push 0x42
pop eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push dword [esi]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x10], 0xc
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4043c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0xb7]
neg ecx
sbb ecx, ecx
and ecx, eax
jle 0x4043b6
movzx ecx, cx
or ecx, 0x80070000
mov dword [ebp - 0x40], ecx
push 0x4f
test ecx, ecx
js 0x404343
pop eax
mov word [ebp - 0x3c], ax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x1c]
call fcn.00411683
lea ecx, [ebp - 0x40]
call fcn.0040fbc2
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret