joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bc40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x583d10]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], 0
mov esi, edx
cmp dword [edi + 0x14], 8
jb 0x41bc6d
mov ebx, dword [edi]
jmp 0x41bc6f
mov ebx, edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41bcb1
test al, 0x10
je 0x41bc93
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004f225b
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x41bc9d
mov dword [esi], 0xfffffff7
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004f225b
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00419a40
cmp dword [edi + 0x14], 8
jb 0x41bcc7
mov eax, dword [edi]
jmp 0x41bcc9
mov eax, edi
push dword [edi + 0x10]
lea ecx, [esp + 0x18]
push eax
push dword [esp + 0x2c]
push 0
call fcn.0041b210
test eax, eax
jne 0x41bcee
test esi, esi
je 0x41bd38
mov dword [esi], 0xfffffffc
xor bl, bl
jmp 0x41bd3e
mov edx, esi
lea ecx, [esp + 0x14]
call fcn.0041bc40
test al, al
jne 0x41bd01
xor bl, bl
jmp 0x41bd3e
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41bd3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xb7
jne 0x41bd2b
push edi
call fcn.0041bae0
add esp, 4
test al, al
jne 0x41bd3c
test esi, esi
je 0x41bd38
mov ecx, ebx
call fcn.0042b8d0
mov dword [esi], eax
xor bl, bl
jmp 0x41bd3e
mov bl, 1
cmp dword [esp + 0x28], 8
jb 0x41bd51
push dword [esp + 0x14]
call fcn.004b217d
add esp, 4
mov ecx, dword [esp + 0x2c]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f225b
mov esp, ebp
pop ebp
ret

Function at 0x41bf40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [esp + 0x10], 0
cmp dword [eax + 0x14], 8
push edi
mov edi, dword [ebp + 0x10]
jb 0x41bf65
mov eax, dword [eax]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x10], 0
test esi, esi
je 0x41bffc
lea ecx, [esp + 0x10]
call fcn.00417470
cmp esi, 0xffffffff
je 0x41bfd3
mov dword [esp + 0x10], esi
call fcn.0042a570
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 4]
mov ecx, dword [0x5b1d18]
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x41bfc0
call fcn.0042a5d0
mov ecx, dword [0x5b1d18]
push dword [esp + 0x18]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push dword [esp + 0x20]
push edx
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41bffc
cmp eax, 0xffffffff
je 0x41bffc
push 0
lea ecx, [esp + 0x18]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41bffc
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x41bfff
or esi, 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00417470
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c020
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ecx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00419e10
test al, al
jne 0x41c08c
mov ecx, esi
call fcn.00419e10
test al, al
jne 0x41c08c
cmp dword [edi + 0x10], 0x104
jae 0x41c08c
cmp dword [esi + 0x10], 0x104
jae 0x41c08c
cmp dword [esi + 0x14], 8
jb 0x41c055
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x41c05d
mov edi, dword [edi]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41c08c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c08c
test al, 1
je 0x41c086
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov al, 1
pop edi
pop esi
pop ecx
ret
pop edi
xor al, al
pop esi
pop ecx
ret

Function at 0x41e250
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32FirstW]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
mov edi, edi
push 0x22c
push 0
push edi
call fcn.004f2e30
add esp, 0xc
mov dword [edi], 0x22c
cmp byte [esi + 8], 0
push edi
push dword [esi + 4]
jne 0x41e288
mov byte [esi + 8], 1
call ebx
jmp 0x41e28e
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne al
test al, al
je 0x41e2aa
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 4]
call edx
test al, al
je 0x41e260
mov eax, edi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x421670
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
test ebx, ebx
je 0x421697
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x421692
mov eax, dword [ebx]
jmp 0x421694
mov eax, ebx
mov byte [eax], 0
call fcn.00419e10
test al, al
je 0x4216a9
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0041bea0
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x4216a0
push 0x10000
call fcn.004f09ec
add esp, 4
mov dword [ebp - 8], 0
mov esi, eax
push edi
push 0x10000
push 1
push esi
call fcn.004f7712
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x10], edi
test edi, edi
je 0x42173f
mov eax, dword [ebp + 8]
lea esp, [esp]
test ebx, ebx
je 0x421712
sub eax, dword [ebp - 8]
lea edx, [ebp - 0x10]
cmp eax, edi
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
cmovae ecx, edx
push dword [ecx]
mov ecx, ebx
push esi
call fcn.004176b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
sub eax, ecx
cmp eax, edi
jb 0x421755
push dword [ebp - 0xc]
add ecx, edi
push 0x10000
push 1
push esi
mov dword [ebp - 8], ecx
call fcn.004f7712
mov edi, eax
add esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], edi
test edi, edi
jne 0x4216f0
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004f723b
add esp, 4
test eax, eax
jne 0x421758
mov byte [ebp - 1], 1
jmp 0x42175c
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 1], 0
push ebx
call fcn.004f719e
add esp, 4
test esi, esi
je 0x421772
push esi
call fcn.004f304f
add esp, 4
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4217a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.0041bc40
Function at 0x422b90
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x583d10]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 8]
push edi
call fcn.00423230
add esp, 4
lea eax, [esp + 0x10]
lea esi, [ebx + 0xc]
mov ecx, esi
push eax
call fcn.0041b6b0
mov eax, dword [0x5b1cec]
test eax, eax
je 0x422bf9
lea ecx, [esp + 0x10]
push ecx
push dword [ebx + 0xa0]
push dword [ebx + 0xa8]
push dword [ebx + 0xa4]
push dword [ebx]
call eax
add esp, 0x14
test al, al
jne 0x422d7b
test byte [0x5aa910], 2
je 0x422c19
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x422c1e
cmp dword [ebx], 2
jl 0x422c59
cmp dword [esp + 0x24], 0x10
lea edi, [esp + 0x10]
mov esi, dword [esp + 0x20]
cmovae edi, dword [esp + 0x10]
call fcn.004f96c5
add eax, 0x40
push eax
push 1
push esi
push edi
call fcn.004f8eac
call fcn.004f96c5
add eax, 0x40
push eax
call fcn.004fa88f
lea edi, [ebx + 8]
add esp, 0x14
lea esi, [ebx + 0xc]
test byte [0x5aa910], 1
je 0x422cf8
xor edx, edx
xor ecx, ecx
call fcn.00422630
cmp dword [0x5b1ce4], 0
jne 0x422c88
push 0xffffffffffffffff
push dword [0x5b1cd8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x422c94
push dword [0x5b1cdc]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.004227a0
test al, al
je 0x422cd5
push 2
push 0
push 0
push dword [0x5b1cf0]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x24], 0x10
lea ecx, [esp + 0xc]
push 0
push ecx
push dword [esp + 0x28]
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
push dword [0x5b1cf0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [0x5b1ce4], 0
jne 0x422cec
push dword [0x5b1cd8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x422cf8
push dword [0x5b1cdc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebx], 3
jne 0x422d7b
mov ecx, 0x400
lea eax, [esp + 0x10]
cmp dword [esp + 0x20], ecx
cmovb ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], 0x10
cmovae eax, dword [esp + 0x10]
test ecx, ecx
je 0x422d2c
push ecx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004f27e0
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.0042ebe0
add esp, 4
cmp dword [0x5b1ce8], 0
je 0x422d71
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.0041b6b0
lea eax, [esp + 0x28]
push eax
call dword [0x5b1ce8]
add esp, 4
cmp dword [esp + 0x3c], 0x10
jb 0x422d7b
push dword [esp + 0x28]
call fcn.004b217d
add esp, 4
jmp 0x422d7b
cmp byte [0x5b1d70], 0
jne 0x422dc8
int3
cmp dword [esp + 0x24], 0x10
jb 0x422d8e
push dword [esp + 0x10]
call fcn.004b217d
add esp, 4
push dword [ebx + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea esi, [edi + 0x50]
mov ecx, esi
call fcn.0041a690
push esi
mov dword [esi], vtable.std::ios_base.0
call fcn.004f1113
mov ecx, dword [esp + 0x448]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f225b
mov esp, ebp
pop ebp
ret
push 1
call fcn.004fc904
int3
Function at 0x423f40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x583d10]
xor eax, esp
mov dword [esp + 0x1c], eax
cmp dword [0x5b1cf8], 0
je 0x423f6e
xor al, al
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004f225b
mov esp, ebp
pop ebp
ret
push 0x20
call fcn.004b2155
add esp, 4
test eax, eax
je 0x423f8b
push ecx
mov ecx, eax
call fcn.00423e60
mov dword [0x5b1cf8], eax
jmp 0x423f95
mov dword [0x5b1cf8], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 8]
call fcn.00417260
lea eax, [esp + 4]
push eax
call fcn.00424980
cmp dword [esp + 0x18], 8
jb 0x423fc2
push dword [esp + 4]
call fcn.004b217d
add esp, 4
mov ecx, dword [esp + 0x1c]
mov al, 1
xor ecx, esp
call fcn.004f225b
mov esp, ebp
pop ebp
ret

