joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412970
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x14]
shl eax, 2
push eax
push 0
push dword [esi + 8]
call fcn.0041c030
add esp, 0xc
cmp dword [esi + 0x18], 0
jbe 0x412a41
push ebx
push edi
xor edi, edi
mov ebx, 1
mov dword [ebp - 8], edi
nop word [eax + eax]
mov eax, dword [esi + 4]
add eax, edi
mov dword [ebp - 0xc], eax
cmp dword [eax], 0xffffffff
je 0x412a2c
mov edx, dword [eax + 8]
mov eax, 0x1505
movzx ecx, word [edx]
test cx, cx
je 0x4129ec
mov edi, ecx
nop
mov ecx, eax
lea edx, [edx + 2]
shl eax, 5
add eax, ecx
movzx ecx, di
add eax, ecx
movzx ecx, word [edx]
mov edi, ecx
test cx, cx
jne 0x4129d0
mov edi, dword [ebp - 8]
xor edx, edx
div dword [esi + 0x14]
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov eax, dword [eax + edx*4]
mov dword [edi + ecx + 4], eax
mov ecx, dword [esi + 4]
cmp dword [edi + ecx + 4], 0
je 0x412a1d
mov eax, dword [esi + 8]
mov eax, dword [eax + edx*4]
add eax, eax
mov dword [ecx + eax*8 - 0x10], ebx
mov eax, dword [esi + 8]
mov dword [eax + edx*4], ebx
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x412a2f
mov eax, dword [ebp - 4]
add edi, 0x10
inc ebx
mov dword [ebp - 8], edi
cmp eax, dword [esi + 0x18]
jb 0x4129b0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x412af0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x18], 0
je 0x412b9a
mov eax, dword [ebp + 8]
mov edx, 0x1505
mov ecx, dword [eax]
mov esi, ecx
mov dword [ebp + 8], ecx
movzx eax, word [esi]
test ax, ax
je 0x412b3d
mov ebx, eax
nop dword [eax + eax]
movzx ecx, word [esi + 2]
lea esi, [esi + 2]
mov eax, edx
shl edx, 5
add edx, eax
movzx eax, bx
add edx, eax
mov ebx, ecx
test cx, cx
jne 0x412b20
mov ecx, dword [ebp + 8]
mov eax, edx
xor edx, edx
div dword [edi + 0x14]
mov eax, dword [edi + 8]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x412b9a
mov ebx, dword [edi + 4]
mov edi, esi
add edi, edi
mov eax, dword [ebx + edi*8 - 8]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x412b86
test dx, dx
je 0x412b82
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x412b86
add ecx, 4
add eax, 4
test dx, dx
jne 0x412b60
xor eax, eax
jmp 0x412b8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x412ba3
mov esi, dword [ebx + edi*8 - 0xc]
mov ecx, dword [ebp + 8]
test esi, esi
jne 0x412b51
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x412bb2
add esi, esi
mov eax, dword [ebx + esi*8 - 4]
mov dword [ecx], eax
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0xc
Function at 0x412eb0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 8], esi
cmp dword [esi + 0x10], 0
jne 0x412ed2
call fcn.004130b0
test eax, eax
jne 0x412ed2
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [esi + 0x10]
mov edx, 0x1505
dec ebx
mov ecx, ebx
mov dword [ebp - 8], ebx
shl ecx, 4
add ecx, dword [esi + 4]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 4]
mov dword [esi + 0x10], eax
mov edi, dword [edi]
movzx eax, word [edi]
test ax, ax
je 0x412f20
mov ebx, eax
movzx ecx, word [edi + 2]
lea edi, [edi + 2]
mov eax, edx
shl edx, 5
add edx, eax
movzx eax, bx
add edx, eax
mov ebx, ecx
test cx, cx
jne 0x412f00
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov eax, edx
mov dword [ebp - 8], ecx
xor edx, edx
div dword [esi + 0x14]
mov eax, dword [esi + 8]
lea edi, [edx*4]
mov edx, dword [edi + eax]
test ecx, ecx
je 0x412f54
mov eax, dword [ebp + 8]
mov dword [ecx], 0
mov dword [ecx + 4], edx
mov eax, dword [eax]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ecx + 0xc], eax
test edx, edx
je 0x412f64
mov eax, dword [esi + 4]
lea ecx, [ebx + 1]
add edx, edx
mov dword [eax + edx*8 - 0x10], ecx
mov eax, dword [esi + 8]
lea ecx, [ebx + 1]
mov dword [edi + eax], ecx
mov eax, 1
inc dword [esi + 0x18]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x419990
Capabilities:
Hash data using djb2

