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

Disassembly:
sub esp, 0xa2c
mov eax, dword [0x100c0040]
xor eax, esp
mov dword [esp + 0xa28], eax
push ebx
mov ebx, dword [esp + 0xa34]
lea eax, [esp + 0xc]
push esi
push edi
push eax
lea eax, [esp + 0x238]
mov dword [esp + 0x18], 0x208
push eax
push str.AI_OFFICE_REG
push ebx
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0x104
push eax
push 0x20019
xor edi, edi
lea eax, [esp + 0x23c]
push edi
push eax
xor esi, esi
push SysReAllocString
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100419f5
push eax
push eax
push eax
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x40]
push eax
push edi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100419c4
mov edx, str.OPEN
lea ecx, [esp + 0x2c]
call fcn.100333d0
push 0
push 0
push 0
test al, al
mov dword [esp + 0x1c], 0x104
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 1]
cmove ecx, esi
lea eax, [esp + 0x40]
push eax
inc edi
mov esi, ecx
push edi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10041982
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100419d9
push 0x100a416c
jmp 0x100419e9
lea edx, [esp + 0x18]
mov ecx, esi
call fcn.1002e8f0
lea eax, [esp + 0x18]
push eax
push str.AI_ADDIN
push ebx
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
mov ecx, dword [esp + 0xa34]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10053e7d
add esp, 0xa2c
ret 4
Function at 0x100474a0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x61c]
sub esp, 0x61c
push 0xffffffffffffffff
push 0x1007a2dd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp + 0x618], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x624]
mov edi, 0x100c0bc0
mov eax, dword [edi]
mov esi, dword [edi + 4]
push 0
mov dword [ebp - 0x10], eax
lea eax, [ebp]
push 0x410
push eax
call fcn.10033390
add esp, 0xc
lea edx, [ebp]
mov ecx, esi
call fcn.10033ee0
test al, al
je 0x10047524
cmp word [ebp], 0
je 0x1004757b
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
jmp 0x1004757b
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x18]
call fcn.10034150
mov esi, dword [ebp - 0x14]
test al, al
je 0x1004755b
push esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1004756d
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
add edi, 0xc
cmp edi, 0x100c0bfc
jne 0x100474e4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInetStp
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100476b1
push eax
lea eax, [ebp + 0x208]
push 0x208
push eax
call fcn.10033390
add esp, 0xc
mov dword [ebp - 0x1c], 0x104
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 2
push eax
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.PathWWWRoot
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1004761e
push str._SystemDrive_inetpubwwwroot
lea eax, [ebp + 0x208]
push 0x104
push eax
call fcn.1005c32d
add esp, 0xc
push 0
lea eax, [ebp + 0x410]
push 0x208
push eax
call fcn.10033390
add esp, 0xc
lea eax, [ebp + 0x410]
push 0x104
push eax
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ecx, ecx
lea eax, [ebp + 0x410]
cmp word [ebp + 0x410], cx
je 0x1004769e
nop
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x10047660
test ecx, ecx
je 0x1004769e
cmp word [ebp + ecx*2 + 0x40e], 0x5c
je 0x1004769e
mov eax, 0x5c
mov word [ebp + ecx*2 + 0x410], ax
lea eax, [ecx*2 + 2]
cmp eax, 0x208
jae 0x100476d8
xor ecx, ecx
mov word [ebp + eax + 0x410], cx
lea eax, [ebp + 0x410]
push eax
push str.IIsWWWRootFolder
push ebx
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
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 + 0x618]
xor ecx, ebp
call fcn.10053e7d
lea esp, [ebp + 0x61c]
pop ebp
ret 4
call fcn.100546c1
int3
Function at 0x1004d350
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x438]
sub esp, 0x438
push 0xffffffffffffffff
push 0x1007b545
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp + 0x434], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push 0
lea eax, [ebp + 0x22c]
push 0x208
push eax
call fcn.10033390
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x22c]
push eax
push 0x100a6c10
push edi
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
cmp ebx, 1
jne 0x1004d3da
push str.Stopped
push str.AI_PROCESS_STATE
push edi
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x2c], 0x100a4740
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 0
push 0x100ad2bc
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0
push 2
mov ecx, esi
call dword [0x1007d584]
call esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 0x100a46cc
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
lea eax, [ebp]
push 0x22c
push 0
push eax
call fcn.10055bd0
push 0
lea eax, [ebp]
push 0x22c
push eax
call fcn.10033390
add esp, 0x18
mov dword [ebp], 0x22c
push 0x100ad29c
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100ad2ac
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov ecx, esi
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [0x1007d584]
call esi
test eax, eax
je 0x1004d4e4
mov esi, dword [ebp - 0x18]
lea eax, [ebp + 0x22c]
push eax
lea eax, [ebp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1004d4cf
mov eax, esi
sub eax, 1
je 0x1004d4be
sub eax, 1
jne 0x1004d4cf
push dword [ebp + 8]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1004d4cf
push str.Running
push str.AI_PROCESS_STATE
push edi
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
lea eax, [ebp]
mov ecx, ebx
push eax
push dword [ebp - 0x10]
call dword [0x1007d584]
call ebx
test eax, eax
jne 0x1004d486
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], 0x100a46cc
test eax, eax
je 0x1004d504
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], 0x100a4740
test eax, eax
je 0x1004d527
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x28], 0
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 + 0x434]
xor ecx, ebp
call fcn.10053e7d
lea esp, [ebp + 0x438]
pop ebp
ret
Function at 0x1004d740
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b5d5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100c0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x1004d8d0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0
push 1
push 0x30
push esi
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
push dword [ebp - 0x14]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x14]
push eax
push 1
push 0x30
push esi
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
xor ecx, ecx
imul esi, dword [ebp - 0x10], 0x101
mov edx, 2
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor ebx, ebx
mov dword [ebp - 0x24], esi
mov edi, eax
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x10], ebx
jbe 0x1004d881
mov esi, dword [ebp - 0x1c]
cmp word [edi], 0
mov ecx, edi
je 0x1004d849
nop dword [eax]
add ecx, 2
cmp word [ecx], 0
jne 0x1004d840
mov edx, dword [esi]
push 0xffffffffffffffff
call fcn.10016e50
add esp, 4
mov ecx, edi
cmp word [edi], 0
je 0x1004d869
nop dword [eax]
add ecx, 2
cmp word [ecx], 0
jne 0x1004d860
push 0xffffffffffffffff
mov edx, 0x100a6f70
call fcn.10016e50
inc ebx
add esp, 4
add esi, 0x24
cmp ebx, dword [ebp - 0x10]
jb 0x1004d831
push edi
push str.AI_SERVICES_LIST
push dword [ebp + 8]
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
mov byte [ebp - 4], 0
test edi, edi
je 0x1004d89f
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004d8c2
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1004ffa0
Capabilities:
Reference sql statements

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1007bead
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edx + 4]
lea ecx, [ebp]
xor eax, eax
mov edx, str.SELECT__Cabinet__FROM__Media__WHERE__Media_._Cabinet_
push 0xffffffffffffffff
mov word [ebp], ax
call fcn.10016e50
add esp, 4
cmp word [eax], 0
je 0x10050009
nop dword [eax]
add eax, 2
cmp word [eax], 0
jne 0x10050000
push 0xffffffffffffffff
mov edx, esi
mov ecx, eax
call fcn.10016e50
add esp, 4
cmp word [eax], 0
je 0x10050029
nop dword [eax]
add eax, 2
cmp word [eax], 0
jne 0x10050020
push 0xffffffffffffffff
mov edx, str..cab
mov ecx, eax
call fcn.10016e50
add esp, 4
cmp word [eax], 0
je 0x10050049
add eax, 2
cmp word [eax], 0
jne 0x10050040
push 0xffffffffffffffff
mov edx, 0x100ad92c
mov ecx, eax
call fcn.10016e50
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10050076
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
push edi
mov dword [ebp - 0x10], 0
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
cmp word [ebp], 0
je 0x100500b8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
jle 0x100500b1
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x10050103
call fcn.10035290
mov byte [ebp - 4], 0
test esi, esi
je 0x100500c7
push esi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100500de
push ecx
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
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 + 0x208]
xor ecx, ebp
call fcn.10053e7d
lea esp, [ebp + 0x20c]
pop ebp
ret
push 0
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
mov edi, eax
test edi, edi
jle 0x1005011f
movzx edi, di
or edi, 0x80070000
test edi, edi
jns 0x10050126
call fcn.10035290
mov byte [ebp - 4], 0
test esi, esi
je 0x10050135
push esi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
test edi, edi
js 0x100500c7
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10050152
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
sete bl
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100500c9
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
jmp 0x100500c9
Function at 0x10050190
Capabilities:
Reference sql statements

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1007befd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
xor eax, eax
lea ecx, [ebp]
push 0xffffffffffffffff
mov edx, str.SELECT__FROM__Condition__WHERE__Condition_._Feature__
mov word [ebp], ax
call fcn.10016e50
add esp, 4
cmp word [eax], 0
je 0x100501f9
nop dword [eax + eax]
add eax, 2
cmp word [eax], 0
jne 0x100501f0
push 0xffffffffffffffff
mov edx, ebx
mov ecx, eax
call fcn.10016e50
add esp, 4
cmp word [eax], 0
je 0x10050219
nop dword [eax]
add eax, 2
cmp word [eax], 0
jne 0x10050210
push 0xffffffffffffffff
mov edx, 0x100ad92c
mov ecx, eax
call fcn.10016e50
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10050256
push ecx
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.msi.dll_MsiEnumClientsA]
push 0
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiViewModify]
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10050290
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x100502b8
push dword [ebp - 0x10]
push 6
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiRecordClearData]
jmp 0x10050282
push 3
call dword [sym.imp.msi.dll_MsiDatabaseExportA]
mov ecx, dword [ebp - 0x10]
mov edi, eax
test ecx, ecx
je 0x100502d0
push ecx
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
push ebx
push 1
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.msi.dll_MsiReinstallFeatureW]
push 0
push 2
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiRecordSetStringW]
push 0x100a4178
push 3
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiReinstallFeatureW]
push dword [ebp - 0x10]
push 7
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiRecordClearData]
push esi
call dword [sym.imp.msi.dll_MsiDatabaseGenerateTransformW]
test eax, eax
sete bl
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10050326
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 0
test esi, esi
je 0x10050335
push esi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1005034a
push ecx
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
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 + 0x208]
xor ecx, ebp
call fcn.10053e7d
lea esp, [ebp + 0x20c]
pop ebp
ret
Function at 0x1005333d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x10053364
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10053367
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.10053319
pop esi
leave
ret 8