Function at 0x424980
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, str._t_n_v_f_r
push esi
mov dword [ebp - 0x24], 0
xor eax, eax
push edi
mov edi, dword [0x5b1cf8]
lea esi, [edx + 2]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], ax
mov edi, edi
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4249c0
sub edx, esi
lea eax, [ebp - 0x20]
sar edx, 1
push edx
push str._t_n_v_f_r
push eax
call fcn.00427b10
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x424a18
cmp dword [ebp - 0xc], 8
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0
cmovae eax, dword [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [ebp - 0x24]
call fcn.00423fe0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0xc], 8
jb 0x424a29
push dword [ebp - 0x20]
call fcn.004b217d
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.004f225b
mov esp, ebp
pop ebp
ret 4

Function at 0x42a000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], 0
cmp byte [esi], 0
je 0x42a01e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x42a021
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test bl, bl
je 0x42a055
cmp byte [ebp + 0xc], 0
je 0x42a055
cmp byte [esi], 0
je 0x42a046
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x42a049
mov eax, dword [esi + 4]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42bda0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
cmp dword [edi + 0x14], 8
jb 0x42bdb2
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x42bdc9
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 1
push ebx
call fcn.004f3a67
mov esi, eax
add esp, 8
test esi, esi
je 0x42be42
push esi
push ebx
push dword [ebp - 8]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42be39
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42be39
cmp dword [ebp - 4], 0
je 0x42be39
push 0x10
call fcn.004b2155
add esp, 4
test eax, eax
je 0x42be42
mov edx, dword [ebp - 4]
movzx ecx, word [edx + 2]
push ecx
movzx ecx, word [edx]
push ecx
push esi
mov ecx, eax
call fcn.0042bc20
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.004f1da0
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42c780
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push edi
mov edi, ecx
mov dword [ebp - 0x224], eax
movzx eax, word [edi + 8]
mov word [ebp - 0x14], ax
movzx eax, word [edi + 0xa]
mov word [ebp - 0x12], ax
call esi
mov word [ebp - 0x10], ax
movzx eax, word [edi + 0xa]
mov word [ebp - 0xe], ax
movzx eax, word [edi + 8]
mov word [ebp - 0xc], ax
mov eax, 0x4e4
mov word [ebp - 0xa], ax
call esi
mov word [ebp - 8], ax
xor esi, esi
mov eax, 0x4e4
mov word [ebp - 6], ax
lea ebx, [ebx]
movzx eax, word [ebp + esi*2 - 0x12]
movzx ecx, word [ebp + esi*2 - 0x14]
add esi, 2
push ebx
push eax
push ecx
push 0x55b5a4
push 0x104
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.004f580e
add esp, 0x1c
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [edi + 4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42c854
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x42c86e
cmp esi, 8
jb 0x42c7f0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret 8
cmp word [edx], 0
jne 0x42c898
mov ecx, dword [ebp - 0x224]
xor eax, eax
push eax
push edx
call fcn.00417b50
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret 8
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c8a0
mov ecx, dword [ebp - 0x224]
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.00417b50
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f225b
mov esp, ebp
pop ebp
ret 8
Function at 0x4356e0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x583d10]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x5aa920]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], 0
push edi
mov ecx, 0x100
mov dword [esp + 0xc], eax
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.004f304f
add esp, 4
mov edi, 0x100
jmp 0x435740
mov esi, dword [0x5b1d80]
xor dl, dl
test esi, esi
jle 0x435778
lea esp, [esp]
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x435773
mov eax, dword [esi*4 + 0x5b0980]
test eax, eax
je 0x435773
push ecx
mov dword [esp + esi*4 + 0x14], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x435750
dec edi
test edi, edi
jle 0x435781
test dl, dl
jne 0x435740
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f225b
mov esp, ebp
pop ebp
ret

