joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101c736
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
mov dword [ebp - 8], ebx
cmp dword [ebp + 8], ebx
je 0x101c7f7
cmp dword [ebp + 0xc], ebx
je 0x101c7f7
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push edi
mov edi, dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 8
push 8
push dword [eax + 0x18]
call edi
mov esi, eax
cmp esi, ebx
jne 0x101c6f8
mov dword [ebp - 4], 0xc0000017
jmp 0x101c7e7
mov ebx, dword [sym.imp.ntdll.dll_NtQueryObject]
lea eax, [ebp - 8]
push eax
push 8
push esi
push 1
push dword [ebp + 8]
call ebx
mov dword [ebp - 4], eax
test eax, eax
jge 0x101c771
cmp dword [ebp - 8], 0
je 0x101c7ee
cmp dword [ebp - 8], 8
jb 0x101c7ee
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword fs:[0x18]
push dword [ebp - 8]
mov eax, dword [eax + 0x30]
push 8
push dword [eax + 0x18]
call edi
mov esi, eax
test esi, esi
je 0x101c6ec
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push 1
push dword [ebp + 8]
call ebx
mov dword [ebp - 4], eax
test eax, eax
jl 0x101c7d2
mov eax, dword fs:[0x18]
movzx ecx, word [esi]
mov eax, dword [eax + 0x30]
inc ecx
inc ecx
push ecx
push 8
push dword [eax + 0x18]
call edi
mov edi, eax
test edi, edi
jne 0x101c794
mov dword [ebp - 4], 0xc0000017
cmp dword [ebp - 4], 0
jl 0x101c7b9
movzx eax, word [esi]
shr eax, 1
push eax
push dword [esi + 4]
inc eax
push eax
push edi
call fcn.0101c62a
mov dword [ebp - 4], eax
test eax, eax
jl 0x101c7b9
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
xor edi, edi
test edi, edi
je 0x101c7d2
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 4]
pop edi
pop esi
jmp 0x101c7fc
mov dword [ebp - 4], 0xc0000004
jmp 0x101c7d2
mov eax, 0xc000000d
pop ebx
leave
ret 8
Function at 0x101c9d6
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
push edi
mov edi, 0xffff
mov esi, 0x80070000
cmp dword [0x1023a18], ebx
jne 0x101c910
push 0x10098c4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x1023a18], eax
test eax, eax
jne 0x101c910
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
jle 0x101c8f3
and eax, edi
or eax, esi
test eax, eax
jge 0x101c903
call ebx
test eax, eax
jle 0x101c8ff
and eax, edi
or eax, esi
mov ebx, eax
jmp 0x101c908
mov ebx, 0x80004005
test ebx, ebx
jl 0x101c9d7
push 0
push 0xea60
push dword [0x1023a18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x101c963
cmp eax, 0x80
je 0x101c963
cmp eax, 0x102
je 0x101c95e
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
jle 0x101c947
and eax, edi
or eax, esi
test eax, eax
jge 0x101c957
call ebx
test eax, eax
jle 0x101c953
and eax, edi
or eax, esi
mov ebx, eax
jmp 0x101c963
mov ebx, 0x80004005
jmp 0x101c963
mov ebx, 0x80070102
xor eax, eax
cmp ebx, eax
jl 0x101c9d7
cmp dword [0x1023a1c], eax
jne 0x101c9c8
push 0x1009884
push LoadLibraryW
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
xor ecx, ecx
cmp eax, ecx
je 0x101c9a1
push ecx
push LoadLibraryW
push ecx
push ecx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [0x1023a1c], eax
test eax, eax
jne 0x101c9c8
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
jle 0x101c9b3
and eax, edi
or eax, esi
test eax, eax
jge 0x101c9c3
call ebx
test eax, eax
jle 0x101c9bf
and eax, edi
or eax, esi
mov ebx, eax
jmp 0x101c9c8
mov ebx, 0x80004005
test ebx, ebx
jl 0x101c9d7
mov eax, dword [ebp + 8]
mov ecx, dword [0x1023a1c]
mov dword [eax], ecx
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
Function at 0x101cb81
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1023018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov esi, 0x1009594
lea edi, [ebp - 0xc]
xor ebx, ebx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ebx
movsw word es:[edi], word [esi]
mov dword [ebp - 0x14], ebx
cmp ecx, ebx
je 0x101cb80
xor edi, edi
inc edi
cmp dword [ebp + 8], 2
je 0x101ca50
cmp dword [ebp + 8], edi
jne 0x101cb80
cmp eax, ebx
je 0x101cb80
xor ecx, ecx
cmp dword [ebp + 8], 2
mov word [eax], cx
jne 0x101ca65
mov ebx, edi
lea eax, [ebp - 0x14]
push eax
call fcn.0101c8af
mov esi, eax
test esi, esi
jl 0x101cb74
lea eax, [ebp - 0x10]
push eax
call fcn.010128f3
test eax, eax
je 0x101ca8f
mov ax, word [ebp - 0x10]
mov word [ebp - 0xc], ax
jmp 0x101caab
push 0x1009a00
push 0x2000000
push 0x1023a14
mov esi, 0x800705aa
call fcn.0100a7d5
add esp, 0xc
test esi, esi
jl 0x101cb74
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
je 0x101cb1e
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0x61]
movzx eax, ax
jne 0x101cae9
cmp cx, 0x19
ja 0x101cadd
sub eax, 0x20
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax*4 - 0x104], edi
jmp 0x101cafd
cmp cx, 0x19
ja 0x101caf2
sub eax, 0x20
mov ecx, dword [ebp - 0x14]
and dword [ecx + eax*4 - 0x104], 0
push dword [ebp - 0x18]
movzx eax, word [ebp - 0x10]
push eax
push 0x1009960
push 0x4000000
push 0x1023a14
call fcn.0100a7d5
add esp, 0x14
jmp 0x101cb66
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov edi, 0xffff
mov esi, 0x80070000
test eax, eax
jle 0x101cb3a
and eax, edi
or eax, esi
test eax, eax
jge 0x101cb4a
call ebx
test eax, eax
jle 0x101cb46
and eax, edi
or eax, esi
mov esi, eax
jmp 0x101cb4f
mov esi, 0x80004005
push 0x1009900
push 0x2000000
push 0x1023a14
call fcn.0100a7d5
add esp, 0xc
test esi, esi
jl 0x101cb74
mov ax, word [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov word [ecx], ax
push dword [ebp - 0x14]
call fcn.0101c9e5
mov eax, esi
jmp 0x101cb85
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100b8c5
leave
ret 0xc
Function at 0x101e186
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x101e13d
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x101e19b
movzx eax, word [ebp + 0xc]
push 5
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x101e199
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x101e199
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, edi
je 0x101e198
lea eax, [ebp + 8]
push eax
push esi
call fcn.0101e030
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp eax, edi
je 0x101e198
cmp dword [ebp + 8], edi
je 0x101e190
push eax
push esi
call fcn.0101e0f2
mov edi, eax
jmp 0x101e198
push reloc.KERNEL32.dll_GetFileSize
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
mov eax, edi
pop edi
pop ebp
ret 0xc

Function at 0x101e280
Capabilities:
Get process heap flags
Get storage device properties

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
test byte [ecx + 4], 1
je 0x101e27b
call fcn.0101e1a5
test eax, eax
je 0x101e27b
lea edx, [eax + 6]
mov eax, edx
pop ebp
ret 4
Function at 0x101e87e
Capabilities:
Get process heap flags
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
push edi
push 0x63
call esi
mov ebx, eax
cmp ebx, 0xc0000023
je 0x101e89e
cmp ebx, edi
jl 0x101e912
mov ebx, 0xc0000001
jmp 0x101e912
mov eax, dword fs:[0x18]
push dword [ebp - 4]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
test edi, edi
jne 0x101e8c1
mov ebx, 0xc000009a
jmp 0x101e8f9
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push 0x63
call esi
mov ebx, eax
test ebx, ebx
jl 0x101e8f9
movzx eax, word [edi]
mov ecx, dword [ebp + 0x10]
add eax, 2
mov dword [ecx], eax
cmp eax, dword [ebp + 0xc]
jbe 0x101e8ea
mov ebx, 0xc0000023
jmp 0x101e8f9
push eax
push dword [edi + 4]
push dword [ebp + 8]
call fcn.0100c1ca
add esp, 0xc
test edi, edi
je 0x101e912
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x101e9ca
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1023018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], esi
call fcn.0101f772
test al, al
jne 0x101e993
xor eax, eax
jmp 0x101eade
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push 1
push 0x10200a0
push 0x102007a
push esi
call fcn.0101ef66
mov ebx, dword [sym.imp.ntdll.dll_RtlFreeHeap]
test eax, eax
jl 0x101eac3
cmp dword [ebp - 0x40], 4
jb 0x101eac3
push dword [ebp - 0x3c]
shr dword [ebp - 0x40], 1
call fcn.0100b8da
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x1020044
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call fcn.0100b930
add esp, 0x1c
cmp eax, 3
jne 0x101eac3
cmp dword [ebp - 0x54], esi
jne 0x101eac3
cmp dword [ebp - 0x4c], esi
jne 0x101eac3
cmp dword [ebp - 0x48], esi
jne 0x101eac3
lea eax, [ebp - 0x50]
push eax
push 0x1020002
call fcn.0101f0b2
test eax, eax
jl 0x101eac3
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [ebp - 0x3c]
push esi
push dword [eax + 0x18]
call ebx
mov edx, dword [ebp - 0x50]
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
stosd dword es:[edi], eax
pop ecx
xor eax, eax
push 0x28
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call fcn.0101f67e
cmp eax, esi
pop edi
jge 0x101ea7e
cmp eax, 0xc000003a
jmp 0x101ea82
cmp dword [ebp - 0x1c], 7
jne 0x101eac3
push 0x101ffc0
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x6c]
push eax
push 0x20001
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x6c], 0x18
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x60], 0x40
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
call dword [sym.imp.ntdll.dll_NtOpenSymbolicLinkObject]
cmp dword [ebp - 0x3c], esi
je 0x101eada
push dword [ebp - 0x3c]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call ebx
mov eax, dword [ebp - 0x44]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0100b8c5
leave
ret
Function at 0x101f26f
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x18]
xor esi, esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], eax
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
push 3
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x80000000
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x3c], 0x18
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 0x40
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
call dword [sym.imp.ntdll.dll_NtOpenFile]
mov ebx, eax
cmp ebx, esi
jl 0x101f309
push esi
push esi
push esi
push 0x1f0003
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntdll.dll_NtCreateEvent]
mov ebx, eax
cmp ebx, esi
jl 0x101f309
push esi
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtResetEvent]
xor eax, eax
push 0xc
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push esi
push esi
push 0x2d1080
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov ebx, eax
cmp ebx, 0x103
jne 0x101f2e8
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov ebx, eax
cmp ebx, esi
jl 0x101f309
mov ebx, dword [ebp - 0x10]
cmp ebx, esi
jl 0x101f309
cmp dword [ebp - 0x24], 7
je 0x101f2f9
mov ebx, 0xc00000bb
jmp 0x101f309
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov edi, dword [sym.imp.ntdll.dll_NtClose]
cmp dword [ebp - 4], esi
je 0x101f319
push dword [ebp - 4]
call edi
cmp dword [ebp - 8], esi
je 0x101f323
push dword [ebp - 8]
call edi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x401c70
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x409048
call sym._EnterCriticalSection_4
mov ebx, dword [0x409040]
sub esp, 4
test ebx, ebx
je 0x401cbb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401cb4
test esi, esi
je 0x401cb4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401c90
mov dword [esp], 0x409048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401ea0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401ef0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401fc8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401f2e
cmp eax, 4
jne 0x401f50
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401f3e
cmp edx, 4
je 0x401f3e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401ea0
Function at 0x40324c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40325b
pop dword [ebp - 0x50]
mov eax, 0x8fd44066
add eax, 0x706bf1f5
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x94c49c6d
add dword [ebp - 0x60], 0xb98da8de
mov dword [ebp - 0x5c], 0x75d9a50c
sub dword [ebp - 0x5c], 0x43a658c7
mov dword [ebp - 0x58], 0x3c958903
sub dword [ebp - 0x58], 0xf04944d5
mov dword [ebp - 0x54], 0xce54d9be
add dword [ebp - 0x54], 0x31ab2642
lea eax, [ebp - 0x60]
push eax
mov eax, 0xe51b6f22
add eax, 0x1b251156
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x2a9b5916
add dword [ebp - 0x60], 0x49d71040
mov dword [ebp - 0x5c], 0x7fc8b7c5
add dword [ebp - 0x5c], 0xc1a3a9b0
mov dword [ebp - 0x58], 0x1ccccccd
add dword [ebp - 0x58], 0x46a29f9f
mov dword [ebp - 0x54], 0x6e73f063
sub dword [ebp - 0x54], 0x6e73f063
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3b9e0
push 0
call eax
mov ecx, 0x5a58
xor edi, edi
add edi, eax
mov esi, 0x451400
add esi, dword [ebp - 0x50]
mov ebx, 0xa51e71c0
add ebx, 0x4eda01ef
sub dword [ebp - 0x4c], 0xf6c32c35
mov edx, dword [esi]
add dword [ebp - 0x3c], 0xa2bbca8
xor edx, ebx
add dword [ebp - 4], esi
mov dword [edi], edx
add edi, 0x63e40efd
add edi, 0x9c1bf107
add esi, 0xf1287fdf
add esi, 0xed78025
loop 0x40336e
add eax, 0x632fd920
add eax, 0x9cd18313
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x100131f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10013220
push esi
mov esi, dword [ebp + 8]
push 0
push 0
push 0
push 0x10001070
push 0
push 0
mov dword [0x1002a3e0], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
pop esi
mov eax, 1
pop ebp
ret 0xc

Function at 0x10013230
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push 0
push dword [0x1002a3e0]
mov dword [0x1002b00c], eax
push 0x100132e0
push 0xc
call esi
push 0
push dword [0x1002a3e0]
mov dword [0x1002b004], eax
push 0x10013320
push 3
call esi
push 0
push dword [0x1002a3e0]
mov dword [section..shared], eax
push 0x10013370
push 6
call esi
cmp dword [0x1002b004], 0
mov dword [0x1002b008], eax
pop esi
je 0x1001329f
cmp dword [section..shared], 0
je 0x1001329f
test eax, eax
je 0x1001329f
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x10018387
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001ae5f
push ebx
push esi
call fcn.1001ad8b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001ad1f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001ae0c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001ae5e
push edi
push eax
call fcn.1001965a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001ae2c
call fcn.10019620
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001ae5d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001ad1f
add esp, 0x20
test eax, eax
jne 0x1001ae4b
push edi
call fcn.10019620
jmp 0x1001ae53
push ebx
call fcn.10019620
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001b0ce
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10022a20
push 0x10022a18
push str.FlsAlloc
push 0x1f
call fcn.1001afea
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001b102
push dword [ebp + 8]
mov ecx, esi
call dword [0x10021140]
call esi
jmp 0x1001b108
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001b14c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10022a30
push 0x10022a28
push str.FlsGetValue
push 0x21
call fcn.1001afea
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001b183
push dword [ebp + 8]
mov ecx, esi
call dword [0x10021140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001b18b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10022a38
push 0x10022a30
push str.FlsSetValue
push 0x22
call fcn.1001afea
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001b1c5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10021140]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10020680
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100206ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100206ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401a48
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov al, byte [ebp + 8]
cmp al, 7
jb 0x401a9d
sub al, 7
je 0x401b11
dec al
je 0x401a6b
sub al, 2
je 0x401a95
sub al, 3
je 0x401a87
jmp 0x401a9d
mov eax, dword [0x406220]
cmp eax, dword [0x4060e0]
jle 0x401b11
dec dword [0x406220]
jmp 0x401b11
mov edi, dword [0x4060e0]
mov dword [0x406220], edi
jmp 0x401b11
inc dword [0x406210]
jmp 0x401b11
mov word [ebp - 8], 1
mov word [ebp - 6], 1
mov word [ebp - 0xc], 0
mov word [ebp - 0xa], 0
movzx ax, byte [ebp + 8]
mov word [ebp - 4], ax
movzx ax, byte [0x4060d0]
mov word [ebp - 2], ax
mov eax, dword [0x406220]
dec eax
mov word [ebp - 0x14], ax
mov eax, dword [0x406210]
dec eax
mov word [ebp - 0x12], ax
mov eax, dword [0x406220]
dec eax
mov word [ebp - 0x10], ax
mov eax, dword [0x406210]
dec eax
mov word [ebp - 0xe], ax
lea edi, [ebp - 0x14]
push edi
push dword [ebp - 0xc]
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push dword [0x406130]
call sub.kernel32.dll_WriteConsoleOutputA
inc dword [0x406220]
mov eax, dword [0x406220]
cmp eax, dword [0x406100]
jle 0x401b3f
mov edi, dword [0x4060e0]
mov dword [0x406220], edi
inc dword [0x406210]
jmp 0x401b3f
push 1
call fcn.00401be8
dec dword [0x406210]
mov eax, dword [0x406210]
cmp eax, dword [0x406110]
jg 0x401b32
leave
ret 4
Function at 0x449a00
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x20c
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push 0
mov esi, eax
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 4]
push ecx
push eax
invalid
invalid
invalid