joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ea90
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x427acc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00402920
cmp eax, 1
jne 0x40306d
mov esi, str.MS_PowerPoint_application_dosent_installed
call fcn.004027f0
mov edi, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 8], bl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
je 0x40309c
mov esi, str.Check_In_HKEY_LOCAL_MACHINE
call fcn.004027f0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 1
push ebx
push ebx
push ebx
push str.SOFTWAREMicrosoftOfficePowerPointAddinsNitroPDFProfessional.MSPowerPointAddin
push 0x80000002
jmp 0x4030be
mov esi, str.Check_In_HKEY_CURRENT_USER
call fcn.004027f0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push ebx
push 1
push ebx
push ebx
push ebx
push str.SOFTWAREMicrosoftOfficePowerPointAddinsNitroPDFProfessional.MSPowerPointAddin
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x4031b2
lea ecx, [ebp - 0x18]
test ecx, ecx
je 0x40311c
cmp dword [ebp - 0x18], 2
je 0x40311c
mov esi, str.REG_CREATED_NEW_KEY__dwDisposition
call fcn.004027f0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
push eax
call fcn.00402f30
add esp, 4
mov esi, str.Newly_created_key__was_removed
call fcn.004027f0
mov edi, 6
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, str.Plug_in_key_exists
call fcn.004027f0
mov eax, 4
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.LoadBehavior
push ecx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403185
cmp dword [ebp - 0x1c], 3
jne 0x403185
mov esi, str.MS_PowerPoint_plug_in:_installed
lea edi, [eax + 5]
call fcn.004027f0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, str.MS_PowerPoint_plug_in:_uninstalled
mov edi, 6
call fcn.004027f0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, str.Error_open_registry_key
call fcn.004027f0
mov edi, 3
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403810
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x804
mov eax, dword [0x427acc]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push 0x7fe
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call fcn.0040f3c0
push str.SOFTWAREMicrosoftOfficeWordAddinsNitroPDFProfessional.MSWordAddin
push str.MS_Word_try_to_delete_Key:__s
lea ecx, [esp + 0x18]
push 0x400
push ecx
call fcn.0040d10e
add esp, 0x1c
lea esi, [esp + 4]
call fcn.004027f0
cmp byte [esp + 0x80c], 0
je 0x403882
mov esi, str.In_HKEY_LOCAL_MACHINE
call fcn.004027f0
push str.SOFTWAREMicrosoftOfficeWordAddinsNitroPDFProfessional.MSWordAddin
push 0x80000002
jmp 0x403896
mov esi, str.In_HKEY_CURRENT_USER
call fcn.004027f0
push str.SOFTWAREMicrosoftOfficeWordAddinsNitroPDFProfessional.MSWordAddin
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4038c9
push edi
mov esi, str.Error_delete_key
mov edi, 3
call fcn.004027f0
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0040ce0c
add esp, 0x804
ret
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
mov eax, 6
call fcn.0040ce0c
add esp, 0x804
ret
Function at 0x4038f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ea70
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x427acc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00403200
cmp eax, 1
jne 0x40394d
mov esi, str.MS_Word_application_dosent_installed
call fcn.004027f0
mov edi, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 8], bl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
je 0x40397c
mov esi, str.Check_In_HKEY_LOCAL_MACHINE
call fcn.004027f0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 1
push ebx
push ebx
push ebx
push str.SOFTWAREMicrosoftOfficeWordAddinsNitroPDFProfessional.MSWordAddin
push 0x80000002
jmp 0x40399e
mov esi, str.Check_In_HKEY_CURRENT_USER
call fcn.004027f0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push ebx
push 1
push ebx
push ebx
push ebx
push str.SOFTWAREMicrosoftOfficeWordAddinsNitroPDFProfessional.MSWordAddin
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x403a92
lea ecx, [ebp - 0x18]
test ecx, ecx
je 0x4039fc
cmp dword [ebp - 0x18], 2
je 0x4039fc
mov esi, str.REG_CREATED_NEW_KEY__dwDisposition
call fcn.004027f0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
push eax
call fcn.00403810
add esp, 4
mov esi, str.Newly_created_key__was_removed
call fcn.004027f0
mov edi, 6
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, str.Plug_in_key_exists
call fcn.004027f0
mov eax, 4
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.LoadBehavior
push ecx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403a65
cmp dword [ebp - 0x1c], 3
jne 0x403a65
mov esi, str.MS_Word_plug_in:_installed
lea edi, [eax + 5]
call fcn.004027f0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, str.MS_Word_plug_in:_uninstalled
mov edi, 6
call fcn.004027f0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, str.Error_open_registry_key
call fcn.004027f0
mov edi, 3
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40ce0c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427acc]
jne 0x40ce16
repz ret
jmp fcn.00413815
Function at 0x40fa26
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x427c50]
je 0x40fa41
inc edi
cmp edi, 0x17
jb 0x40fa32
cmp edi, 0x17
jae 0x40fbc1
push ebp
push 3
call fcn.004173d0
cmp eax, 1
pop ecx
je 0x40fb8d
push 3
call fcn.004173d0
test eax, eax
pop ecx
jne 0x40fa75
cmp dword [0x427aa8], 1
je 0x40fb8d
cmp ebx, 0xfc
je 0x40fbc0
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x42ade8
push ebp
call fcn.0041736b
add esp, 0xc
test eax, eax
je 0x40faab
push esi
push esi
push esi
push esi
push esi
call fcn.00410d6b
add esp, 0x14
push 0x104
mov esi, 0x42ae01
push esi
push 0
mov byte [0x42af05], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40faef
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0041736b
add esp, 0xc
test eax, eax
je 0x40faef
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00410d6b
add esp, 0x14
push esi
call fcn.004172e0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40fb34
push esi
call fcn.004172e0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x42b0fc
push 0x420aac
sub ecx, eax
push ecx
push eax
call fcn.00417220
add esp, 0x14
test eax, eax
je 0x40fb34
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00410d6b
add esp, 0x14
jmp 0x40fb36
xor esi, esi
push 0x420aa8
push ebx
push ebp
call fcn.004171af
add esp, 0xc
test eax, eax
je 0x40fb56
push esi
push esi
push esi
push esi
push esi
call fcn.00410d6b
add esp, 0x14
push dword [edi*8 + 0x427c54]
push ebx
push ebp
call fcn.004171af
add esp, 0xc
test eax, eax
je 0x40fb78
push esi
push esi
push esi
push esi
push esi
call fcn.00410d6b
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00416ff2
add esp, 0xc
jmp 0x40fbc0
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40fbc0
cmp ebp, 0xffffffff
je 0x40fbc0
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x427c54]
push dword [esi]
call fcn.004172e0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x416ff2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004105d6
xor ebx, ebx
cmp dword [0x42b8f0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4170c8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4171a8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4171a8
push eax
call fcn.00410568
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42b8f0], eax
call esi
push eax
call fcn.00410568
mov dword [esp], 0x420d1c
push edi
mov dword [0x42b8f4], eax
call esi
push eax
call fcn.00410568
mov dword [0x42b8f8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040c88d
test eax, eax
pop ecx
pop ecx
je 0x417096
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00410d6b
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4170c8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00410568
cmp eax, ebx
pop ecx
mov dword [0x42b900], eax
je 0x4170c8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00410568
pop ecx
mov dword [0x42b8fc], eax
mov eax, dword [0x42b8fc]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x41714d
cmp dword [0x42b900], ecx
je 0x41714d
push eax
call fcn.004105df
push dword [0x42b900]
mov esi, eax
call fcn.004105df
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x41714d
cmp edi, ebx
je 0x41714d
call esi
cmp eax, ebx
je 0x41711a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41711a
test byte [ebp - 0x18], 1
jne 0x41714d
lea eax, [ebp - 0x10]
push eax
call fcn.0040c8c4
test eax, eax
pop ecx
je 0x417135
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00410d6b
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x417144
or dword [ebp + 0x10], 0x200000
jmp 0x417188
or dword [ebp + 0x10], 0x40000
jmp 0x417188
mov eax, dword [0x42b8f4]
cmp eax, dword [ebp - 8]
je 0x417188
push eax
call fcn.004105df
cmp eax, ebx
pop ecx
je 0x417188
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x417188
mov eax, dword [0x42b8f8]
cmp eax, dword [ebp - 8]
je 0x417188
push eax
call fcn.004105df
cmp eax, ebx
pop ecx
je 0x417188
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42b8f0]
call fcn.004105df
cmp eax, ebx
pop ecx
je 0x4171a8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4171aa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41e1ae
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x427acc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0041e143
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0040f3c0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x41e1fd
cmp dword [ebp - 0x1c], 5
jb 0x41e215
jmp 0x41e211
cmp dword [ebp - 0x10], 1
jne 0x41e215
cmp dword [ebp - 0x1c], 4
ja 0x41e211
jne 0x41e215
cmp dword [ebp - 0x18], 0
jbe 0x41e215
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x421ef8
call fcn.0041e034
test eax, eax
jge 0x41e236
mov byte [0x42b9e0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040ce0c
add ebp, 0x78
leave
ret
Function at 0x1001aee9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100d0db4
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100dbeac
mov dword [esi + 8], 0x100d97c0
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], eax
push fcn.1000b96d
push 0x1001b0f6
push 6
lea eax, [esi + 0x160]
push 8
push eax
mov byte [ebp - 4], 7
call fcn.1002950f
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dbe78
mov dword [esi + 4], 0x100dbe5c
mov dword [esi + 8], 0x100dbe4c
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100248ea
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push esi
mov ecx, dword [esp + 8]
lea esi, [edx + ecx]
cmp edx, esi
je 0x10024919
push edi
movzx edi, byte [edx]
mov ecx, eax
and ecx, 0xff
xor ecx, edi
shr eax, 8
movzx ecx, word [ecx*2 + 0x100f75d0]
xor eax, ecx
inc edx
cmp edx, esi
jne 0x100248f9
pop edi
pop esi
ret 4

