joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420148
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x18
mov eax, 0x44eb4f
call fcn.00436706
push str.FindCurrentPDFOwner...
lea ecx, [ebp - 0x18]
call fcn.00402148
xor ebx, ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040e1e3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
mov dword [ebp - 0x18], ebx
call fcn.004234c0
push eax
lea ecx, [ebp - 0x14]
call fcn.0040f910
mov dword [ebp - 4], 1
call fcn.004234c0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f910
lea eax, [ebp - 0x14]
push eax
mov esi, 0x457ce8
push esi
push str.AcroExch.Document.7_shell
mov edi, 0x80000000
push edi
mov byte [ebp - 4], 2
call fcn.0041e932
add esp, 0x10
cmp eax, ebx
je 0x420218
push str.HKEY_CLASSES_ROOTAcroExch.Document.7_shell___no_value
lea ecx, [ebp - 0x18]
call fcn.00402148
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.0040e1e3
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025ca
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025ca
xor eax, eax
call fcn.004367de
ret
push str.Read
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x420236
lea eax, [ebp - 0x10]
push eax
push esi
push str.AcroExch.Document.7_shellReadcommand
jmp 0x420252
push str.Open
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x420284
lea eax, [ebp - 0x10]
push eax
push esi
push str.AcroExch.Document.7_shellOpencommand
push edi
call fcn.0041e932
add esp, 0x10
cmp eax, ebx
je 0x420284
push str.HKEY_CLASSES_ROOTAcroExch.Document.7_shellOpencommand___no_value
lea ecx, [ebp - 0x1c]
call fcn.00402148
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
mov byte [ebp - 4], 4
call fcn.0040e1e3
mov ecx, dword [ebp - 0x1c]
jmp 0x4201ef
push esi
push str.___1_
lea eax, [ebp - 0x10]
push eax
call fcn.004083c9
lea eax, [ebp - 0x10]
push eax
call fcn.00422f79
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4202b3
lea ecx, [esi - 0x10]
jmp 0x420200
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x20]
lea ebx, [ebp - 0x24]
call fcn.0041fb3f
add esp, 0xc
test eax, eax
jne 0x4202f0
xor esi, esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025ca
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025ca
mov eax, esi
jmp 0x420212
push str.AcroRd32.exe
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.00408543
cmp eax, 0xffffffff
je 0x420315
mov eax, dword [ebp + 8]
cmp dword [eax], 8
jb 0x420315
mov dword [ebp - 0x18], 1
jmp 0x420338
push str.Acrobat.exe
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.00408543
cmp eax, 0xffffffff
je 0x420338
mov eax, dword [ebp + 8]
cmp dword [eax], 8
jb 0x420338
mov dword [ebp - 0x18], 2
mov esi, dword [ebp - 0x18]
jmp 0x4202d3
Function at 0x4219b3
Capabilities:
Query service status

Disassembly:
push 0x34
mov eax, 0x44da13
call fcn.00436706
push 4
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, 0x2722c
mov dword [ebp - 0x18], eax
cmp dword [0x480a5c], esi
je 0x421abb
cmp eax, edi
je 0x421abb
push 4
push str.MSIServer
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
add esi, 0x64
mov ebx, eax
cmp dword [0x480a5c], esi
je 0x421a7a
cmp ebx, edi
je 0x421a7a
lea eax, [ebp - 0x1c]
push eax
push 0x24
lea eax, [ebp - 0x40]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov esi, 0x27164
cmp dword [0x480a5c], esi
je 0x421a32
cmp eax, edi
je 0x421a32
cmp dword [ebp - 0x38], 4
jne 0x421a68
inc edi
jmp 0x421a68
push str.QueryServiceStatusEx_failed
lea ecx, [ebp - 0x10]
call fcn.00402148
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x10]
push ecx
push esi
mov ecx, eax
mov edx, 0x480a54
call fcn.0040c5be
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025ca
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push dword [ebp - 0x18]
call esi
mov eax, edi
jmp 0x421aef
push str.OpenSCManager_failed:
lea ecx, [ebp - 0x14]
call fcn.00402148
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x14]
push ecx
push esi
mov ecx, eax
mov edx, 0x480a54
call fcn.0040c5be
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025ca
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x421aed
push str.OpenSCManager_failed:
lea ecx, [ebp - 0x18]
call fcn.00402148
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x18]
push ecx
push esi
mov ecx, eax
mov edx, 0x480a54
call fcn.0040c5be
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025ca
xor eax, eax
call fcn.004367de
ret
Function at 0x421db9
Capabilities:
Delete directory
Set file attributes

