joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fc30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x412015
lea edi, [esi - 0x11015]
push edi
or ebp, 0xffffffff
jmp 0x41fc52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41fc59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41fc48
mov eax, 1
add ebx, ebx
jne 0x41fc6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41fc60
jne 0x41fc7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41fc60
xor ecx, ecx
sub eax, 3
jb 0x41fc90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41fd02
mov ebp, eax
add ebx, ebx
jne 0x41fc9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41fca8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41fccc
inc ecx
add ebx, ebx
jne 0x41fcb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41fcad
jne 0x41fcc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41fcad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41fcec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41fcdd
jmp 0x41fc4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41fcec
add edi, ecx
jmp 0x41fc4e
pop esi
mov edi, esi
mov ecx, 0x289
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41fd0a
cmp byte [edi], 2
jne 0x41fd0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41fd0f
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41fd7e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x214a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21508]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41fd3c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2150c]
or eax, eax
je 0x41fd78
mov dword [ebx], eax
add ebx, 4
jmp 0x41fd59
call dword [esi + 0x21510]
popal
jmp 0x401240
Function at 0x401000
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 0x403520
test eax, eax
jne 0x401021
push str.Error:_Unable_to_register_notification__no_callback__n
call fcn.0040415f
add esp, 4
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
push esi
push 0xc
call fcn.004040cb
mov esi, eax
add esp, 4
test esi, esi
jne 0x401047
push str.Error:_NOTIFICATION_CONTEXT_memory_allocation_failure._n
call fcn.0040415f
add esp, 4
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push edi
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x403e60
push 0
push 0
mov dword [esi], ecx
mov dword [esi + 4], 0x403520
mov dword [esi + 8], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401091
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_Unable_to_register_notification__error__d_n
call fcn.0040415f
push esi
call fcn.00404091
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402a40
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x411014]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push str.Qualcomm_MTU_Service
push str.Installing:__s_n
call fcn.00403fb0
add esp, 8
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x402b6a
push ebx
push esi
push 0x105
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x10c]
push ecx
push str.Installing_Module_Path:___s__n
mov esi, eax
call fcn.00403fb0
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 8
test esi, esi
je 0x402b49
cmp esi, 0x105
jae 0x402b49
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x10c]
push edx
push 1
push 2
push 0x10
push 0xf01ff
push str.Qualcomm_MTU_Service
push 0x40e96c
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
test eax, eax
je 0x402b1c
push eax
call ebx
push str.Qualcomm_MTU_Service
push str.Installed:__s_n
call fcn.00403fb0
add esp, 8
push edi
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Qualcomm_MTU_Service
push str.CreateService_failure:___s__error__d_n
call fcn.00403fb0
add esp, 0xc
push edi
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
push str.Error:_failed_to_obtain_service_path._n
call fcn.00403fb0
add esp, 4
push edi
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Qualcomm_MTU_Service
push str.OpenSCManager_failure:___s__error__d_n
call fcn.00403fb0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
Function at 0x402ba0
Capabilities:
Delete service
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x411014]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push str.Qualcomm_MTU_Service
push str.Uninstalling:__s_n
call fcn.00403fb0
add esp, 8
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x402c2a
push ebx
push esi
push 0x10004
push 0x40e96c
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x402c25
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x402c22
cmp dword [ebp - 0x1c], 1
jne 0x402c22
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push str.Qualcomm_MTU_Service
push str.Uninstalled:__s_n
call fcn.00403fb0
add esp, 8
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
Function at 0x403bd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, eax
test edi, edi
jne 0x403bf0
push str.Error:_Unable_to_register_MTU_notification__no_callback__n
call fcn.00403fb0
add esp, 4
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
push esi
push 0x10
call fcn.004040cb
mov esi, eax
add esp, 4
test esi, esi
jne 0x403c17
push str.Error:_NOTIFICATION_CONTEXT_memory_allocation_failure._n
call fcn.00403fb0
add esp, 4
pop esi
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov cl, byte [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x403c70
push 0
push 0
mov byte [esi + 4], cl
mov dword [esi + 8], edi
mov dword [esi + 0xc], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, 0xffffffff
jne 0x403c62
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_Unable_to_register_notification__error__d_n
call fcn.00403fb0
push esi
call fcn.00404091
add esp, 0xc
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x403fb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x411014]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x404]
push 0x400
push edx
call fcn.0040464c
add esp, 0x14
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403ffe
mov esp, ebp
pop ebp
ret

Function at 0x403ffe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411014]
jne 0x404008
repz ret
jmp fcn.00404887

Function at 0x40896f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
push dword [ebp + 8]
call fcn.0040867f
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4089a8
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004086ba
and byte [ebx], dh
shr byte [esi - 0x73], 0x45
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x408a56
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.004086ca
push eax
push esi
push dword [ebp + 8]
call fcn.0040867f
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004086ca
push eax
push esi
push dword [ebp + 8]
call fcn.0040867f
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
aam 0x88
pop ebp
xlatb
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004086ca
push eax
push esi
push dword [ebp + 8]
call fcn.0040867f
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004086ba
cld
and byte [eax + 0x1c], dl
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.004086ba
fisubr word [edx - 0x7a725241]
jl 0x408ba5
invalid
invalid
Function at 0x40a078
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
jne 0x40a235
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
stosd dword es:[edi], eax
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
test dword [edx - 0x68000008], esp
cmp dword [ebp - 0x6fc], 1
jne 0x40a2e6
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.004086ca
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.0040862b
add esp, 0xc
lea eax, [ebp - 0x12c]
invalid
invalid

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x5c7b1f5f
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x410765ea
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1800460f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x18004665
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x18004665
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x18004657
cmp esi, ecx
jae 0x18004665
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x18004645
cmp esi, ecx
jae 0x18004665
cmp word [esi], 0
je 0x18004665
mov eax, esi
jmp 0x18004667
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x180052fd
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x181ce008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
jne 0x18005318
mov al, 1
jmp 0x1800535b
push 0x34
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.18148a10
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x18005353
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LOG_SYSTEM:_ERROR____::GetFileInformationByHandle_failed___d_
call fcn.1800b574
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x18005314
mov eax, dword [ebp - 0x38]
shr eax, 0xa
and al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.18145efd
leave
ret

Function at 0x18005368
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SoftwareGoogleUpdateDev_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18005396
xor al, al
jmp 0x180053de
push esi
push edi
push 4
pop edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push ebx
push str.IsEnabledLogToFile
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x180053da
cmp dword [ebp - 8], edi
jne 0x180053da
cmp dword [ebp - 0xc], ebx
je 0x180053da
mov bl, 1
pop edi
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x1800575c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, ecx
call fcn.18005368
mov byte [ebx + 0x77], al
mov ecx, ebx
lea eax, [ebp - 4]
push eax
call fcn.180062e9
mov edi, dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], edi
cmp dword [edi - 0xc], 0
je 0x180057e7
push edi
push 1
push str.EnableLogging
push str.LoggingSettings
call esi
push edi
push 1
test eax, eax
push str.ShowTime
setne al
push str.LoggingSettings
mov byte [ebx + 0x74], al
call esi
push edi
push 0
test eax, eax
push str.LogToOutputDebug
setne al
push str.LoggingSettings
mov byte [ebx + 0x76], al
call esi
push edi
push 1
test eax, eax
push str.AppendToFile
setne al
push str.LoggingSettings
mov byte [ebx + 0x78], al
call esi
test eax, eax
setne al
jmp 0x180057f5
mov byte [ebx + 0x74], 1
mov al, 1
mov byte [ebx + 0x76], 1
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x79], al
cmp byte [ebx + 0x75], 0
je 0x18005802
mov byte [ebx + 0x76], 1
xor eax, eax
mov byte [ebx], 1
mov dword [ebx + 4], 7
mov edi, esi
mov dword [ebp - 4], eax
mov ecx, dword [eax + 0x181cf0f0]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x1800586e
mov ecx, dword [eax + 0x181cf0f4]
mov dword [ebp - 0x10], ecx
cmp ecx, 9
ja 0x1800586e
lea eax, [ebp - 8]
mov ecx, ebx
push eax
call fcn.180062e9
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], 0
je 0x18005851
push esi
push 1
push dword [ebp - 0xc]
push str.LoggingLevel
call edi
jmp 0x18005854
xor eax, eax
inc eax
mov edx, dword [ebp - 0x10]
test eax, eax
setne cl
mov byte [ebx + edx*8], cl
lea ecx, [esi - 0x10]
mov dword [ebx + edx*8 + 4], eax
call fcn.18004715
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
cmp eax, 0x48
jb 0x18005813
call fcn.1800be1f
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], edx
lea ecx, [ecx - 0x10]
call fcn.18004715
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1800589a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call fcn.180040b1
push eax
lea ecx, [ebp - 4]
call fcn.1800717c
mov esi, dword [ebp - 4]
xor ecx, ecx
inc ecx
mov edx, 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x180058d0
push edx
lea ecx, [ebp - 4]
call fcn.18007252
mov esi, dword [ebp - 4]
push esi
xor eax, eax
push eax
push eax
push 0x23
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x18005906
mov ecx, dword [ebp + 8]
push 0x18181c4c
call fcn.18006e44
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.18006e9f
lea ecx, [esi - 0x10]
call fcn.18004715
mov eax, dword [ebp + 8]
jmp 0x1800593d
push str.GoogleUpdateLog
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x180058e2
push edi
lea edi, [esi - 0x10]
mov ecx, edi
call fcn.180071f9
mov esi, dword [ebp + 8]
lea ecx, [ebp - 4]
add eax, 0x10
push 0xffffffffffffffff
mov dword [esi], eax
call fcn.18006e9f
mov ecx, edi
call fcn.18004715
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x180059ed
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
cmp byte [ebx + 0x77], 0
je 0x18005ab6
mov eax, dword [ebx + 0xcc]
push esi
push edi
test eax, eax
jne 0x18005aac
lea eax, [ebp - 4]
push eax
call fcn.18005942
mov esi, dword [ebp - 4]
cmp dword [esi - 0xc], 0
je 0x18005a4d
lea edx, [ebp - 4]
lea ecx, [ebp - 8]
call fcn.1800ef4f
mov edi, dword [ebp - 8]
mov ecx, edi
call fcn.18005162
test al, al
jne 0x18005a57
mov ecx, edi
call fcn.1800519e
test eax, eax
jns 0x18005a57
lea ecx, [edi - 0x10]
call fcn.18004715
lea ecx, [esi - 0x10]
call fcn.18004715
jmp 0x18005ab4
mov al, byte [ebx + 0x79]
push 0x20
mov byte [ebp - 8], al
call fcn.181465c7
pop ecx
push dword [ebp - 8]
mov ecx, eax
push esi
call fcn.180063d6
mov dword [ebx + 0xcc], eax
test eax, eax
jne 0x18005a92
push esi
push dword [ebx + 0x54]
push str.LOG_SYSTEM:___s_:_ERROR___Cannot_create_log_writer_to__s
call fcn.1800b574
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [edi - 0x10]
call fcn.18004715
lea ecx, [esi - 0x10]
call fcn.18004715
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x18005ab4
push eax
mov ecx, ebx
call fcn.18006276
pop edi
pop esi
pop ebx
leave
ret

Function at 0x18005ff5
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
test esi, esi
je 0x180060b6
cmp dword [ebp + 8], 0
jne 0x1800601a
cmp dword [ebp + 0x10], 2
jg 0x180060b6
call fcn.180040b1
push eax
lea ecx, [ebp - 4]
call fcn.1800717c
call fcn.180040b1
push eax
lea ecx, [ebp + 0x14]
call fcn.1800717c
xor edi, edi
lea eax, [ebx + 0x58]
inc edi
push 0
mov ecx, eax
call fcn.1800ed03
test al, al
jne 0x1800605c
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
lea eax, [ebx + 0x58]
cmp edi, 0x14
jle 0x1800603c
jmp 0x18006080
push dword [ebp + 0x18]
lea eax, [ebp + 0x14]
mov ecx, ebx
push esi
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.18005f21
lea ecx, [ebx + 0x58]
mov eax, dword [ecx]
call dword [eax + 8]
cmp edi, 0x14
jle 0x180060a0
push str.LOG_SYSTEM:_Couldnt_acquire_lock__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
push 0x181a93d8
call esi
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.18004715
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18004715
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x180063d6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx], fcn.18006584
mov dword [ebx + 4], 0x989680
mov word [ebx + 8], 0
mov byte [ebx + 0xa], al
mov byte [ebx + 0xb], 1
call fcn.180040b1
push eax
lea ecx, [ebx + 0xc]
call fcn.1800717c
push dword [ebp + 8]
xor edi, edi
lea ecx, [ebx + 0x14]
mov dword [ebx + 0x10], edi
call fcn.18006e44
mov dword [ebx + 0x18], edi
call fcn.180040b1
push eax
lea ecx, [ebx + 0x1c]
call fcn.1800717c
movzx eax, byte [0x181d6aa2]
neg eax
sbb eax, eax
and eax, 0x181d5c50
mov dword [ebp + 8], eax
je 0x180064a9
lea ecx, [ebp + 0xc]
push ecx
mov ecx, eax
call fcn.180062e9
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], edi
je 0x18006485
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push 0x989680
push str.MaxLogFileSize
push str.LoggingSettings
call edi
mov dword [ebx + 4], eax
xor eax, eax
push esi
inc eax
push eax
push str.LogFileWide
push str.LoggingSettings
call edi
test eax, eax
setne al
jmp 0x1800648f
xor eax, eax
mov dword [ebx + 4], 0x989680
inc eax
mov byte [ebx + 0xb], al
lea ecx, [ebx + 0x1c]
mov eax, dword [ebp + 8]
add eax, 0x54
push eax
call fcn.18006dec
lea ecx, [esi - 0x10]
call fcn.18004715
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8

Function at 0x18006501
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x18006582
mov byte [esi + 8], 1
call fcn.180065b0
cmp dword [esi + 0x10], 0
je 0x18006582
test al, al
je 0x18006521
mov byte [esi + 0xa], 1
mov ecx, esi
call fcn.18006bc0
test al, al
jne 0x18006548
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.1800b574
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop esi
ret
mov ecx, esi
call fcn.1800667a
cmp dword [esi + 0x18], 0
jne 0x1800656f
push dword [esi + 0x14]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_create_logging_file__s_n
call fcn.1800b574
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esi + 0x10], 0
mov byte [esi + 9], 1
je 0x18006582
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
ret