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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x10016018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.1000cac0
mov ecx, dword [0x1001ae98]
lea eax, [ebp - 0xcc]
push eax
push 0x1e
push 0x10019018
push ecx
mov dword [ebp - 0xcc], 0x1e
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp + 8]
mov byte [edx + 0x10019018], 0
mov ecx, 0x10019018
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000ce25
test dl, dl
je 0x1000ce21
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000ce25
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000ce05
xor eax, eax
jmp 0x1000ce2a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000ce57
mov eax, dword [0x1001ae98]
push eax
mov byte [0x1001b146], 1
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
mov al, byte [0x1001b146]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000eefe
mov esp, ebp
pop ebp
ret
mov edi, 0x5604e54e
lea esi, [ebp - 0x10]
call fcn.1000e160
mov edi, 0x2c2b99fb
lea esi, [ebp - 0xc8]
mov ebx, eax
call fcn.1000e120
push 0x10
push ebx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.MSVCR100.dll_exit]
int3

Function at 0x1000ce90
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x10016018]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
push 0x1001a618
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x160]
push ecx
mov bl, 0x73
mov dword [esp + 0x1c], 0x2a5c7325
mov word [esp + 0x20], 0x2a2e
mov byte [esp + 0x22], 0
call edi
add esp, 0xc
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea ecx, [esp + 0x44]
push ecx
push 0x1001a618
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x164]
push eax
mov byte [esp + 0x20], 0x25
mov byte [esp + 0x21], bl
mov word [esp + 0x22], 0x255c
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 0
call edi
add esp, 0x10
xor eax, eax
lea ecx, [esp + 0x158]
push ecx
mov dword [esp + 0x14], eax
mov word [esp + 0x18], ax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000cef5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000eefe
mov esp, ebp
pop ebp
ret
Function at 0x1000d0e0
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x1000d1b7
mov eax, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0x1001a618
push 0x104
mov dword [0x1001b2ec], 0x10013e60
mov dword [0x1001b2c0], 0x10013e70
mov dword [0x1001b2f4], 0x10013e80
mov dword [0x1001b180], 0x10013e90
mov dword [0x1001b284], 0x10013ea0
mov dword [0x1001b16c], 0x10013eac
mov dword [0x1001b2e8], 0x10013ec0
mov dword [0x1001b274], 0x10013ed0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call fcn.1000ce90
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10007630
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10009880
push 0
push 0
call esi
call fcn.1000cff0
pop esi
test al, al
je 0x1000d1b7
mov eax, dword [0x1001b2f4]
call fcn.1000cf70
mov eax, dword [0x1001b2c0]
call fcn.1000cf70
mov eax, dword [0x1001b284]
call fcn.1000cf70
mov eax, dword [0x1001b180]
call fcn.1000cf70
mov eax, 1
pop ebp
ret 0xc

Function at 0x1000e000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x50
xor ecx, ecx
jmp 0x1000e010
mov al, byte [edi + ecx + 0x2b9e1f4b]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1000e02d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1000e010
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1000ee50
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000faf8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10016018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x1000eeb2
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.1000ec10
mov ecx, esi
call fcn.1000ecc0
mov eax, esi
push eax
mov ecx, edi
call fcn.1000eda0
cmp dword [ebp + 0x1c], 0x10
jb 0x1000eee2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000eefe
mov esp, ebp
pop ebp
ret

Function at 0x1000eefe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10016018]
jne 0x1000ef08
repz ret
jmp fcn.1000f3b5
Function at 0x48ceec
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
push 5
lea eax, [esp + 4]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
sete al
test al, al
je 0x48cf1a
mov eax, ebx
mov edx, esp
call fcn.00405728
jmp 0x48cf26
mov eax, ebx
mov edx, 0x48cf34
call fcn.00405584
pop ecx
pop edx
pop ebx
ret

Function at 0x48d6a4
Capabilities:
Identify system language via api

Disassembly:
push ebx
add esp, 0xffffff98
mov ebx, eax
call sub.kernel32.dll_GetUserDefaultLangID
push 0x64
lea edx, [esp + 4]
push edx
movzx eax, ax
push eax
call sub.kernel32.dll_VerLanguageNameA
mov eax, ebx
mov edx, esp
mov ecx, 0x65
call fcn.004057a0
add esp, 0x68
pop ebx
ret

