joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4307a0
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0x82c
mov eax, 0x4f07d4
call fcn.004bcf2f
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.0043111c
lea eax, [edi + 4]
cmp dword [eax + 0x14], 8
jb 0x4307c5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x834]
call fcn.00425b11
and dword [ebp - 4], 0
push 0x5c
push dword [ebp - 0x834]
call fcn.004c0735
pop ecx
pop ecx
test eax, eax
je 0x43082d
sub eax, dword [ebp - 0x834]
sar eax, 1
cmp eax, 0xffffffff
je 0x43082d
inc eax
lea ecx, [ebp - 0x834]
push eax
lea eax, [ebp - 0x838]
push eax
call fcn.004312ab
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 1
call fcn.00425bd3
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x838]
lea ecx, [ecx - 0x10]
call fcn.004209ab
jmp 0x430838
lea ecx, [ebp - 0x834]
call fcn.00423cc1
push dword [ebp - 0x834]
lea ebx, [edi + 0x1c]
mov ecx, ebx
call fcn.004046c0
xor eax, eax
push 0x81e
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call fcn.004bf1a0
lea ecx, [esi + 0x1e0]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x430874
mov ecx, dword [ecx]
lea eax, [edi + 0x34]
cmp dword [eax + 0x14], 8
jb 0x43087f
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
jb 0x430887
mov ebx, dword [ebx]
push ecx
push eax
push ebx
lea eax, [ebp - 0x830]
push str.http:__function.liebao.cn_crash__actioninterfaceacgettdll_sver_sbrowser_version_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x830]
lea ecx, [esi + 0x1a8]
push eax
call fcn.004046c0
xor eax, eax
push eax
push eax
push esi
push 0x430943
push eax
push eax
call fcn.004bf4ac
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x18
mov dword [esi + 0xc4], eax
push 0xbb8
push eax
call ebx
test eax, eax
je 0x4308ff
mov ecx, esi
call fcn.00430bec
push 0xbb8
push dword [esi + 0xc4]
call ebx
push 0
push dword [esi + 0xc4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.00430bec
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x43091e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0xc4], 0
push edi
mov ecx, esi
call fcn.00430c3a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x834]
add ecx, 0xfffffff0
call fcn.004209ab
xor eax, eax
inc eax
call fcn.004bcede
ret 8
Function at 0x430f88
Capabilities:
Get common file path
Get startup folder
Read .ini file

Disassembly:
push 0x340
mov eax, 0x4f08e2
call fcn.004bcf2f
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x34c]
push 7
xor eax, eax
pop esi
mov dword [ebp - 0x338], eax
push eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x338], esi
call fcn.00402830
xor ecx, ecx
lea eax, [ebp - 0x31c]
push ecx
push 0x1c
push eax
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x34c]
call fcn.004046c0
push str.liebaoUser_Datacrashcount.ini
lea ecx, [ebp - 0x34c]
call fcn.00405510
xor eax, eax
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x320], eax
push eax
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], esi
call fcn.00402830
lea eax, [ebx + 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x334]
cmp ecx, eax
je 0x431030
push 0xffffffffffffffff
push 0
push eax
call fcn.00405560
push 0x5108c4
lea ecx, [ebp - 0x334]
call fcn.00405510
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x34]
push eax
lea ecx, [ebp - 0x334]
call fcn.00405440
cmp dword [ebp - 0x338], 8
lea ecx, [ebp - 0x34c]
lea eax, [ebp - 0x334]
cmovae ecx, dword [ebp - 0x34c]
cmp dword [ebp - 0x320], 8
push ecx
cmovae eax, dword [ebp - 0x334]
push 0
push str.crashcount
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0xfe
lea edi, [eax + 1]
xor eax, eax
push eax
mov word [ebp - 0x114], ax
lea eax, [ebp - 0x112]
push eax
call fcn.004bf1a0
add esp, 0xc
lea eax, [ebp - 0x34c]
cmp dword [ebp - 0x338], 8
lea esi, [ebp - 0x334]
cmovae eax, dword [ebp - 0x34c]
cmp dword [ebp - 0x320], 8
push eax
cmovae esi, dword [ebp - 0x334]
lea eax, [ebp - 0x114]
push 0xa
push eax
push edi
call fcn.004c592f
add esp, 0xc
push eax
push str.crashcount
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebx + 0x4c], edi
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0
call fcn.00402120
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34c]
call fcn.00402120
call fcn.004bcede
ret 4
Function at 0x4311d4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x43125d
push edi
push ebx
call fcn.004badc8
pop ecx
mov edi, eax
push edi
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x431251
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push 0x50c8cc
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x431251
cmp dword [ebp - 8], esi
je 0x431251
mov ecx, dword [ebp - 0xc]
inc esi
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test edi, edi
je 0x43125c
push edi
call fcn.004bbc06
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43199f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4319b1
push 0xd
pop eax
jmp 0x4319e3
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4319ba
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x432bbd
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x432bdd
mov eax, dword [esi]
jmp 0x432bdf
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x432bf2
xor eax, eax
jmp 0x432c7a
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004bf1a0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x432c18
mov esi, dword [esi]
push edi
push esi
lea eax, [ebp - 0x20c]
push 0x51095c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
and dword [ebp - 0x22c], 0
lea edi, [ebp - 0x228]
add esp, 0xc
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x224], eax
mov eax, 0x414
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x22c]
push eax
mov dword [ebp - 0x228], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
pop edi
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x432c89
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, edx
cmp dword [esi + 0x14], 8
jb 0x432cac
mov eax, dword [esi]
jmp 0x432cae
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x432cc1
xor eax, eax
jmp 0x432d8a
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004bf1a0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x432ce7
mov esi, dword [esi]
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x20c]
push 0x51095c
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.004bf1a0
add esp, 0x18
cmp dword [edi + 0x14], 8
jb 0x432d22
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x414]
push 0x51095c
push eax
call esi
and dword [ebp - 0x434], 0
lea edi, [ebp - 0x430]
add esp, 0xc
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x428], eax
mov eax, 0x414
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x434]
push eax
mov dword [ebp - 0x430], 1
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x4333fb
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0x13c
mov eax, 0x4f0cc2
call fcn.004bcf2f
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x138]
mov edi, dword [ebp + 0xc]
call fcn.00495698
and dword [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.0049583d
mov ebx, 0x50c82c
lea ecx, [ebp - 0x70]
push ebx
call fcn.004045b0
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004045b0
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004045b0
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x43345e
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x58]
call fcn.004045b0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00433a28
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00402120
cmp dword [edi + 0x14], 8
jb 0x433496
mov eax, dword [edi]
jmp 0x433498
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.Mozilla_4.0__compatible___
lea ecx, [ebp - 0x138]
call fcn.00495c25
mov ebx, eax
mov dword [ebp - 0x144], ebx
test ebx, ebx
je 0x43364b
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0x50
cmovae ecx, dword [ebp - 0x40]
push ecx
push ebx
lea ecx, [ebp - 0x138]
call fcn.004957ba
mov dword [ebp - 0x140], eax
test eax, eax
je 0x433643
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
push ecx
push 0x5104c4
push eax
lea ecx, [ebp - 0x138]
call fcn.00495b39
mov esi, eax
test esi, esi
je 0x4335d1
push 0
push 0
push esi
lea ecx, [ebp - 0x138]
call fcn.00495d28
test eax, eax
je 0x4335d1
push esi
lea ecx, [ebp - 0x138]
call fcn.0049581e
test eax, eax
je 0x4335d1
push 0x4000
call fcn.004bc250
and dword [ebp - 0x13c], 0
mov ebx, eax
pop ecx
jmp 0x4335a2
cmp dword [edi + 0x14], 8
jb 0x43355c
mov eax, dword [edi]
jmp 0x43355e
mov eax, edi
push 0x510a74
push eax
call fcn.004c2ac5
mov dword [ebp - 0x148], eax
pop ecx
pop ecx
test eax, eax
je 0x433592
push eax
push 1
push dword [ebp - 0x13c]
push ebx
call fcn.004c297c
push dword [ebp - 0x148]
call fcn.004c0cae
add esp, 0x14
push 0x4000
push 0
push ebx
call fcn.004bf1a0
add esp, 0xc
lea eax, [ebp - 0x13c]
push eax
push 0x4000
push ebx
push esi
lea ecx, [ebp - 0x138]
call fcn.00495d0b
cmp dword [ebp - 0x13c], 0
jne 0x433552
push ebx
call fcn.004bbbce
mov ebx, dword [ebp - 0x144]
pop ecx
mov edi, dword [ebp - 0x140]
push ebx
lea ecx, [ebp - 0x138]
call fcn.00495797
push edi
lea ecx, [ebp - 0x138]
call fcn.00495797
push esi
lea ecx, [ebp - 0x138]
call fcn.00495797
lea ecx, [ebp - 0x138]
call fcn.00495db6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00402120
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00402120
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.00402120
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00495730
xor eax, eax
call fcn.004bcede
ret 8
mov esi, dword [ebp - 0x144]
jmp 0x4335d1
mov edi, dword [ebp - 0x144]
mov esi, dword [ebp - 0x144]
jmp 0x4335d7
Function at 0x4338d5
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2a0
mov eax, 0x4f0d7e
call fcn.004bcf2f
mov dword [ebp - 0x2ac], ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
cmp dword [esi + 0x10], eax
je 0x433a20
push 0x24c
push eax
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.004bf1a0
add esp, 0xc
lea eax, [ebp - 0x40]
push str..
push esi
push eax
call fcn.0042449e
add esp, 0xc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push esi
call fcn.00404580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp word [ebp - 0x27c], 0x2e
je 0x4339e8
test byte [ebp - 0x2a8], 0x10
je 0x43399d
push 0x50c8cc
lea ecx, [ebp - 0x28]
call fcn.00404710
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404710
mov ecx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x28]
push ebx
push edi
push eax
call fcn.004338d5
jmp 0x4339e8
cmp word [ebp - 0x27c], 0
je 0x4339e8
test edi, edi
je 0x4339e8
push 0x50c8cc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0042449e
add esp, 0xc
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x58]
call fcn.00404710
lea eax, [ebp - 0x58]
push ebx
push eax
call edi
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00402120
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x433957
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00402120
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402120
xor eax, eax
inc eax
call fcn.004bcede
ret 0xc
Function at 0x433b15
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0x450
mov eax, 0x4f0de9
call fcn.004bcf2f
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x458], eax
cmp dword [eax + 0x10], ebx
jne 0x433b3b
xor eax, eax
jmp 0x433c96
push eax
lea ecx, [ebp - 0x43c]
call fcn.00404580
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x45c]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x45c], 0x2e
call fcn.00405680
mov ecx, dword [ebp - 0x42c]
dec ecx
push ecx
push eax
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00409500
push eax
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 1
call fcn.00404680
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], bl
call fcn.00402120
push str..ocx
lea ecx, [ebp - 0x43c]
call fcn.00409530
test eax, eax
je 0x433bcf
push str..dll
lea ecx, [ebp - 0x43c]
call fcn.00409530
test eax, eax
jne 0x433c85
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.004bf1a0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 1
push 0x25
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x21c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x433c08
push 5
pop ecx
xor eax, eax
mov esi, str._regsvr32
push 0x206
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push ebx
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004bf1a0
mov eax, dword [ebp - 0x458]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x433c4a
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x424]
push str._s___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x424]
push 5
push ebx
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x50f000
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x433c85
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00402120
mov eax, ebx
call fcn.004bcede
ret 4
Function at 0x433ce6
Capabilities:
Print debug messages

Disassembly:
push 0xe4
mov eax, 0x4f0e34
call fcn.004bcf2f
call fcn.00433c9e
test eax, eax
mov esi, reloc.OLEAUT32.dll_SysReAllocString
mov edx, str.SOFTWAREClassesCLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
setne cl
test cl, cl
lea ecx, [ebp - 0x28]
lea eax, [esi - 2]
cmovne esi, eax
mov eax, str.CLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
cmove eax, edx
push eax
call fcn.004045b0
xor ebx, ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x41]
cmp dword [ebp - 0x14], 8
mov edi, 0xf003f
push 1
cmovae eax, dword [ebp - 0x28]
push edi
push eax
push esi
call fcn.0043299c
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push edi
cmovae ecx, dword [ebp - 0x28]
push ecx
push esi
lea ecx, [ebp - 0x50]
call fcn.00425fcb
mov ebx, eax
or edi, 0xffffffff
test ebx, ebx
jne 0x433d86
push 1
mov eax, 0x50c82c
lea ecx, [ebp - 0x50]
push eax
push eax
call fcn.0043199f
mov edi, eax
push ecx
push ecx
lea ecx, [ebp - 0xf0]
call fcn.0043436a
mov byte [ebp - 4], 2
lea eax, [ebp - 0xf0]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
push eax
cmovae esi, dword [ebp - 0x28]
call fcn.004370ac
pop ecx
push edi
push ecx
push dword [ebp - 0x54]
mov edx, str.CrashRepair::BeginRegisterAcessable
push ecx
push ebx
push ecx
mov ecx, eax
call fcn.004370de
mov edx, str.__reg.Open:
mov ecx, eax
call fcn.0043732b
pop ecx
mov ecx, eax
call fcn.00434595
mov edx, str.__helper.AddRegAccess:
mov ecx, eax
call fcn.0043732b
pop ecx
mov ecx, eax
call fcn.0043449d
mov edx, str.__reg.SetStringValue
mov ecx, eax
call fcn.0043732b
pop ecx
mov ecx, eax
call fcn.00434595
mov edx, str.__location_is:
mov ecx, eax
call fcn.0043732b
mov edx, esi
mov ecx, eax
call fcn.0043732b
push eax
call fcn.004370ac
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00434465
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x433e36
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00402120
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00434422
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x510d48
push eax
mov dword [ebp - 0xa0], 0x4fa99c
call fcn.004bb6d3
pop ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.00425fb1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402120
call fcn.004bcede
ret
Function at 0x433e97
Capabilities:
Print debug messages

Disassembly:
push 0xdc
mov eax, 0x4f0e87
call fcn.004bcf2f
call fcn.00433c9e
test eax, eax
mov esi, reloc.OLEAUT32.dll_SysReAllocString
mov edx, str.SOFTWAREClassesCLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
setne cl
test cl, cl
lea ecx, [ebp - 0x28]
lea eax, [esi - 2]
cmovne esi, eax
mov eax, str.CLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
cmove eax, edx
push eax
call fcn.004045b0
xor ebx, ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x49]
cmp dword [ebp - 0x14], 8
mov edi, ebx
cmovae eax, dword [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x50]
push eax
call fcn.00432b19
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x50]
cmp dword [esi - 0xc], ebx
je 0x433f32
lea ecx, [ebp - 0x48]
call fcn.00431da8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00431edf
push ebx
lea eax, [ebp - 0x48]
push eax
push 4
push esi
call fcn.0043271b
add esp, 0x10
movzx edi, al
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00431deb
lea ecx, [esi - 0x10]
mov byte [ebp - 4], bl
call fcn.004209ab
push ecx
push ecx
lea ecx, [ebp - 0xe8]
call fcn.0043436a
mov byte [ebp - 4], 3
lea eax, [ebp - 0xe8]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
push eax
cmovae esi, dword [ebp - 0x28]
call fcn.004370ac
pop ecx
push edi
push ecx
mov edx, str.CrashRepair::EndRegisterAcessable
mov ecx, eax
call fcn.004370de
mov edx, str.__RestoreRegAccess:
mov ecx, eax
call fcn.0043732b
pop ecx
mov ecx, eax
call fcn.0043449d
mov edx, str.__location_is:
mov ecx, eax
call fcn.0043732b
mov edx, esi
mov ecx, eax
call fcn.0043732b
push eax
call fcn.004370ac
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00434465
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x433fbf
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00402120
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], bl
call fcn.00434422
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x510d48
push eax
mov dword [ebp - 0x98], 0x4fa99c
call fcn.004bb6d3
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00402120
call fcn.004bcede
ret
Function at 0x4367ca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 4], edx
push esi
mov esi, eax
mov dword [ebp - 8], eax
push edi
or edi, 0xffffffff
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4367e3
sub esi, ecx
lea ebx, [esi + 1]
push ebx
call fcn.004badc8
mov esi, eax
pop ecx
test esi, esi
je 0x4368b7
push ebx
call fcn.004badc8
mov ebx, eax
mov dword [ebp - 0xc], ebx
pop ecx
test ebx, ebx
jne 0x43681b
push esi
call fcn.004bbc06
jmp 0x4368b6
mov ecx, dword [ebp - 4]
mov edx, esi
inc ecx
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x436823
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
sub eax, ecx
push eax
push ecx
push ebx
call fcn.004c5b30
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, ebx
sub eax, dword [ebp - 8]
push 0
mov byte [eax + ecx], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
push esi
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4368a9
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4368a9
push 0xc
call fcn.0048156c
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4368a6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 0x10]
and dword [ebx + 4], 0
push dword [ebp - 8]
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebx + 8], eax
mov edi, ebx
mov ebx, dword [ebp - 0xc]
push esi
call fcn.004bbc06
push ebx
call fcn.004bbc06
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4368fc
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
mov edi, ecx
mov ebx, edx
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x436962
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
je 0x43695b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x43695b
lea eax, [ebp - 8]
push eax
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
and eax, 0x27
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret