joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f870
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov dword [edi + 4], ebx
call fcn.10018110
push 0x54
push edi
mov dword [esp + 0x18], eax
call fcn.100289e0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x1001f8b6
push edi
call fcn.1001a560
mov eax, dword [edi]
mov dword [eax + 0x14], 0x36
mov ecx, dword [edi]
mov dword [ecx + 0x18], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push edi
call eax
add esp, 8
mov dword [esi], fcn.1001eda0
mov dword [esi + 4], fcn.1001eed0
mov dword [esi + 8], fcn.1001ef70
mov dword [esi + 0xc], fcn.1001f020
mov dword [esi + 0x10], 0x1001f0d0
mov dword [esi + 0x14], 0x1001f140
mov dword [esi + 0x18], 0x1001f1b0
mov dword [esi + 0x1c], 0x1001f490
mov dword [esi + 0x20], 0x1001f5d0
mov dword [esi + 0x24], fcn.1001f720
mov dword [esi + 0x28], 0x1001f830
mov dword [esi + 0x30], 0x3b9aca00
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x54
push str.JPEGMEM
mov dword [edi + 4], esi
call dword [sym.imp.MSVCR90.dll_getenv]
add esp, 4
cmp eax, ebx
je 0x1001f991
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x10]
push ecx
push str._ld_c
push eax
mov byte [esp + 0x24], 0x78
call dword [sym.imp.MSVCR90.dll_sscanf]
add esp, 0x10
test eax, eax
jle 0x1001f991
mov al, byte [esp + 0x14]
cmp al, 0x6d
je 0x1001f96c
cmp al, 0x4d
jne 0x1001f984
mov eax, dword [esp + 0xc]
imul eax, eax, 0x3e8
imul eax, eax, 0x3e8
pop edi
mov dword [esi + 0x2c], eax
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
imul eax, eax, 0x3e8
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x100280b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x100280d7
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x100280e3
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0xc], ecx
jle 0x100281d9
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x18], edx
jmp 0x1002812c
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
cdq
idiv ebp
cmp dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
je 0x1002814d
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov edi, dword [edx + ecx*4]
dec ebp
mov ecx, ebp
xor eax, eax
xor ebx, ebx
call fcn.10027f20
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x10028177
inc ebx
mov ecx, ebp
mov eax, ebx
call fcn.10027f20
mov ecx, eax
cmp esi, ecx
jg 0x10028167
mov al, byte [esp + 0x1c]
imul bl
mov byte [esi + edi], al
inc esi
cmp esi, 0xff
jle 0x10028163
cmp dword [esp + 0x10], 0
je 0x100281bc
mov eax, 1
lea ecx, [edi - 1]
jmp 0x100281a0
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
inc eax
dec ecx
cmp eax, 0xff
jle 0x100281a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x18], 4
inc eax
cmp eax, dword [ecx + 0x64]
mov dword [esp + 0x14], eax
jl 0x10028120
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x1002fff0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10043890]
jne 0x1002fffa
repz ret
jmp fcn.100306aa
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..retplne
nop
mov ebx, 0x40de38
mov ecx, 0x74c8674d
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x2207418f
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
mov dword [0x403cdc], eax
lea ecx, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [ebp + 4]
mov dword [0x403b2d], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401031
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403b2d]
mov dword [ebp - 0x48], eax
mov eax, 0x40168b
mov dword [ebp - 0x54], eax
mov ecx, str.Hello
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
push ecx
push dword [0x403b2d]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.klavesn
push eax
mov eax, str.Hello
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403d28], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403d28]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4010ce
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4010c0
mov esp, ebp
ret
Function at 0x408da0
Capabilities:
Create directory

