joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d0bf
Capabilities:
Create process on windows

Disassembly:
push 0x288
mov eax, 0x4dcbb0
call fcn.004a941b
mov ebx, edx
mov esi, ecx
mov eax, dword [ebp + 8]
push 0x40
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x290]
push 0
push eax
mov dword [ebp - 0x294], 0x44
call fcn.004acf20
xor eax, eax
lea edi, [ebp - 0x24c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
push 0x208
stosd dword es:[edi], eax
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004acf20
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x42d122
mov ebx, dword [ebx]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.004a3cb6
xor ebx, ebx
add esp, 0x10
cmp dword [esi + 0x10], ebx
jne 0x42d144
mov esi, ebx
jmp 0x42d14c
cmp dword [esi + 0x14], 8
jb 0x42d14c
mov esi, dword [esi]
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x294]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x21c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42d1ec
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x42d1e8
push ebx
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], 7
call fcn.004031c0
mov byte [ebp - 0x220], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Last_error:
lea ecx, [ebp - 0x238]
call fcn.00404c40
mov ecx, eax
call fcn.004059d0
lea eax, [ebp - 0x238]
push eax
push eax
push 0x10b
push str.Utils::CreateProcessW
push 3
call fcn.00428590
add esp, 0x14
lea ecx, [ebp - 0x238]
call fcn.00403170
xor al, al
jmp 0x42d21c
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x42d204
lea esi, [ebp - 0x24c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x42d21a
push dword [ebp - 0x24c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x248]
call esi
mov al, 1
call fcn.004a93ca
ret
Function at 0x42d808
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x20
mov eax, 0x4dcf2f
call fcn.004a93e8
and dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d832
mov bl, 1
jmp 0x42d894
mov ecx, dword [ebp + 0x18]
lea eax, [ecx + 1]
cmp eax, ecx
ja 0x42d847
push eax
lea ecx, [ebp + 8]
call fcn.004031c0
jmp 0x42d854
sub eax, ecx
push 0
push eax
lea ecx, [ebp + 8]
call fcn.00405b70
and dword [ebp - 0x2c], 0
xor eax, eax
cmp dword [ebp + 0x1c], 8
push 6
pop ecx
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, 0x614
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x28], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
lea ecx, [ebp + 8]
call fcn.00403170
mov al, bl
call fcn.004a93b6
ret

Function at 0x42d9c2
Capabilities:
Get common file path

Disassembly:
push 0x24c
mov eax, 0x4dd021
call fcn.004a941b
mov esi, edx
mov edi, ecx
xor ebx, ebx
push 0x20a
lea eax, [ebp - 0x220]
push ebx
push eax
mov dword [ebp - 0x258], ebx
call fcn.004acf20
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jne 0x42da1c
lea eax, [ebp - 0x220]
push eax
mov ecx, edi
call fcn.00403110
jmp 0x42dac6
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x42dab4
push ebx
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], 7
call fcn.004031c0
mov byte [ebp - 0x224], bl
mov edx, esi
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], ebx
call fcn.004341c7
mov esi, eax
push str.SHGetFolderPath___failed.
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.00404c40
push 0xffffffffffffffff
push ebx
push esi
mov ecx, eax
call fcn.00402a00
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], bl
call fcn.00403170
lea eax, [ebp - 0x23c]
push eax
push eax
push 0xc5
push str.Utils::GetFolderPath
push 3
call fcn.00428590
add esp, 0x14
lea ecx, [ebp - 0x23c]
call fcn.00403170
push ebx
mov ecx, edi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 7
call fcn.004031c0
mov eax, edi
call fcn.004a93ca
ret
Function at 0x42dace
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dcf52
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x510918]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x510918]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 7
call fcn.004031c0
mov dword [esp + 0x58], ebx
cmp byte [ebp + 8], bl
je 0x42db56
push 3
pop ecx
call fcn.0043389f
test al, al
je 0x42db56
lea ecx, [esp + 0x30]
call fcn.0042d8a4
push eax
lea ecx, [esp + 0x1c]
call fcn.0041a9c0
lea ecx, [esp + 0x30]
call fcn.00403170
cmp dword [esp + 0x28], 0
jne 0x42dbbb
push 0x1c
pop edx
lea ecx, [esp + 0x30]
call fcn.0042d9c2
push eax
lea ecx, [esp + 0x1c]
call fcn.0041a9c0
lea ecx, [esp + 0x30]
call fcn.00403170
cmp dword [esp + 0x28], 0
jne 0x42dbbb
push str.LOCALAPPDATA
call fcn.004a5533
pop ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004030c0
cmp dword [esp + 0x28], 0
jne 0x42dbbb
push str.APPDATA
call fcn.004a5533
pop ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004030c0
cmp dword [esp + 0x28], 0
je 0x42dbdc
push edi
lea ecx, [esp + 0x1c]
call fcn.00404dc0
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004020d0
lea ecx, [esp + 0x18]
call fcn.00403170
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004a2964
mov esp, ebp
pop ebp
ret

Function at 0x42dc11
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x510918]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x210]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
lea ecx, [edi - 1]
cmp ecx, 0x102
ja 0x42dc80
lea eax, [ebp - 0x214]
push eax
mov ecx, esi
call fcn.00402040
cmp dword [esi + 0x14], 8
jb 0x42dc5f
mov ecx, dword [esi]
jmp 0x42dc61
mov ecx, esi
lea edx, [ebp - 0x210]
lea edx, [edx + edi*2]
push edx
lea edx, [ebp - 0x210]
push edx
push dword [eax]
push ecx
mov ecx, esi
call fcn.0042e1c9
mov al, 1
jmp 0x42dc82
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a2964
leave
ret
Function at 0x42dc90
Capabilities:
Create directory

Disassembly:
push 0x60
mov eax, 0x4dcf02
call fcn.004a941b
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x64], ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 7
call fcn.004031c0
push ebx
mov dword [ebp - 4], ebx
call fcn.004a3b56
push eax
call fcn.004a566d
pop ecx
pop ecx
mov esi, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
call fcn.004031c0
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402c10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.00406960
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00402a00
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00403170
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402040
push 0x5f
push dword [eax]
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042e793
call fcn.004a564a
cdq
mov ecx, 0x7fff
idiv ecx
lea ecx, [ebp - 0x5c]
call fcn.0042e742
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00402a00
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00403170
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0042e166
pop ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0041a9c0
lea ecx, [ebp - 0x5c]
call fcn.00403170
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42ddba
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00403170
inc esi
cmp esi, 0x32
jl 0x42dccd
jmp 0x42dde5
push 0x4edd10
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.0041be50
pop ecx
push eax
mov ecx, edi
call fcn.0041a9c0
lea ecx, [ebp - 0x5c]
call fcn.00403170
lea ecx, [ebp - 0x2c]
call fcn.00403170
mov bl, 1
lea ecx, [ebp - 0x44]
call fcn.00403170
mov al, bl
call fcn.004a93ca
ret
Function at 0x43160d
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x18
mov eax, 0x4dd5ae
call fcn.004a93e8
mov dword [ebp - 0x18], ecx
xor edx, edx
xor eax, eax
mov dword [ebp - 4], edx
cmp dword [ecx], eax
setne al
test eax, eax
jne 0x431633
mov bl, dl
jmp 0x431740
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
sub eax, esi
cmp eax, 8
jbe 0x4316c6
mov edx, str.Salted__
mov edi, 0x4eddb4
cmp esi, dword [ebp + 0xc]
je 0x431676
sub esi, edx
cmp edx, edi
je 0x431678
movzx ecx, byte [esi + edx]
movsx eax, byte [edx]
cmp ecx, eax
jne 0x4316c6
inc edx
lea eax, [esi + edx]
cmp eax, dword [ebp + 0xc]
jne 0x43165e
cmp edx, edi
sete al
test al, al
je 0x4316c6
push 8
lea ecx, [ebp - 0x24]
call fcn.00406a50
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 8]
mov ebx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 4], eax
push dword [ebx + 4]
mov edi, dword [ebp + 8]
push dword [ebx]
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0x18]
push eax
mov ecx, ebx
add edi, 0x10
call fcn.00406ad0
push dword [ebp + 0x18]
mov ecx, ebx
push esi
push edi
push dword [ebx]
call fcn.00431a5a
jmp 0x4316d4
mov ebx, dword [ebp + 0x18]
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00431937
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.00431752
test al, al
je 0x431723
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebx]
push 0
push 1
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x431723
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.00406a50
xor ebx, ebx
inc ebx
jmp 0x431725
xor bl, bl
cmp dword [ebp - 0x10], 0
je 0x431738
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x24]
call fcn.00406a20
lea ecx, [ebp + 8]
call fcn.00406a20
mov al, bl
call fcn.004a93b6
ret 0x14
Function at 0x431752
Capabilities:
Encrypt data using aes via winapi