Function at 0x10029218
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d1c35
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100d9c7c
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.1000250f
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dd620
mov dword [esi + 4], 0x100dd610
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x1002950f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1002951e
pop dword [ebp - 0x1c]
mov eax, 0xbfd331cb
sub eax, 0xafd09cad
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x44c8d
push 0
mov eax, 0x524d8d76
sub eax, 0x423ffd4e
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x1b2f8d43
add ecx, 0xe4d0be8e
xor edi, edi
add edi, eax
mov edx, 0xf3d0aa96
sub edx, 0xe3be8c96
add edx, dword [ebp - 0x1c]
mov esi, 0xe57ab345
add esi, 0x8b4232a5
add dword [ebp - 0xc], 0x979cd04c
mov ebx, dword [edx]
xor dword [ebp - 0x10], edx
add ebx, esi
add dword [ebp - 4], edi
mov dword [edi], ebx
xor dword [ebp - 0x14], ebx
add edi, 0xf65a48c2
add edi, 0x9a5b742
add edx, 0x5d6d12f0
add edx, 0xa292ed14
loop 0x1002957f
add eax, 0x12217
mov ebx, eax
add eax, 5
mov ecx, 0xa7f7c905
add ecx, 0x680836fb
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x1007f713
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x100d7204
call fcn.100cece0
sub esp, 0x64
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov ecx, dword [ebp + 8]
push esi
mov dword [esi + 0x10], eax
mov al, byte [ebx + 0x2c]
mov byte [esi + 0x69], al
cmp dword [ebx], 0x10900
mov edx, ebx
sete al
mov byte [esi + 0x68], al
call fcn.1007f8eb
xor edi, edi
cmp eax, edi
jne 0x1007f8da
mov ecx, dword [ebx + 0x80]
lea eax, [ebx + 0x80]
or ecx, dword [eax + 4]
jne 0x1007f76b
push 1
pop eax
jmp 0x1007f76d
xor eax, eax
test al, al
lea ecx, [ebp - 0x70]
mov dword [ebp + 0xc], edi
sete byte [ebp + 0x17]
call fcn.100786d5
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], edi
cmp eax, edi
mov dword [ebp - 0x14], edi
jbe 0x1007f8bf
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x20]
add eax, dword [ebp - 0x10]
cmp word [ebx + 0x20], 1
mov dword [ebp - 0x1c], eax
jne 0x1007f892
cmp word [eax + 0x20], 1
jne 0x1007f892
cmp byte [esi + 0x68], 0
mov eax, dword [esi + 0x60]
sete cl
movzx edi, cl
lea ecx, [esi + 0x5c]
add edi, eax
call fcn.10080f40
mov ecx, eax
mov edx, edi
mov dword [ebp - 0x18], ecx
call fcn.1002950f
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x70]
push dword [ebp - 0x18]
push esi
push ebx
push edi
push dword [ebp + 8]
call fcn.1007e9a8
test eax, eax
jne 0x1007f8aa
add edi, 0x2c
push 0x14
lea eax, [ebp - 0x30]
push edi
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1007f826
cmp byte [ebx + 0x2c], 0
je 0x1007f8c5
xor eax, eax
cmp byte [edi + eax], 0
jne 0x1007f8c5
inc eax
cmp eax, 0x14
jb 0x1007f816
mov edi, dword [ebp - 0x18]
and dword [edi + 0x1c], 0
cmp dword [esi + 0x3c], 0
jne 0x1007f83e
push dword [ebp + 0x10]
lea ecx, [esi + 0x38]
call fcn.10080ecb
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.1002950f
test eax, eax
jne 0x1007f8aa
cmp byte [ebp + 0x17], al
je 0x1007f892
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x78]
cmp ecx, dword [eax + 8]
jne 0x1007f8a6
mov ecx, dword [ebx + 0x7c]
cmp ecx, dword [eax + 0xc]
jne 0x1007f8a6
and byte [ebp + 0x17], 0
mov cl, 1
cmp byte [ebx + 0x2d], 0
je 0x1007f892
cmp dword [eax + 0x24], 1
jne 0x1007f892
inc dword [ebp + 0xc]
mov eax, dword [ebx + 0x28]
cmp eax, dword [ebp + 0xc]
sete al
test cl, cl
je 0x1007f88a
test al, al
je 0x1007f8c5
test al, al
je 0x1007f892
test cl, cl
je 0x1007f8ae
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x40
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x24]
jae 0x1007f8bf
jmp 0x1007f792
xor cl, cl
jmp 0x1007f86a
mov esi, eax
jmp 0x1007f8cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1007dfbb
push 1
pop eax
jmp 0x1007f8da
cmp byte [ebp + 0x17], 0
je 0x1007f8ca
push 1
pop esi
jmp 0x1007f8cc
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1007dfbb
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x1008095a
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
mov eax, 0x100d729c
call fcn.100cece0
sub esp, 0x18
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push str.CREATIONTIME
mov ecx, edi
lea edx, [esi + 4]
call fcn.10080ade
push str.LASTMODIFICATIONTIME
lea edx, [esi + 0xc]
mov ecx, edi
mov byte [esi], al
call fcn.10080ade
mov byte [esi + 1], al
lea eax, [ebp - 0x18]
push str.NAME
push eax
mov ecx, edi
call fcn.1002950f
and dword [ebp - 4], 0
lea edx, [esi + 0x14]
mov ecx, eax
call fcn.1002950f
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
mov byte [esi + 2], al
call fcn.100034b3
lea eax, [ebp - 0x18]
mov dword [esp], str.DIRCOUNT
push eax
mov ecx, edi
call fcn.1002950f
lea edx, [esi + 0x20]
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.1002950f
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100034b3
lea eax, [ebp - 0x18]
mov dword [esp], str.FILECOUNT
push eax
mov ecx, edi
call fcn.1002950f
lea edx, [esi + 0x28]
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.1002950f
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100034b3
lea eax, [ebp - 0x24]
mov dword [esp], str.INDEX
push eax
mov ecx, edi
call fcn.1002950f
lea edx, [esi + 0x30]
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.1002950f
push dword [ebp - 0x24]
mov byte [esi + 3], al
call fcn.100034b3
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x10080f88
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d731b
call fcn.100cece0
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
or dword [esi + 0x20], 0xffffffff
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.1000250f
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100851fe
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
mov eax, 0x100d78af
call fcn.100cece0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ax, word [edi]
lea ecx, [esi + 0x24]
mov word [esi], ax
mov ax, word [edi + 2]
mov word [esi + 2], ax
mov ax, word [edi + 4]
mov word [esi + 4], ax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
lea eax, [edi + 0x24]
push eax
call fcn.10001da4
and dword [ebp - 4], 0
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
call fcn.10085281
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x100c1f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x100c1fcb
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x100c200c
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x100c1ff1
mov ecx, ebx
call fcn.100c1c50
add ebx, 0x28
dec ebp
jne 0x100c1fe5
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x100c2007
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.100c1b20
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.100c20b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
lea ecx, [ebp + 0x20]
call fcn.100c86b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
lea ecx, [ebp + 0x1c]
call fcn.100c86b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
push ebp
call fcn.1002950f
mov ebx, eax
cmp ebx, edi
je 0x100c2084
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.100c20e0
cmp ebx, edi
jle 0x100c207f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x100c2084
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x100c2096
cmp dword [esi + 0x40], edi
jne 0x100c2096
cmp dword [esi + 0x3c], edi
jne 0x100c2096
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret