joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aaf6
Capabilities:
Get file version info

Disassembly:
push 0x238
mov eax, 0x41bcbe
call fcn.0041a667
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x244], eax
jne 0x40ab1b
xor eax, eax
jmp 0x40ad09
push dword [ebp + 8]
push esi
push 0x1f0fff
call dword [0x41d0d4]
mov edi, eax
cmp edi, esi
je 0x40ab14
push 0x208
lea eax, [ebp - 0x21e]
push esi
push eax
mov word [ebp - 0x220], si
call fcn.00419d1a
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
push esi
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
push edi
jne 0x40ab6c
call dword [0x41d0c0]
jmp 0x40ab14
call dword [0x41d0c0]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 0x23c], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, esi
je 0x40ab14
push edi
call fcn.00419bda
pop ecx
push eax
push edi
push dword [ebp - 0x23c]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x220]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40ab14
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x230]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x228]
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
call sub.VERSION.dll_VerQueryValueW
xor edi, edi
test dword [ebp - 0x22c], 0xfffffffc
mov dword [ebp - 0x234], esi
jbe 0x40acf7
mov eax, dword [0x42a870]
mov ecx, 0x42a870
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x230]
lea eax, [eax + edi*4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x238]
push str.StringFileInfo_04x_04xCompanyName
push eax
call fcn.004058b8
mov ebx, dword [ebp - 0x238]
add esp, 0x10
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x224]
push eax
push ebx
push dword [ebp - 0x228]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x240], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x40ac8d
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x224]
push eax
push str.StringFileInfo040904e4CompanyName
push dword [ebp - 0x228]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40acad
cmp dword [ebp - 0x224], esi
je 0x40acad
push dword [ebp - 0x244]
push dword [ebp - 0x224]
call dword [0x41d260]
test eax, eax
pop ecx
pop ecx
jne 0x40accd
or dword [ebp - 4], 0xffffffff
lea eax, [ebx - 0x10]
call fcn.00401677
mov eax, dword [ebp - 0x22c]
inc edi
shr eax, 2
cmp edi, eax
jb 0x40abfc
jmp 0x40acf7
push dword [ebp - 0x224]
push str.company_name__s
push 0x421384
call fcn.004124b5
add esp, 0xc
lea eax, [ebx - 0x10]
mov dword [ebp - 0x234], 1
call fcn.00401677
push dword [ebp - 0x228]
call fcn.00419d0e
mov eax, dword [ebp - 0x234]
pop ecx
call fcn.0041a6ea
ret
Function at 0x40b6da
Capabilities:
Connect to http server

