joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003d056
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003d06d
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x1003d083
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawFocusRect]
pop ebp
ret

Function at 0x1003d780
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1003d7ac
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003d7a7
push 0
push 0x1099
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x1003d88c
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1003d87d
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0x2c67
jne 0x1003d81b
mov dword [ebp - 0x14], 1
jmp 0x1003d81f
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x1003d845
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, 0x277e
jne 0x1003d845
mov eax, 0x41af
test eax, eax
je 0x1003d845
mov dword [ebp - 0x3c], 1
jmp 0x1003d849
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x1003d85e
mov dword [ebp - 0xc], 1
jmp 0x1003d862
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], eax
jne 0x1003d87d
and dword [ebp - 0x1c], 0
jmp 0x1003d884
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1003d9f4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1003da3b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x1003da60
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1003da60
push 0xcfe
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov esp, ebp
pop ebp
ret
Function at 0x10051670
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 5]
and ecx, 0xf
movzx edx, byte [0x10665260]
or ecx, edx
mov byte [ebp - 1], cl
movzx ax, byte [ebp - 1]
movzx ecx, ax
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 4]
push ecx
push 0x10665430
call fcn.10050940
add esp, 8
mov esp, ebp
pop ebp
ret 4

Function at 0x10055520
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10079340]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20], ax
xor ecx, ecx
mov word [ebp - 0x1e], cx
cmp dword [ebp + 8], 0xffffffff
jne 0x10055544
jmp 0x100555b3
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x10055558
jmp 0x100555b3
movsx ecx, word [ebp - 0x1c]
movsx edx, word [ebp - 0x1a]
imul ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
test eax, eax
jne 0x10055584
jmp 0x100555b3
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
test eax, eax
jne 0x100555a5
jmp 0x100555b3
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call main
mov esp, ebp
pop ebp
ret
Function at 0x10070fc5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10079340]
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.1006354c
mov dword [ebp - 0x14], eax
cmp dword [0x1066641c], esi
jne 0x100710b8
push 0x800
push esi
push 0x10007b5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10071045
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10071198
push esi
push esi
push 0x10007b5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10071198
push 0x10007b74
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10071198
push eax
call ebx
push 0x10007b80
push edi
mov dword [0x1066641c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007b90
push edi
mov dword [0x10666420], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007ba4
push edi
mov dword [0x10666424], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066642c], eax
test eax, eax
je 0x100710b5
push 0x10007bc0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10666428], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100710dd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100710d0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x100710f2
push 4
pop eax
jmp 0x1007119a
cmp dword [ebp - 0x14], esi
je 0x100710f2
push dword [0x1066641c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x100710d7
mov eax, dword [0x10666428]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10071150
cmp dword [0x1066642c], edi
je 0x10071150
push eax
call ebx
push dword [0x1066642c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10071150
test eax, eax
je 0x10071150
call ecx
test eax, eax
je 0x10071145
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 0x10071145
test byte [ebp - 8], 1
jne 0x10071150
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10071180
mov eax, dword [0x10666420]
cmp eax, edi
je 0x1007117d
push eax
call ebx
test eax, eax
je 0x1007117d
call eax
mov esi, eax
test esi, esi
je 0x1007117d
mov eax, dword [0x10666424]
cmp eax, edi
je 0x1007117d
push eax
call ebx
test eax, eax
je 0x1007117d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1066641c]
call ebx
test eax, eax
je 0x10071198
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007119a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x409316
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x4093a0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x409386
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x409375
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x409384
push 0
push 0x1729
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x40939e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
push 0x63e9
push 0
push dword [ebp - 0x24]
call fcn.004126fd
add esp, 0xc
jmp 0x4093c9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
push 1
push dword [ebp - 0x28]
push 0
mov eax, dword [ebp - 0x2c]
push dword [eax]
push dword [ebp - 0x30]
call fcn.0041a871
add esp, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x40a755
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x40a834
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x40a803
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x40a7a6
push 0x4ea
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x40a801
mov dword [ebp - 8], 0x324ec2e0
mov dword [ebp - 8], 0x11
jmp 0x40a7bd
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffe3
je 0x40a7e3
mov dword [ebp - 0x18], 0xffffffff
push 0
push 0x48b9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040d310
add esp, 0x10
jmp 0x40a7b6
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x40a801
push 0x1b0f
push 0x1b43
push 0
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40a832
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x28]
push 0x207b
push 0
push 0x497c
push 0
push 0x1388
call fcn.0041694b
add esp, 0x20
jmp 0x40a86b
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x40a84e
push 1
call fcn.0040a6cf
pop ecx
jmp 0x40a86b
push 0x925
push 0
push 0x138c
push 0x317b
push 0
push 1
call fcn.0041725e
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x40ab8f
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x40ac37
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x40abd9
push 0x696a
push 1
push 0x24eb
call fcn.0040ac60
add esp, 0xc
jmp 0x40ac35
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x40ac0b
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x40ac09
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x40ac35
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0x6c4f32b7
mov eax, dword [ebp - 0x30]
mov dword [eax], 0x6c4f32b7
jmp 0x40ac5c
lea eax, [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
push 0x15f
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
push eax
push 1
push dword [ebp - 0x38]
call fcn.00409622
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x40b084
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x40b104
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x40b0c4
push 1
push 0x5839
push 0x7e51
call fcn.0040b121
add esp, 0xc
jmp 0x40b102
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x40b0f8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x40b0f6
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
jmp 0x40b102
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x40b11d
push 0
push 0x81
push 0x49c
push 0x6e96
call fcn.00409798
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x40cc81
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x40cd2f
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x40ccef
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x40cce0
push 0x243e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetLayout]
jmp 0x40cced
push 0x1107
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40cd2d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 1
push dword [ebp - 0x18]
push 0x6f7b
push 0x6e22
push 0x320e
push 0
push 0x131a
push 0x2e59
push 1
push 0x776a
push dword [ebp - 0x1c]
call fcn.0042400f
add esp, 0x2c
jmp 0x40cd47
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
push 0x42bb
push dword [ebp - 0x20]
push 1
call fcn.00408eb1
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x40cebb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x40cf89
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x40cf4d
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x40cf30
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x40cf2e
push 0x2e8
push 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
jmp 0x40cf4b
mov byte [ebp - 1], 0
push 0
push 0x3ea9
lea eax, [ebp - 1]
push eax
push 1
push 1
call fcn.004125b5
add esp, 0x14
jmp 0x40cf87
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x40cf72
push 0x1107
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40cf87
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [eax], 0x5ab06c0e
jmp 0x40cfba
lea eax, [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x40cfaf
push 1
push 0x7613
push 0x4cd6
call fcn.0040a970
add esp, 0xc
jmp 0x40cfba
push 0
push 1
call fcn.0040d024
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x413b1f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x413b91
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x413b68
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 1
push 0x4e83
push dword [ebp - 0x10]
push 0xdc5
call fcn.00413c4e
add esp, 0x10
jmp 0x413b8c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0
push dword [ebp - 0x18]
push 0x2629
push 0x2aeb
push 0xb7a
push 0
call fcn.00408861
add esp, 0x18
jmp 0x413c4a
lea eax, [ebp + 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x413c14
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x413beb
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x413be9
push 0x1826
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
jmp 0x413c12
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x413c12
push 0x498
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x413c4a
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x413c2e
push 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x413c4a
push 0x43d
push 0x7bf
push 0x1d4a
push 0x14ec
push 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esp, ebp
pop ebp
ret
Function at 0x41629d
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4163b9
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x416315
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x416305
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x416303
call dword [sym.imp.USER32.dll_EndMenu]
jmp 0x416310
push 0x4ea
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x4163b7
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x416395
mov dword [ebp - 0x30], 0x477862f
mov dword [ebp - 8], 9
lea eax, [ebp - 8]
push eax
push 0
push 0x5b14
lea eax, [ebp - 0x30]
push eax
push 0x15f4
push 0x3d5b
call fcn.004240d3
add esp, 0x18
mov dword [ebp - 8], 0xffffffed
jmp 0x416364
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x14
jl 0x416393
mov byte [ebp - 1], 0
push 1
push 0x6d11
push 0x58a7
push 1
push 0x2704
push 0
push 1
lea eax, [ebp - 1]
push eax
call fcn.0040dfd7
add esp, 0x20
jmp 0x41635d
jmp 0x4163b7
push 0
push 0
push 0x2619
push 0
push 0xa72
push 0
push 0x60c
push 0x1c03
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x4163ce
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push 1
push 0
call fcn.0040c924
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x41b685
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x41b71e
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x41b6d3
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 0x2922
push dword [ebp - 0xc]
push 1
call fcn.0041b77c
add esp, 0xc
jmp 0x41b71c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x41b6f3
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x41b71c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x41b71c
push 0
push 0
push 0x22c2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x41b778
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x41b75d
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
push 0x5cc5
push 0x4548
push dword [ebp - 0x30]
push 0x4d7e
push 0x1bb
push 0
call fcn.00413f25
add esp, 0x18
jmp 0x41b778
push 1
push 0x720
push 0
push 0x2516
push 0x471d
call fcn.00408c0a
add esp, 0x14
mov esp, ebp
pop ebp
ret