Function at 0x48dd0c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48ddad
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48dd80
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 0x20
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x48ddc4
call fcn.0040af98
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov ecx, 0x48ddd0
call fcn.00405864
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48dd97
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ddb4
lea eax, [ebp - 0x28]
call fcn.00405530
ret

Function at 0x48dde0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x48de71
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0xa
push ebx
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
push 0
call sub.kernel32.dll_FindResourceA
mov ebx, eax
push ebx
push 0
call sub.kernel32.dll_LoadResource
mov esi, eax
push ebx
push 0
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push esi
call sub.kernel32.dll_LockResource
lea edx, [ebp - 8]
mov ecx, ebx
xchg edx, eax
call fcn.00405620
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.00405584
push esi
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48de78
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
push ecx
sbb dl, byte [ebp + 0x21430109]
mov es, word [edx + edx*4]
sbb byte [edi], bl
invalid
Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x408933
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
call fcn.00408952
sub esi, 0x4c7be39
xor dword [eax], edx
dec esi
inc eax
cmp eax, edi
jne fcn.00408933
push 0x38d137dd
pop ebx
ret
Function at 0x40a87f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a8be
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a8be
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a8be
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a8be
cmp dword [ecx + 0x74], 0xe
jbe 0x40a8be
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40f269
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x417080]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40f2b4
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040f486
test al, al
jne 0x40f2ae
sub edx, 2
cmp edx, edi
jne 0x40f294
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40f2d6
lea eax, [edi + 2]
cmp edx, eax
je 0x40f2d6
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040f1b5
add esp, 0x10
jmp 0x40f3d0
push esi
lea ecx, [ebp - 0x255]
call fcn.0040f486
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f319
push dword [ebp - 0x25c]
jmp 0x40f2c6
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40f356
cmp word [ebp - 0x226], 0
je 0x40f377
cmp word [ebp - 0x226], ax
jne 0x40f356
cmp word [ebp - 0x224], 0
je 0x40f377
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040f1b5
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40f3c3
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40f330
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40f3ab
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40f3d0
push 0x40efe5
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00412030
add esp, 0x10
jmp 0x40f3a0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040abb5
leave
ret

Function at 0x410f03
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x402fd4
push 0x402fcc
push 0x401bfc
push 0x1f
call fcn.00410e3e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410f37
push dword [ebp + 8]
mov ecx, esi
call dword [0x419114]
call esi
jmp 0x410f3d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x410f81
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x402fe4
push 0x402fdc
push 0x401c20
push 0x21
call fcn.00410e3e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410fb8
push dword [ebp + 8]
mov ecx, esi
call dword [0x419114]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x410fc2
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x402fec
push 0x402fe4
push 0x401c34
push 0x22
call fcn.00410e3e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410ffc
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x419114]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x415d50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x415d7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x415d7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40701c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x407028
push 0x407024
push 0x407020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x407028]
push dword [0x407024]
push dword [0x407020]
mov dword [0x407014], esp
call fcn.00401537
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x4019de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov ebx, esi
add ebx, 0xc8
mov edi, dword [ebp + 0xc]
mov ecx, esi
mov eax, edi
shl eax, cl
cdq
idiv ebx
mov dword [ebp - 8], eax
and dword [ebp - 4], 0
jmp 0x401a7c
and dword [ebp - 0xc], 0
and dword [ebp - 0x10], 0
jmp 0x401a17
add dword [ebp - 0xc], ebx
inc dword [ebp - 0x10]
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x10], eax
jl 0x401a11
mov ecx, dword [ebp - 8]
cmp eax, ecx
jne 0x401a30
mov eax, dword [ebp + 0xc]
add eax, esi
mov ebx, eax
sub ebx, dword [ebp - 0xc]
or ebx, ebx
je 0x401a8d
and dword [ebp - 0x14], 0
push ebx
push dword [ebp - 0xc]
push esi
call fcn.0040198a
mov dword [ebp - 0x18], eax
push ebx
push dword [ebp - 0xc]
push esi
call fcn.0040198a
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
or edx, esi
add edx, eax
push edx
mov edx, dword [ebp - 0x18]
xor edx, esi
add edx, eax
push edx
call fcn.00401970
add esp, 0x20
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x7e8
jl 0x401a38
inc dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edx, esi
dec edx
and eax, edx
cmp dword [ebp - 4], eax
jle 0x401a07
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401a09
Capabilities:
Hide graphical window

Disassembly:
mov ecx, 0xfffffffe
jmp fcn.00401641
Function at 0x401030
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ecx, dword [0x426068]
push ebx
mov ebx, dword [0x42606c]
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
xor esi, esi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x34], 0x9e3779b9
mov dword [ebp - 0x30], ecx
call fcn.00401020
mov edx, dword [0x426070]
mov eax, dword [0x426074]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x20
jmp 0x401092
xor esi, esi
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov ecx, dword [0x845854]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x4010ec
push esi
lea ecx, [ebp - 0x38]
push ecx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PurgeComm]
xor edx, edx
xor eax, eax
lea ecx, [ebp - 0x3c]
push ecx
mov word [ebp - 0x1c], dx
mov word [ebp - 0x1a], ax
mov edx, dword [ebp - 0x1c]
push edx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov eax, dword [ebp - 4]
mov ecx, dword [0x845854]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401106
mov dword [0x845850], 0xedeb2e40
jmp 0x401122
cmp ecx, 0x3eb
jne 0x401122
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [0x845204], esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov edx, edi
shr edx, cl
add eax, edi
mov dword [ebp - 0x14], eax
mov dword [0x84584c], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
mov ecx, dword [ebp - 0xc]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 8]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
nop
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shr esi, cl
add esi, ebx
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
cmp dword [0x845854], 0xb03
jne 0x4011a1
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
mov eax, dword [ebp - 0x34]
sub dword [ebp - 8], eax
sub dword [ebp - 0x20], 1
jne 0x401090
cmp dword [0x845854], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x4011e9
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401590
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x845854], 0x400
push esi
push edi
jne 0x4015b4
lea eax, [ebp - 0x24]
call fcn.00401670
lea esi, [ebp - 0x24]
call fcn.00401690
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov ebx, dword [ebp - 4]
xor esi, esi
call edi
cmp esi, 0x2af054
jle 0x4015d2
cmp ebx, 0x787e04e5
jne 0x4015db
inc esi
cmp esi, 0x1d8b
jl 0x4015c0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0x206d47
jg 0x40160d
inc esi
cmp esi, 0x4f6a4
jl 0x4015f0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
pop ebx
push 0
call edi
cmp esi, 0x2b2589
jg 0x40162b
inc esi
cmp esi, 0x11915
jl 0x401616
mov eax, dword [0x4262ac]
mov dword [0x845854], eax
call fcn.00401340
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, 0x3078f
jmp 0x401650
cmp dword [0x845854], 0x51f
jne 0x401660
push 0
call esi
sub edi, 1
jne 0x401650
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407620
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425a68]
jne 0x40762a
repz ret
jmp fcn.0040aeb6
Function at 0x40a92d
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.00403902
and dword [ebp - 4], 0
cmp dword [0x427c44], 0
mov ebx, eax
jne 0x40a9de
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40aa8f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40aa8f
push eax
call fcn.00403890
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x427c44], eax
call esi
push eax
call fcn.00403890
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x427c48], eax
call esi
push eax
call fcn.00403890
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x427c4c], eax
call esi
push eax
call fcn.00403890
pop ecx
mov dword [0x427c54], eax
test eax, eax
je 0x40a9de
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403890
pop ecx
mov dword [0x427c50], eax
mov eax, dword [0x427c50]
cmp eax, ebx
je 0x40aa36
cmp dword [0x427c54], ebx
je 0x40aa36
push eax
call fcn.0040390b
push dword [0x427c54]
mov esi, eax
call fcn.0040390b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40aa36
test edi, edi
je 0x40aa36
call esi
test eax, eax
je 0x40aa2d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40aa2d
test byte [ebp - 0xc], 1
jne 0x40aa36
or dword [ebp + 0x10], 0x200000
jmp 0x40aa6f
mov eax, dword [0x427c48]
cmp eax, ebx
je 0x40aa6f
push eax
call fcn.0040390b
pop ecx
test eax, eax
je 0x40aa6f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40aa6f
mov eax, dword [0x427c4c]
cmp eax, ebx
je 0x40aa6f
push eax
call fcn.0040390b
pop ecx
test eax, eax
je 0x40aa6f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x427c44]
call fcn.0040390b
pop ecx
test eax, eax
je 0x40aa8f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40aa91
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e7b4
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x412857
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]