Disassembly:
push 0x10
mov eax, 0x41bc98
call fcn.0041a5fe
mov eax, dword [0x42a870]
mov ecx, 0x42a870
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
xor edi, edi
push eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
lea ebx, [ebp - 0x10]
call fcn.0040b00f
test eax, eax
jne 0x40b729
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401677
xor eax, eax
call fcn.0041a6d6
ret 0xc
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push edi
push edi
push 3
push edi
push edi
push dword [ebp + 0x10]
push ebx
push dword [eax]
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, edi
mov dword [esi], eax
jne 0x40b74c
lea eax, [ebx - 0x10]
jmp 0x40b71a
push str.Open_Connect
push 0x421370
call fcn.004124b5
pop ecx
pop ecx
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
push edi
push str.HTTP_1.1
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], str.text_
push str.POST
push dword [esi]
mov dword [ebp - 0x18], edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, edi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jne 0x40b7a5
push dword [esi]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi], edi
lea eax, [ebx - 0x10]
call fcn.00401677
mov eax, edi
jmp 0x40b721
xor edi, edi
inc edi
jmp 0x40b796
Function at 0x40c7ab
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x418
mov eax, 0x41b8e0
call fcn.0041a667
lea eax, [ebp - 0x418]
mov ebx, ecx
push eax
mov ecx, str.http:__qqhelper.qq.com:8080_site_media_QQTroubleShoot.exe
mov edi, edx
call fcn.004097b6
lea eax, [ebp - 0x424]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0040f196
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x414]
mov dword [esp], str.QQTroubleShoot.exe
push ecx
mov ecx, eax
call fcn.0040476f
pop ecx
pop ecx
mov byte [ebp - 4], 2
call fcn.004045dd
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
call fcn.00401677
mov edi, dword [edi]
push esi
push 0x80
push 2
push esi
push 1
push 0x40000000
push edi
call dword [0x41d180]
mov edi, eax
cmp edi, 0xffffffff
je 0x40c8fc
push esi
push 0x80000000
push esi
push esi
push dword [ebp - 0x418]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, esi
mov dword [ebp - 0x414], eax
je 0x40c8fc
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x41c]
push ecx
push 0x3ff
lea ecx, [ebp - 0x410]
push ecx
push eax
jmp 0x40c8d7
cmp dword [ebp - 0x41c], esi
je 0x40c912
push esi
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x41c]
lea eax, [ebp - 0x410]
push eax
push edi
call dword [0x41d184]
test eax, eax
je 0x40c8e9
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp - 0x420]
jne 0x40c8e9
lea eax, [ebp - 0x41c]
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x414]
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x420], esi
call ebx
test eax, eax
jne 0x40c884
push dword [ebp - 0x414]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [0x41d0c0]
mov eax, dword [ebp - 0x418]
add eax, 0xfffffff0
call fcn.00401677
xor eax, eax
call fcn.0041a6ea
ret
push edi
call dword [0x41d0c0]
push dword [ebp - 0x414]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x418]
add eax, 0xfffffff0
call fcn.00401677
xor eax, eax
inc eax
jmp 0x40c90c
Function at 0x40d788
Capabilities:
Get file version info