Disassembly:
push esi
push ebx
push eax
mov eax, 0x2010
call fcn.0040fc48
sub esp, eax
mov eax, dword [esp + eax]
mov esi, eax
mov eax, dword [0x42a0a0]
test eax, eax
je 0x408e58
xor ebx, ebx
test eax, eax
jg 0x408ddb
jmp 0x408e00
add ebx, 1
cmp dword [0x42a0a0], ebx
jle 0x408e00
mov eax, dword [ebx*4 + 0x4290a0]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x408dd0
mov eax, 1
add esp, 0x2014
pop ebx
pop esi
ret
mov dword [esp], esi
call sub.msvcrt.dll_wcslen
cmp eax, 2
jne 0x408e14
cmp word [esi + 2], 0x3a
je 0x408df2
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
sub esp, 8
test eax, eax
je 0x408ea0
mov ebx, dword [0x42a0a0]
cmp ebx, 0x3ff
jg 0x408df2
mov dword [esp], esi
call sub.msvcrt.dll__wcsdup
add dword [0x42a0a0], 1
mov dword [ebx*4 + 0x4290a0], eax
jmp 0x408df2
mov ecx, 0x1000
mov edx, str._HOME_
lea eax, [esp + 0x10]
call fcn.004086e0
test al, al
je 0x408eb8
lea eax, [esp + 0x10]
mov ebx, dword [0x42a0a0]
mov dword [esp], eax
call sub.msvcrt.dll__wcsdup
mov dword [ebx*4 + 0x4290a0], eax
mov eax, dword [0x42a0a0]
add eax, 1
mov dword [0x42a0a0], eax
jmp 0x408dc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x408e2c
xor eax, eax
jmp 0x408df7
mov eax, str._HOME_
call fcn.00408d70
lea esi, [esi]
lea esi, [esi]

Function at 0x409050
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [0x41c044]
test eax, eax
je 0x409089
mov dword [esp + 4], 0x1388
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
jne 0x4090a0
mov eax, dword [0x41c044]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
cmp byte [0x427080], 0
jne 0x4090c0
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x41c044]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
sub esp, 8
jmp 0x409078
mov edx, 0x414
lea edi, [esp + 0x12]
mov dword [esp + 0x12], 0
mov esi, dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [esp + 0x16], 3
mov ebx, 0x14
mov dword [esp + 0x1a], 0x4270a0
mov dword [esp + 0x1e], 0x41714e
mov word [esp + 0x22], dx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x41714e
mov dword [esp], edi
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
jmp 0x409193
test al, 0x10
je 0x409092
mov dword [esp], 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0x414
sub esp, 4
mov dword [esp + 0x12], 0
mov dword [esp + 0x16], 3
mov dword [esp + 0x1a], 0x4270a0
mov dword [esp + 0x1e], 0x41714e
mov word [esp + 0x22], ax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x41714e
mov dword [esp], edi
call esi
sub esp, 4
sub ebx, 1
je 0x409092
mov dword [esp], 0x4270a0
call ebp
sub esp, 4
cmp eax, 0xffffffff
jne 0x409128
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40e800
Capabilities:
Accept command line arguments
Create process on windows
Extract resource via kernel32 functions
Set environment variable
Write and execute a file
Write file on windows

