joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4555c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45bbdc]
cmp dword [eax + 0x30], 0
je 0x45566e
cmp dword [ebx + 0x94], 0
jne 0x455668
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455554
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455668
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45562e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455668
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00415170
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45563d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4561d0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x456205
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040461c
jmp 0x456212
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404580
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x457264
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4572a5
mov eax, esi
call fcn.0043d530
test al, al
je 0x4572a5
mov eax, dword [ebx + 0x84]
call fcn.0043d22c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4572a5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d22c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x42b9c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40d015
lea edi, [esi - 0xc015]
push edi
or ebp, 0xffffffff
jmp 0x42b9e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42b9e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42b9d8
mov eax, 1
add ebx, ebx
jne 0x42b9fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42b9f0
jne 0x42ba0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b9f0
xor ecx, ecx
sub eax, 3
jb 0x42ba20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42ba92
mov ebp, eax
add ebx, ebx
jne 0x42ba2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42ba38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42ba5c
inc ecx
add ebx, ebx
jne 0x42ba48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42ba3d
jne 0x42ba59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ba3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42ba7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42ba6d
jmp 0x42b9de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42ba7c
add edi, ecx
jmp 0x42b9de
pop esi
mov edi, esi
mov ecx, 0x2a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42ba9a
cmp byte [edi], 2
jne 0x42ba9a
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 0x42ba9f
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42bb0e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2b0e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2b178]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42bacc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2b180]
or eax, eax
je 0x42bb08
mov dword [ebx], eax
add ebx, 4
jmp 0x42bae9
call dword [esi + 0x2b17c]
mov ebp, dword [esi + 0x2b184]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x42bb42
sub esp, 0xffffff80
jmp 0x401219
Function at 0x402360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4315f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call fcn.00430a93
push 0
push ecx
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x10], esp
push str.http:__
mov byte [esp + 0x34], bl
call fcn.00427386
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
mov byte [esp + 0x38], 2
call fcn.0042708d
mov byte [esp + 0x34], bl
call fcn.00403320
add esp, 0xc
test eax, eax
je 0x402420
push str.http:__
lea ecx, [esp + 8]
call fcn.00427386
lea ecx, [esp + 4]
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0xc]
push edx
push eax
mov byte [esp + 0x34], 3
call fcn.00403740
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 4
call fcn.00427451
lea ecx, [esp + 8]
mov byte [esp + 0x28], 3
call fcn.00427318
lea ecx, [esp + 4]
mov byte [esp + 0x28], bl
call fcn.00427318
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x440124
call fcn.00427386
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
mov byte [esp + 0x38], 5
call fcn.0042708d
mov byte [esp + 0x34], bl
call fcn.00403320
add esp, 0xc
test eax, eax
je 0x4024ad
push 0x440124
lea ecx, [esp + 8]
call fcn.00427386
lea eax, [esp + 4]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x34], 6
call fcn.00403560
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 7
call fcn.00427451
lea ecx, [esp + 8]
mov byte [esp + 0x28], 6
call fcn.00427318
lea ecx, [esp + 4]
mov byte [esp + 0x28], bl
call fcn.00427318
push 0
push 0x3f
push ebx
push 0
lea ecx, [esp + 0x1c]
call fcn.00430503
test eax, eax
je 0x4024de
mov eax, dword [esp + 0x30]
push 0x50
push eax
lea ecx, [esp + 0x14]
call fcn.0043065b
test eax, eax
jne 0x4024e0
lea ecx, [esp + 0xc]
call fcn.00430b98
xor ebx, ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.00430b09
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00427318
mov ecx, dword [esp + 0x20]
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 4

Function at 0x402537
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x431629
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0042d0c6
mov eax, dword [0x440a90]
lea ecx, [esi + 0x24]
mov dword [esp + 0x18], 0
mov dword [ecx], eax
mov edx, dword [0x440a90]
lea edi, [esi + 0x28]
mov dword [edi], edx
mov eax, dword [0x440a90]
lea ebx, [esi + 0x2c]
mov dword [ebx], eax
push 0x444d08
mov byte [esp + 0x1c], 3
mov dword [esi], method.CCommandLineInfo.virtual_0
call fcn.004274a1
push 0x444d08
mov ecx, edi
call fcn.004274a1
push 0x444d08
mov ecx, ebx
call fcn.004274a1
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x30], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x403440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4318a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push 0x444d08
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call fcn.00427386
mov esi, dword [esp + 0x2c]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
mov dword [esp + 0x28], 1
call fcn.0042708d
lea eax, [esp + 0x10]
push eax
call fcn.00403880
mov edx, dword [esp + 0x38]
add esp, 4
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x28], 2
call fcn.0042708d
lea eax, [esp + 0xc]
push eax
call fcn.00403880
add esp, 8
mov ecx, dword [esp + 8]
mov byte [esp + 0x20], 3
push ecx
lea ecx, [esp + 0x10]
call fcn.00422469
cmp eax, 0xffffffff
je 0x4034fb
lea edx, [esp + 0x2c]
push eax
push edx
mov ecx, esi
call fcn.004223f1
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x24], 4
call fcn.00427451
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 3
call fcn.00427318
jmp 0x403505
push esi
lea ecx, [esp + 8]
call fcn.00427451
mov esi, dword [esp + 0x28]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.0042708d
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call fcn.00427318
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.00427318
lea ecx, [esp + 4]
mov byte [esp + 0x20], 0
call fcn.00427318
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret

Function at 0x403620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x431937
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
push 0x444d08
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.00427386
mov esi, dword [esp + 0x30]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push esi
mov dword [esp + 0x2c], 1
call fcn.0042708d
lea eax, [esp + 0x14]
push eax
call fcn.00403880
mov edi, dword [esp + 0x3c]
add esp, 4
mov ecx, esp
mov dword [esp + 0x34], esp
push edi
mov byte [esp + 0x2c], 2
call fcn.0042708d
lea ecx, [esp + 0x10]
push ecx
call fcn.00403880
add esp, 8
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x28], 3
call fcn.00422469
cmp eax, 0xffffffff
je 0x4036e8
mov ecx, dword [esi]
mov edx, dword [edi]
mov ecx, dword [ecx - 8]
mov edi, dword [edx - 8]
sub ecx, edi
sub ecx, eax
lea eax, [esp + 0x30]
push ecx
push eax
mov ecx, esi
call fcn.00422375
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 4
call fcn.00427451
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 3
call fcn.00427318
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0042708d
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.00427318
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.00427318
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.00427318
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x404010
Capabilities:
Access peb ldr_data
Get process heap force flags
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x431bd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
lea eax, [esp + 4]
push 0x63
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0
call fcn.004223f1
mov ecx, dword [esp + 4]
push 0x10
lea edx, [esp + 0x18]
mov byte [esp + 0x28], 1
mov eax, dword [ecx - 8]
push eax
push edx
call fcn.00403290
add esp, 0xc
mov esi, eax
lea eax, [esp + 0x10]
push 0x1a
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 2
call fcn.004223f1
push esi
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x30], 3
call fcn.00427547
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x28], 4
call fcn.00427451
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call fcn.00427318
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.00427318
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00427318
lea edx, [esp + 4]
lea eax, [esp + 8]
push edx
push str.Softwaremicrosoftwindowscurrentversion_run_
push eax
call fcn.00427621
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x2c], 5
call fcn.0042708d
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00408ed0
add esp, 8
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.00427318
lea ecx, [esp + 4]
mov byte [esp + 0x24], 0
call fcn.00427318
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00427318
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x404230
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x431c20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov eax, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x1c], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40438b
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call fcn.0042708d
lea eax, [esp + 0xc]
push eax
call fcn.00404820
mov ecx, dword [eax]
add esp, 8
xor edx, edx
mov esi, dword [ecx - 8]
lea ecx, [esp + 8]
test esi, esi
sete dl
mov esi, edx
call fcn.00427318
test esi, esi
jne 0x40438b
push 0x44038c
lea ecx, [esp + 0xc]
call fcn.00427386
lea eax, [esp + 8]
lea edx, [esp + 0x24]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x28], 1
call fcn.0042708d
lea eax, [esp + 0x14]
push eax
call fcn.00403a30
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 2
call fcn.00427451
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.00427318
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.00427318
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 8]
dec eax
test eax, eax
jl 0x404352
mov al, byte [eax + ecx]
xor edx, edx
cmp al, 0x3a
sete dl
mov eax, edx
test eax, eax
je 0x404352
lea eax, [esp + 0x24]
push 0x44038c
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.004275ad
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 3
call fcn.00427451
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.00427318
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x404367
test al, 0x10
je 0x404367
mov edi, 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00427318
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x18
ret
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00427318
mov ecx, dword [esp + 0x14]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret
Function at 0x404ea0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x431e1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
xor esi, esi
mov dword [esp + 0xc], esi
push 0x444d08
lea ecx, [esp + 8]
mov dword [esp + 0x28], 1
call fcn.00427386
push esi
mov byte [esp + 0x28], 2
call fcn.0041160d
push eax
call fcn.00411a94
add esp, 8
xor eax, eax
mov byte [esp + 0x10], 0
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov byte [esp + 0x19], al
call fcn.00411aa1
push eax
lea ecx, [esp + 0x14]
push str._05d
push ecx
call fcn.00411402
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 4]
push edx
call fcn.004274a1
lea eax, [esp + 4]
push 1
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.004050b0
add esp, 0x10
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x28], 3
call fcn.00427451
lea ecx, [esp + 8]
mov byte [esp + 0x24], 2
call fcn.00427318
lea eax, [esp + 4]
inc esi
push eax
call fcn.00404140
add esp, 4
test eax, eax
je 0x404f73
cmp esi, 0x64
jl 0x404ee9
cmp esi, 0x64
jne 0x404f86
push 0x444d08
lea ecx, [esp + 8]
call fcn.004274a1
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.0042708d
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x24], 1
call fcn.00427318
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.00427318
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x404fd0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x431e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push 0x444d08
lea ecx, [esp + 8]
call fcn.00427386
mov esi, dword [esp + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push esi
mov dword [esp + 0x1c], 0
call fcn.0042708d
lea eax, [esp + 0x20]
push eax
call fcn.00404750
add esp, 8
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.00427451
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 0
call fcn.00427318
mov ecx, dword [esp + 4]
mov eax, dword [ecx - 8]
test eax, eax
je 0x405052
lea edx, [esp + 4]
push edx
call fcn.00404fd0
add esp, 4
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push esi
call fcn.0042708d
call fcn.00404230
add esp, 4
test eax, eax
jne 0x405079
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
jmp 0x40507e
mov esi, 1
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00427318
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret
Function at 0x4064e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push 0x444d08
lea ecx, [esp + 0xc]
call fcn.00427386
push 0x444d08
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.00427386
push 0x444d08
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.00427386
push ecx
mov bl, 2
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionCommonFilesDir
mov byte [esp + 0x30], bl
call fcn.00427386
lea eax, [esp + 0x18]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.00408c00
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.00427451
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00427318
push str.Microsoft_SharedDAO
lea ecx, [esp + 0x14]
call fcn.004274a1
push 0x444d08
lea ecx, [esp + 0x10]
call fcn.004274a1
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4065d4
lea edx, [esp + 0x10]
push 1
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004050b0
add esp, 0x10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.00427451
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x14]
jmp 0x406675
push str.Common_Files
lea ecx, [esp + 0x18]
call fcn.00427386
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
mov byte [esp + 0x2c], 5
call fcn.004083c0
lea ecx, [esp + 0x14]
push 1
push ecx
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x38], 6
call fcn.004050b0
add esp, 0x10
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 7
call fcn.00427451
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 6
call fcn.00427318
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 5
call fcn.00427318
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00427318
lea eax, [esp + 0x10]
push 1
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.004050b0
add esp, 0x10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 8
call fcn.00427451
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x1c]
call fcn.00427318
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call fcn.00427451
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.00427318
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00427318
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00427318
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x4066d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push 0x444d08
lea ecx, [esp + 0xc]
call fcn.00427386
push 0x444d08
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.00427386
push 0x444d08
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.00427386
push ecx
mov bl, 2
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionCommonFilesDir
mov byte [esp + 0x30], bl
call fcn.00427386
lea eax, [esp + 0x18]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.00408c00
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.00427451
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00427318
push str.ODBC
lea ecx, [esp + 0x14]
call fcn.004274a1
push 0x444d08
lea ecx, [esp + 0x10]
call fcn.004274a1
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4067c4
lea edx, [esp + 0x10]
push 1
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004050b0
add esp, 0x10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.00427451
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x14]
jmp 0x406865
push str.Common_Files
lea ecx, [esp + 0x18]
call fcn.00427386
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
mov byte [esp + 0x2c], 5
call fcn.004083c0
lea ecx, [esp + 0x14]
push 1
push ecx
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x38], 6
call fcn.004050b0
add esp, 0x10
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 7
call fcn.00427451
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 6
call fcn.00427318
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 5
call fcn.00427318
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00427318
lea eax, [esp + 0x10]
push 1
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.004050b0
add esp, 0x10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 8
call fcn.00427451
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x1c]
call fcn.00427318
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call fcn.00427451
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.00427318
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00427318
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00427318
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x4068c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
mov ecx, edi
call fcn.004272a3
mov ecx, esi
call fcn.00408460
fstp qword [esp + 8]
push 0x104
call fcn.00427059
fld qword [esp + 0xc]
fcomp qword [0x434e20]
mov esi, eax
add esp, 4
fnstsw ax
test ah, 0x40
jne 0x40698f
fld qword [esp + 8]
fcomp qword [0x434e38]
fnstsw ax
test ah, 0x40
jne 0x40698f
fld qword [esp + 8]
fcomp qword [0x434e30]
fnstsw ax
test ah, 1
jne 0x4069e6
fld qword [esp + 8]
fcomp qword [0x434e28]
fnstsw ax
test ah, 0x41
je 0x4069e6
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareU.S._RoboticsPilot_DesktopCore
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406988
mov edx, dword [esp + 0x14]
lea ecx, [esp + 8]
push ecx
push esi
push eax
push eax
push str.Path
push edx
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406988
push esi
mov ecx, edi
call fcn.004274a1
mov eax, dword [esp + 0x14]
push eax
jmp 0x4069e0
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push str.SoftwarePalm_ComputingPilot_DesktopCore
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4069db
lea edx, [esp + 8]
mov dword [esp + 8], 0x104
push edx
push esi
push eax
push eax
mov eax, dword [esp + 0x24]
push str.Path
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4069db
push esi
mov ecx, edi
call fcn.004274a1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.00427082
add esp, 4
pop edi
pop esi
add esp, 8
ret 4