joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42be80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
xor edi, edi
push 0x206
lea eax, [esp + 0x12]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x14], edi
mov word [esp + 0x18], di
call fcn.00446fa0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov word [esi + 4], di
jne 0x42bee0
push edi
push 0x46278c
jmp 0x42befc
lea eax, [esp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42bee7
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x10]
push edx
call fcn.00406f80
mov ecx, dword [esp + 0x214]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004414cc
add esp, 0x210
ret

Function at 0x42bf20
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 0x118
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00446fa0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x11c
call esi
test eax, eax
jne 0x42bf75
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x114
call esi
test eax, eax
je 0x42bfe6
cmp dword [esp + 0x14], 2
jne 0x42bfe6
cmp dword [esp + 8], 6
jne 0x42bfe6
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x42bfa6
mov eax, 1
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004414cc
add esp, 0x120
ret
cmp eax, 1
jne 0x42bfc6
mov eax, 2
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004414cc
add esp, 0x120
ret
cmp eax, 2
jne 0x42bfe6
mov eax, 3
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004414cc
add esp, 0x120
ret
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004414cc
add esp, 0x120
ret

Function at 0x42c0e0
Capabilities:
Query service status

Disassembly:
sub esp, 0x20
push ebx
push ebp
push edi
push 1
push 0
xor bl, bl
push 0
mov byte [esp + 0x1b], bl
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call edi
test ebp, ebp
je 0x42c177
push esi
push 4
push str.MpsSvc
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
call edi
xor eax, eax
cmp esi, eax
je 0x42c16f
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ebx, eax
call edi
test ebx, ebx
je 0x42c164
mov edx, dword [esp + 0x34]
xor ecx, ecx
cmp dword [esp + 0x18], 4
mov byte [esp + 0x13], 1
sete cl
mov dword [edx], ecx
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov bl, byte [esp + 0x13]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop edi
pop ebp
movzx eax, bl
pop ebx
add esp, 0x20
ret
Function at 0x42c2a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x474c4c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [0x474c4c]
push edi
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x42c2ce
pop edi
pop esi
pop ebx
pop ecx
ret
push ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call fcn.00447020
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 1
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebp, dword [esp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x42c32e
lea eax, [esi + 4]
push eax
push ebp
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x42c330
xor esi, esi
mov ebp, dword [esp + 0x18]
push edi
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
cmp dword [ebp], eax
pop ebp
pop edi
pop esi
setne al
pop ebx
pop ecx
ret

Function at 0x42c360
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
push 0x466894
push 1
push 0
push 0x466884
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x42c3bf
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jl 0x42c3bf
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x42c3cf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
test eax, eax
je 0x42c3df
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x42d6a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4599ce
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], ebx
mov dword [esp + 0x18], ebx
lea ecx, [esi + 0x14]
mov dword [esi], vtable.TiXmlAttribute.0
mov eax, 0xf
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
lea edi, [esi + 0x30]
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x24], 2
call fcn.004194f0
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, edi
call fcn.004194f0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0xc

Function at 0x42e1b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x45a1cb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
xor ebx, ebx
or esi, 0xffffffff
mov dword [edi + 8], esi
mov dword [edi + 4], esi
lea ebp, [edi + 0x20]
mov dword [edi + 0xc], ebx
mov dword [ebp + 0x14], ebx
mov edx, 0xf
mov dword [ebp + 0x18], edx
mov byte [ebp + 4], bl
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 1
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [esp + 0x38], ebx
lea eax, [edi + 0x44]
mov dword [edi], vtable.TiXmlElement.0
mov dword [eax + 8], esi
mov dword [eax + 4], esi
mov dword [eax + 0xc], ebx
mov dword [eax], vtable.TiXmlAttribute.0
mov dword [eax + 0x2c], edx
mov dword [eax + 0x28], ebx
mov byte [eax + 0x18], bl
mov dword [eax + 0x48], edx
mov dword [eax + 0x44], ebx
mov byte [eax + 0x34], bl
mov dword [eax + 0x10], ebx
mov dword [eax + 0x50], eax
mov dword [eax + 0x4c], eax
mov byte [esp + 0x38], 1
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x18], ebx
mov eax, dword [ecx + 0x14]
push eax
push ecx
lea esi, [esp + 0x1c]
call fcn.0042dc70
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x44], 2
call fcn.004194f0
cmp dword [esp + 0x2c], 0x10
jb 0x42e281
mov eax, dword [esp + 0x18]
push eax
call fcn.004415cb
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x431ae0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4597cb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00458ba4
push 4
mov dword [esp + 0x20], 0
call fcn.004419ce
mov edi, eax
add esp, 4
test edi, edi
je 0x431b60
call fcn.00458811
mov dword [edi], eax
call fcn.00458645
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00458b71
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x431b55
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00458b92
jmp 0x431b62
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x43aa90
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45ac76
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x47c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48c]
mov ebx, ecx
lea ecx, [esp + 0x40]
push ecx
push 0x18
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
xor ebp, ebp
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, ebp
mov dword [esp + 0x18], eax
jne 0x43ab10
mov edi, str.DrawBitmap
call fcn.0042bcc0
xor eax, eax
jmp 0x43ac85
push ebx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, ebp
mov dword [esp + 0x20], eax
jle 0x43ac6e
cmp edi, ebp
jle 0x43ac6e
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x494]
mov eax, dword [esp + 0x490]
mov ecx, dword [esp + 0x1c]
push 0xff00ff
push edi
push esi
push ebp
push ebp
push edx
push edi
push esi
push ebx
push eax
push ecx
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
cmp eax, ebp
jne 0x43ac6e
mov edx, dword [esp + 0x490]
push 1
push edi
push esi
push ebx
push edx
push 0x4675c0
lea eax, [esp + 0x8c]
push 0x200
push eax
call fcn.004414db
add esp, 0x20
lea ecx, [esp + 0x58]
mov word [esp + 0x472], bp
call fcn.0042bd40
mov dword [esp + 0x484], ebp
mov edi, 7
lea eax, [esp + 0x74]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x43abb7
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x78]
push ecx
lea esi, [esp + 0x2c]
call fcn.00406f80
mov edx, esi
push ebp
push edx
or eax, 0xffffffff
lea esi, [esp + 0x60]
mov byte [esp + 0x48c], 1
call fcn.00406df0
mov ebx, 8
cmp dword [esp + 0x3c], ebx
jb 0x43ac05
mov eax, dword [esp + 0x28]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x70], ebx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
jae 0x43ac20
lea edx, [esp + 0x5c]
mov edi, dword [0x474bb0]
cmp edi, ebp
je 0x43ac5b
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x43ac30
sub eax, esi
sar eax, 1
push edi
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
cmp dword [esp + 0x70], ebx
jb 0x43ac6e
mov eax, dword [esp + 0x5c]
push eax
call fcn.004415cb
add esp, 4
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x47c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.004414cc
add esp, 0x474
ret 0xc
Function at 0x43bac0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push edi
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
neg ecx
push ecx
neg edx
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 4
push 4
add ecx, 1
push ecx
mov ecx, dword [esp + 0x1c]
add edx, 1
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push 1
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f6
push esi
call ebx
push 0x3f8
push esi
call ebx
push 2
push esi
call ebx
test eax, eax
je 0x43bb50
mov edx, dword [ebp + 0x64]
push 1
push edx
push 0x30
push 2
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3f7
push esi
call ebx
push 0x3f9
push esi
call ebx
push 8
push esi
call ebx
test eax, eax
je 0x43bc27
mov ecx, dword [ebp + 0xb8]
mov edi, dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0x20]
push eax
push 0x18
push ecx
call edi
mov eax, dword [ebp + 0xb8]
lea edx, [esp + 0x38]
push edx
push 0x18
push eax
call edi
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
push 4
push ecx
push eax
push 5
sub edi, eax
sub edi, 5
push edi
push 0
push 8
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x3f5
push esi
call ebx
test eax, eax
je 0x43bc27
mov eax, dword [ebp + 0xc8]
lea edx, [esp + 0x20]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp + 0xc8]
lea ecx, [esp + 0x38]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x40]
push 4
push eax
mov eax, dword [esp + 0x2c]
push eax
push 5
sub edi, eax
push edi
push 0
push 0x3f5
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x20000
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x3f1
push esi
call ebx
test eax, eax
je 0x43bc44
push 0
push 0x3f1
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 4
Function at 0x43d320
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
push esi
add eax, eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push str.ProductName
push ecx
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43d38e
mov eax, dword [esp + 8]
cmp eax, 1
je 0x43d35f
cmp eax, 2
jne 0x43d37a
test esi, esi
mov eax, dword [esp]
je 0x43d388
test eax, eax
je 0x43d383
test al, 1
jne 0x43d37a
mov edx, eax
shr edx, 1
cmp word [esi + edx*2 - 2], 0
je 0x43d388
mov eax, 0xd
pop ecx
ret 4
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 4
Function at 0x43d800
Capabilities:
Get file version info
Read file on windows

Disassembly:
mov eax, 0x2980
call fcn.00455840
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x2978], eax
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp esi, ebp
push edi
je 0x43da08
cmp word [esi], bp
je 0x43da08
cmp ebx, ebp
je 0x43da08
push ebp
push ebp
push 3
push ebp
push 3
push SysReAllocString
push esi
mov word [ebx], bp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x43da08
push ebp
push esi
mov dword [esp + 0x20], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebp
je 0x43d8fa
push 0x27ff
lea eax, [esp + 0x185]
push ebp
push eax
mov byte [esp + 0x18c], 0
call fcn.00446fa0
add esp, 0xc
lea ecx, [esp + 0x180]
push ecx
push edi
push ebp
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43d8fa
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
push 0x4624bc
lea ecx, [esp + 0x18c]
push ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43d8fa
mov eax, dword [esp + 0x20]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push str._d._d._d._d
push 0x78
push ebx
call fcn.004414db
add esp, 0x1c
mov dword [esp + 0x18], 1
mov eax, ebx
mov word [ebx + 0xee], bp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x43d906
mov esi, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x18]
push ecx
sub eax, edx
push 0x40
lea edx, [esp + 0x14c]
push edx
sar eax, 1
push esi
mov ebp, eax
call edi
test eax, eax
je 0x43d9e5
cmp dword [esp + 0x14], 0x40
jne 0x43d9e5
mov eax, dword [esp + 0x17c]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0xf8
lea edx, [esp + 0x54]
push edx
push esi
call edi
test eax, eax
je 0x43d9e5
cmp dword [esp + 0x14], 0xf8
jne 0x43d9e5
cmp ebp, 0x78
jae 0x43d9e5
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], eax
call fcn.00443ed3
mov esi, eax
mov ecx, 9
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
push edx
add eax, 1
push eax
add ecx, 0x76c
push ecx
mov edx, 0x78
push str.__04d__02d__02d__02d:_02d:_02d_GMT
sub edx, ebp
push edx
lea eax, [ebx + ebp*2]
push eax
call fcn.004414db
mov esi, dword [esp + 0x44]
add esp, 0x28
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x2978]
xor ecx, esp
call fcn.004414cc
add esp, 0x2980
ret
mov ecx, dword [esp + 0x2984]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004414cc
add esp, 0x2980
ret
Function at 0x43f2d0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [0x474cd0]
push edi
xor edi, edi
cmp esi, edi
jne 0x43f30b
push 0x20
call fcn.004419ce
add esp, 4
cmp eax, edi
je 0x43f302
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
jmp 0x43f304
xor eax, eax
mov dword [0x474cd0], eax
mov esi, eax
mov eax, dword [esi + 0x14]
cmp eax, edi
jne 0x43f317
pop edi
xor eax, eax
pop esi
ret
cmp dword [esi + 0x1c], edi
mov dword [esi + 0x18], 1
je 0x43f333
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43f33f
mov eax, dword [esi + 0x14]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x14], edi
pop edi
mov eax, 1
pop esi
ret

Function at 0x43f420
Capabilities:
Set registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x21c]
push edi
mov edi, dword [esp + 0x21c]
test edi, edi
je 0x43f55b
test ebx, ebx
je 0x43f55b
push 0x206
lea eax, [esp + 0x12]
push 0
push eax
mov word [esp + 0x18], 0
call fcn.00446fa0
push str.SOFTWARETencent_bugReport_
lea ecx, [esp + 0x1c]
push 0x104
push ecx
call fcn.00443fda
mov eax, str.SOFTWARETencent_bugReport_
add esp, 0x18
lea edx, [eax + 2]
jmp 0x43f490
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f490
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, str.SOFTWARETencent_bugReport_
push esi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f4b0
sub eax, esi
mov ecx, 0x104
sub ecx, edx
sar eax, 1
push edi
push ecx
lea edx, [esp + eax*2 + 0x18]
push edx
call fcn.00444046
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
lea ecx, [esp + 0x1c]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
pop esi
je 0x43f51e
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43f55b
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f523
sub eax, edx
mov edx, dword [esp + 8]
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push str.ExtRptFile
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x43f574
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004414cc
add esp, 0x210
ret
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x214]
pop edi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004414cc
add esp, 0x210
ret
Function at 0x43f5c0
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x21c]
push ebp
mov ebp, dword [esp + 0x224]
push edi
mov edi, dword [esp + 0x220]
test edi, edi
je 0x43f771
test ebx, ebx
je 0x43f771
push 0x206
lea eax, [esp + 0x16]
push 0
push eax
mov word [esp + 0x1c], 0
call fcn.00446fa0
push str.SOFTWARETencent_bugReport_
lea ecx, [esp + 0x20]
push 0x104
push ecx
call fcn.00443fda
mov eax, str.SOFTWARETencent_bugReport_
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f633
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, str.SOFTWARETencent_bugReport_
push esi
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f650
sub eax, esi
mov ecx, 0x104
sub ecx, edx
sar eax, 1
push edi
push ecx
lea edx, [esp + eax*2 + 0x1c]
push edx
call fcn.00444046
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
lea ecx, [esp + 0x20]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43f6bd
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43f734
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f6c2
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push str.InstallDir
push edx
call esi
test eax, eax
jne 0x43f729
test ebp, ebp
je 0x43f74f
cmp word [ebp], ax
je 0x43f74f
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f700
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push ebp
push 1
push 0
push str.ExcDir
push edx
call esi
test eax, eax
je 0x43f75f
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004414cc
add esp, 0x210
ret
mov ecx, dword [esp + 0x10]
push str.ExcDir
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x43f736
mov ecx, dword [esp + 0x218]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004414cc
add esp, 0x210
ret