Disassembly:
push 0x60
mov eax, 0x4dd5e1
call fcn.004a941b
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
xor eax, eax
cmp dword [ecx], eax
setne al
test eax, eax
jne 0x431779
xor al, al
jmp 0x4318cc
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ebx
cmp dword [edi + 0x14], 0x10
jb 0x431794
mov eax, dword [edi]
jmp 0x431796
mov eax, edi
mov esi, dword [edi + 0x10]
add esi, eax
cmp dword [edi + 0x14], 0x10
jb 0x4317a3
mov edi, dword [edi]
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406ad0
push dword [ebp - 0x30]
lea ecx, [ebp - 0x40]
push esi
push edi
push dword [ebp - 0x40]
call fcn.00431a5a
push dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
push dword [eax + 4]
push dword [eax]
push dword [ebp - 0x3c]
call fcn.00431a5a
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x60]
push eax
call fcn.004318d4
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00406ad0
push dword [ebp - 0x30]
mov edi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x60]
push edi
push esi
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x4c]
call fcn.00431a5a
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x48]
call fcn.00431a5a
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x6c]
push eax
call fcn.004318d4
sub edi, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], 0x208
mov dword [ebp - 0x28], 0x660e
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x34]
push edi
push ebx
push ebx
push 0x1c
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x50]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x4318a6
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push ebx
push dword [ebp - 0x6c]
xor eax, eax
inc eax
push eax
push dword [edi]
mov dword [ebp - 0x34], eax
call esi
test eax, eax
je 0x4318a6
push ebx
lea eax, [ebp - 0x54]
push eax
push 4
push dword [edi]
mov dword [ebp - 0x54], 1
call esi
test eax, eax
jne 0x4318a9
mov byte [ebp - 0x34], bl
lea ecx, [ebp - 0x6c]
call fcn.00406a20
lea ecx, [ebp - 0x4c]
call fcn.00406a20
lea ecx, [ebp - 0x60]
call fcn.00406a20
lea ecx, [ebp - 0x40]
call fcn.00406a20
mov al, byte [ebp - 0x34]
call fcn.004a93ca
ret 0xc
Function at 0x43208a
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x9c], 0
jne 0x43211e
push ebx
xor ebx, ebx
cmp dword [esi + 0xa0], ebx
jne 0x43211d
push edi
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0xa0], ebx
jne 0x432115
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x7c], eax
cmp dword [esi + 0xa8], ebx
lea eax, [esi + 0xa4]
push eax
push 4
pop ecx
setne bl
xor eax, eax
test bl, bl
cmovne eax, ecx
push eax
push esi
push 0x432120
push 0
push 0
call fcn.004a5856
add esp, 0x18
mov dword [esi + 0xa0], eax
test bl, bl
je 0x432115
push dword [esi + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0xa0]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
pop esi
ret

Function at 0x4322a6
Capabilities:
Terminate thread

Disassembly:
push 0x24
mov eax, 0x4dd75d
call fcn.004a941b
mov ebx, ecx
lea edi, [ebx + 0xa0]
cmp dword [edi], 0
je 0x4323d8
cmp dword [edi], 0xffffffff
je 0x4323d8
push dword [ebx + 0x7c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xea60
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4323ca
mov ecx, dword [0x513098]
mov eax, ecx
and eax, 0x1f
cmp al, 0x1f
jne 0x43235c
and dword [ebp - 0x1c], 0
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
call fcn.004031c0
mov byte [ebp - 0x14], 0
and dword [ebp - 4], 0
mov esi, dword [ebx + 0xa4]
push str.Wait_for_thread_exit_has_failed._ThreadId_
lea ecx, [ebp - 0x2c]
call fcn.00404c40
push esi
mov ecx, eax
call fcn.004059d0
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x87
push str.Utils::CBaseThread::TerminateThread
push 0x1f
call fcn.00428590
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.00403170
mov ecx, dword [0x513098]
and ecx, 3
cmp cl, 3
jne 0x4323c0
and dword [ebp - 0x1c], 0
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
call fcn.004031c0
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 1
mov esi, dword [ebx + 0xa4]
push str.Terminating_thread._ThreadId_
lea ecx, [ebp - 0x2c]
call fcn.00404c40
push esi
mov ecx, eax
call fcn.004059d0
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x87
push str.Utils::CBaseThread::TerminateThread
push 3
call fcn.00428590
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.00403170
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, edi
call fcn.00406580
and dword [ebx + 0xa4], 0
call fcn.004a93ca
ret
Function at 0x43389f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x510918]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x11c
push esi
xor ebx, ebx
lea eax, [ebp - 0x128]
push ebx
push eax
mov edi, ecx
call fcn.004acf20
add esp, 0xc
mov dword [ebp - 0x128], esi
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 3
push 2
push ebx
push ebx
call esi
push 3
pop ebx
push ebx
push 1
push edx
push eax
call esi
test edi, edi
je 0x433953
jle 0x433967
push 2
pop ecx
cmp edi, ecx
jle 0x433941
cmp edi, ebx
je 0x433935
cmp edi, 4
je 0x433929
cmp edi, 5
je 0x43391d
push 6
pop ecx
cmp edi, ecx
jne 0x433967
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ebx
jmp 0x433967
mov dword [ebp - 0x124], 6
jmp 0x43394b
mov dword [ebp - 0x124], 6
jmp 0x43395d
mov dword [ebp - 0x124], 6
jmp 0x433967
mov dword [ebp - 0x124], 5
mov dword [ebp - 0x120], ecx
jmp 0x433967
mov dword [ebp - 0x124], 5
mov dword [ebp - 0x120], 1
push edx
push eax
push ebx
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
neg eax
pop ebx
call fcn.004a2964
leave
ret

Function at 0x435abb
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x4dde79
call fcn.004a93e8
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], ebx
push dword [ebp + 8]
mov byte [ebp - 4], 1
lea ecx, [esi + 0x10]
mov byte [esi + 0xc], bl
call fcn.004014c0
push ebx
push ebx
push ebx
mov dword [esi + 0x28], ebx
push ebx
mov dword [esi + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push ebx
push esi
push 0x435c7b
push ebx
push ebx
call fcn.004a5856
add esp, 0x18
mov dword [esi], eax
push 0xfffffffffffffff1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, esi
call fcn.004a93b6
ret 4
Function at 0x435b6a
Capabilities:
Terminate thread

Disassembly:
push 0x24
mov eax, 0x4dd75d
call fcn.004a941b
mov edi, ecx
cmp dword [edi], 0
je 0x435c75
push dword [edi + 8]
mov byte [edi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x435c6e
mov ecx, dword [0x513098]
mov eax, ecx
and eax, 0x1f
xor ebx, ebx
cmp al, 0x1f
jne 0x435c0a
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
call fcn.004031c0
mov byte [ebp - 0x14], bl
mov dword [ebp - 4], ebx
mov esi, dword [edi + 4]
push str.Wait_for_thread_exit_has_failed._ThreadId_
lea ecx, [ebp - 0x2c]
call fcn.00404c40
push esi
mov ecx, eax
call fcn.004059d0
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x54
push str.Utils::CBrowserHistoryServer::Close
push 0x1f
call fcn.00428590
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.00403170
mov ecx, dword [0x513098]
and ecx, 3
cmp cl, 3
jne 0x435c65
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
call fcn.004031c0
mov byte [ebp - 0x14], bl
mov dword [ebp - 4], 1
mov esi, dword [edi + 4]
push str.Terminating_thread._ThreadId_
lea ecx, [ebp - 0x2c]
call fcn.00404c40
push esi
mov ecx, eax
call fcn.004059d0
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x54
push str.Utils::CBrowserHistoryServer::Close
push 3
call fcn.00428590
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.00403170
push ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, edi
call fcn.00406580
call fcn.004a93ca
ret
Function at 0x436bb2
Capabilities:
Check if file exists

Disassembly:
push 0xd4
mov eax, 0x4de00e
call fcn.004a941b
lea ecx, [ebp - 0xc0]
call fcn.00436a81
lea ecx, [ebp - 0xac]
push ecx
mov ecx, eax
call fcn.004111c0
sub esp, 0xc
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xd4]
movsd dword es:[edi], dword [esi]
call fcn.00429248
xor ebx, ebx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], ebx
call fcn.00405450
cmp dword [ebp - 0xd4], ebx
je 0x436de8
mov esi, ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], ebx
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 1
call fcn.00429cf5
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x90], eax
cmp eax, dword [ebp - 0xa8]
je 0x436db9
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00429ead
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, eax
call fcn.004111c0
sub esp, 0xc
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xc0]
movsd dword es:[edi], dword [esi]
call fcn.00429248
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00405450
cmp dword [ebp - 0xc0], 0
je 0x436d83
push str.AppName
lea ecx, [ebp - 0x8c]
call fcn.00403110
sub esp, 0x18
mov ecx, esp
mov byte [ebp - 4], 4
push ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 7
call fcn.004031c0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00429956
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 6
call fcn.00403170
push str.AppPath
lea ecx, [ebp - 0x2c]
call fcn.00403110
sub esp, 0x18
mov ecx, esp
mov byte [ebp - 4], 7
push ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 7
call fcn.004031c0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00429956
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00403170
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.0042ef6b
pop ecx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x436d6b
push dword [ebp - 0x90]
lea ecx, [ebp - 0x9c]
call fcn.0041aad0
lea ecx, [ebp - 0x44]
call fcn.00403170
lea ecx, [ebp - 0x5c]
call fcn.00403170
lea ecx, [ebp - 0x74]
call fcn.00403170
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.00405450
mov eax, dword [ebp - 0x90]
add eax, 0x18
mov dword [ebp - 0x90], eax
cmp eax, dword [ebp - 0xa8]
jne 0x436c51
mov esi, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x9c]
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.00401500
jmp 0x436dd9
push ebx
lea ecx, [ebp - 0xd4]
call fcn.004299bf
add ebx, 0x18
cmp ebx, esi
jne 0x436dca
lea ecx, [ebp - 0x9c]
call fcn.00401500
lea ecx, [ebp - 0xd4]
call fcn.00405450
call fcn.004a93ca
ret