Disassembly:
push 0x28
mov eax, 0x44d9a5
call fcn.00436706
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x421f12
cmp eax, 4
jb 0x421f12
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040218c
push 0x5c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00408574
cmp eax, 0xffffffff
je 0x421e33
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
jne 0x421e33
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00408596
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00408894
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025ca
push 0x469f2c
lea ecx, [ebp - 0x14]
call fcn.004086b5
lea ecx, [ebp - 0x34]
call fcn.0042f990
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x14]
push 0
push edi
lea ecx, [ebp - 0x34]
call fcn.0042fa28
test eax, eax
je 0x421ec5
lea ecx, [ebp - 0x34]
call fcn.0042f690
lea ecx, [ebp - 0x34]
mov ebx, eax
call fcn.0042f951
test eax, eax
jne 0x421ec1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042fc55
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
push 0x10
lea ecx, [ebp - 0x34]
call dword [eax + 0x38]
test eax, eax
je 0x421eaa
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.0040218c
call fcn.00421db9
pop ecx
jmp 0x421eb2
lea esi, [ebp - 0x18]
call fcn.00421f20
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025ca
test ebx, ebx
jne 0x421e5e
lea ecx, [ebp - 0x34]
call fcn.0042f5aa
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x421efb
push 0x186a0
lea eax, [ebp + 8]
push eax
push 2
call fcn.0040e1e3
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0042f9b9
lea ecx, [edi - 0x10]
call fcn.004025ca
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004025ca
call fcn.004367de
ret

