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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x7c
mov ebx, ecx
movzx eax, word [esp + 0x90]
cmp eax, 0x18
jge 0x64606f
movzx eax, word [esp + 0x98]
cmp eax, 0x3e
jge 0x64606f
movzx eax, word [esp + 0x94]
cmp eax, 0x3c
jge 0x64606f
movzx eax, word [esp + 0x9c]
cmp eax, 0x3e8
jge 0x64606f
lea eax, [esp + 0x4c]
call fcn.00643594
test eax, eax
je 0x64606f
mov edi, dword [eax]
mov dword [esp + 0x70], ebx
mov dword [esp + 4], edi
mov ecx, dword [eax + 4]
movzx edi, word [esp + 0x98]
mov dword [esp + 8], ecx
mov ebx, dword [eax + 8]
mov dword [esp + 0xc], ebx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x10], ecx
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x14], ebx
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x18], ebp
mov esi, dword [eax + 0x18]
mov dword [esp + 0x1c], esi
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x20], edx
movzx edx, word [esp + 0x90]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x78], eax
mov dword [esp + 0x24], eax
movzx eax, word [esp + 0x94]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], esi
lea eax, [esp + 0x28]
push eax
mov ebx, dword [esp + 0x74]
call fcn.0074f958
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x24]
je 0x646049
mov dword [esp + 0x24], eax
lea eax, [esp + 4]
push eax
mov ecx, ebx
call fcn.00643490
movzx eax, word [esp + 0x9c]
push eax
mov ecx, ebx
call fcn.00646090
add esp, 0x7c
pop ebx
pop ebp
pop esi
pop edi
ret 0x10
mov edx, dword [0x858040]
mov ecx, dword [0x858044]
mov dword [ebx], edx
mov dword [ebx + 4], ecx
mov eax, ebx
add esp, 0x7c
pop ebx
pop ebp
pop esi
pop edi
ret 0x10

Function at 0x647330
Capabilities:
Write file on windows

Disassembly:
push edi
push ebp
push ebx
mov ebp, ecx
mov edx, dword [esp + 0x10]
test edx, edx
je 0x647344
mov eax, dword [ebp]
test eax, eax
jne 0x64734c
xor eax, eax
pop ebx
pop ebp
pop edi
ret 8
mov edi, dword [esp + 0x14]
push eax
push edi
push 1
push edx
call fcn.00742cfc
add esp, 0x10
mov ebx, eax
cmp ebx, edi
jb 0x64736b
mov eax, ebx
pop ebx
pop ebp
pop edi
ret 8
call fcn.00629330
test eax, eax
je 0x647390
push 0
push str.Write_error_on_file__s
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
push dword [ebp + 4]
push eax
call fcn.006304c0
add esp, 8
jmp 0x647363
mov eax, str.Write_error_on_file__s
jmp 0x647382
Function at 0x647420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x778840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov esi, ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x647527
mov eax, dword [esi]
test eax, eax
jne 0x64746f
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
call fcn.006475d0
sub edx, 0
jl 0x647527
mov ecx, esi
call fcn.006475d0
mov edi, eax
mov ecx, esi
call fcn.006475d0
sub eax, edi
or eax, edx
je 0x6474b0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push dword [esi]
call fcn.0074fa11
lea eax, [edi + 2]
push eax
call fcn.0074334f
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
mov byte [eax + edi + 1], 0
push dword [esi]
push edi
push 1
push dword [ebp - 0x20]
call fcn.0074301a
mov edi, eax
push dword [esi]
call fcn.00748d95
add esp, 0x1c
test eax, eax
je 0x647552
call fcn.00629330
test eax, eax
je 0x64754b
push 0
push str.Read_error_on_file__s
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
add esp, 0xfffffff8
mov dword [esp], eax
mov eax, dword [esi + 4]
mov dword [esp + 4], eax
call fcn.006304c0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x20]
call fcn.00743035
add esp, 0xc
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, str.Read_error_on_file__s
jmp 0x647503
push dword [0x7a1f64]
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
mov byte [eax + edi], 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
call fcn.00620ed0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
call fcn.00620770
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x64759d
dec eax
mov dword [ecx], eax
jne 0x64759d
call fcn.0061ff50
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x20]
call fcn.00743035
pop ecx
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x6485f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x778930
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
movzx eax, byte [0x85808c]
test eax, eax
jne 0x648624
call fcn.00648840
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov eax, dword [0x83b878]
mov dword [ecx], eax
mov edx, dword [0x858084]
test edx, edx
jne 0x648773
mov eax, dword [0x858088]
test eax, eax
jne 0x648728
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x6487c2
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x28]
mov edx, dword [0x83b878]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x40], ecx
push 0x104
call fcn.0061f9e0
mov dword [ebp - 4], 3
mov dword [ebp - 0x3c], eax
push eax
push dword [ebp - 0x30]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x40]
call fcn.0061fa10
mov dword [ebp - 4], 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.00620770
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x6486ec
dec eax
mov dword [ecx], eax
jne 0x6486ec
call fcn.0061ff50
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x6487c2
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x6487c2
push ebx
push edx
mov eax, dword [edx]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x38]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x6487c2
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], ecx
push 0x104
call fcn.0061f9e0
mov dword [ebp - 4], 5
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
xor ecx, ecx
push ecx
push edx
push eax
push ecx
call dword [0x858088]
mov ebx, eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
call fcn.0061fa10
test ebx, ebx
jl 0x648650
jmp 0x6487c2
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], ecx
push 0x104
call fcn.0061f9e0
mov dword [ebp - 4], 7
mov dword [ebp - 0x20], eax
push eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push edx
push edx
push eax
push edx
call dword [0x858084]
mov ebx, eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
call fcn.0061fa10
cmp ebx, 0x80004005
je 0x6487f8
test ebx, ebx
jl 0x648643
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], ecx
push 0x104
call fcn.0061f9e0
mov dword [ebp - 4], 6
mov dword [ebp - 0x4c], eax
push eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push 1
push edx
push eax
push edx
call dword [0x858084]
mov ebx, eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
call fcn.0061fa10
jmp 0x6487ba
Function at 0x6499f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x778ae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x24]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push edx
call fcn.0061faf0
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push 0
mov edx, dword [ecx - 8]
add edx, edx
push eax
push edx
push ecx
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x649a67
dec eax
mov dword [ecx], eax
jne 0x649a67
call fcn.0061ff50
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x64bee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64bf80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov eax, ecx
mov dword [ebp - 0x20], eax
mov dword [eax], 0x8a3ba4
mov dword [ebp - 4], 0
push 1
mov ecx, dword [eax + 0x18]
mov esi, dword [eax + 0x20]
mov ebx, dword [ecx]
mov edi, dword [esi + 8]
sub edi, dword [esi + 0xc]
xor eax, eax
xor edx, edx
sub edx, edi
sbb eax, 0
push eax
push edx
call dword [ebx + 0x30]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x64bf47
push 1
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0064bf90
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x6505a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x779050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov esi, ecx
push 0
call fcn.00650390
movzx eax, al
test eax, eax
je 0x65069c
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], 4
test ecx, ecx
je 0x6505ed
movzx eax, word [ecx]
test eax, eax
jne 0x6505f4
mov edx, 1
jmp 0x6505f6
xor edx, edx
lea ebx, [ebp - 0x20]
xor eax, eax
cmp edx, 0
cmovne ecx, eax
lea edx, [ebp - 0x24]
push edx
push dword [ebp + 0xc]
push ebx
push eax
push ecx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esi + 0x10], eax
test eax, eax
jne 0x650635
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.00629330
test eax, eax
je 0x6506b4
push 0
push str.Cant_read_value_of_key__s
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov ebx, eax
lea eax, [ebp - 0x28]
push 1
push eax
mov ecx, esi
call fcn.0064fbc0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x10]
add esp, 0xfffffff4
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00630510
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x65069c
dec eax
mov dword [ecx], eax
jne 0x65069c
call fcn.0061ff50
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov ebx, str.Cant_read_value_of_key__s
jmp 0x65064e
Function at 0x6506c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x779070
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov edi, ecx
push 0
call fcn.00650390
movzx eax, al
test eax, eax
je 0x650852
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x650706
movzx eax, word [ebx]
test eax, eax
jne 0x65070d
mov edx, 1
jmp 0x65070f
xor edx, edx
lea ecx, [ebp - 0x20]
xor eax, eax
cmp edx, 0
lea edx, [ebp - 0x24]
mov esi, ebx
cmovne esi, eax
push edx
push eax
push ecx
push eax
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [edi + 0x10], eax
test eax, eax
jne 0x6507e7
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x6507b9
mov edx, dword [esi]
cmp ecx, dword [edx + 4]
jbe 0x650778
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], edx
add ecx, 0x400
mov dword [ebp - 0x30], ecx
push ecx
push eax
call fcn.007436c1
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
add esp, 8
mov dword [edx], eax
test eax, eax
je 0x65086d
mov dword [edx + 4], ecx
mov edx, dword [esi]
mov edx, dword [edx]
test ebx, ebx
je 0x650785
movzx eax, word [ebx]
test eax, eax
jne 0x65078c
mov ecx, 1
jmp 0x65078e
xor ecx, ecx
xor eax, eax
cmp ecx, 0
cmovne ebx, eax
lea ecx, [ebp - 0x24]
push ecx
push edx
lea edx, [ebp - 0x20]
push edx
push eax
push ebx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [esi]
mov dword [edx + 8], eax
mov eax, dword [edi + 0x10]
jmp 0x6507c5
mov eax, dword [esi]
mov dword [eax + 8], 0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x6507e7
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.00629330
test eax, eax
je 0x650889
push 0
push str.Cant_read_value_of_key__s
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov ebx, eax
lea eax, [ebp - 0x28]
push 1
push eax
mov ecx, edi
call fcn.0064fbc0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov eax, dword [edi + 0x10]
add esp, 0xfffffff4
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00630510
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x650852
dec eax
mov dword [ecx], eax
jne 0x650852
call fcn.0061ff50
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
call fcn.00743035
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
add esp, 4
jmp 0x650773
mov ebx, str.Cant_read_value_of_key__s
jmp 0x650804
Function at 0x650b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7790e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov esi, ecx
push 0
call fcn.00650390
movzx eax, al
test eax, eax
jne 0x650b49
mov esi, dword [ebp - 0x18]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x650b57
movzx eax, word [ecx]
test eax, eax
jne 0x650b5e
mov eax, 1
jmp 0x650b60
xor eax, eax
xor edx, edx
push edx
push edx
cmp eax, 0
cmovne ecx, edx
lea eax, [ebp - 0x20]
push eax
push edx
push ecx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esi + 0x10], eax
test eax, eax
jne 0x650b95
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.00629330
test eax, eax
je 0x650c14
push 0
push str.Cant_read_value_of_key__s
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov ebx, eax
lea eax, [ebp - 0x24]
push 1
push eax
mov ecx, esi
call fcn.0064fbc0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x24]
mov eax, dword [esi + 0x10]
add esp, 0xfffffff4
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00630510
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x650bfc
dec eax
mov dword [ecx], eax
jne 0x650bfc
call fcn.0061ff50
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, str.Cant_read_value_of_key__s
jmp 0x650bae
Function at 0x6635f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x77a030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 3
lea ecx, [ebx + 0x30]
call fcn.00621fa0
mov dword [ebp - 4], 2
lea ecx, [ebx + 0x24]
call fcn.00621fa0
mov dword [ebp - 4], 1
lea ecx, [ebx + 0x18]
call fcn.006636b0
mov dword [ebp - 4], 0
lea ecx, [ebx + 0xc]
call fcn.006636b0
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.006636b0
mov eax, dword [ebp + 8]
test al, 1
jne 0x6636a0
mov eax, ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push ebx
call fcn.007424fc
pop ecx
jmp 0x66366a
Function at 0x6701e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x77a940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ecx
call fcn.006222a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0xc
call fcn.006222a0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0x18
call fcn.006222a0
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
add ecx, 0x24
call fcn.006222a0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0x30
call fcn.006222a0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x6702f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x77a970
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
call fcn.00670480
movzx eax, al
test eax, eax
jne 0x670336
mov eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
call fcn.006390d0
pop ecx
mov eax, dword [ebp + 0x14]
mov dword [0x842604], eax
push 0
lea ecx, [ebp - 0x30]
call fcn.00621ce0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x670399
lea edx, [ebp - 0x54]
add esp, 0xfffffff8
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00633260
add esp, 8
mov dword [ebp - 4], 4
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x30]
call fcn.00621a40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.006219f0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
push edi
lea edx, [eax*4 + 4]
mov dword [esp], edx
call fcn.0061de30
pop ecx
mov esi, eax
mov edx, dword [ebp - 0x14]
test edx, edx
jle 0x6703d6
xor ebx, ebx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + ebx*4]
push edi
mov dword [esp], edx
call fcn.0074c054
pop ecx
mov edx, dword [ebp - 0x14]
mov dword [esi + ebx*4], eax
inc ebx
cmp ebx, edx
jl 0x6703bb
mov dword [ebp - 4], 3
mov dword [ebp - 0x40], 0x6702a0
mov dword [ebp - 0x3c], edx
xor eax, eax
mov byte [ebp - 0x44], al
mov dword [esi + edx*4], eax
mov dword [ebp - 0x38], esi
add esp, 0xfffffff8
lea edx, [ebp - 0x14]
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.006391d0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], eax
movzx eax, byte [ebp - 0x44]
test eax, eax
jne 0x670444
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
add esp, 0xfffffff8
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [ebp - 0x40]
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.006219f0
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x672130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x77ab80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov edx, dword [ebp + 8]
mov eax, dword [0x83b878]
mov dword [edx], eax
mov dword [ebp - 4], 0
mov eax, dword [ecx]
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
add esp, 0xffffffbc
mov dword [esp], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0xc], eax
movzx eax, byte [ecx + 0x14]
mov dword [esp + 4], str._d__ld__ld__ld__ld__ld__d__d__d__d__d__d__d__d__s
mov dword [esp + 0x10], edx
movzx edx, byte [ecx + 0x15]
mov dword [esp + 8], 0
mov dword [esp + 0x14], ebx
movzx ebx, byte [ecx + 0x16]
mov dword [esp + 0x18], esi
movzx esi, byte [ecx + 0x17]
mov dword [esp + 0x1c], edi
movzx edi, byte [ecx + 0x18]
mov dword [esp + 0x20], eax
movzx eax, byte [ecx + 0x19]
mov dword [esp + 0x24], edx
movzx edx, byte [ecx + 0x1a]
mov dword [esp + 0x28], ebx
movzx ebx, byte [ecx + 0x1b]
mov dword [esp + 0x2c], esi
add ecx, 0x1c
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ecx
call fcn.0061fbb0
add esp, 0x44
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4