joyce8/EMBER2024-capa huggingface dataset:
Function at 0x500730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x68
movzx eax, byte [esp + 0x78]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x80]
test eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edx
je 0x500781
cmp eax, 1
jne 0x5007fe
mov dword [esp], 0x56ac22
jmp 0x500788
mov dword [esp], str._matchesassertion__left__right__failed_n__left:__n_right:
mov edx, 2
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
jne 0x50081a
mov ecx, esp
lea edx, [esp + 8]
lea esi, [esp + 0x10]
mov dword [esp + 0x38], 0x56ac5c
mov dword [esp + 0x3c], 3
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x4e4f40
mov dword [esp + 0x20], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x24], 0x485d30
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x485d30
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 3
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.00500510
mov edx, 7
mov dword [esp], 0x56ac24
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
je 0x50079d
movsd xmm0, qword [ecx + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov edx, esp
lea esi, [esp + 0x50]
mov dword [esp + 0x38], 0x56ac90
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], edx
lea edx, [esp + 8]
mov dword [esp + 0x1c], 0x4e4f40
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x4e37d0
lea esi, [esp + 0x10]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x2c], 0x485d30
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x485d30
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 4
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm2
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.00500510
int3
Function at 0x475d10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x48000]
push edi
or ebp, 0xffffffff
jmp 0x475d32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x475d39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x475d28
mov eax, 1
add ebx, ebx
jne 0x475d4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x475d5c
jne 0x475d7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x475d7b
dec eax
add ebx, ebx
jne 0x475d68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x475d40
add ebx, ebx
jne 0x475d77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x475dcd
xor ecx, ecx
sub eax, 3
jb 0x475d93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x475e02
sar eax, 1
mov ebp, eax
jmp 0x475d9e
add ebx, ebx
jne 0x475d9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x475d6c
inc ecx
add ebx, ebx
jne 0x475dac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x475d6c
add ebx, ebx
jne 0x475db9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x475dae
jne 0x475dca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x475dae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x475dec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x475dde
jmp 0x475d2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x475dec
add edi, ecx
jmp 0x475d2e
pop esi
mov edi, esi
mov ecx, 0x2419
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x475e0a
cmp byte [edi], 0x12
jne 0x475e0a
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 0x475e0f
lea edi, [esi + 0x72000]
mov eax, dword [edi]
or eax, eax
je 0x475e87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x76890]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x76994]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x475e3c
mov ecx, edi
jns 0x475e6b
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 + 0x76998]
or eax, eax
je 0x475e81
mov dword [ebx], eax
add ebx, 4
jmp 0x475e59
call dword [esi + 0x769a8]
mov ebp, dword [esi + 0x7699c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x475ebb
sub esp, 0xffffff80
jmp 0x438d2b
Function at 0x1000149a
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x1004828d
call fcn.10023083
xor esi, esi
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push 0x100013c0
push esi
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
jne 0x100014ec
push str.Assertion_failed:h___NULL
lea ecx, [ebp - 0x2c]
call fcn.10001f3a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call fcn.10001f86
push 0x1005540c
lea eax, [ebp - 0x54]
push eax
call fcn.10022c51
call fcn.1002315b
ret
Function at 0x10008826
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10049e14
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x1005a760]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
call fcn.1000b416
and dword [esp + 0x30], 0
lea eax, [esi + 0x30]
push eax
lea eax, [esp + 0x10]
call fcn.10001600
lea eax, [esp + 0xc]
push eax
lea ebx, [esi + 0xbc]
call fcn.10008b9e
pop ecx
lea esi, [esp + 0xc]
call fcn.1000172b
push dword [esp + 0xc]
call fcn.1001f29f
pop ecx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000db26
Capabilities:
Reference http user-agent string

Disassembly:
push 4
mov eax, 0x10049033
call fcn.10023083
mov edi, ecx
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [edi + 0x54]
push eax
lea ecx, [esi + 4]
mov dword [esi], vtable._02::RandomHttpCsTransport.0
call fcn.10001fc5
push dword [ebp + 0xc]
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
call fcn.100022e1
push 0x1004e75c
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.1000151f
push str.Mozilla_5.0__Windows__U__Windows_NT_6.1__en_US__AppleWebKit_525.19__KHTML__like_Gecko__Chrome_1.0.154.36_Safari_525.19
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 3
call fcn.1000151f
add edi, 0x70
push edi
lea eax, [esi + 0x74]
push eax
mov byte [ebp - 4], 4
call fcn.10001541
mov eax, esi
call fcn.1002315b
ret 8