Disassembly:
push 0x184
mov eax, 0x41b213
call fcn.0041a667
xor edi, edi
mov ebx, edx
cmp ebx, edi
mov esi, ecx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x54], edi
je 0x40d953
cmp word [ebx], di
je 0x40d953
push edi
push edi
push 3
push edi
push 3
push 0x80000000
push ebx
call dword [0x41d180]
cmp eax, 0xffffffff
mov dword [ebp - 0x54], eax
je 0x40d953
mov eax, dword [0x42a870]
mov esi, 0x42a870
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], edi
mov eax, dword [0x42a870]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x60], eax
push edi
push ebx
mov byte [ebp - 4], 1
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
je 0x40d873
push esi
call fcn.00419bda
pop ecx
push eax
push esi
push edi
push ebx
mov dword [ebp - 0x68], eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40d86a
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x421ff4
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40d86a
mov eax, dword [ebp - 0x6c]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
lea eax, [ebp - 0x58]
push str._d._d._d._d
push eax
call fcn.004058b8
add esp, 0x18
push dword [ebp - 0x68]
call fcn.00419d0e
pop ecx
mov ebx, dword [ebp - 0x54]
mov esi, dword [0x41d1a0]
push edi
lea eax, [ebp - 0x5c]
push eax
push 0x40
lea eax, [ebp - 0x50]
push eax
push ebx
call esi
test eax, eax
je 0x40d920
cmp dword [ebp - 0x5c], 0x40
jne 0x40d920
push edi
push edi
push dword [ebp - 0x14]
push ebx
call dword [0x41d1a4]
push edi
lea eax, [ebp - 0x5c]
push eax
mov edi, 0xf8
push edi
lea eax, [ebp - 0x190]
push eax
push ebx
call esi
test eax, eax
je 0x40d920
cmp dword [ebp - 0x5c], edi
jne 0x40d920
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call dword [0x41d2d4]
push 9
pop ecx
mov esi, eax
lea edi, [ebp - 0x94]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x94]
mov eax, dword [ebp - 0x84]
push dword [ebp - 0x90]
inc eax
push dword [ebp - 0x8c]
push dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x80]
add eax, 0x76c
push eax
lea eax, [ebp - 0x60]
push str.__04d__02d__02d__02d:_02d:_02d_GMT
push eax
call fcn.004058b8
add esp, 0x24
push ebx
call dword [0x41d0c0]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
lea ecx, [ebp - 0x58]
call fcn.0040471e
mov eax, dword [ebp - 0x60]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x64]
jmp 0x40d960
push esi
mov ecx, 0x422208
call fcn.00404581
mov eax, esi
call fcn.0041a6ea
ret
Function at 0x40d9e3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x42a024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040f633
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x70]
push ecx
push 0x20019
xor esi, esi
push esi
push eax
push 0x80000001
call dword [0x41d010]
mov edi, eax
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
call fcn.00401677
cmp edi, esi
jne 0x40dae7
mov edi, dword [0x41d004]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push str.FullDump
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], 4
call edi
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x74], 4
jne 0x40dad0
cmp dword [ebp - 0x6c], ebx
jne 0x40dad0
push 0x62
lea eax, [ebp - 0x66]
push esi
push eax
mov word [ebp - 0x68], si
call fcn.00419d1a
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push str.HASH
push dword [ebp - 0x70]
mov dword [ebp - 0x84], 0x64
mov dword [ebp - 0x80], ebx
call edi
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x7c]
mov word [ebp - 6], si
call fcn.00404b3f
test eax, eax
jne 0x40dad0
push dword [ebp - 0x70]
call dword [0x41d008]
mov eax, ebx
jmp 0x40daec
push dword [ebp - 0x70]
call dword [0x41d008]
cmp dword [ebp - 0x74], 4
jne 0x40dae7
cmp dword [ebp - 0x6c], 2
mov eax, ebx
je 0x40daec
mov eax, dword [0x42acf8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419bec
leave
ret

Function at 0x40dd03
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040f633
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push eax
push 0x80000001
call dword [0x41d010]
mov ebx, eax
mov eax, dword [ebp - 0xc]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00401677
test bl, bl
pop ebx
je 0x40dd90
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.bUseInterMod
push dword [ebp - 4]
mov dword [ebp - 0x10], 4
call dword [0x41d004]
push dword [ebp - 4]
call dword [0x41d008]
cmp dword [ebp - 8], 4
jne 0x40dd90
xor eax, eax
inc eax
cmp dword [ebp - 0xc], eax
jne 0x40dd90
mov dword [0x42acf8], eax
leave
ret
Function at 0x40de83
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1090
call fcn.0041a750
mov eax, dword [0x42a024]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x1028], 0
push ebx
mov dword [ebp - 0x1020], eax
push esi
push edi
xor eax, eax
mov byte [ebp - 0x18], 0
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, ecx
lea esi, [ebp - 0x108c]
mov dword [ebp - 0x1024], ebx
stosb byte es:[edi], al
call fcn.0041813d
push 0x424000
push ebx
call dword [0x41d27c]
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x40df1f
mov esi, dword [0x41d2e0]
mov edi, 0x1000
jmp 0x40df01
lea ecx, [ebp - 0x101c]
lea edx, [ebp - 0x108c]
call fcn.00418887
push ebx
push edi
lea eax, [ebp - 0x101c]
push 1
push eax
call esi
add esp, 0x10
test eax, eax
jne 0x40def0
push ebx
call dword [0x41d26c]
pop ecx
jmp 0x40df3e
call dword [0x41d148]
push eax
push dword [ebp - 0x1024]
push str.GetModuleHashStr_open_file___s__fail_errno__lu_
push 0x41e72c
call fcn.004124b5
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea esi, [ebp - 0x108c]
call fcn.00418a92
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1020]
call fcn.0040df74
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x1020]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419bec
leave
ret

Function at 0x40e9b6
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 5
push 0xffffffffffffffff
push 0
call fcn.0041a56c
test eax, eax
je 0x40ea1c
push dword [ebp - 4]
call dword [0x41d0d8]
cmp eax, 0x104
jge 0x40e9f6
push dword [ebp - 4]
push esi
call dword [0x41d10c]
jmp 0x40ea0f
push 0x103
push dword [ebp - 4]
push esi
call fcn.00419cfc
add esp, 0xc
and word [esi + 0x206], 0
push dword [ebp - 4]
call fcn.0041a572
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x40f0b0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
call fcn.0040f633
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 4]
push ecx
mov edi, 0xf003f
push edi
xor ebx, ebx
push ebx
push eax
mov esi, 0x80000001
push esi
call dword [0x41d010]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401677
cmp dword [ebp - 0xc], ebx
je 0x40f136
cmp dword [ebp + 8], ebx
je 0x40f18e
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
call fcn.0040f633
mov eax, dword [eax]
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push edi
push ebx
push ebx
push ebx
push eax
push esi
call dword [0x41d014]
mov esi, eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401677
cmp esi, ebx
je 0x40f136
xor eax, eax
jmp 0x40f191
mov esi, dword [section..rdata]
push 4
lea eax, [ebp + 8]
push eax
push 4
push ebx
push str.FullDump
push dword [ebp - 4]
call esi
cmp dword [ebp + 8], ebx
je 0x40f177
cmp dword [ebp + 8], 2
je 0x40f177
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push ebx
push str.HASH
push dword [ebp - 4]
call esi
jmp 0x40f185
push str.HASH
push dword [ebp - 4]
call dword [0x41d00c]
push dword [ebp - 4]
call dword [0x41d008]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40f196
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x42a024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x214], 0
and word [ebp - 0x20c], 0
push esi
push edi
push 0x206
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.00419d1a
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x20c]
push eax
call dword [0x41d450]
push eax
call dword [0x41d410]
lea eax, [ebp - 0x20c]
push eax
call dword [0x41d0d8]
cmp word [ebp + eax*2 - 0x20e], 0x5c
mov esi, dword [0x41d0dc]
mov edi, 0x421ff4
je 0x40f21e
push edi
lea eax, [ebp - 0x20c]
push eax
call esi
push str.TencentQQMiscQQTroubleShoot
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [0x41d41c]
test eax, eax
jne 0x40f25d
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [0x41d1bc]
test eax, eax
jne 0x40f25d
push dword [ebp - 0x210]
call fcn.0040dd92
pop ecx
jmp 0x40f278
push edi
lea eax, [ebp - 0x20c]
push eax
call esi
push dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
call fcn.00404581
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
xor ecx, ebp
pop esi
call fcn.00419bec
leave
ret
Function at 0x40f31a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x644
mov eax, 0x41b0f1
call fcn.0041a667
mov eax, dword [ebp + 8]
mov dword [ebp - 0x644], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp eax, esi
jne 0x40f342
xor eax, eax
jmp 0x40f45c
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.0040f633
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x634]
push ecx
push 0x20019
push esi
push eax
push 0x80000001
call dword [0x41d010]
mov edi, eax
mov eax, dword [ebp - 0x640]
add eax, 0xfffffff0
call fcn.00401677
cmp edi, esi
jne 0x40f33b
push 0x618
lea eax, [ebp - 0x62e]
push esi
push eax
mov word [ebp - 0x630], si
call fcn.00419d1a
add esp, 0xc
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x648]
push eax
push esi
push str.ExtRptFile
push dword [ebp - 0x634]
mov dword [ebp - 0x648], 1
mov dword [ebp - 0x64c], 0x30c
call dword [0x41d004]
cmp eax, esi
je 0x40f3ec
push dword [ebp - 0x634]
call dword [0x41d008]
jmp 0x40f33b
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x630]
call fcn.00404581
lea eax, [ebp - 0x638]
push eax
mov ecx, 0x422184
mov dword [ebp - 4], esi
call fcn.00404581
mov ecx, dword [ebp - 0x644]
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x63c]
push eax
mov byte [ebp - 4], 1
call fcn.004121e6
pop ecx
pop ecx
push dword [ebp - 0x634]
call dword [0x41d008]
mov eax, dword [ebp - 0x638]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x63c]
add eax, 0xfffffff0
call fcn.00401677
xor eax, eax
inc eax
call fcn.0041a6ea
ret
Function at 0x40f462
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x650
mov eax, 0x41b0b3
call fcn.0041a667
mov eax, dword [ebp + 8]
mov dword [ebp - 0x654], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x650], eax
mov eax, dword [ebp + 0x10]
xor esi, esi
cmp eax, esi
jne 0x40f493
xor eax, eax
jmp 0x40f62d
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.0040f633
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x640]
push ecx
push 0x20019
push esi
push eax
push 0x80000001
call dword [0x41d010]
mov edi, eax
mov eax, dword [ebp - 0x658]
add eax, 0xfffffff0
call fcn.00401677
cmp edi, esi
jne 0x40f48c
push 0x410
lea eax, [ebp - 0x636]
push esi
push eax
mov word [ebp - 0x638], si
call fcn.00419d1a
mov edi, dword [0x41d004]
add esp, 0xc
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x64c]
push eax
push esi
push str.InstallDir
push dword [ebp - 0x640]
mov ebx, 0x208
mov dword [ebp - 0x64c], 1
mov dword [ebp - 0x648], ebx
call edi
cmp eax, esi
je 0x40f540
push dword [ebp - 0x640]
call dword [0x41d008]
jmp 0x40f48c
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x638]
call fcn.00404581
lea eax, [ebp - 0x644]
push eax
mov ecx, 0x422184
mov dword [ebp - 4], esi
call fcn.00404581
mov ecx, dword [ebp - 0x654]
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x63c]
push eax
mov byte [ebp - 4], 1
call fcn.004121e6
push ebx
lea eax, [ebp - 0x21e]
push esi
push eax
mov word [ebp - 0x220], si
call fcn.00419d1a
add esp, 0x14
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x64c]
push eax
push esi
push str.ExcDir
push dword [ebp - 0x640]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x64c], ebx
mov dword [ebp - 0x648], 0x104
call edi
test eax, eax
jne 0x40f603
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x63c]
push eax
call fcn.00401448
mov ecx, dword [ebp - 0x650]
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x63c]
push eax
call fcn.004121e6
pop ecx
pop ecx
push dword [ebp - 0x640]
call dword [0x41d008]
mov eax, dword [ebp - 0x644]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x63c]
add eax, 0xfffffff0
call fcn.00401677
mov eax, ebx
call fcn.0041a6ea
ret
Function at 0x40f679
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x41bbb2
call fcn.0041a5fe
mov ebx, ecx
xor esi, esi
cmp dword [ebp + 8], esi
je 0x40f70d
cmp ebx, esi
je 0x40f70d
lea eax, [ebp - 0x14]
push eax
call fcn.0040dd92
mov dword [ebp - 4], esi
lea eax, [ebp - 0x10]
mov dword [esp], str.BREvent.ini
push eax
lea ecx, [ebp - 0x14]
call fcn.0040476f
pop ecx
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
call dword [0x41d41c]
test eax, eax
jne 0x40f71c
push esi
push esi
push 2
push esi
push 3
push 0x40000000
push dword [ebp - 0x10]
call dword [0x41d180]
cmp eax, 0xffffffff
jne 0x40f715
call dword [0x41d148]
push eax
push str.event_log_create_file_fail__lu
push 0x41e72c
call fcn.004124b5
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401677
xor eax, eax
call fcn.0041a6d6
ret
push eax
call dword [0x41d0c0]
push dword [ebp - 0x10]
push esi
push ebx
push dword [ebp + 8]
call dword [0x41d1b4]
mov esi, eax
inc esi
push esi
push ebx
push dword [ebp + 8]
mov edi, 0x41e72c
push str._s:_s_lu
push edi
call fcn.004124b5
push esi
lea eax, [ebp - 0x18]
push 0x4214f8
push eax
call fcn.0040ea59
mov eax, dword [eax]
add esp, 0x20
push dword [ebp - 0x10]
push eax
push ebx
push dword [ebp + 8]
call dword [0x41d1b8]
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00401677
test bl, bl
je 0x40f78d
call dword [0x41d148]
push eax
push str.write_event_log_fail__lu
push edi
jmp 0x40f6ef
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401677
xor eax, eax
inc eax
jmp 0x40f70f

Function at 0x40f90d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [0x41d004]
test eax, eax
jne 0x40f970
cmp dword [ebp + 0xc], 1
je 0x40f949
cmp dword [ebp + 0xc], 2
je 0x40f949
push 0xd
pop eax
jmp 0x40f970
test edi, edi
mov eax, dword [ebp - 4]
je 0x40f96a
test eax, eax
je 0x40f966
test al, 1
jne 0x40f944
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40f96a
jmp 0x40f944
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8