Disassembly:
mov edx, dword [ecx]
mov eax, 0x1505
test edx, edx
je 0x4199b9
push esi
mov esi, dword [edx - 4]
shr esi, 1
je 0x4199b8
mov ecx, eax
lea edx, [edx + 2]
shl eax, 5
dec esi
add eax, ecx
movzx ecx, word [edx - 2]
add eax, ecx
test esi, esi
jg 0x4199a3
pop esi
ret
Function at 0x401d20
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x401d90
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401340
mov dword [esp], eax
call sub.ucrtbase.dll_exit
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x1e709b40
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
call fcn.1e72ea00
test eax, eax
je 0x1e709b5d
push 5
push 2
call fcn.1e72eac0
add esp, 8
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
call fcn.1e70a1d0
test eax, eax
jge 0x1e709b8c
push 0x57
push 0x1e6f1568
push 0x1e6f253c
call sym.d3d8.dll_DebugSetMute
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret 4
cmp word [ebp - 0x34], 6
jne 0x1e709baf
push 0x5d
push 0x1e6f1568
push 0x1e6f24f8
call sym.d3d8.dll_DebugSetMute
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 4]
push ecx
push 0x1e6f24d8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1e709c29
lea edx, [ebp - 8]
push edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x1e6f24c4
push edx
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1e709c1f
cmp dword [ebp - 0xc], eax
je 0x1e709c1f
push 0x1e6f24b8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x1e709c1f
push 0x1e6f24a8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1e709c1f
mov ecx, dword [ebp + 8]
push ecx
call eax
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
mov esi, dword [ebp + 8]
cmp esi, 0x78
je 0x1e709c4b
cmp esi, 0xdc
jb 0x1e709c42
cmp esi, 0x140
jb 0x1e709c4b
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x3574
call fcn.1e71aec0
add esp, 4
test eax, eax
je 0x1e709c8a
push esi
mov ecx, eax
call fcn.1e708a90
mov esi, eax
test esi, esi
jne 0x1e709c81
push 0xc2
push 0x1e6f1568
push 0x1e6f2448
call sym.d3d8.dll_DebugSetMute
add esp, 0xc
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
xor esi, esi
jmp 0x1e709c6a
Function at 0x1e711b60
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x3c
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x8000
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x1e6f3cd0
mov dword [ebp - 4], eax
call edi
push 0x1e6f3cc0
mov ebx, eax
call edi
mov edi, eax
mov dword [ebp + 8], edi
test ebx, ebx
je 0x1e711ca8
test edi, edi
je 0x1e711ca8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1e6f3cb0
push ebx
call edi
push 0x1e6f3ca0
push ebx
mov dword [esi + 0x18], eax
call edi
push 0x1e6f3c88
push ebx
mov dword [esi + 0x10], eax
call edi
push 0x1e6f3c64
push ebx
mov dword [esi + 0x14], eax
call edi
push 0x1e6f3c40
push ebx
mov dword [esi + 0x20], eax
call edi
push 0x1e6f3c24
push ebx
mov dword [esi + 0x1c], eax
call edi
push 0x1e6f3c08
push ebx
mov dword [esi + 0x24], eax
call edi
push 0x1e6f3be4
push ebx
mov dword [esi + 0x28], eax
call edi
push 0x1e6f3bc4
push ebx
mov dword [esi + 0x2c], eax
call edi
push 0x1e6f3ba8
push ebx
mov dword [esi + 0x30], eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 8]
push 0x1e6f3b98
push eax
call edi
cmp dword [esi + 0x18], 0
mov dword [esi + 0x38], eax
je 0x1e711ca5
cmp dword [esi + 0x10], 0
je 0x1e711ca5
cmp dword [esi + 0x14], 0
je 0x1e711ca5
cmp dword [esi + 0x20], 0
je 0x1e711ca5
cmp dword [esi + 0x1c], 0
je 0x1e711ca5
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x1e711ca5
cmp dword [esi + 0x28], 0
je 0x1e711ca5
cmp dword [esi + 0x2c], 0
je 0x1e711ca5
cmp dword [esi + 0x30], 0
je 0x1e711ca5
cmp dword [esi + 0x34], 0
je 0x1e711ca5
test eax, eax
je 0x1e711ca5
push 0
push 0
lea edx, [esi + 0xc]
push edx
call ecx
test eax, eax
je 0x1e711ca5
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
push ecx
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
cmp dword [esi], 0
jne 0x1e711cb9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call ebx
push edi
call ebx
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1e712690
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1e7e4380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x102
sub ecx, eax
push ecx
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x1e7126d8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1e72b65d
mov esp, ebp
pop ebp
ret
push 0x1e6f3d18
push 0x104
lea eax, [ebp - 0x108]
push eax
call fcn.1e712390
push esi
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call fcn.1e712390
lea edx, [ebp - 0x108]
push edx
call sub.msvcrt.dll__strlwr
lea eax, [ebp - 0x108]
push eax
call fcn.1e711fa0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop esi
call fcn.1e72b65d
mov esp, ebp
pop ebp
ret