Function at 0x421f20
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x421f57
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x421f57
push 0x186a0
push esi
push 2
call fcn.0040e1e3
add esp, 0xc
pop ecx
ret
Function at 0x42212b
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x44d917
call fcn.00436706
call fcn.004234c0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040f910
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 0x10]
push 0x457ce4
mov byte [ebp - 4], 2
call fcn.00408804
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x18]
push str.SELECT_Value_FROM_Property_WHERE_Property.Property_s
push eax
call fcn.004020dd
add esp, 0xc
cmp dword [ebp - 0x10], esi
je 0x422184
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
call sub.msi.dll_MsiEnumClientsA
mov edi, eax
cmp edi, esi
je 0x4221f2
push 0x46badc
lea ecx, [ebp + 0xc]
call fcn.00402148
mov byte [ebp - 4], 3
push edi
lea eax, [ebp + 0xc]
push eax
push 2
call fcn.0040e1e3
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
cmp dword [ebp - 0x14], esi
je 0x4221d5
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x4221e2
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebx - 0x10]
call fcn.004025ca
mov eax, edi
call fcn.004367de
ret
push esi
push dword [ebp - 0x10]
call sub.msi.dll_MsiViewModify
mov edi, eax
cmp edi, esi
je 0x422214
push str.MsiViewExecute__
lea ecx, [ebp + 0xc]
call fcn.00402148
mov byte [ebp - 4], 4
jmp 0x4221ae
cmp dword [ebp - 0x14], esi
je 0x422221
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov edi, eax
cmp edi, esi
jne 0x4221c8
push dword [ebp + 0x10]
push 1
push dword [ebp - 0x14]
call fcn.004222be
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x4222a2
push str.MsiGetRecordString__
lea ecx, [ebp + 0xc]
call fcn.00402148
push edi
lea eax, [ebp + 0xc]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.0040e1e3
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
cmp dword [ebp - 0x14], esi
je 0x422284
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x422291
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, edi
lea ecx, [ebx - 0x10]
call fcn.004025ca
mov eax, esi
jmp 0x4221ec
cmp dword [ebp - 0x14], esi
je 0x4222af
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x422293
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x422293
Function at 0x4225ac
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x47bd50]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push ebx
push esi
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x74], ax
xor ebx, ebx
lea eax, [ebp - 0x72]
push ebx
push eax
call fcn.00434dc0
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push ebx
push eax
call fcn.00434dc0
add esp, 0x18
mov eax, 0x105
push eax
lea ecx, [ebp + 0x198]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
push 0x46d560
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x42265c
mov eax, dword [ebp - 0x78]
xor ecx, ecx
cmp ecx, 0x103
je 0x422656
xor edx, edx
push 0xa
pop esi
div esi
mov dx, word [edx*2 + str.0123456789]
mov word [edi + ecx*2], dx
inc ecx
cmp eax, ebx
ja 0x422636
xor eax, eax
mov word [edi + ecx*2], ax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
pop esi
pop ebx
jge 0x422676
push str.thsnYaVieBoda
mov eax, edi
call fcn.0041cbb0
mov ecx, dword [ebp + 0x3a4]
xor ecx, ebp
call fcn.00433fff
add ebp, 0x3a8
leave
ret
Function at 0x42268b
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x3c
mov eax, 0x44d863
call fcn.0043676f
mov esi, edx
mov dword [ebp - 0x38], ecx
xor ebx, ebx
call fcn.0040233d
push 8
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00434dc0
add esp, 0xc
push 8
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.00434dc0
add esp, 0xc
push 8
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00434dc0
add esp, 0xc
push esi
lea ecx, [ebp - 0x28]
call fcn.0040218c
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.0040c57f
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
mov ecx, 0x480410
mov dword [ebp - 0x48], eax
call fcn.0040c57f
mov dword [ebp - 0x3c], eax
mov eax, dword [0x480410]
mov eax, dword [eax - 0xc]
shr eax, 1
inc eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push str.Encrypted_by_Adobe.
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x422785
mov esi, str.0123456789ABCDEF
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
cmp dword [ebp - 0x30], ebx
jbe 0x422777
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + esi]
mov ecx, dword [ebp - 0x38]
shr eax, 4
movzx eax, byte [ebp + eax - 0x24]
push eax
call fcn.0040f8f8
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + esi]
mov ecx, dword [ebp - 0x38]
and eax, 0xf
movzx eax, byte [ebp + eax - 0x24]
push eax
call fcn.0040f8f8
inc esi
cmp esi, dword [ebp - 0x30]
jb 0x422741
push dword [ebp - 0x2c]
xor ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4227b3
push str.Encryption_failed.
lea ecx, [ebp - 0x34]
call fcn.00402148
push ebx
lea eax, [ebp - 0x34]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.0040e1e3
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.004087aa
push 0xffffffffffffffff
mov ecx, 0x480410
call fcn.004087aa
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004025ca
mov eax, ebx
call fcn.004367f2
ret
Function at 0x4229de
Capabilities:
Create process on windows
Persist via run registry key

Disassembly:
push 0x10
mov eax, 0x44d09c
call fcn.00436706
call fcn.004234c0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f910
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, str.SoftwareAdobeAcrobat_Reader10.0InstallPath
cmp byte [ebp + 8], bl
jne 0x422a0c
mov eax, str.SoftwareAdobeAdobe_Acrobat10.0InstallPath
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
mov edi, 0x80000002
push edi
call fcn.0041e932
mov esi, dword [ebp - 0x10]
add esp, 0x10
cmp dword [esi - 0xc], ebx
je 0x422b0e
mov eax, str.Reader_sl.exe
cmp byte [ebp + 8], bl
jne 0x422a3b
mov eax, str.Acrobat_sl.exe
push eax
lea ecx, [ebp - 0x10]
call fcn.004086b5
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
je 0x422b0e
mov eax, str.Adobe_Reader_Speed_Launcher
cmp byte [ebp + 8], bl
jne 0x422a5f
mov eax, str.Adobe_Acrobat_Speed_Launcher
push eax
lea ecx, [ebp - 0x14]
call fcn.00402148
mov byte [ebp - 4], 1
call fcn.004234c0
push eax
lea ecx, [ebp + 8]
call fcn.0040f910
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push edi
call fcn.0041e932
mov eax, dword [ebp + 8]
add esp, 0x10
cmp dword [eax - 0xc], ebx
je 0x422ab1
lea eax, [ebp + 8]
push eax
call fcn.00422f79
push esi
lea ecx, [ebp + 8]
call fcn.0040af22
test eax, eax
je 0x422af8
push 5
push ebx
push ebx
push esi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
mov eax, str.Unable_to_launch:
jl 0x422acd
mov eax, str.Launched:
push eax
lea ecx, [ebp - 0x18]
call fcn.00402148
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.0040dd5d
mov ecx, dword [ebp - 0x18]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004025ca
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025ca
lea ecx, [esi - 0x10]
call fcn.004025ca
call fcn.004367de
ret
Function at 0x424e05
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x47bd50]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x424e9d
push 0x451e3c
push 4
push eax
call fcn.004358f5
push eax
call fcn.00402246
add esp, 0x10
push ebx
push edi
call fcn.0043689e
mov edi, dword [eax]
call fcn.0043689e
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00436050
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0043689e
cmp dword [eax], ebx
je 0x424eb4
call fcn.0043689e
push dword [eax]
call fcn.0042322c
pop ecx
jmp 0x424ebb
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x424e48
jmp 0x424f42
call fcn.0043689e
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x424f3e
cmp dword [ebp - 0x234], esi
jae 0x424f3e
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.00434dc0
add esp, 0xc
push 0x451b9c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x424f2d
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x424f2d
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x424f2d
push ebx
push ebx
push esi
jmp 0x424f36
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x424f40
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00433fff
leave
ret

Function at 0x42e284
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42e2cb
call fcn.00426ed9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42e2cb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42e2e7
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042ddfc
mov esi, eax
test edi, edi
je 0x42e2e5
test ebx, ebx
je 0x42e2e5
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42ef3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x42ef60
cmp dword [edi + 0x54], 0
jne 0x42ef60
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00426ed9
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042eefd
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x433fff
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47bd50]
jne 0x434009
repz ret
jmp fcn.0043b8ed

Function at 0x4458e7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043b251
and dword [ebp - 4], 0
cmp dword [0x4802cc], 0
mov ebx, eax
jne 0x445998
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x445a49
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x445a49
push eax
call fcn.0043b1df
mov dword [esp], 0x454c18
push edi
mov dword [0x4802cc], eax
call esi
push eax
call fcn.0043b1df
mov dword [esp], 0x454c04
push edi
mov dword [0x4802d0], eax
call esi
push eax
call fcn.0043b1df
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4802d4], eax
call esi
push eax
call fcn.0043b1df
pop ecx
mov dword [0x4802dc], eax
test eax, eax
je 0x445998
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043b1df
pop ecx
mov dword [0x4802d8], eax
mov eax, dword [0x4802d8]
cmp eax, ebx
je 0x4459f0
cmp dword [0x4802dc], ebx
je 0x4459f0
push eax
call fcn.0043b25a
push dword [0x4802dc]
mov esi, eax
call fcn.0043b25a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4459f0
test edi, edi
je 0x4459f0
call esi
test eax, eax
je 0x4459e7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4459e7
test byte [ebp - 0xc], 1
jne 0x4459f0
or dword [ebp + 0x10], 0x200000
jmp 0x445a29
mov eax, dword [0x4802d0]
cmp eax, ebx
je 0x445a29
push eax
call fcn.0043b25a
pop ecx
test eax, eax
je 0x445a29
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x445a29
mov eax, dword [0x4802d4]
cmp eax, ebx
je 0x445a29
push eax
call fcn.0043b25a
pop ecx
test eax, eax
je 0x445a29
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4802cc]
call fcn.0043b25a
pop ecx
test eax, eax
je 0x445a49
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x445a4b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100057a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1005ec8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.10053ca8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10005822
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.10051bf7
mov eax, dword [eax]
push 0x100721c0
push eax
call fcn.10044b44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.10053f33
test bl, bl
je 0x10005822
push 0x100721c0
lea ecx, [esp + 0xc]
call fcn.100542c3
push 0x10075d08
lea ecx, [esp + 0xc]
call fcn.100542c3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x1000585e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.10053f33
jmp 0x10005929
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x100058e2
lea edx, [esp + 0x7c]
push 0x10075d04
push edx
call fcn.10044b44
add esp, 8
test eax, eax
je 0x100058e2
lea eax, [esp + 0x7c]
push 0x10075d00
push eax
call fcn.10044b44
add esp, 8
test eax, eax
je 0x100058e2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10005872
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.10053f33
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x10006120
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10006182
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc