joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1806eb68
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x180f51f0]
xor eax, ebp
mov dword [ebp - 4], eax
movzx ecx, byte [0x180fb8d9]
push ebx
push esi
push edi
neg ecx
sbb ecx, ecx
mov edi, 0x180fbb80
and ecx, edi
push 4
pop esi
je 0x1806ebc7
push esi
push esi
mov dword [ebp - 0x21c], ecx
call fcn.18001d8a
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x21c]
push str._ConfigManager::IsInternalUser_
push eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.18001000
pop ecx
pop ecx
xor eax, eax
push 0x1fe
mov word [ebp - 0x208], ax
xor ebx, ebx
lea eax, [ebp - 0x206]
push ebx
push eax
call fcn.1809d820
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x208]
push eax
push 3
mov dword [ebp - 0x220], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x1806ec75
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, edi
je 0x1806ec54
push esi
push esi
mov dword [ebp - 0x21c], ecx
call fcn.18001d8a
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x21c]
push str._dns_name__s_
push eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.18001000
add esp, 0xc
push 1
lea eax, [ebp - 0x208]
push str..dropbox.com
push eax
call fcn.18009283
add esp, 0xc
test al, al
je 0x1806ec75
mov al, 1
jmp 0x1806ed12
lea eax, [ebp - 0x20c]
push eax
push 0x64
push ebx
mov dword [ebp - 0x20c], ebx
call sub.NETAPI32.dll_NetWkstaGetInfo
mov edx, dword [ebp - 0x20c]
mov dword [ebp - 0x210], edx
cmp eax, ebx
jne 0x1806ed05
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, edi
je 0x1806eceb
push esi
push esi
mov dword [ebp - 0x230], ecx
call fcn.18001d8a
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x20c]
push dword [eax + 8]
lea eax, [ebp - 0x230]
push str._netbios_name__s_
push eax
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
call fcn.18001000
mov edx, dword [ebp - 0x20c]
add esp, 0xc
cmp dword [edx + 8], ebx
je 0x1806ed05
push str.dropbox
push dword [edx + 8]
call fcn.1809dd43
pop ecx
pop ecx
test eax, eax
jne 0x1806ed05
mov bl, 1
push dword [ebp - 0x210]
call sub.NETAPI32.dll_NetApiBufferFree
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1809cca5
leave
ret

Function at 0x1806eebc
Capabilities:
Identify system language via api

Disassembly:
cmp byte [esp + 8], 0
push esi
je 0x1806eecc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x1806eed2
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, 0x409
movzx esi, ax
xor edx, edx
mov eax, ecx
cmp si, ax
je 0x1806ef24
inc edx
mov eax, edx
imul eax, eax, 0x1a
movzx eax, word [eax + 0x180c0cb8]
test ax, ax
jne 0x1806eede
mov edx, ecx
xor eax, eax
pop esi
cmp cx, dx
je 0x1806ef29
inc eax
mov ecx, eax
imul ecx, ecx, 0x1a
movzx ecx, word [ecx + 0x180c0cb8]
test cx, cx
jne 0x1806eefa
push 0x180e3c2c
mov eax, dword [esp + 8]
call fcn.18003fba
mov eax, dword [esp + 4]
ret
movzx edx, si
jmp 0x1806eef7
imul eax, eax, 0x1a
add eax, 0x180c0cba
push eax
jmp 0x1806ef16
Function at 0x180705a1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x180f51f0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x230], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
mov ebx, ecx
call fcn.1809d820
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1807060b
call fcn.1800fc86
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1809cca5
leave
ret
cmp eax, esi
jb 0x18070616
mov eax, 0x80004005
jmp 0x180705fc
mov esi, 0x180c006c
lea edi, [ebp - 0x224]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x224]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jl 0x180705fc
lea edi, [ebp - 0x224]
lea esi, [ebp - 0x22c]
call fcn.180055a7
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x228]
call fcn.18003fba
mov edi, dword [ebp - 0x22c]
push edi
lea eax, [ebp - 0x228]
call fcn.180065de
lea eax, [ebp - 0x228]
call fcn.18070919
mov esi, dword [ebp - 0x228]
push esi
call fcn.18004c24
pop ecx
mov dword [ebp - 0x234], eax
test eax, eax
jge 0x180706a8
lea eax, [esi - 0x10]
call fcn.18004250
lea eax, [edi - 0x10]
call fcn.18004250
mov eax, dword [ebp - 0x234]
jmp 0x180705fc
mov eax, dword [ebx]
push 1
push esi
push eax
call fcn.1800c8b2
add esp, 0xc
test eax, eax
jge 0x180706d3
mov ebx, eax
lea eax, [esi - 0x10]
call fcn.18004250
lea eax, [edi - 0x10]
call fcn.18004250
mov eax, ebx
jmp 0x180705fc
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x18070720
push 2
pop ebx
push ebx
push 4
pop edi
push edi
mov dword [ebp - 0x244], ecx
call fcn.18001d8a
push esi
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x244]
push str._CopyGoopdateToTempDir__temp_path___s_
push eax
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], edi
call fcn.18001000
add esp, 0xc
mov edi, dword [ebp - 0x230]
lea eax, [ebp - 0x228]
call fcn.18003d26
mov edi, dword [ebp - 0x22c]
xor ebx, ebx
jmp 0x180706bc
Function at 0x18074690
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor edi, edi
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
cmp esi, edi
jne 0x180746b1
call fcn.1800fc86
jmp 0x18074725
mov eax, dword [0x180fa248]
mov ecx, 0x180fa248
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1800e0e2
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], edi
pop ecx
cmp dword [ebx - 0xc], edi
je 0x180746e3
lea eax, [ebp - 4]
push eax
push ebx
call sub.ADVAPI32.dll_ConvertStringSidToSidW
push dword [ebp + 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp - 4]
push dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x1807470b
call fcn.1800fc86
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea eax, [ebx - 0x10]
call fcn.18004250
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18085410
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x18085425
mov eax, 0x80070057
jmp 0x18085496
push edi
xor eax, eax
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x3c
stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push esi
push eax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x50], esi
call fcn.1809d820
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x28], 0x80
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
jne 0x18085484
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x18085496
and eax, 0xffff
or eax, 0x80070000
jmp 0x18085496
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
pop esi
leave
ret

Function at 0x180854e7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x180f51f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
jne 0x18085508
mov eax, 0x80070057
jmp 0x18085574
push edi
call fcn.18004003
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1809d820
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x18085559
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x18085573
and eax, 0xffff
or eax, 0x80070000
jmp 0x18085573
cmp eax, edi
jb 0x18085564
mov eax, 0x80004005
jmp 0x18085573
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.1800422d
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1809cca5
leave
ret

Function at 0x180855d5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x180f51f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
cmp dword [esi - 0xc], 0
je 0x18085667
test edi, edi
je 0x18085667
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1809d820
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x180e95dc
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x18085645
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1808566c
and eax, 0xffff
or eax, 0x80070000
jmp 0x1808566c
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1800422d
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
jmp 0x1808566c
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1809cca5
leave
ret
Function at 0x18085716
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
cmp esi, ebx
jne 0x18085731
mov eax, 0x80070057
jmp 0x18085859
call fcn.18004003
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 0x20019
push ebx
push eax
xor eax, eax
cmp byte [ebp + 8], bl
mov dword [ebp - 4], ebx
setne al
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x18085776
jle 0x18085859
and eax, 0xffff
or eax, 0x80070000
jmp 0x18085859
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 8]
push ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
push dword [ebp - 4]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
call edi
mov esi, eax
cmp esi, ebx
je 0x180857c0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jle 0x18085856
and esi, 0xffff
or esi, 0x80070000
jmp 0x18085856
cmp dword [ebp - 0x10], 1
je 0x180857cc
cmp dword [ebp - 0x10], 2
jne 0x180857d1
cmp dword [ebp - 8], ebx
jne 0x180857e1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x8007000d
jmp 0x18085858
mov eax, dword [0x180fa248]
mov ecx, 0x180fa248
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
shr eax, 1
push eax
lea esi, [ebp - 0xc]
call fcn.18004129
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
lea edx, [ebp - 8]
push edx
push eax
push ebx
push ebx
push ecx
push dword [ebp - 4]
call edi
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x1808583d
mov eax, dword [ebp - 8]
shr eax, 1
lea edx, [ebp - 0xc]
call fcn.1800418e
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0xc]
call fcn.18003d26
cmp esi, ebx
jle 0x1808584b
and esi, 0xffff
or esi, 0x80070000
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.18004250
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1808585d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x18085875
mov eax, 0x80070057
jmp 0x18085901
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 0x20019
push edi
push eax
push 0x80000002
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x180858a5
jle 0x18085901
and eax, 0xffff
or eax, 0x80070000
jmp 0x18085901
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 8]
push ecx
push edi
push eax
push dword [ebp - 4]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x180858ec
jle 0x180858e8
and esi, 0xffff
or esi, 0x80070000
mov eax, esi
jmp 0x18085900
cmp dword [ebp - 8], 4
jne 0x180858fb
cmp dword [ebp - 0xc], edi
je 0x180858fb
xor eax, eax
jmp 0x18085900
mov eax, 0x8007000d
pop esi
pop edi
leave
ret
Function at 0x18085d08
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [eax]
push edi
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x18085d32
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x18085d30
and eax, 0xffff
or eax, 0x80070000
pop edi
ret
push esi
push str.GOOGLEUPDATEREPAIR
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x18085d69
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x18085d5b
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop esi
pop edi
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 4
je 0x18085d7d
mov esi, 0x8000ffff
jmp 0x18085d5d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x18085d47
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x18085d9b
mov esi, 0x80070006
jmp 0x18085d5d
cmp dword [eax], 1
jne 0x18085d76
xor esi, esi
jmp 0x18085d5d
Function at 0x18089650
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
movzx ecx, byte [0x180fb8d9]
sub esp, 0x3c
push ebx
push esi
neg ecx
push edi
sbb ecx, ecx
and ecx, 0x180fbb80
push 1
pop ebx
je 0x18089695
push ebx
push 8
pop esi
push esi
mov dword [ebp - 0x20], ecx
call fcn.18001d8a
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push str._StartService_
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
call fcn.18001000
pop ecx
pop ecx
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x180896b5
call fcn.1800fc86
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 8]
push eax
call fcn.18055fa8
pop ecx
push 0x14
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x180896f5
call fcn.1800fc86
mov edi, eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.18004250
push dword [ebp - 0xc]
call esi
mov eax, edi
jmp 0x180896b0
push 6
mov dword [ebp - 0x3c], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 2
pop edi
test eax, eax
je 0x18089767
cmp dword [ebp - 0x38], 4
je 0x18089721
cmp dword [ebp - 0x38], edi
jne 0x18089767
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x1808975b
push ebx
push edi
mov dword [ebp - 0x20], ecx
call fcn.18001d8a
push dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push str._QueryServiceStatus__Service_already_running___u_
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
call fcn.18001000
add esp, 0xc
push dword [ebp - 4]
call esi
xor edi, edi
jmp 0x180896e1
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x180897b0
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x1808975b
push ebx
push edi
mov dword [ebp - 0x20], ecx
call fcn.18001d8a
push str._StartService__started_
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
call fcn.18001000
pop ecx
pop ecx
jmp 0x1808975b
call fcn.1800fc86
mov dword [ebp - 0x10], eax
cmp eax, 0x80070420
jne 0x180897e3
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x1808975b
push ebx
push edi
mov dword [ebp - 0x20], ecx
call fcn.18001d8a
push str._StartService__ERROR_SERVICE_ALREADY_RUNNING_
jmp 0x1808979a
push dword [ebp - 4]
call esi
mov edi, dword [ebp - 0x10]
jmp 0x180896e1
Function at 0x1808d5bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x138
mov eax, dword [0x180f51f0]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
push esi
mov esi, dword [0x180fa20c]
mov dword [ebp - 0xa0], eax
movzx eax, word [ebp + 0x7c]
push 0xf0
push eax
push esi
mov dword [ebp - 0x9c], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1808d74e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1808d74e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1808d74e
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x1808d74c
inc esi
inc esi
movzx edi, ax
movzx eax, word [esi]
inc esi
inc esi
mov ecx, dword [esi]
mov dword [ebp - 0xa4], ecx
mov ecx, 0x403
add esi, 4
cmp cx, ax
jne 0x1808d6bd
lea eax, [ebp - 0x94]
push 3
mov dword [ebp - 0x98], eax
push esi
lea eax, [ebp - 0x98]
push eax
call fcn.18007091
push dword [ebp - 0x98]
movzx eax, di
push 0
push 0x143
push eax
mov eax, dword [ebp - 0xa0]
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x1808d69d
and dword [ebp - 0x9c], 0
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x1808d739
push dword [ebp - 0x98]
call fcn.1809cf0d
pop ecx
jmp 0x1808d739
mov ecx, 0x1234
cmp cx, ax
jne 0x1808d739
or dword [ebp - 0xc4], 0xffffffff
lea eax, [ebp - 0x94]
push 3
mov dword [ebp - 0x98], eax
push esi
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0xc8], 1
call fcn.18007091
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xc0], eax
cmp eax, ecx
je 0x1808d710
push eax
call fcn.1809cf0d
pop ecx
lea eax, [ebp - 0xc8]
push eax
push 0
movzx eax, di
push 0x40b
push eax
mov eax, dword [ebp - 0xa0]
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x1808d739
and dword [ebp - 0x9c], 0
add esi, dword [ebp - 0xa4]
cmp dword [ebp - 0x9c], 0
jne 0x1808d62d
pop edi
pop ebx
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp - 0x9c]
xor ecx, ebp
pop esi
call fcn.1809cca5
add ebp, 0x70
leave
ret 8

Function at 0x18092073
Capabilities:
Hide graphical window

Disassembly:
push ebx
push dword [esp + 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
movzx eax, byte [esi]
neg eax
sbb eax, eax
and eax, 5
push eax
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp byte [esi + 1], al
setne al
push eax
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 2], 0
je 0x180920d9
cmp byte [esi + 3], 0
je 0x180920d9
push 1
push ebx
push 0x28
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x180920d9
or eax, 1
push eax
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop ebx
ret 4
Function at 0x180922e9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push ebx
push ebp
push edi
call fcn.180914b7
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
and dword [esp + 0x10], 0
push 5
push dword [esp + 0x1c]
push esi
call edi
mov ebp, eax
test ebp, ebp
je 0x180923a5
push 0xf0
push dword [esp + 0x1c]
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x18092334
push eax
push esi
call edi
push eax
call ebx
and dword [esp + 0xc], 0
push ebp
push esi
call edi
test eax, eax
je 0x1809238a
push eax
call ebx
mov edi, eax
test edi, edi
je 0x1809238a
call fcn.18092196
push 0
push 0x1809214f
push dword [esp + 0x24]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x18092376
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
cmp ebx, edi
je 0x18092394
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x18092394
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x180923a5
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x18092e33
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
movzx ecx, byte [0x180fb8d9]
sub esp, 0x18
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
push ebx
push esi
je 0x18092e77
push 3
pop ebx
push ebx
push 4
pop esi
push esi
mov dword [ebp - 0x14], ecx
call fcn.18001d8a
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push str._SplashScreen::Initialize_
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
call fcn.18001000
pop ecx
pop ecx
lea esi, [edi + 8]
mov eax, edi
call fcn.18068a01
movzx eax, word [edi + 0x24]
mov esi, dword [0x180fa20c]
push 0
push eax
call fcn.180922e9
pop ecx
pop ecx
test eax, eax
jne 0x18092ea3
mov eax, 0x80040e80
jmp 0x18092f7e
push dword [edi + 0x64]
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
lea esi, [edi + 4]
push dword [esi]
call ebx
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfff4ffff
push eax
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x7db
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7d5
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x60]
push dword [ebp - 4]
call ebx
mov eax, edi
call fcn.18092f82
push 2
push 0xff
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push esi
xor eax, eax
call fcn.1800869c
push dword [esi]
lea eax, [edi + 0x68]
call fcn.18015d92
mov esi, eax
pop ecx
test esi, esi
jge 0x18092f72
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x18092f72
push 0xffffffffffffffff
push 4
pop ebx
push ebx
mov dword [ebp - 0x14], ecx
call fcn.18001d8a
or dword [ebp - 0xc], 0xffffffff
push esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push str._SetWindowIcon_failed__0x_08x_
push eax
mov dword [ebp - 8], ebx
call fcn.18001000
add esp, 0xc
xor eax, eax
inc eax
mov ecx, edi
call fcn.18093000
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x18096a3d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.18003fba
lea eax, [ebp + 0xc]
push eax
call fcn.1800a8a8
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jne 0x18096a88
mov edi, 0x104
push edi
lea esi, [ebp + 0xc]
call fcn.18004129
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
or eax, 0xffffffff
call fcn.18003fe5
mov edi, esi
call fcn.1800bd34
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
jne 0x18096ab9
call fcn.1800fc86
mov edi, eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.18004250
mov eax, edi
pop edi
pop esi
leave
ret 8
mov eax, dword [ebp + 8]
push esi
push dword [ebp - 4]
call fcn.18096ad0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x18096aa6