joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4376c3
Capabilities:
Check if file exists
Delete directory
Set file attributes

Disassembly:
push 0x28
mov eax, 0x466896
call fcn.004508b2
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x437823
cmp eax, 4
jb 0x437823
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401326
push 0x5c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00407f08
cmp eax, 0xffffffff
je 0x43773d
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
jne 0x43773d
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407f97
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00406b64
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017ba
push 0x48f9bc
lea ecx, [ebp - 0x14]
call fcn.00406a25
lea ecx, [ebp - 0x34]
call fcn.004493d3
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x14]
push 0
push esi
lea ecx, [ebp - 0x34]
call fcn.0044946b
test eax, eax
je 0x4377cf
lea ecx, [ebp - 0x34]
call fcn.00449168
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00449394
test eax, eax
jne 0x4377cb
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.00449698
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
push 0x10
lea ecx, [ebp - 0x34]
call dword [eax + 0x38]
test eax, eax
je 0x4377b4
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00401326
call fcn.004376c3
pop ecx
jmp 0x4377bc
lea ecx, [ebp - 0x18]
call fcn.00437831
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017ba
test edi, edi
jne 0x437768
lea ecx, [ebp - 0x34]
call fcn.00449082
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 0x43780c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43780c
push eax
lea eax, [ebp + 8]
push eax
push 2
call fcn.00410d56
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004493fc
lea ecx, [esi - 0x10]
call fcn.004017ba
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004017ba
call fcn.0045098a
ret
Function at 0x437831
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xc
mov eax, 0x46c0c3
call fcn.004508b2
mov esi, ecx
mov eax, esi
call fcn.00401000
test eax, eax
je 0x4378f5
push str.ArmUI.ini
xor ecx, ecx
call fcn.00406946
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
je 0x4378c9
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.GlobalPdfOnershipInProcessEvent
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x4378c9
call edi
push dword [ebp - 0x14]
cmp eax, 0xb7
sete byte [ebp - 0xd]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xd], bl
je 0x4378c9
push str.pdf_ownership_takeover_in_process__will_not_cleanup_ArmUI.ini_file
lea ecx, [ebp - 0x14]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x14]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.00410d56
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
jmp 0x4378f5
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 0x4378f5
call edi
cmp eax, 2
je 0x4378f5
push eax
push esi
push 2
call fcn.00410d56
add esp, 0xc
call fcn.0045098a
ret

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

Disassembly:
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x43793a
mov eax, dword [esp + 4]
cmp dword [eax], 0
jne 0x437913
mov ecx, esi
jmp fcn.00437831
mov eax, esi
call fcn.00401000
test eax, eax
je 0x43793a
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x437932
push 0x49c630
mov ecx, ebx
call fcn.00406a25
push esi
mov ecx, ebx
call fcn.00401103
ret
Function at 0x437db9
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x466853
call fcn.004508b2
call fcn.0043ce9a
push eax
lea ecx, [ebp - 0x18]
call fcn.00413a25
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 0x10]
push 0x4748dc
mov byte [ebp - 4], 2
call fcn.00406ad4
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.004012c2
add esp, 0xc
cmp dword [ebp - 0x10], esi
je 0x437e12
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 0x437e80
push str.MsiDatabaseOpenView__
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 3
push edi
lea eax, [ebp + 0xc]
push eax
push 2
call fcn.00410d56
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
cmp dword [ebp - 0x14], esi
je 0x437e63
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x437e70
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebx - 0x10]
call fcn.004017ba
mov eax, edi
call fcn.0045098a
ret
push esi
push dword [ebp - 0x10]
call sub.msi.dll_MsiViewModify
mov edi, eax
cmp edi, esi
je 0x437ea2
push str.MsiViewExecute__
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 4
jmp 0x437e3c
cmp dword [ebp - 0x14], esi
je 0x437eaf
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 0x437e56
push dword [ebp + 0x10]
push 1
push dword [ebp - 0x14]
call fcn.00437f4c
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x437f30
push str.MsiGetRecordString__
lea ecx, [ebp + 0xc]
call fcn.004012e2
push edi
lea eax, [ebp + 0xc]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.00410d56
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
cmp dword [ebp - 0x14], esi
je 0x437f12
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x437f1f
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, edi
lea ecx, [ebx - 0x10]
call fcn.004017ba
mov eax, esi
jmp 0x437e7a
cmp dword [ebp - 0x14], esi
je 0x437f3d
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x437f21
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x437f21
Function at 0x43822e
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x4add60]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x74], ax
xor ebx, ebx
lea eax, [ebp - 0x72]
push ebx
push eax
mov edi, ecx
call fcn.0044e740
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push ebx
push eax
call fcn.0044e740
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 0x498360
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 0x4382e1
mov eax, dword [ebp - 0x78]
xor ecx, ecx
cmp ecx, 0x103
je 0x4382db
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 0x4382bb
xor eax, eax
mov word [edi + ecx*2], ax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x4382fc
push str.thsnYaVieBoda
push 0x104
call fcn.0041222a
mov ecx, dword [ebp + 0x3a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044da13
add ebp, 0x3a8
leave
ret
Function at 0x438314
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x3c
mov eax, 0x46679f
call fcn.0045091b
mov esi, edx
mov dword [ebp - 0x38], ecx
xor ebx, ebx
call fcn.00401522
push 8
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0044e740
add esp, 0xc
push 8
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0044e740
add esp, 0xc
push 8
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0044e740
add esp, 0xc
push esi
lea ecx, [ebp - 0x28]
call fcn.00401326
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.0040f23b
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
mov ecx, 0x4b2698
mov dword [ebp - 0x48], eax
call fcn.0040f23b
mov dword [ebp - 0x3c], eax
mov eax, dword [0x4b2698]
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 0x43840e
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 0x438400
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.0043afc7
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.0043afc7
inc esi
cmp esi, dword [ebp - 0x30]
jb 0x4383ca
push dword [ebp - 0x2c]
xor ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x43843c
push str.Encryption_failed.
lea ecx, [ebp - 0x34]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x34]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.00410d56
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.00409da3
push 0xffffffffffffffff
mov ecx, 0x4b2698
call fcn.00409da3
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, ebx
call fcn.0045099e
ret
Function at 0x438e05
Capabilities:
Get common file path

Disassembly:
push 0x42c
mov eax, 0x4666b4
call fcn.0045091b
test byte [0x4b2c2c], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x434], eax
mov esi, 0x4b2c28
jne 0x438e53
or dword [0x4b2c2c], 1
call fcn.0043ce9a
push eax
mov ecx, esi
call fcn.00413a25
push 0x46c88a
call fcn.0044e67c
pop ecx
mov eax, dword [0x4b2c28]
mov eax, dword [eax - 0xc]
xor edi, edi
cmp eax, edi
jne 0x438f73
call fcn.0043ce9a
push eax
lea ecx, [ebp - 0x428]
call fcn.00413a25
xor eax, eax
mov ebx, 0x206
mov dword [ebp - 4], edi
push ebx
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.0044e740
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x42c], eax
cmp eax, edi
jne 0x438fd2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x428]
call fcn.00401356
push str.AdobeARM1.0_armsvc.exe
lea ecx, [ebp - 0x428]
call fcn.00406a25
xor eax, eax
push ebx
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push edi
push eax
call fcn.0044e740
mov ebx, dword [ebp - 0x428]
add esp, 0xc
push edi
push edi
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
mov dword [ebp - 0x430], 0x104
call sub.msi.dll_MsiMessageBoxW
mov dword [ebp - 0x42c], eax
cmp eax, edi
jne 0x438f96
lea eax, [ebp - 0x420]
push eax
mov ecx, esi
call fcn.00401356
push str.found_service_version:
lea ecx, [ebp - 0x424]
call fcn.004012e2
push edi
push esi
lea eax, [ebp - 0x424]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.00410886
mov ecx, dword [ebp - 0x424]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx - 0x10]
call fcn.004017ba
push dword [ebp - 0x438]
push esi
call fcn.00433ed2
pop ecx
test eax, eax
pop ecx
mov ecx, dword [ebp - 0x434]
setne al
mov byte [ecx], al
xor eax, eax
call fcn.0045099e
ret
push str.unable_to_determine_service_version:
lea ecx, [ebp - 0x424]
call fcn.004012e2
mov esi, dword [ebp - 0x42c]
push esi
lea eax, [ebp - 0x424]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.00410d56
mov ecx, dword [ebp - 0x424]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
jmp 0x439012
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x424]
call fcn.004012e2
mov esi, dword [ebp - 0x42c]
push esi
lea eax, [ebp - 0x424]
push eax
push 2
mov byte [ebp - 4], 1
call fcn.00410d56
mov ecx, dword [ebp - 0x424]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
mov ebx, dword [ebp - 0x428]
lea ecx, [ebx - 0x10]
call fcn.004017ba
mov eax, esi
jmp 0x438f90
Function at 0x439ddc
Capabilities:
Set registry value

Disassembly:
push 0x224
mov eax, 0x466660
call fcn.0045091b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x228], eax
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
xor esi, esi
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.0044e740
add esp, 0xc
push 0xa
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x228]
call fcn.0044ef5a
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.004012e2
push str.Server_to_set_iNotify_value_in_HKEY_CURRENT_USER:
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], esi
call fcn.004012e2
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
push 2
mov byte [ebp - 4], 1
call fcn.00410886
mov ecx, dword [ebp - 0x230]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004017ba
lea eax, [ebp - 0x224]
push eax
mov edi, 0x473600
push edi
mov esi, SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0x224]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 0x224]
push eax
push 0xf003f
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
cmp eax, edi
jne 0x439f3b
push 4
lea eax, [ebp - 0x228]
push eax
push 4
push edi
push str.iNotify
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x224]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x224]
call ebx
cmp esi, edi
je 0x439f72
push str.Server__RegSetValueEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x220]
call fcn.004012e2
push 2
pop eax
push edi
lea ecx, [ebp - 0x220]
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.00410d56
mov ecx, dword [ebp - 0x220]
jmp 0x439f67
push str.Server__RegOpenKeyEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x22c]
call fcn.004012e2
push edi
lea eax, [ebp - 0x22c]
push eax
push 2
mov dword [ebp - 4], 3
call fcn.00410d56
mov ecx, dword [ebp - 0x22c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
call fcn.0045099e
ret
Function at 0x43e4b0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4add60]
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 0x43e548
push 0x46deec
push 4
push eax
call fcn.0044f468
push eax
call fcn.0040142b
add esp, 0x10
push ebx
push edi
call fcn.00450a4a
mov edi, dword [eax]
call fcn.00450a4a
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.0044f290
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00450a4a
cmp dword [eax], ebx
je 0x43e55f
call fcn.00450a4a
push dword [eax]
call fcn.0043cbe4
pop ecx
jmp 0x43e566
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x43e4f3
jmp 0x43e5ed
call fcn.00450a4a
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x43e5e9
cmp dword [ebp - 0x234], esi
jae 0x43e5e9
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.0044e740
add esp, 0xc
push 0x46dc4c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x43e5d8
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x43e5d8
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x43e5d8
push ebx
push ebx
push esi
jmp 0x43e5e1
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x43e5eb
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044da13
leave
ret

Function at 0x4472c5
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 0x44730c
call fcn.00447f0b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44730c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x447328
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00446e3d
mov esi, eax
test edi, edi
je 0x447326
test ebx, ebx
je 0x447326
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x448a14
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 0x448a38
cmp dword [edi + 0x54], 0
jne 0x448a38
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00447f0b
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.004489d5
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 0x44da13
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4add60]
jne 0x44da1d
repz ret
jmp fcn.0045571f