Disassembly:
push esi
mov ecx, 0x1000
mov edx, str._TEMP_onefile__PID___TIME_
mov eax, 0x4270a0
push ebx
sub esp, 0x14
call fcn.004086e0
test al, al
je 0x40ea18
mov dword [esp + 4], 1
mov dword [esp], 0x4091b0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
sub esp, 8
test eax, eax
je 0x40ea2c
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0x1b
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
sub esp, 0xc
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
sub esp, 4
lea ecx, [eax + 3]
cmp byte [eax + 1], 0x41
mov dword [0x427060], eax
movzx edx, byte [eax]
movzx ebx, byte [eax + 2]
mov dword [0x427084], ecx
jne 0x40ea22
cmp dl, 0x4b
jne 0x40ea22
cmp bl, 0x59
jne 0x40ea22
mov dword [esp], 0x20000
mov dword [0x427074], 0
call sub.msvcrt.dll_malloc
mov dword [0x427068], eax
test eax, eax
je 0x40ea0a
mov dword [esp], 0x27420
call sub.msvcrt.dll_malloc
mov esi, eax
test eax, eax
je 0x40ea00
mov dword [eax + 0x736c], 0
mov dword [eax + 0x7370], 0
mov dword [eax + 0x7374], 0
mov dword [eax + 0x7380], 0
mov dword [eax + 0x738c], 0
mov dword [eax + 0x7388], 0
mov dword [eax + 0x72b8], 0
mov dword [eax + 0x7394], 0
mov dword [eax + 0x7398], 0
mov dword [eax + 0x73a0], 0
mov dword [eax + 0x73a4], 0
mov dword [eax + 0x73b4], 0
mov dword [eax + 0x739c], 0
mov dword [eax + 0x73c4], 0
mov dword [eax + 0x73c8], 0
mov dword [eax + 0x73d4], 0
mov dword [eax + 0x2741c], 0
xor eax, eax
cpuid
xor ecx, ecx
cmp eax, 6
jbe 0x40e9af
mov eax, 7
cpuid
shr ebx, 8
mov ecx, ebx
and ecx, 1
mov dword [esi + 0x7384], ecx
mov dword [esi + 0x735c], 0
mov dword [esi + 0x73ac], 0x8000001
mov dword [esi + 0x73d8], 0
mov dword [esi + 0x7360], 0
mov dword [esi + 0x7364], 1
mov dword [0x427064], esi
mov byte [0x427080], 1
add esp, 0x14
pop ebx
pop esi
jmp fcn.0040dec0
mov dword [0x427064], 0
mov eax, str.Error__couldnt_allocate_memory.
call fcn.00408d40
lea esi, [esi]
mov eax, str._TEMP_onefile__PID___TIME_
call fcn.00408d70
mov eax, str.Error__could_find_attached_data_header.
call fcn.00408d40
mov eax, str.Error__failed_to_register_signal_handler.
call fcn.00408d40
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 8
jmp 0x40ea5e
mov eax, dword [0x416008]
mov eax, dword [eax]
call eax
mov eax, dword [0x416008]
add eax, 4
mov dword [0x416008], eax
mov eax, dword [0x416008]
mov eax, dword [eax]
test eax, eax
jne 0x40ea48
nop
nop
leave
ret
Function at 0x40ec98
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.00415124
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.00415124
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x40f86c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40f88b
mov eax, 0
jmp 0x40f8cf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40f8ae
mov eax, 0
jmp 0x40f8cf
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x40f8ca
mov eax, 0
jmp 0x40f8cf
mov eax, 1
leave
ret

Function at 0x40f8d1
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x40f930
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x40f928
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x40f928
mov eax, dword [ebp - 4]
jmp 0x40f944
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x40f905
mov eax, 0
leave
ret
Function at 0x44cd40
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453310
push 0x44f060
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x45a0e0], eax
xor eax, eax
mov al, byte [0x45a0e1]
mov dword [0x45a0ec], eax
mov eax, dword [0x45a0e0]
shr dword [0x45a0e0], 0x10
and eax, 0xff
mov dword [0x45a0e8], eax
shl eax, 8
add eax, dword [0x45a0ec]
mov dword [0x45a0e4], eax
call fcn.0044d770
test eax, eax
jne 0x44cdb4
push 0x1c
call fcn.00602000
add esp, 4
mov dword [ebp - 4], 0
call fcn.0044ee80
call fcn.0044ee70
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4656c4], eax
call fcn.0044ea20
mov dword [0x4594d0], eax
test eax, eax
je 0x44cde7
cmp dword [0x4656c4], 0
jne 0x44cdf1
push 0xffffffffffffffff
call fcn.0044e630
add esp, 4
call fcn.00412640
call fcn.0044e930
call fcn.0044e600
mov esi, dword [0x4656c4]
mov al, byte [esi]
cmp al, 0x22
je 0x44ce18
cmp al, 0x20
jbe 0x44ce45
inc esi
cmp byte [esi], 0x20
ja 0x44ce10
jmp 0x44ce45
inc esi
cmp byte [esi], 0x22
je 0x44ce44
mov bl, byte [ebp - 0x28]
mov bl, byte [esi]
test bl, bl
je 0x44ce3f
xor eax, eax
mov al, bl
push eax
call fcn.0044e8d0
add esp, 4
test eax, eax
je 0x44ce39
inc esi
inc esi
cmp byte [esi], 0x22
jne 0x44ce21
cmp byte [esi], 0x22
jne 0x44ce45
inc esi
cmp byte [esi], 0
je 0x44ce55
cmp byte [esi], 0x20
ja 0x44ce55
inc esi
cmp byte [esi], 0
jne 0x44ce4a
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x44], 1
mov eax, 0xa
je 0x44ce79
mov eax, dword [ebp - 0x40]
and eax, 0xffff
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.0044e630
jmp 0x44ceba
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44e670
Capabilities:
Terminate process