Function at 0x4361a8
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [0x583d10]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esp + 4]
push edi
mov edi, dword [ebp + 8]
push 0x58
push 0
push eax
call fcn.004f2e30
push dword [ebp + 0x10]
and dword [esp + 0x2c], 0
lea ecx, [esp + 0x18]
and dword [esp + 0x28], 0
mov edx, esi
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.00436278
push 8
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x78]
call fcn.00436a11
mov edx, dword [esp + 0x2c]
push 0x38
pop ecx
shr edx, 3
and edx, 0x3f
push 0x78
sub ecx, edx
pop eax
sub eax, edx
cmp edx, 0x38
mov edx, 0x5aa850
cmovb eax, ecx
lea ecx, [esp + 0x1c]
push eax
call fcn.00436278
push 8
lea edx, [esp + 0x80]
lea ecx, [esp + 0x24]
call fcn.00436278
push 0x10
lea edx, [esp + 0x28]
mov ecx, edi
call fcn.00436a11
mov ecx, dword [esp + 0x8c]
add esp, 0x20
pop edi
pop esi
xor ecx, esp
call fcn.004f225b
mov esp, ebp
pop ebp
ret
Function at 0x43732e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
xor esi, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
test edx, edx
je 0x4373f6
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4373f5
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4373f5
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4373f5
mov dword [edx], esi
mov dword [ebx], esi
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
push edi
mov dword [ecx], esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4373f5
push eax
call fcn.004f09ec
mov edi, eax
pop ecx
test edi, edi
je 0x4373f5
push edi
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4373ee
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x55af84
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4373ee
cmp dword [ebp - 8], esi
jbe 0x4373eb
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, dword [ecx + 0x10]
mov dword [edx], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor esi, esi
inc esi
push edi
call fcn.004f304f
pop ecx
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43791b
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
mov edi, ecx
push 0x286
push eax
mov word [ebp - 0x28c], ax
lea eax, [ebp - 0x28a]
push eax
call fcn.004f2e30
add esp, 0xc
lea eax, [ebp - 0x28c]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.kdumpcfg.dat
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x437ab5
test al, 0x10
jne 0x437ab5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x28c]
push eax
xor ebx, ebx
inc ebx
push ebx
push str.autorecovery
push 0x55c0d8
call esi
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x28c]
push eax
push 0
push str.checkbrowsercrash
push 0x55c0d8
call esi
mov dword [edi + 8], eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push str.checkbsod
push 0x55c0d8
call esi
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push str.checkdriverversion
push 0x55c0d8
call esi
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push str.deletedump
push 0x55c0d8
call esi
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push str.enablereport
push 0x55c0d8
call esi
mov dword [edi], eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push str.scanissuefile
push 0x55c0d8
call esi
mov dword [edi + 4], eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push str.silentreport
push 0x55c0d8
call esi
mov dword [edi + 0x18], eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push str.checkonlinesolution
push 0x55c0d8
call esi
mov dword [edi + 0x20], eax
lea eax, [ebp - 0x28c]
push eax
push 6
push str.bsoddelayhour
push 0x55c0d8
call esi
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x28c]
push eax
push 0xffff
push 0x55c174
push 0x55c0d8
call esi
mov dword [edi + 0x28], eax
mov eax, ebx
pop esi
jmp 0x437ae3
and dword [edi + 8], 0
xor ebx, ebx
inc ebx
mov dword [edi + 0x24], 6
mov dword [edi + 0x10], ebx
xor eax, eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x28], 0xffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004f225b
mov esp, ebp
pop ebp
ret
Function at 0x43827d
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0x294
mov eax, 0x52677d
call fcn.004f2332
mov ebx, ecx
push 0x55af84
call fcn.004173e0
push 0x55b1c4
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.0043ab3d
add esp, 0xc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x294]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43839e
xor eax, eax
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 1
test byte [ebp - 0x294], 0x10
jne 0x438321
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00417260
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2a0]
call fcn.004174e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00417360
lea eax, [ebp - 0x294]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4382ea
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x29c]
mov edi, dword [ebp - 0x2a0]
sub eax, edi
push 0x18
cdq
pop ecx
idiv ecx
mov esi, eax
cmp esi, 0x1e
jbe 0x43838f
test esi, esi
je 0x43838f
push edi
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00421a70
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00417360
add edi, 0x18
dec esi
jne 0x438359
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0
call fcn.0041ad20
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00417360
call fcn.004f22e1
ret