Function at 0x1000ed9e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10048f21
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
mov eax, dword [0x1005a760]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
cmp dword [ecx + 0x30], 8
jb 0x1000edd3
mov eax, dword [ecx + 0x1c]
jmp 0x1000edd6
lea eax, [ecx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x1004e8b1
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.10001f3a
and dword [esp + 0x58], 0
lea eax, [esp + 0x14]
push eax
test esi, esi
sete al
movzx eax, al
push eax
call fcn.10010b5d
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0x1c]
call fcn.100025e9
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], vtable._01::Library.0
push str.runDll
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 1
call fcn.10001f3a
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x60], 2
call fcn.1001161b
push 0
push 1
lea ecx, [esp + 0x38]
mov esi, eax
mov byte [esp + 0x60], 1
call fcn.100025e9
call esi
or dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.10013498
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000f12a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004806b
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1005a760]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x1005a760]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1000f18d
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1001f290
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
je 0x1000f1b5
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x1000f1b5
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x1000f16d
mov eax, dword [esi + 0x4c]
cmp eax, edi
jne 0x1000f1c1
or eax, 0xffffffff
jmp 0x1000f16d
cmp dword [esi + 0x3c], edi
jne 0x1000f1d9
push eax
movsx eax, bl
push eax
call fcn.10021643
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x1000f1bc
jmp 0x1000f1b1
push edi
push 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b], bl
call fcn.10005cc0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], edi
call fcn.10008004
mov ecx, eax
call fcn.10006c54
mov edi, dword [esp + 0x58]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.10008004
mov ecx, eax
call fcn.10006c54
lea edx, [esp + 0x18]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x1000f2e5
cmp eax, 1
jg 0x1000f322
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.10008004
mov ecx, eax
call fcn.10006c54
mov edi, dword [esp + 0x18]
sub edi, eax
je 0x1000f27e
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
call fcn.10008004
mov ecx, eax
call fcn.10006c54
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.100218b1
add esp, 0x10
cmp edi, eax
jne 0x1000f30b
lea eax, [esp + 0x13]
mov byte [esi + 0x41], 1
cmp dword [esp + 0x1c], eax
jne 0x1000f33e
test edi, edi
ja 0x1000f2a8
cmp dword [esp + 0x58], 0x20
jae 0x1000f30b
push 0
push 8
lea ecx, [esp + 0x4c]
call fcn.10005ce6
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.10008004
mov ecx, eax
call fcn.10006c54
mov edi, dword [esp + 0x58]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.10008004
mov ecx, eax
call fcn.10006c54
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x27]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x1000f22c
or esi, 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.100025e9
mov eax, esi
jmp 0x1000f16d
cmp eax, 3
jne 0x1000f30b
movsx eax, byte [esp + 0x13]
push dword [esi + 0x4c]
push eax
call fcn.10021643
or esi, 0xffffffff
pop ecx
pop ecx
cmp eax, esi
je 0x1000f30e
mov esi, dword [ebp + 8]
jmp 0x1000f30e
Function at 0x1000f8f9
Capabilities:
Write file on windows

Disassembly:
push 0x4c
mov eax, 0x10047fee
call fcn.100230ec
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x1000fa05
cmp byte [esi + 0x41], 0
je 0x1000fa05
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x1000f92f
xor al, al
jmp 0x1000fa07
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.10005cc0
mov dword [ebp - 4], edi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
call fcn.10008004
mov ecx, eax
call fcn.10006c54
mov edi, dword [ebp - 0x1c]
mov ebx, eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
call fcn.10008004
mov ecx, eax
call fcn.10006c54
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
push eax
add edi, ebx
push edi
push dword [ebp - 0x38]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x1000f99f
dec eax
je 0x1000f9a3
dec eax
dec eax
je 0x1000fa01
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.100025e9
mov al, bl
jmp 0x1000fa07
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call fcn.10008004
mov ecx, eax
call fcn.10006c54
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x1000f9e3
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.10008004
mov ecx, eax
call fcn.10006c54
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.100218b1
add esp, 0x10
cmp edi, eax
jne 0x1000f98d
cmp byte [esi + 0x41], 0
je 0x1000fa01
test edi, edi
jne 0x1000f93d
push edi
push 8
lea ecx, [ebp - 0x30]
call fcn.10005ce6
jmp 0x1000f93d
mov bl, 1
jmp 0x1000f98f
mov al, 1
call fcn.1002316f
ret

Function at 0x10010c50
Capabilities:
Resume thread

Disassembly:
push 0x20
mov eax, 0x10048b51
call fcn.10023083
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x10010c7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10010cac
push 0x1004e8b1
lea ecx, [ebp - 0x28]
call fcn.10001f3a
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
cmp esi, 0xffffffff
setne al
movzx eax, al
push eax
call fcn.10010b5d
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.100025e9
call fcn.1002315b
ret 4
Function at 0x10010e95
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x88
mov eax, 0x10048759
call fcn.10023083
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
jb 0x10010ebf
add eax, 4
mov eax, dword [eax]
jmp 0x10010ec2
add eax, 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x14]
push ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call edi
mov esi, eax
cmp esi, ebx
je 0x10010f10
push 0x1004e8b1
lea ecx, [ebp - 0x40]
call fcn.10001f3a
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
mov ebx, esi
lea esi, [ebp - 0x6c]
call fcn.10011c87
push 0x100557bc
mov eax, esi
push eax
call fcn.10022c51
push 0x20
call fcn.1001f3d6
mov esi, eax
pop ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 2
cmp esi, ebx
je 0x10010f3c
push ebx
push dword [ebp - 0x14]
lea ecx, [esi + 4]
call fcn.10005cc0
mov dword [esi], vtable._01::Buffer.0
jmp 0x10010f3e
xor esi, esi
mov byte [ebp - 4], bl
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], esi
call fcn.10011466
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.1000ece8
add esp, 0xc
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x1c], 0x10
jb 0x10010f70
mov eax, dword [eax + 8]
jmp 0x10010f73
add eax, 8
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x18], 8
jb 0x10010f81
mov ecx, dword [esi + 4]
jmp 0x10010f84
lea ecx, [esi + 4]
lea edx, [ebp - 0x14]
push edx
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push ebx
push ecx
push dword [eax + 4]
call edi
mov edi, eax
cmp edi, ebx
je 0x10010fb9
push 0x1004e8b1
lea ecx, [ebp - 0x40]
call fcn.10001f3a
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
mov ebx, edi
jmp 0x10010efb
push esi
push ecx
push ecx
mov ecx, dword [ebp - 0x1c]
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp + 0x10], esp
push ecx
lea ecx, [eax + 4]
call fcn.1000ae2a
push dword [ebp - 0x10]
lea eax, [ebp - 0x94]
push eax
call fcn.1001125e
mov byte [ebp - 4], 5
push dword [ebp + 0xc]
mov ecx, eax
call fcn.1001101f
lea esi, [ebp - 0x94]
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 3
call fcn.100112b1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x10011014
call fcn.1000adfe
mov eax, dword [ebp + 0xc]
call fcn.1002315b
ret 0xc
Function at 0x10011060
Capabilities:
Set registry value

Disassembly:
push 0x4c
mov eax, 0x100486d2
call fcn.10023083
and dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x1c], 0x10
mov edx, dword [eax + 0x18]
jb 0x10011081
mov eax, dword [eax + 8]
jmp 0x10011084
add eax, 8
cmp dword [ecx + 0x18], 8
jb 0x1001108f
mov ecx, dword [ecx + 4]
jmp 0x10011092
add ecx, 4
push edx
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push 0
push ecx
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test ebx, ebx
je 0x100110d6
push 0x1004e8b1
lea ecx, [ebp - 0x28]
call fcn.10001f3a
lea eax, [ebp - 0x28]
push eax
lea esi, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.10011c87
push 0x100557bc
mov eax, esi
push eax
call fcn.10022c51
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x100110e6
call fcn.1000adfe
call fcn.1002315b
ret 0x10

Function at 0x10011173
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x4c
mov eax, 0x100486a7
call fcn.10023083
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp dword [eax + 0x18], 8
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x10], esi
jb 0x10011195
mov eax, dword [eax + 4]
jmp 0x10011198
add eax, 4
lea ecx, [ebp + 0xc]
push ecx
push esi
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp ebx, 2
jne 0x100111ba
xor al, al
jmp 0x100111e9
cmp ebx, esi
je 0x100111e7
push 0x1004e8b1
lea ecx, [ebp - 0x2c]
call fcn.10001f3a
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], esi
push eax
lea esi, [ebp - 0x58]
call fcn.10011c87
push 0x100557bc
mov eax, esi
push eax
call fcn.10022c51
mov al, 1
call fcn.1002315b
ret 8

Function at 0x100111f1
Capabilities:
Delete registry value

Disassembly:
push 0x48
mov eax, 0x10048684
call fcn.10023083
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x1001120b
mov eax, dword [eax + 4]
jmp 0x1001120e
add eax, 4
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
cmp ebx, 2
jne 0x10011226
xor al, al
jmp 0x10011256
test ebx, ebx
je 0x10011254
push 0x1004e8b1
lea ecx, [ebp - 0x28]
call fcn.10001f3a
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea esi, [ebp - 0x54]
call fcn.10011c87
push 0x100557bc
mov eax, esi
push eax
call fcn.10022c51
mov al, 1
call fcn.1002315b
ret 8

Function at 0x10011912
Capabilities:
Copy file

Disassembly:
push 0x1c
mov eax, 0x10047cd8
call fcn.10023083
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x1001192c
mov eax, dword [eax + 4]
jmp 0x1001192f
add eax, 4
cmp dword [ecx + 0x18], 8
jb 0x1001193a
mov ecx, dword [ecx + 4]
jmp 0x1001193d
add ecx, 4
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x1004e8b1
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.10001f3a
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
cmp edi, 1
setne al
movzx eax, al
push eax
call fcn.10010b5d
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.100025e9
call fcn.1002315b
ret
Function at 0x10011981
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10048d45
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x1005a760]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
push edi
mov eax, dword [0x1005a760]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
xor ecx, ecx
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jb 0x100119dc
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push ecx
push ecx
push eax
call esi
mov edi, 0x1004e8b1
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.10001f3a
and dword [esp + 0xa8], 0
cmp dword [esp + 0x10], 0
lea eax, [esp + 0x1c]
push eax
sete al
movzx eax, al
push eax
call fcn.10010b5d
or dword [esp + 0xb0], 0xffffffff
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.100025e9
push 0
push dword [esp + 0x14]
lea ecx, [esp + 0x84]
call fcn.10004a28
mov dword [esp + 0xa8], 1
cmp dword [esp + 0x94], 8
mov ecx, dword [esp + 0x80]
jae 0x10011a64
lea ecx, [esp + 0x80]
cmp dword [ebx + 0x18], 8
mov eax, dword [esp + 0x14]
jb 0x10011a70
mov eax, dword [eax]
push dword [esp + 0x90]
push ecx
push eax
call esi
push edi
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.10001f3a
lea eax, [esp + 0x1c]
push eax
test esi, esi
sete al
movzx eax, al
push eax
mov byte [esp + 0xb0], 2
call fcn.10010b5d
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0xb0], 1
call fcn.100025e9
inc esi
cmp dword [esp + 0x10], esi
je 0x10011af3
push str.Assertion_failed:totalSize__size__1
lea ecx, [esp + 0x3c]
call fcn.10001f3a
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xac], 3
call fcn.10001f86
push 0x1005540c
lea eax, [esp + 0x58]
push eax
call fcn.10022c51
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x80]
jae 0x10011b0b
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x18]
push eax
call fcn.1000151f
push 0
push 1
lea ecx, [esp + 0x84]
call fcn.100027b2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.1001f290
mov esp, ebp
pop ebp
ret
Function at 0x10011b4c
Capabilities:
Get common file path

Disassembly:
push 0x27c
mov eax, 0x10048cf7
call fcn.100230ec
xor edi, edi
push 0x20a
lea eax, [ebp - 0x224]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x228], edi
call fcn.1001fc30
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x10011b85
mov esi, dword [esi + 4]
jmp 0x10011b88
add esi, 4
lea eax, [ebp - 0x224]
push eax
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0x1004e8b1
lea ecx, [ebp - 0x244]
mov esi, eax
call fcn.10001f3a
lea eax, [ebp - 0x244]
push eax
cmp esi, edi
sete al
movzx eax, al
push eax
mov dword [ebp - 4], edi
call fcn.10010b5d
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push edi
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x244]
call fcn.100025e9
cmp esi, 0x6f
jne 0x10011c13
push str.Assertion_failed:r___ERROR_BUFFER_OVERFLOW
lea ecx, [ebp - 0x260]
call fcn.10001f3a
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x288]
mov dword [ebp - 4], edi
call fcn.10001f86
push 0x1005540c
lea eax, [ebp - 0x288]
push eax
call fcn.10022c51
lea eax, [ebp - 0x224]
push eax
mov ecx, ebx
call fcn.1000151f
mov eax, ebx
call fcn.1002316f
ret

Function at 0x10011c29
Capabilities:
Delete file

Disassembly:
push 0x1c
mov eax, 0x10047cd8
call fcn.10023083
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x10011c43
mov eax, dword [eax + 4]
jmp 0x10011c46
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1004e8b1
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10001f3a
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
cmp esi, 1
setne al
movzx eax, al
push eax
call fcn.10010b5d
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.100025e9
call fcn.1002315b
ret

Function at 0x10012407
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10047f18
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1005a760]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x1005a760]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov esi, ecx
push eax
lea ecx, [esp + 0x14]
call fcn.100124ee
and dword [esp + 0x38], 0
lea eax, [esp + 0xc]
push eax
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10012498
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.100025e9
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1001f290
mov esp, ebp
pop ebp
ret 0x1c