Disassembly:
cmp dword [0x45a11c], 1
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
jne 0x44e68e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x45a118], 1
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
mov byte [0x45a114], bl
jne 0x44e6e8
cmp dword [0x4656b8], 0
je 0x44e6d6
mov edi, dword [0x4656b4]
sub edi, 4
cmp edi, dword [0x4656b8]
jb 0x44e6d6
mov eax, dword [edi]
test eax, eax
je 0x44e6cb
call eax
sub edi, 4
cmp edi, dword [0x4656b8]
jae 0x44e6c3
push 0x45401c
push 0x454014
call fcn.0044e720
add esp, 8
push 0x454024
push 0x454020
call fcn.0044e720
add esp, 8
test ebx, ebx
jne 0x44e70f
mov dword [0x45a11c], 1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
pop ebx
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x758200d2
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x61037a0e
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x3a074aa2
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0xcc974db
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x13183354
Capabilities:
Encode data using xor

Disassembly:
push ebx
lea edi, [ebx + 0x401fe0]
mov esi, edi
mov ebp, eax
mov edx, dword [ebp + 0x3c]
mov edx, dword [edx + ebp + 0x78]
lea ebx, [edx + ebp + 0x1c]
push dword [ebx + 4]
add dword [esp], ebp
xor ecx, ecx
dec ecx
xchg dword [esp], esi
xor edx, edx
lodsd eax, dword [esi]
add eax, ebp
rol edx, 3
xor dl, byte [eax]
inc eax
cmp byte [eax], 0
jne 0x1318337b
inc ecx
xchg dword [esp], esi
cmp dword [esi], edx
jne 0x13183373
mov eax, dword [ebx + 8]
add eax, ebp
movzx eax, word [eax + ecx*2]
shl eax, 2
add eax, dword [ebx]
add eax, ebp
mov eax, dword [eax]
add eax, ebp
stosd dword es:[edi], eax
lodsd eax, dword [esi]
or dword [esi], 0
jne 0x13183373
pop eax
pop ebx
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x68fe1876
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xb62694b
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40309b
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 0xc
call fcn.004a9738
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 0x80000301
push 0
push 0xb
push 1
mov ebx, 0x1c
mov eax, 0x4b2580
call fcn.004aa230
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.004aabc0
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040150f
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40314c
push ebx
call fcn.004a973e
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40315c
push ebx
call fcn.004a973e
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403170
push ebx
call fcn.004a973e
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4031a3
push 0x6f
push 0x40212ac
push 6
call fcn.004a9744
add esp, 0xc
push 0x4bb4cb
push dword [ebp - 4]
mov ecx, 2
call fcn.0040150f
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 8]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4031ea
push 0xa2
push 0x40212ac
push 6
call fcn.004a9744
add esp, 0xc
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4031fa
push ebx
call fcn.004a973e
add esp, 4
push str.....TemporaryFile
push dword [ebp - 4]
mov ecx, 2
call fcn.0040150f
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x403243
push 0xe9
push 0x40212ac
push 6
call fcn.004a9744
add esp, 0xc
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x403253
push ebx
call fcn.004a973e
add esp, 4
push 0x4bb4cb
push dword [ebp - 4]
mov ecx, 2
call fcn.0040150f
add esp, 8
mov dword [ebp - 0xc], eax
push str.TemporaryFile
push dword [ebp - 4]
mov ecx, 2
call fcn.0040150f
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4032b2
push 0x155
push 0x40212ac
push 6
call fcn.004a9744
add esp, 0xc
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4032c2
push ebx
call fcn.004a973e
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4032d2
push ebx
call fcn.004a973e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4032e5
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x238
call fcn.004ab0b0
add esp, 0x10
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403308
push ebx
call fcn.004a973e
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.004a973e
add esp, 4
mov esp, ebp
pop ebp
ret 4