Function at 0x10062cd7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1009f740
push 0x1009f738
push str.FlsAlloc
push 0x1e
call fcn.10062ba1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10062d0b
push dword [ebp + 8]
mov ecx, esi
call dword [0x1007d584]
call esi
jmp 0x10062d11
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10062d55
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1009f750
push 0x1009f748
push str.FlsGetValue
push 0x20
call fcn.10062ba1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10062d8c
push dword [ebp + 8]
mov ecx, esi
call dword [0x1007d584]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100658b0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1006594d
push ebx
push esi
call fcn.10065879
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100647f7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100658fa
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1006594c
push edi
push eax
call fcn.10061364
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1006591a
call fcn.1006128e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1006594b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100647f7
add esp, 0x20
test eax, eax
jne 0x10065939
push edi
call fcn.1006128e
jmp 0x10065941
push ebx
call fcn.1006128e
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1006d840
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1006d86d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1006d86d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xb37f6c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push edi
mov ebx, 0x1247c80
mov eax, dword [eax + 0xc]
push ebx
mov edi, dword [eax + 0x18]
push dword [edi + 0x28]
call fcn.01241584
pop ecx
pop ecx
test eax, eax
jne 0xb37f93
mov eax, dword [edi + 0x10]
jmp 0xb37fb2
push esi
mov esi, dword [edi + 4]
jmp 0xb37fab
push ebx
push dword [esi + 0x28]
call fcn.01241584
pop ecx
pop ecx
test eax, eax
je 0xb37fb5
mov esi, dword [esi + 4]
cmp esi, edi
jne 0xb37f99
xor eax, eax
pop esi
pop edi
pop ebx
ret
mov eax, dword [esi + 0x10]
jmp 0xb37fb1
Function at 0x124140c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test esi, esi
jle 0x124146f
mov ecx, dword [ebp + 0x10]
sub dword [ebp + 0xc], ecx
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
push edi
inc bl
movzx ebx, bl
mov cl, byte [edx + ebx + 8]
add al, cl
movzx eax, al
mov dword [ebp + 8], eax
mov edi, dword [ebp + 8]
mov al, byte [edx + eax + 8]
mov byte [edx + ebx + 8], al
add al, cl
movzx eax, al
mov byte [edx + edi + 8], cl
mov cl, byte [eax + edx + 8]
mov eax, dword [ebp + 0x10]
xor cl, byte [esi + eax]
mov byte [eax], cl
inc eax
sub dword [ebp - 4], 1
mov dword [ebp + 0x10], eax
mov eax, edi
jne 0x124142e
mov esi, dword [ebp + 0x14]
pop edi
mov dword [edx + 4], eax
mov eax, esi
pop esi
mov dword [edx], ebx
pop ebx
leave
ret
Function at 0x1249cdc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
test ebx, ebx
je 0x1249d37
mov edi, dword [ebp + 0xc]
test edi, 0xffff0000
jne 0x1249d01
sub edi, dword [ebx + esi + 0x10]
jmp 0x1249d52
mov ecx, dword [ebx + esi + 0x20]
xor eax, eax
add ecx, esi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp dword [ebx + esi + 0x18], eax
jbe 0x1249d37
mov eax, dword [ecx + eax*4]
add eax, esi
push edi
push eax
call fcn.00b361bc
pop ecx
pop ecx
test eax, eax
je 0x1249d40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebx + esi + 0x18]
jb 0x1249d15
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x1249d37
mov eax, dword [ebx + esi + 0x24]
lea eax, [eax + ecx*2]
movzx edi, word [eax + esi]
cmp edi, 0xffffffff
je 0x1249d37
cmp edi, dword [ebx + esi + 0x14]
jae 0x1249d37
mov eax, dword [ebx + esi + 0x1c]
lea eax, [eax + edi*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x1249d39
Function at 0x10003560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], 0x520050
mov ecx, 0x41
mov dword [ebp - 0x18], 0x440049
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0x520055
push eax
mov dword [ebp - 0x10], 0x530041
mov dword [ebp - 0xc], 0x4b0048
mov dword [ebp - 8], ecx
call dword [0x23a0b0]
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.100092c0
add esp, 4
mov dword [ebp - 0x88], 0x4f0053
lea eax, [ebp - 4]
mov dword [ebp - 0x84], 0x540046
mov dword [ebp - 0x80], 0x410057
mov dword [ebp - 0x7c], 0x450052
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x78], 0x4d005c
push eax
push 0x80000001
mov dword [ebp - 0x74], 0x630069
mov dword [ebp - 0x70], 0x6f0072
mov dword [ebp - 0x6c], 0x6f0073
mov dword [ebp - 0x68], 0x740066
mov dword [ebp - 0x64], 0x57005c
mov dword [ebp - 0x60], 0x6e0069
mov dword [ebp - 0x5c], 0x6f0064
mov dword [ebp - 0x58], 0x730077
mov dword [ebp - 0x54], 0x43005c
mov dword [ebp - 0x50], 0x720075
mov dword [ebp - 0x4c], 0x650072
mov dword [ebp - 0x48], 0x74006e
mov dword [ebp - 0x44], 0x650056
mov dword [ebp - 0x40], 0x730072
mov dword [ebp - 0x3c], 0x6f0069
mov dword [ebp - 0x38], 0x5c006e
mov dword [ebp - 0x34], 0x750052
mov dword [ebp - 0x30], 0x4f006e
mov dword [ebp - 0x2c], 0x63006e
mov dword [ebp - 0x28], 0x65
call dword [0x23a008]
test eax, eax
jne 0x100036c0
push esi
call dword [0x23a0b0]
add eax, eax
push eax
push esi
push 1
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [0x23a004]
push dword [ebp - 4]
neg eax
sbb esi, esi
call dword [0x23a00c]
lea eax, [esi + 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10003c30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x24], 0x6c006b
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0x660069
mov dword [ebp - 0x1c], 0x73002e
mov dword [ebp - 0x18], 0x730079
mov word [ebp - 0x14], ax
mov dword [ebp - 0x10], 0x6c006b
mov dword [ebp - 0xc], 0x2e0031
mov dword [ebp - 8], 0x790073
mov dword [ebp - 4], 0x73
call fcn.10003b50
pop edi
pop esi
pop ebx
test eax, eax
jne 0x10003c96
lea ecx, [ebp - 0x10]
call fcn.10003b50
test eax, eax
jne 0x10003c96
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret