joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002150
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x10014004]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x104
lea eax, [esp + 4]
push 0
push eax
call fcn.1000a3d0
add esp, 0xc
lea ecx, [esp]
push ecx
push 1
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x100021a5
xor eax, eax
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10005252
add esp, 0x108
ret
push esi
push edi
lea edi, [esp + 8]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100021b0
mov dx, word [0x100122c0]
lea eax, [esp + 8]
mov word [edi], dx
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x100021c7
mov ecx, dword [str.Maybach]
mov edx, dword [0x100123bc]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100021fb
push eax
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, 0x41
lea esi, [esp + 8]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.10005252
add esp, 0x108
ret

Function at 0x100022a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x10014004]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x208
lea eax, [esp + 4]
push 0
push eax
call fcn.1000a3d0
add esp, 0xc
lea eax, [esp]
call fcn.10002230
lea ecx, [esp]
push ecx
push 0x104
push ebx
push edi
push esi
push 0x100122ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.10005252
add esp, 0x20c
ret

Function at 0x10002300
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x20c
mov eax, dword [0x10014004]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.1000a3d0
mov edx, dword [esp + 0x224]
add esp, 0xc
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000238c
push 0x104
lea eax, [esp + 0xc]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x41
lea esi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.10005252
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.10005252
add esp, 0x20c
ret

Function at 0x10002440
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x10014004]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x208
lea eax, [esp + 4]
push 0
push eax
call fcn.1000a3d0
add esp, 0xc
lea eax, [esp]
call fcn.10002230
mov edx, dword [esp + 0x210]
lea ecx, [esp]
push ecx
push edx
push esi
push 0x100122ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.10005252
add esp, 0x20c
ret
Function at 0x10002610
Capabilities:
Download url
Receive data

Disassembly:
sub esp, 0x414
mov eax, dword [0x10014004]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push ebp
push edi
push 0x208
lea eax, [esp + 0x10]
push 0
push eax
call fcn.1000a3d0
push 0x23
mov ecx, 0x100122c4
lea ebx, [esp + 0x1c]
call fcn.10002050
mov eax, ebx
add esp, 0x10
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10002650
mov ecx, dword [0x100122d4]
mov edx, dword [0x100122d8]
mov dword [eax], ecx
mov ecx, dword [0x100122dc]
mov dword [eax + 4], edx
mov edx, dword [0x100122e0]
mov dword [eax + 8], ecx
mov ecx, dword [0x100122e4]
mov dword [eax + 0xc], edx
mov edx, dword [0x100122e8]
mov dword [eax + 0x10], ecx
push esi
mov dword [eax + 0x14], edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
jmp 0x100026b0
push 0x208
lea eax, [esp + 0x218]
push 0
push eax
call fcn.1000a3d0
lea ecx, [esp + 0x18]
push ecx
push esi
lea edx, [esp + 0x228]
push 0x10012324
push edx
call ebx
add esp, 0x1c
push 0
push 0
lea eax, [esp + 0x14]
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
je 0x10002718
push 0x2710
call ebp
inc edi
cmp edi, 0x3c
jl 0x100026b0
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.10005252
add esp, 0x414
ret
mov ecx, dword [esp + 0x41c]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10005252
add esp, 0x414
ret

Function at 0x100027f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x10014004]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
lea ebx, [esp + 4]
call fcn.10002150
pop ebx
test eax, eax
je 0x10002839
lea eax, [esp]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10002817
mov ecx, dword [str.config.ini]
mov edx, dword [0x100123b0]
mov dword [eax], ecx
mov ecx, dword [0x100123b4]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea edx, [esp]
push edx
push 0x104
push edi
push 0
push esi
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10005252
add esp, 0x108
ret
Function at 0x10004b60
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
movzx edx, word [ecx + 0x14]
lea eax, [edx + ecx + 0x18]
push ebp
xor edx, edx
xor ebp, ebp
cmp dx, word [ecx + 6]
jae 0x10004c03
push esi
push ebx
lea esi, [eax + 0x24]
push edi
mov eax, dword [esi]
test eax, 0x2000000
jne 0x10004bee
mov edx, eax
shr edx, 0x1d
mov edi, eax
shr edi, 0x1e
and edi, 1
and edx, 1
lea edx, [edi + edx*2]
mov edi, eax
shr edi, 0x1f
lea edx, [edi + edx*2]
mov ebx, dword [edx*4 + 0x10015230]
test eax, 0x4000000
je 0x10004bbc
or ebx, 0x200
mov edi, dword [esi - 0x14]
mov edx, edi
test edx, edx
jne 0x10004bd7
test al, 0x40
je 0x10004bce
mov edx, dword [ecx + 0x20]
jmp 0x10004bd5
test al, al
jns 0x10004bee
mov edx, dword [ecx + 0x24]
test edx, edx
jbe 0x10004bee
mov ecx, dword [esi - 0x1c]
lea eax, [esp + 0x10]
push eax
push ebx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10004c00
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
movzx eax, word [ecx + 6]
inc ebp
add esi, 0x28
cmp ebp, eax
jl 0x10004b84
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret

Function at 0x10004c10
Capabilities:
Enumerate pe sections

Disassembly:
movzx eax, word [ebx + 0x14]
push ebp
xor ecx, ecx
xor ebp, ebp
push esi
lea esi, [eax + ebx + 0x18]
cmp cx, word [ebx + 6]
jae 0x10004c77
add esi, 0x10
push edi
mov eax, dword [esi]
test eax, eax
jne 0x10004c4e
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x38]
test ecx, ecx
jle 0x10004c6a
mov eax, dword [esi - 4]
add eax, dword [esp + 0x14]
push ecx
push 0
push eax
mov dword [esi - 8], eax
call fcn.1000a3d0
jmp 0x10004c67
mov edi, dword [esi - 4]
add edi, dword [esp + 0x14]
push eax
mov eax, dword [esi + 4]
add eax, dword [esp + 0x14]
push eax
push edi
call fcn.1000b5c0
mov dword [esi - 8], edi
add esp, 0xc
movzx ecx, word [ebx + 6]
inc ebp
add esi, 0x28
cmp ebp, ecx
jl 0x10004c28
pop edi
pop esi
pop ebp
ret
Function at 0x10004d10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x10004d34
xor eax, eax
jmp 0x10004ec4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0x4550
je 0x10004d52
xor eax, eax
jmp 0x10004ec4
push 4
push 0x1000
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10004d8f
push 4
push 0x1000
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x50]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10004d9c
xor eax, eax
jmp 0x10004ec4
mov edi, 0x14
call fcn.100048c0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x20]
add ecx, dword [edx + 0x54]
push ecx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.1000b5c0
add esp, 0xc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x34], ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov ebx, dword [edx]
call fcn.10004c10
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
je 0x10004e4a
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ecx + 4]
call fcn.10004c80
add esp, 4
mov edx, dword [ebp - 0x18]
push edx
call fcn.10004a30
add esp, 4
test eax, eax
jne 0x10004e5e
jmp 0x10004eba
mov eax, dword [ebp - 0x18]
push eax
call fcn.10004b60
add esp, 4
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x10004eb5
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
cmp dword [eax + 0x28], 0
je 0x10004eb5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x28]
mov dword [ebp - 0x14], eax
jne 0x10004e91
jmp 0x10004eba
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
call dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10004eab
jmp 0x10004eba
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 0x18]
jmp 0x10004ec4
mov esi, dword [ebp - 0x18]
call fcn.10004990
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005252
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10014004]
jne 0x1000525c
repz ret
jmp fcn.100056d9

Function at 0x10008a28
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10006ef0
and dword [ebp - 4], 0
cmp dword [0x10015ba0], 0
mov ebx, eax
jne 0x10008ad9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10008b8a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10008b8a
push eax
call fcn.10006e7e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10015ba0], eax
call esi
push eax
call fcn.10006e7e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10015ba4], eax
call esi
push eax
call fcn.10006e7e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10015ba8], eax
call esi
push eax
call fcn.10006e7e
pop ecx
mov dword [0x10015bb0], eax
test eax, eax
je 0x10008ad9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10006e7e
pop ecx
mov dword [0x10015bac], eax
mov eax, dword [0x10015bac]
cmp eax, ebx
je 0x10008b31
cmp dword [0x10015bb0], ebx
je 0x10008b31
push eax
call fcn.10006ef9
push dword [0x10015bb0]
mov esi, eax
call fcn.10006ef9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10008b31
test edi, edi
je 0x10008b31
call esi
test eax, eax
je 0x10008b28
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10008b28
test byte [ebp - 0xc], 1
jne 0x10008b31
or dword [ebp + 0x10], 0x200000
jmp 0x10008b6a
mov eax, dword [0x10015ba4]
cmp eax, ebx
je 0x10008b6a
push eax
call fcn.10006ef9
pop ecx
test eax, eax
je 0x10008b6a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10008b6a
mov eax, dword [0x10015ba8]
cmp eax, ebx
je 0x10008b6a
push eax
call fcn.10006ef9
pop ecx
test eax, eax
je 0x10008b6a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10015ba0]
call fcn.10006ef9
pop ecx
test eax, eax
je 0x10008b8a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10008b8c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5093c0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov ebx, 4
lea eax, [edi + ecx]
sub esi, ecx
lea edx, [ebp + edx - 0x14]
add edi, ebx
mov cl, byte [esi + eax]
mov byte [edx], cl
mov byte [eax], cl
add edx, 4
inc eax
dec ebx
jne 0x5093e7
mov eax, dword [ebp - 4]
inc eax
cmp eax, 4
mov dword [ebp - 4], eax
jl 0x5093ce
cmp edi, 0xb0
jge 0x5094a7
mov esi, 0x45ee90
jmp 0x509417
mov esi, dword [ebp + 0xc]
xor eax, eax
lea ecx, [ebp - 0x14]
inc eax
mov edx, eax
and edx, 0x80000003
jns 0x50942c
dec edx
or edx, 0xfffffffc
inc edx
xor ebx, ebx
add ecx, 4
mov bl, byte [ebp + edx*4 - 0x11]
mov dl, byte [ebx + 0x45ec90]
mov bl, byte [ecx - 4]
xor bl, dl
cmp eax, 4
mov byte [ecx - 4], bl
jl 0x50941c
mov al, byte [esi]
mov cl, byte [ebp - 0x14]
xor cl, al
add esi, 4
mov dword [ebp + 0xc], esi
mov byte [ebp - 0x14], cl
mov esi, 1
lea eax, [ebp + esi - 0x14]
mov ecx, 4
mov dl, byte [eax - 1]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
add eax, 4
dec ecx
jne 0x509466
inc esi
cmp esi, 4
jl 0x50945d
xor esi, esi
lea eax, [ebp + esi - 0x14]
mov ecx, 4
mov ebx, dword [ebp + 8]
mov dl, byte [eax]
add eax, 4
mov byte [edi + ebx], dl
inc edi
dec ecx
jne 0x509486
inc esi
cmp esi, 4
jl 0x50947d
cmp edi, 0xb0
jl 0x509414
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x509950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x10]
push esi
cmp ebx, 0x10
push edi
jae 0x5099b2
mov al, bl
lea edx, [ebp - 0x10]
mov cl, al
push edx
mov ch, cl
mov eax, ecx
shl eax, 0x10
mov ax, cx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.005094b0
add esp, 8
test ebx, ebx
jbe 0x509a05
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
sub ecx, edx
mov esi, ebx
lea eax, [edx + ebx]
mov dl, byte [ecx + eax - 1]
mov bl, byte [eax - 1]
dec eax
xor bl, dl
dec esi
mov byte [eax], bl
jne 0x50999c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebx - 4]
xor edx, edx
mov ecx, 0xc
mov edi, dword [ebp + 8]
div ecx
mov esi, edx
test esi, esi
jle 0x5099da
mov edx, dword [ebp + 0xc]
lea eax, [edx + ebx - 0x10]
push eax
push edi
call fcn.005096c0
add esp, 8
sub ebx, esi
cmp ebx, 0x10
jb 0x509a05
mov ecx, dword [ebp + 0xc]
mov eax, 0xaaaaaaab
lea esi, [ecx + ebx - 0x10]
add ebx, 0xfffffffc
mul ebx
mov ebx, edx
shr ebx, 3
push esi
push edi
call fcn.005096c0
add esp, 8
sub esi, 0xc
dec ebx
jne 0x5099f5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x509a10
Capabilities:
Check for peb beingdebugged flag
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
call dword [0x510f04]
cmp eax, 1
jne 0x509a34
push 0
call dword [fcn.00510f08]
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
test al, al
je 0x509a4f
push 0
call dword [fcn.00510f08]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x68]
mov dword [ebp - 8], eax
test byte [ebp - 8], 0x70
je 0x509a69
push 0
call dword [fcn.00510f08]
mov esp, ebp
pop ebp
ret

Function at 0x509a70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea eax, [0x509ab2]
lea ecx, [0x509aba]
sub ecx, eax
mov dword [ebp - 4], ecx
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x509ad6
mov edi, dword [ebp + 8]
lea esi, [0x509ab2]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
jmp 0x509ad1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x509ae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 0x65
mov al, 0x6d
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
mov byte [ebp - 4], al
mov cl, 0x6a
mov al, 0x66
push esi
mov dl, 0x75
push edi
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x16], al
mov byte [ebp - 0x13], al
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xb], dl
mov byte [ebp - 0x17], dl
lea edi, [ebp - 0xc]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 7], 0x2f
mov byte [ebp - 3], 0
xor edx, edx
mov byte [ebp - 0x20], 0x45
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 0x1f], 0x63
mov byte [ebp - 0x1e], 0x68
mov byte [ebp - 0x1d], 0x56
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x70
mov byte [ebp - 0x15], 0x43
mov byte [ebp - 0x14], 0x73
mov byte [ebp - 0x12], 0x62
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0
je 0x509b86
mov cl, byte [ebp + edx - 0xc]
lea edi, [ebp - 0xc]
dec cl
xor eax, eax
mov byte [ebp + edx - 0xc], cl
or ecx, 0xffffffff
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x509b6a
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x509b9c
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edi, [ebp - 0x20]
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x509bc9
mov al, byte [ebp + edx - 0x20]
lea edi, [ebp - 0x20]
dec al
or ecx, 0xffffffff
mov byte [ebp + edx - 0x20], al
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x509bad
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x509be1
push eax
call fcn.00509a70
add esp, 4
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ed0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5e5e69b2
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
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
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x26b06ee1
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x13d7fde
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, [ebx*4]
jmp 0x13d7fa2

Function at 0x13df6a4
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ebx, edi
bswap ecx
mov cx, word [esp]
dec dl
jmp fcn.013df6c4
btr ecx, esp
mov cx, 0x5c84
lea ecx, reloc.iphlpapi.dll_GetAdaptersInfo
lea ecx, [esi + 0x2a]
jmp 0x13ec651
sub esp, 0x1c
mov ah, 0x83
pop dword [esp]
mov dword [esp + 0xd], edx
mov dx, si
jmp 0x13ec85c
xchg dword [esp], esi
push ebx
mov ecx, 0x9b3b751c
xchg cl, al
sub eax, 0x9b6b930b
lea esi, [esi + 0x3d]
jmp 0x13ec63b
xchg dword [esp + 0x1c], esi
call fcn.013ec758
xchg ecx, edx
xor ecx, 0xe7703d05
jl 0x13ec936
jge 0x13ec8d4
salc
inc ecx
ret
mov ax, 0x5811
call fcn.013ec8b4
ljmp 0x581f
sub esp, 0x16
lea esp, [esp + 2]
mov dword [esp + 0x28], esi
mov ax, word [esp]
lea esp, [esp + 0x14]
popal
jmp 0x13ed178
mov ax, 0x5811
pushal
lea edi, [ebx - 0x13]
xchg ebx, ecx
bsr bx, di
jmp 0x13ec960
mov dword [esp + 0x28], esi
mov ax, word [esp]
lea esp, [esp + 0x14]
jmp 0x13ec92f
jo 0x13ec91c
sub esp, 0x16
lea esp, [esp + 2]
jmp 0x13ec946
lea edx, [esp + ebp]
mov cx, word [esp]
jmp 0x13ec9b7
mov edi, dword [ebp]
lea eax, [eax*4]
mov dx, word [esp]
lea edx, [ebx + ebp]
lea ecx, [eax + edx]
jmp 0x13ec9e8
add esi, 4
call fcn.013ec999
and cl, al
jb 0x13ec9aa
lea edx, [esp + ebp]
mov cx, word [esp]
jmp 0x13ec9b7
add ebp, 4
lea edx, [ebx*4]
stc
jns 0x13eca0c
js 0x13eca14
out 0x6a, eax
clc
lahf
push 0xffffffffffffffd8
or esp, dword [edx - reloc.iphlpapi.dll_GetAdaptersInfo]
sub al, 0x66
xchg edx, eax
mov edx, 0x2c801c07
xchg dx, ax
lea esp, [esp + 2]
jmp 0x13eca39
neg edx
jmp 0x13df6a4
neg edx
jmp 0x13df6a4
mov dl, 0x1a
mov edx, 0x2c801c07
xchg dx, ax
lea esp, [esp + 2]
jmp 0x13ec9d3
mov edi, dword [edx]
sub esp, 0xa
jno 0x13eca2c
mov dl, 0x1a
jmp 0x13ec9ff

Function at 0x14cd129
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.014cc080
mov dword [esp + 0x1c], ebx
jmp 0x14cd133
mov dword [esp + 0x18], esp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], esi
pushfd
mov word [esp], bx
mov byte [esp + 2], al
jmp 0x14cd18a
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x14cd19d
mov dword [esp + 0x10], edi
lea esp, [esp + 0x10]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x14cd16c
push eax
jmp 0x14cc07b