Function at 0x45dd10
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.00455083
and dword [ebp - 4], 0
cmp dword [0x4b23e8], 0
mov ebx, eax
jne 0x45ddc1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45de72
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45de72
push eax
call fcn.00455011
mov dword [esp], 0x470d88
push edi
mov dword [0x4b23e8], eax
call esi
push eax
call fcn.00455011
mov dword [esp], 0x470d74
push edi
mov dword [0x4b23ec], eax
call esi
push eax
call fcn.00455011
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b23f0], eax
call esi
push eax
call fcn.00455011
pop ecx
mov dword [0x4b23f8], eax
test eax, eax
je 0x45ddc1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00455011
pop ecx
mov dword [0x4b23f4], eax
mov eax, dword [0x4b23f4]
cmp eax, ebx
je 0x45de19
cmp dword [0x4b23f8], ebx
je 0x45de19
push eax
call fcn.0045508c
push dword [0x4b23f8]
mov esi, eax
call fcn.0045508c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45de19
test edi, edi
je 0x45de19
call esi
test eax, eax
je 0x45de10
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45de10
test byte [ebp - 0xc], 1
jne 0x45de19
or dword [ebp + 0x10], 0x200000
jmp 0x45de52
mov eax, dword [0x4b23ec]
cmp eax, ebx
je 0x45de52
push eax
call fcn.0045508c
pop ecx
test eax, eax
je 0x45de52
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45de52
mov eax, dword [0x4b23f0]
cmp eax, ebx
je 0x45de52
push eax
call fcn.0045508c
pop ecx
test eax, eax
je 0x45de52
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b23e8]
call fcn.0045508c
pop ecx
test eax, eax
je 0x45de72
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45de74
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007c1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10007c2e
pop dword [ebp - 0x50]
mov eax, 0xce7e4c3
add eax, 0x318976b
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xa6b68f7c
add dword [ebp - 0x60], 0xa79bb5cf
mov dword [ebp - 0x5c], 0xf6b88e81
add dword [ebp - 0x5c], 0x3b7abdc4
mov dword [ebp - 0x58], 0x5031d1f
add dword [ebp - 0x58], 0x4749270f
mov dword [ebp - 0x54], 0x49532a37
sub dword [ebp - 0x54], 0x49532a37
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x73cb966f
add dword [ebp - 0x60], 0xa6d2e7
mov dword [ebp - 0x5c], 0x47ff92d4
sub dword [ebp - 0x5c], 0x693315f
mov dword [ebp - 0x58], 0xbe1daa5c
sub dword [ebp - 0x58], 0x5aae3df0
mov dword [ebp - 0x54], 0x50d575ed
add dword [ebp - 0x54], 0xaf2a8a13
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x92e7c1f5
add eax, 0x7d18be5b
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x378ae
push 0
call eax
mov ecx, 0x4b80
xor edi, edi
add edi, eax
mov esi, 0xcf79795b
sub esi, 0xbf787f5b
add esi, dword [ebp - 0x50]
mov ebx, 0x63e5d2ea
xor dword [ebp - 0x30], eax
mov edx, dword [esi]
mov dword [ebp - 0x44], 0xd1cd73f2
xor edx, ebx
mov dword [edi], edx
mov dword [ebp - 0x30], 0x7258a579
add edi, 0xf792ee9c
add edi, 0x86d1168
add esi, 4
loop 0x10007d41
add eax, 0x120d3
xor ebx, ebx
add ebx, eax
add eax, 0x42f66490
add eax, 0xbd099b75
mov ecx, 0x9c4736ae
sub ecx, 0x8c4736ae
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x405760
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x40b054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x1c]
push edi
push 0x18
push eax
push 7
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x4057d4
push 0x3e
pop ecx
call fcn.00406a48
mov ebx, eax
test ebx, ebx
jne 0x40579f
mov eax, 0xc000009a
jmp 0x4057d4
mov esi, edi
cmp dword [ebp - 0x1c], esi
jbe 0x4057cb
push esi
push 0x402f08
push 0x1f
push ebx
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
mov ecx, ebx
call fcn.00405423
test eax, eax
jns 0x4057c5
mov edi, eax
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x4057a6
mov ecx, ebx
call fcn.00406a5b
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a410
leave
ret

Function at 0x4057e3
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x40b054]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x402f34
lea eax, [ebp - 0xc]
push 3
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
push 0x41
pop eax
mov word [ebp - 0xc], ax
push 0x106
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x405850
mov ecx, dword [ebp - 0xc]
call fcn.00407722
cmp eax, 0xffffffff
je 0x40586e
lea ecx, [ebp - 0x220]
xor edx, edx
push ecx
push 0
mov ecx, eax
call fcn.004054fe
test eax, eax
js 0x405862
mov ax, word [ebp - 0xc]
inc ax
mov word [ebp - 0xc], ax
cmp ax, 0x5a
jbe 0x405813
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a410
leave
ret
mov eax, 0xc00000ef
jmp 0x405862