Function at 0x1e719000
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor eax, eax
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call edi
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0
mov ebx, eax
mov dword [ebp - 4], ebx
je 0x1e7190e5
cmp dword [ebp + 0xc], 0
je 0x1e7190e5
mov ecx, dword [esi + 0xcc]
mov eax, dword [esi + 0xd0]
mov edx, ebx
sub edx, ecx
cmp edx, eax
jae 0x1e719061
sub eax, ebx
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
mov edi, edx
mov eax, ecx
mov ecx, dword [esi]
shr edi, 0x1f
add edi, edx
cdq
and edx, 7
add eax, edx
lea edx, [ebp - 0x14]
sar eax, 3
push edx
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ecx
call fcn.1e718cd0
cmp eax, 1
jne 0x1e7190e2
cmp dword [ebp - 8], 0
jne 0x1e7190e2
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
lea edx, [ecx + edi]
cmp edx, dword [eax + 4]
jl 0x1e7190e2
mov eax, dword [eax + 0xc]
cmp ecx, eax
jg 0x1e7190e2
mov edx, dword [ebp + 8]
add ecx, edx
cmp ecx, eax
jge 0x1e7190c2
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, ebx
mov dword [ebp - 4], eax
cmp ecx, 0x1e
jae 0x1e7190e5
lea edx, [ebp - 0x14]
push edx
call fcn.1e718cd0
cmp eax, 1
je 0x1e719096
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1e71bd70
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
push eax
push ecx
push edx
call fcn.1e71bb40
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1e71bda5
push 0x1e6f46a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0x80004005
pop esi
pop ebp
ret 0x10
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x1e71bdec
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1e71bdba
mov eax, dword [eax + 8]
inc eax
jmp 0x1e71bdbc
xor eax, eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [edi], eax
test eax, eax
jne 0x1e71bddf
push 0x1e6f46a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1e71bdec
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x1e71bdec
push eax
call fcn.1e723e50
mov edi, dword [esi + 0x18]
mov ecx, esi
call fcn.1e71bc00
push esi
call fcn.1e71aef0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x1e71be10
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push 0
push eax
push ecx
call fcn.1e71bb40
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1e71be3e
push 0x1e6f46a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop esi
pop ebp
ret
xor edx, edx
cmp dword [esi + 0x18], edx
push edi
setge dl
mov ecx, esi
mov edi, edx
call fcn.1e71bc00
push esi
call fcn.1e71aef0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x1e71e390
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1e7dc59b
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1e7e4380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebx], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 4], edx
lea edx, [ebx + 0x10]
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], ecx
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], edx
mov esi, dword [ebx]
test esi, esi
je 0x1e71e43b
xor ecx, ecx
mov eax, esi
mov edx, 0x14
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.1e71aec0
add esp, 4
mov dword [ebp + 0x10], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x1e71e429
push fcn.1e71e230
push fcn.1e71e210
push esi
lea edi, [eax + 4]
push 0x14
push edi
mov dword [eax], esi
call fcn.1e72b763
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
mov dword [ecx], edi
test edi, edi
je 0x1e71e46c
mov edx, ecx
xor eax, eax
cmp dword [ebx], eax
jbe 0x1e71e454
xor ecx, ecx
mov esi, dword [edx]
mov edi, dword [ebp + 0x14]
mov dword [esi + ecx + 0x10], edi
inc eax
add ecx, 0x14
cmp eax, dword [ebx]
jb 0x1e71e443
mov eax, dword [ebp + 0xc]
inc eax
add edx, 4
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], edx
cmp eax, 4
jb 0x1e71e3d8
jmp 0x1e71e47d
push 0x1e6f5a6c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebx], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1e71e4f0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1e7dc5cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1e7e4380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push 0x10
mov dword [esi], 0x1e6f5ac4
mov dword [esi + 0x18], 0x80004005
mov dword [esi + 4], edi
call fcn.1e71aec0
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x1e71e54f
mov ecx, dword [ebp + 0x10]
and ecx, 1
push ecx
mov ecx, eax
call fcn.1e723d40
jmp 0x1e71e551
xor eax, eax
mov dword [esi + 0x24], eax
cmp eax, edi
jne 0x1e71e565
push 0x1e6f5a98
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1e71e5aa
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x14], eax
cmp eax, edi
je 0x1e71e591
mov ecx, dword [eax]
add eax, 4
mov dword [esi + 8], ecx
mov dword [esi + 0x14], eax
jmp 0x1e71e594
mov dword [esi + 8], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 4], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1e71eb00
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov ebx, ecx
mov esi, 0x80
lea esp, [esp]
push esi
call fcn.1e71aec0
mov edi, eax
add esp, 4
test edi, edi
je 0x1e71eb79
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x1e71eb49
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x1e71eb31
mov eax, dword [eax]
jmp 0x1e71eb36
mov eax, 1
push eax
push ecx
push 0x1e6f5aec
push esi
push edi
call fcn.1e71e880
add esp, 0x14
jmp 0x1e71eb5c
mov eax, dword [ebx + 0x20]
push eax
push 0x1e6f5adc
push esi
push edi
call fcn.1e71e880
add esp, 0x10
test eax, eax
jge 0x1e71eb8a
push edi
call fcn.1e71aef0
add esi, esi
add esp, 4
cmp esi, 0x10000
jb 0x1e71eb10
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x1e6f46a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x1e71ebf0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
push edi
mov edi, 0x80
mov dword [ebp - 0xc], edi
je 0x1e71ed53
push ebx
push esi
push edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 0
call fcn.1e71aec0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1e71ed20
mov eax, dword [ebp + 0xc]
mov esi, ebx
mov dword [ebp - 8], ebx
test eax, eax
jl 0x1e71ec7e
cmp eax, 1
jg 0x1e71ec7e
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1e71ec7e
call fcn.1e71eb00
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1e71ec7b
push eax
mov eax, dword [ebp - 0xc]
push 0x100
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
dec eax
push eax
push ebx
call fcn.1e71e8f0
add esp, 0x18
test eax, eax
jl case.default.0x1e71ec83
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
cmp eax, 3
ja case.default.0x1e71ec83
jmp dword [eax*4 + 0x1e71ed58]
push 0x100
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
push 0x1e6f5b4c
jmp 0x1e71ecd8
push 0x100
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x1e6f5b30
jmp 0x1e71ecd8
push 0x100
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 8]
push eax
push 0x1e6f5b18
jmp 0x1e71ecd8
push 0x100
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
push 0x1e6f5af8
dec edi
push edi
push esi
call fcn.1e71e6d0
test eax, eax
jl case.default.0x1e71ec83
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp - 8]
push ecx
dec edx
push edx
push eax
call fcn.1e71e810
test eax, eax
jge 0x1e71ed32
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1e71aef0
push ebx
call fcn.1e71aef0
mov edx, dword [ebp - 0xc]
lea eax, [edx + edx]
add esp, 8
mov dword [ebp - 0xc], eax
mov edi, eax
jmp 0x1e71ec10
push 0x1e6f46a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push ebx
push edx
call fcn.1e723da0
mov eax, dword [ebp - 0x10]
push eax
call fcn.1e71aef0
push ebx
call fcn.1e71aef0
add esp, 0x10
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1e723da0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x404
call fcn.1e71aec0
mov esi, eax
add esp, 4
test esi, esi
jne 0x1e723dc7
push 0x1e6f46a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
pop ebp
ret
push 0x400
push 0
push esi
call sub.msvcrt.dll_memset
mov ecx, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push ecx
push 0x400
push esi
call fcn.1e71e810
push 0x1e6f99d8
push 0x400
push esi
call fcn.1e712390
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
je 0x1e723e3f
cmp dword [ecx], 0
jne 0x1e723e0a
mov dword [ecx], esi
mov eax, dword [ecx + 4]
test eax, eax
je 0x1e723e17
mov dword [eax + 0x400], esi
mov dword [ecx + 4], esi
mov eax, esi
mov dword [esi + 0x400], 0
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1e723e30
sub eax, esi
add dword [ecx + 8], eax
pop esi
pop ebp
ret
push esi
call fcn.1e71aef0
add esp, 4
pop esi
pop ebp
ret

Function at 0x1e724f70
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x1e6f9a78
push 0x80000002
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1e724fd6
mov edx, dword [ebp + 0x10]
push esi
lea ecx, [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x1e724fd6
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x1e724fd6
mov eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret