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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x214], 0
mov word [ebp - 0x20c], cx
call fcn.004e15a0
mov bx, word [ebp + 0x10]
xor eax, eax
add esp, 0xc
cmp dword [ebp + 0xc], eax
mov dword [ebp - 0x21c], 0
sete al
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x224], 4
mov dword [ebp - 0x210], eax
test bx, bx
je 0x44ed91
push str.SoftwareAdobeAcrobat_Reader11.0FeatureState
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
jmp 0x44eda2
push str.SoftwareAdobeAdobe_Acrobat11.0FeatureState
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.00402c49
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44ee74
lea edx, [ebp - 0x224]
push edx
mov edx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x21c]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44ee3f
cmp dword [ebp - 0x21c], 4
jne 0x44ee3f
mov eax, dword [ebp - 0x214]
xor ecx, ecx
cmp dword [ebp - 0x218], ecx
push eax
setne cl
mov dword [ebp - 0x210], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [ebp - 0x210]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
test bx, bx
je 0x44ee50
test esi, esi
je 0x44ee50
mov edx, 1
mov word [esi], dx
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [ebp - 0x210]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
test bx, bx
je 0x44ee85
test esi, esi
je 0x44ee85
mov ecx, 1
mov word [esi], cx
mov ecx, dword [ebp - 4]
mov ax, word [ebp - 0x210]
pop esi
xor ecx, ebp
pop ebx
call int.00401316
mov esp, ebp
pop ebp
ret

Function at 0x44f1d0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push 0x80000001
mov dword [ebp - 4], 0
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x44f21a
mov ecx, dword [ebp - 4]
push ecx
call edi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea edx, [ebp - 4]
push edx
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push 0x80000001
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x44f24e
mov eax, dword [ebp - 4]
push str.Application
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 4]
push ecx
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44f900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501906
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
cmp edx, edi
je 0x44fa0b
xor eax, eax
mov word [ebp - 0x234], ax
mov eax, edx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44f956
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x234]
call fcn.00406300
mov eax, dword [ebp - 0x220]
mov edx, dword [ebp - 0x234]
mov ebx, 8
mov dword [ebp - 4], edi
mov esi, edx
cmp eax, ebx
jae 0x44fa12
lea esi, [ebp - 0x234]
mov ecx, esi
mov edi, dword [ebp - 0x224]
cmp eax, ebx
lea ecx, [ecx + edi*2]
mov eax, edx
jae 0x44f9ad
lea eax, [ebp - 0x234]
cmp eax, ecx
je 0x44f9c8
push fcn.0040f9a4
push esi
push ecx
push eax
lea ecx, [ebp - 0x258]
push ecx
call fcn.0040f960
add esp, 0x14
lea edx, [ebp - 0x254]
push edx
push 0x20019
push 0
push str.SoftwareAdobeAcrobatExe
push 0x80000000
mov dword [ebp - 0x254], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44fa16
cmp dword [ebp - 0x220], ebx
jb 0x44fa0b
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406ec9
add esp, 4
xor al, al
jmp 0x44fb71
mov ecx, edx
jmp 0x44f998
push 0x208
lea ecx, [ebp - 0x218]
push 0
push ecx
call fcn.004e15a0
add esp, 0xc
lea edx, [ebp - 0x25c]
push edx
mov edx, dword [ebp - 0x254]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
push ecx
push 0
push 0
push edx
mov dword [ebp - 0x25c], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x44fa8d
cmp dword [ebp - 0x220], ebx
jb 0x44fa0b
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00406ec9
add esp, 4
xor al, al
jmp 0x44fb71
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x250]
call fcn.00408940
mov esi, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x250]
mov byte [ebp - 4], 1
mov edx, edi
cmp esi, ebx
jae 0x44fb8d
lea edx, [ebp - 0x250]
mov eax, edx
mov ecx, dword [ebp - 0x240]
lea eax, [eax + ecx*2]
mov ecx, edi
cmp esi, ebx
jae 0x44fad6
lea ecx, [ebp - 0x250]
cmp ecx, eax
je 0x44fafd
push fcn.0040f9a4
push edx
push eax
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.0040f960
mov esi, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x250]
add esp, 0x14
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x44fb11
lea eax, [ebp - 0x234]
mov ecx, dword [ebp - 0x224]
push ecx
push 0
push eax
lea ecx, [ebp - 0x250]
call fcn.0040a410
cmp eax, 0xffffffff
setne bl
cmp esi, 8
jb 0x44fb3a
push edi
call fcn.00406ec9
add esp, 4
xor edx, edx
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], dx
jb 0x44fb6f
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406ec9
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov eax, edi
jmp 0x44fac1
Function at 0x451ac0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x451b88
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e15a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
jle 0x451b88
cmp eax, 0x103
jae 0x451b88
lea edx, [ebp - 0x20c]
push str.STATIC
push edx
call fcn.004086e6
add esp, 8
test eax, eax
jne 0x451b88
push 0x208
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.004e15a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x451b88
cmp eax, 0x103
jae 0x451b88
lea edx, [ebp - 0x414]
push str.swBrowser
push edx
call fcn.004086e6
add esp, 8
test eax, eax
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call int.00401316
mov esp, ebp
pop ebp
ret 4

Function at 0x452500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x45251b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x452552
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x45254e
jmp 0x452540
cmp esi, eax
jae 0x452552
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x452540
cmp esi, eax
jb 0x452559
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x452950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501d78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x550354]
test eax, eax
jne 0x452a11
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push eax
push eax
call ebx
mov esi, eax
test esi, esi
je 0x452a08
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
push 0x551c20
neg ecx
or ecx, eax
push ecx
call fcn.0041867c
mov edi, eax
add esp, 8
test edi, edi
je 0x452a08
lea eax, [esi + esi + 2]
push eax
push 0
push edi
call fcn.004e15a0
add esp, 0xc
push edi
push esi
call ebx
test eax, eax
je 0x4529ff
cmp eax, esi
ja 0x4529ff
push edi
lea ecx, [ebp - 0x2c]
call fcn.00408940
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 0
call fcn.00429530
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.0040a2c0
push edi
call fcn.004188d7
add esp, 4
mov eax, dword [0x550354]
test eax, eax
je 0x452a1b
cmp dword [eax + 0x14], 8
jb 0x452a1d
mov eax, dword [eax]
jmp 0x452a1d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x45b540
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
push 0x5513b8
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x45b698
push 0x11c
push eax
mov byte [ebp - 0x121], al
lea eax, [ebp - 0x120]
push eax
call fcn.004e15a0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45b67e
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jne 0x45b5c4
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x45b5ca
cmp word [ebp - 0xc], ax
ja 0x45b5ca
jmp 0x45b67e
jbe 0x45b67e
push str.bcrypt.dll
call fcn.004297a0
add esp, 4
test eax, eax
je 0x45b67e
push 0x5105a8
call fcn.004297a0
add esp, 4
test eax, eax
je 0x45b67e
push esi
push edi
push 0
push str.Microsoft_Primitive_Provider
push str.ECDH_P256
lea edx, [ebp - 0x12c]
push edx
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
call sub.ncrypt.dll_BCryptOpenAlgorithmProvider
mov edi, eax
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x45b636
push 0
push eax
call sub.ncrypt.dll_BCryptCloseAlgorithmProvider
push 0
push str.Microsoft_Software_Key_Storage_Provider
lea eax, [ebp - 0x128]
push eax
call sub.ncrypt.dll_NCryptOpenStorageProvider
mov esi, eax
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x45b661
push eax
call sub.ncrypt.dll_NCryptFreeObject
mov eax, dword [ebp - 0x128]
test edi, edi
jne 0x45b67c
test esi, esi
jne 0x45b67c
cmp dword [ebp - 0x12c], esi
je 0x45b67c
test eax, eax
je 0x45b67c
mov byte [ebp - 0x121], 1
pop edi
pop esi
xor ecx, ecx
cmp byte [ebp - 0x121], cl
push 0
sete cl
inc ecx
push ecx
push 0x5513b8
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [0x5513b8], 1
sete al
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret

Function at 0x45ba40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x45ba68
call fcn.004076a0
cmp eax, 1
jl 0x45ba68
mov dword [ebp - 4], 0x10000
jmp 0x45ba6a
xor edi, edi
push 8
call fcn.004051ca
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
add esp, 4
push 0
mov esi, eax
mov eax, dword [ebp + 0xc]
push edx
push esi
push 0x45ba10
test ebx, ebx
push edi
setne cl
push 0
mov dword [esi], eax
mov byte [esi + 4], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x45bab1
push esi
call fcn.00406ec9
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x45bac0
pop edi
mov dword [ebx], eax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e670
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor al, al
test esi, esi
je 0x45e6d8
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x45e6d7
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push esi
call edi
test eax, eax
je 0x45e6bc
push 0
push 0x4d49a0
push ebx
call dword [sym.imp.USER32.dll_EnumThreadWindows]
push 0
push 0
push 0x12
push ebx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x1388
push esi
call edi
test eax, eax
jne 0x45e6c3
pop edi
pop ebx
mov al, 1
pop esi
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
push esi
call edi
test eax, eax
sete al
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x45edd0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x214]
push ecx
xor ebx, ebx
push esi
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x45eec3
cmp eax, ebx
jne 0x45ee20
cmp dword [ebp - 0x214], ebx
je 0x45eec3
push ebx
push 1
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
cmp esi, ebx
je 0x45eec3
push edi
push 1
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
je 0x45eebb
push 0x208
lea eax, [ebp - 0x20e]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x210], dx
call fcn.004e15a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetMappedFileNameW
test eax, eax
je 0x45eeb4
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ee90
mov ecx, dword [ebp - 0x218]
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x210]
push edx
call fcn.00406300
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x45f650
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x218], eax
test edi, edi
je 0x45f77b
cmp word [edi], 0x5c
jne 0x45f77b
cmp word [edi + 2], 0x5c
jne 0x45f77b
mov ecx, dword [0x512f44]
mov dx, word [0x512f48]
push ebx
mov dword [ebp - 0xc], ecx
mov word [ebp - 8], dx
mov ebx, 0x43
push esi
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xc], bx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x45f72e
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x21c], 0x104
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x45f72e
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45f6f0
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45f706
sub eax, edx
sar eax, 1
cmp eax, esi
jbe 0x45f72e
push esi
lea ecx, [ebp - 0x214]
push ecx
push edi
call fcn.0041799b
add esp, 0xc
test eax, eax
je 0x45f74c
inc ebx
cmp bx, 0x5a
jbe 0x45f6a8
pop esi
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x218]
lea edx, [ebp - 0xc]
push edx
mov ecx, ebx
call fcn.00418650
lea eax, [edi + esi*2]
push eax
mov ecx, ebx
call fcn.00429a40
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop edi
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x468a20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 0x38]
push esi
test eax, eax
je 0x468a63
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x30]
push ecx
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x28]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.004687a0
add esp, 0x2c
test eax, eax
jne 0x468a92
pop esi
pop ebp
ret
mov edx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push 0
push eax
mov eax, dword [ebp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x468a92
pop esi
pop ebp
ret
push edi
push 0
call fcn.0049a910
push 0
mov edi, eax
call fcn.0049a940
add esp, 8
cmp dword [ebp + 0x10], 0
mov dword [ebp + 0x24], eax
je 0x468ab7
mov edi, 0x1fffff
mov dword [ebp + 0x24], edi
mov ecx, dword [esi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push edi
mov edi, dword [ebp + 0xc]
push esi
push edi
push ecx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x468ae9
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
mov ecx, dword [ebp + 0x24]
mov edx, dword [esi + 4]
push 1
push 0
push ecx
lea eax, [esi + 4]
push eax
push edi
push edx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
neg eax
pop ebx
sbb eax, eax
pop edi
neg eax
pop esi
pop ebp
ret

Function at 0x469d20
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x41a]
push ecx
mov word [ebp - 0x41c], ax
call fcn.004e15a0
add esp, 0xc
test edi, edi
je 0x469dc2
xor edx, edx
push 0x208
push edx
lea eax, [ebp - 0x20e]
push eax
mov word [ebp - 0x210], dx
call fcn.004e15a0
add esp, 0xc
push 0x105
lea ecx, [ebp - 0x210]
push ecx
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x469dc2
push 0
push 0
push 0x105
lea edx, [ebp - 0x41c]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00418909
add esp, 0x24
lea edx, [ebp - 0x41c]
test eax, eax
je 0x469dc7
mov edx, 0x50d97c
xor ecx, ecx
mov eax, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469de0
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00406300
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x46a370
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x46a406
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e15a0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x46a3af
mov esi, dword [esi]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x46a406
cmp eax, 0x104
ja 0x46a406
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46a3d6
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
mov ecx, edi
call fcn.00406300
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x46a5e0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10c4
call fcn.004e1be0
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x10]
cmp edi, 0x824
jae 0x46a7f9
xor eax, eax
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x1068]
mov dword [ebp - 0x1054], 7
mov dword [ebp - 0x1058], 0
mov word [ebp - 0x1068], ax
call fcn.00406960
cmp edi, 2
jb 0x46a6af
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x46a648
mov eax, dword [esi]
jmp 0x46a64a
mov eax, esi
cmp word [eax], 0x22
jne 0x46a6af
cmp ecx, 8
jb 0x46a659
mov eax, dword [esi]
jmp 0x46a65b
mov eax, esi
cmp word [eax + edi*2 - 2], 0x22
jne 0x46a6af
add edi, 0xfffffffe
push edi
xor ecx, ecx
push 1
mov word [ebp - 0x1084], cx
push esi
lea ecx, [ebp - 0x1084]
mov dword [ebp - 0x1070], 7
mov dword [ebp - 0x1074], 0
call fcn.00406960
lea edx, [ebp - 0x1084]
push edx
lea ecx, [ebp - 0x1068]
call fcn.00406280
lea ecx, [ebp - 0x1084]
call fcn.0040a2c0
cmp dword [ebp - 0x1058], 0
mov dword [ebp - 0x1088], 0x824
je 0x46a7e1
cmp dword [ebp - 0x1054], 8
mov eax, dword [ebp - 0x1068]
jae 0x46a6db
lea eax, [ebp - 0x1068]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x46a7e1
push 0x3c
lea eax, [ebp - 0x10c4]
push 0
push eax
call fcn.004e15a0
mov eax, dword [ebp - 0x1068]
add esp, 0xc
cmp dword [ebp - 0x1054], 8
mov dword [ebp - 0x10c4], 0x3c
mov dword [ebp - 0x10bc], 1
jae 0x46a726
lea eax, [ebp - 0x1068]
mov edx, dword [ebp - 0x1058]
lea ecx, [ebp - 0x10c4]
push ecx
push 0
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x46a7e1
mov eax, dword [ebp - 0x10b8]
cmp eax, 3
je 0x46a759
cmp eax, 4
jne 0x46a7e1
cmp dword [ebp - 0x1054], 8
mov eax, dword [ebp - 0x1068]
jae 0x46a76e
lea eax, [ebp - 0x1068]
push 0
push 2
lea ecx, [ebp - 0x1088]
push ecx
lea edx, [ebp - 0x104c]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
test eax, eax
jne 0x46a7e1
lea eax, [ebp - 0x104c]
push str.help.adobe.com
push eax
call fcn.004086e6
add esp, 8
test eax, eax
jne 0x46a7c0
lea ecx, [ebp - 0x1068]
call fcn.0040a2c0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x104c]
push str.adobehelp.corp.adobe.com
push ecx
call fcn.004086e6
add esp, 8
test eax, eax
jne 0x46a7e1
call fcn.0049ac90
test al, al
jne 0x46a7a3
cmp dword [ebp - 0x1054], 8
jb 0x46a7f9
mov edx, dword [ebp - 0x1068]
push edx
call fcn.00406ec9
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call int.00401316
mov esp, ebp
pop ebp
ret