joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bb20
Capabilities:
Check if file exists
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0f66
mov eax, dword fs:[0]
push eax
mov eax, 0x1278
call fcn.004a9200
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x127c], ecx
push 0
mov ecx, dword [ebp - 0x127c]
add ecx, 4
call fcn.0041db30
mov ecx, dword [ebp - 0x127c]
call fcn.0042b840
test eax, eax
je 0x42bc9d
mov dword [ebp - 0x1018], 0x800
xor eax, eax
mov word [ebp - 0x1014], ax
push 0xffe
push 0
lea ecx, [ebp - 0x1012]
push ecx
call fcn.00499250
add esp, 0xc
lea edx, [ebp - 0x1014]
push edx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x101c]
call fcn.0040aa40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1278]
push ecx
call fcn.00428960
add esp, 4
mov dword [ebp - 0x1280], eax
mov edx, dword [ebp - 0x1280]
mov dword [ebp - 0x1284], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1284]
push eax
lea ecx, [ebp - 0x101c]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00435cf0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1278]
call fcn.0040aac0
lea ecx, [ebp - 0x10]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42bc67
push 0
push 0
mov eax, dword [ebp - 0x127c]
push eax
push 0x42c1e0
push 0
push 0
call fcn.0049790a
add esp, 0x18
push 0
push 0
mov ecx, dword [ebp - 0x127c]
push ecx
push 0x42c660
push 0
push 0
call fcn.0049790a
add esp, 0x18
jmp 0x42bc7e
push 0
push 0x3e8
push 2
mov ecx, dword [ebp - 0x127c]
add ecx, 4
call fcn.0041db00
lea ecx, [ebp - 0x10]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x101c]
call fcn.0040aac0
jmp 0x42bd8b
push 2
mov ecx, dword [ebp - 0x127c]
call fcn.004321d0
push 0x254
push 0
lea edx, [ebp - 0x1274]
push edx
call fcn.00499250
add esp, 0xc
lea eax, [ebp - 0x1274]
push eax
mov ecx, dword [ebp - 0x127c]
mov edx, dword [ecx + 0x60c]
push edx
call fcn.00440790
mov ecx, eax
call fcn.00440920
movzx eax, byte [ebp - 0x122f]
cmp eax, 5
jne 0x42bd14
push 0
push 0
mov ecx, dword [ebp - 0x127c]
call fcn.00434640
push eax
mov ecx, dword [ebp - 0x127c]
call fcn.004344d0
push eax
push 6
call fcn.0043c170
add esp, 0x14
jmp 0x42bd46
movzx ecx, byte [ebp - 0x122f]
cmp ecx, 6
jne 0x42bd46
push 0
push 0
mov ecx, dword [ebp - 0x127c]
call fcn.00434640
push eax
mov ecx, dword [ebp - 0x127c]
call fcn.004344d0
push eax
push 5
call fcn.0043c170
add esp, 0x14
cmp dword [0x4d9138], 0
jne 0x42bd76
mov edx, dword [0x4d9138]
add edx, 1
mov dword [0x4d9138], edx
mov ecx, dword [ebp - 0x127c]
call fcn.0042ebc0
mov ecx, dword [ebp - 0x127c]
call fcn.0042ed20
jmp 0x42bd8b
mov dword [0x4d9138], 0
mov ecx, dword [ebp - 0x127c]
call fcn.0042b320
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret
Function at 0x42c0c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x238], 0x22c
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.00499250
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
mov dword [ebp - 4], 6
cmp dword [ebp - 0x23c], 0xffffffff
je 0x42c1c3
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42c1c3
mov dword [ebp - 0x240], 0
jmp 0x42c14c
mov eax, dword [ebp - 0x240]
add eax, 1
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
cmp ecx, dword [ebp - 4]
jge 0x42c1a8
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ebp - 0x240]
lea ecx, [eax*4 + 0x4d71b8]
call fcn.00436d80
push eax
call fcn.00496f89
add esp, 8
test eax, eax
jne 0x42c1a6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x230], eax
je 0x42c1a6
push 0xbb8
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.0042c050
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x42c13d
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x23c]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42c131
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret
Function at 0x430d60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.004a9200
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 8], eax
mov ax, word [0x4c055c]
mov word [ebp - 0x4008], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4006]
push ecx
call fcn.00499250
add esp, 0xc
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x400c], eax
cmp dword [ebp - 0x400c], 0
jne 0x430dbd
xor eax, eax
jmp 0x430e6d
lea ecx, [ebp - 0x4008]
push ecx
mov edx, dword [ebp - 0x400c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x430e6b
lea ecx, [ebp - 0x4014]
push ecx
lea edx, [ebp - 0x4010]
push edx
push 0x4c0560
lea eax, [ebp - 0x4008]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x430e6b
mov ecx, dword [ebp - 0x4010]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x4010]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x4010]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x4010]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push 0x4c0564
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00414920
add esp, 0x18
mov eax, 1
jmp 0x430e6d
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret

Function at 0x432ec0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 4]
push eax
call fcn.004338f0
add esp, 4
lea ecx, [ebp - 4]
call fcn.00436d80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 8], 0
push 0
push 0
push 4
push 0
push 1
push 0x40000000
lea ecx, [ebp - 4]
call fcn.00436d80
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x432f1c
lea ecx, [ebp - 4]
call fcn.0040aac0
jmp 0x432f2e
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 4]
call fcn.0040aac0
mov esp, ebp
pop ebp
ret

Function at 0x432f40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 8]
push eax
call fcn.004338f0
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
call fcn.0040aac0
cmp dword [ebp - 4], 0
je 0x432f7f
mov eax, 1
jmp 0x432f81
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x433850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea ecx, [ebp + 8]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43387d
mov dword [ebp - 0xc], 0
lea ecx, [ebp + 8]
call fcn.0040aac0
mov eax, dword [ebp - 0xc]
jmp 0x4338dd
lea ecx, [ebp + 8]
call fcn.00436d80
push eax
call fcn.004274e0
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
or eax, dword [ebp - 4]
je 0x4338b7
call fcn.00428be0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x1c]
jne 0x4338b7
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x18]
je 0x4338cb
mov dword [ebp - 0x10], 0
lea ecx, [ebp + 8]
call fcn.0040aac0
mov eax, dword [ebp - 0x10]
jmp 0x4338dd
mov dword [ebp - 0x14], 1
lea ecx, [ebp + 8]
call fcn.0040aac0
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4338f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af47c
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.004a9200
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x10], 0x800
xor eax, eax
mov word [ebp - 0x1014], ax
push 0xffe
push 0
lea ecx, [ebp - 0x1012]
push ecx
call fcn.00499250
add esp, 0xc
lea edx, [ebp - 0x1014]
push edx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1018]
call fcn.0040aa40
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x1020]
push ecx
lea ecx, [ebp - 0x1018]
call fcn.0040ad30
mov dword [ebp - 0x1034], eax
push 0x4c08f0
mov edx, dword [ebp - 0x1034]
push edx
call fcn.00435eb0
add esp, 8
mov byte [ebp - 0x1019], al
lea ecx, [ebp - 0x1020]
call fcn.0040aac0
movzx eax, byte [ebp - 0x1019]
test eax, eax
je 0x4339d4
push 0x4c08f4
lea ecx, [ebp - 0x1018]
call fcn.00435ae0
lea ecx, [ebp - 0x1024]
push ecx
mov ecx, 0x4d6ec0
call fcn.00415b10
mov dword [ebp - 0x1038], eax
mov edx, dword [ebp - 0x1038]
mov dword [ebp - 0x103c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x103c]
push eax
lea ecx, [ebp - 0x1018]
push ecx
lea edx, [ebp - 0x1028]
push edx
call fcn.00435cf0
add esp, 0xc
mov dword [ebp - 0x1040], eax
mov eax, dword [ebp - 0x1040]
mov dword [ebp - 0x1044], eax
mov byte [ebp - 4], 2
push 0x4c08f8
mov ecx, dword [ebp - 0x1044]
push ecx
lea edx, [ebp - 0x102c]
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x1048], eax
mov eax, dword [ebp - 0x1048]
mov dword [ebp - 0x104c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x104c]
push ecx
lea ecx, [ebp - 0x1018]
call fcn.0040aae0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x102c]
call fcn.0040aac0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1028]
call fcn.0040aac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1024]
call fcn.0040aac0
lea edx, [ebp - 0x1018]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040aa20
mov eax, dword [ebp - 0x1030]
or eax, 1
mov dword [ebp - 0x1030], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1018]
call fcn.0040aac0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret
Function at 0x433b40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af423
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 2
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.00499250
add esp, 0xc
lea ecx, [ebp + 0x14]
call fcn.00436d80
push eax
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0x4c090c
lea ecx, [ebp + 0x10]
call fcn.00436d80
push eax
lea ecx, [ebp + 0xc]
call fcn.00436d80
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040aa40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040aa20
mov edx, dword [ebp - 0x224]
or edx, 1
mov dword [ebp - 0x224], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.0040aac0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.0040aac0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040aac0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret

Function at 0x434750
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x26c], ecx
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 0x40c]
call fcn.00407880
test eax, eax
jne 0x434787
xor eax, eax
xor edx, edx
jmp 0x43484d
push 0x254
push 0
lea ecx, [ebp - 0x260]
push ecx
call fcn.00499250
add esp, 0xc
lea edx, [ebp - 0x260]
push edx
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 0x60c]
push ecx
call fcn.00440790
mov ecx, eax
call fcn.00440920
mov edx, dword [ebp - 0x250]
or edx, dword [ebp - 0x24c]
jne 0x434841
mov eax, dword [ebp - 0x26c]
add eax, 0x408
push ecx
mov ecx, esp
mov dword [ebp - 0x268], esp
push eax
call fcn.0040aa20
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.00428000
add esp, 8
mov dword [ebp - 0x274], eax
lea ecx, [ebp - 0x264]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434836
lea ecx, [ebp - 0x264]
call fcn.00436d80
push eax
call fcn.004274e0
add esp, 4
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], edx
lea ecx, [ebp - 0x264]
call fcn.0040aac0
mov eax, dword [ebp - 0x250]
mov edx, dword [ebp - 0x24c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret
Function at 0x435040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push eax
call fcn.004338f0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
call fcn.0040aac0
cmp dword [ebp - 4], 0
je 0x43507c
mov eax, 1
jmp 0x43507e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x439750
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afc90
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4ccf60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x50]
call fcn.0040aa00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040aa00
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00439500
add esp, 8
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040aae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0040aac0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x5c]
push edx
call fcn.00439500
add esp, 8
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040aae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040aac0
push 0x3c
push 0
lea edx, [ebp - 0x4c]
push edx
call fcn.00499250
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
lea ecx, [ebp - 0x50]
call fcn.00436d80
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x10]
call fcn.00436d80
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
movzx ecx, word [ebp + 0x14]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x48], 0x440
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x439875
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0040aac0
mov eax, dword [ebp - 0x60]
jmp 0x43989a
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0040aac0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4398b0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.004175e0
mov dword [ebp - 0x428], eax
push 0
push 0x26
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43994e
push str.Internet_ExplorerIEXPLORE.EXE
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x43994e
push 0xa
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00410ea0
add esp, 4
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00410ea0
add esp, 4
push eax
call fcn.00439750
add esp, 0x10
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x439947
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x439950
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret
Function at 0x439960
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00499250
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x38], 0x400
mov dword [ebp - 0x30], 0x4bf69c
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4399b2
mov eax, dword [ebp + 8]
push eax
call fcn.004398b0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x4399e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aebd8
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4ccf60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x4d6c18
mov ecx, dword [ebp + 8]
call fcn.0040ab00
mov ecx, dword [ebp + 8]
call fcn.0040aef0
movzx eax, al
test eax, eax
jne 0x439a32
mov eax, 1
jmp 0x439ba8
mov ecx, 0x4d6ec0
call fcn.004399c0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040aa20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00436d80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040aed0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040aeb0
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
push str.VERYFY_DLL
push 0x79
call fcn.00440220
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
jne 0x439ab3
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040aac0
mov eax, dword [ebp - 0x28]
jmp 0x439ba8
jmp 0x439acf
mov dword [ebp - 4], 0
jmp 0x439aef
lea ecx, [ebp - 0x18]
call fcn.00436d80
push eax
call fcn.00424550
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0
je 0x439b76
push str.GetCIDW
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x439b76
push 0x64
push 0x4d6c18
call dword [ebp - 0x24]
test eax, eax
je 0x439b76
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x18]
call fcn.00436d80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4d6c18
mov ecx, dword [ebp + 8]
call fcn.0040ab00
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040aac0
mov eax, dword [ebp - 0x30]
jmp 0x439ba8
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x18]
call fcn.00436d80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040aac0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439d00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x44], 0
je 0x439d1c
mov eax, 1
jmp 0x439db0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3c], eax
push 0x224
call fcn.004862f0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x439d53
mov ecx, dword [ebp - 0xc]
call fcn.0043d480
mov dword [ebp - 0x14], eax
jmp 0x439d5a
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x34], ecx
push 0x2710
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x34]
call fcn.0043d690
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x439bc0
push 0
push 0
call fcn.0049790a
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x44], 1
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x43b3b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SystemCurrentControlSetControlWindows
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43b418
mov dword [ebp - 4], 4
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push 0
push str.CSDVersion
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43b40e
mov ecx, dword [ebp - 0x10]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
shr eax, 8
mov esp, ebp
pop ebp
ret
Function at 0x43b430
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor eax, eax
mov word [ebp - 8], ax
push 0x11c
push 0
lea ecx, [ebp - 0x130]
push ecx
call fcn.00499250
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43b4a1
mov dword [ebp - 0x130], 0x114
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x43b4a1
xor eax, eax
jmp 0x43b5d8
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x134], ecx
cmp dword [ebp - 0x134], 0
je 0x43b5c3
cmp dword [ebp - 0x134], 1
je 0x43b570
cmp dword [ebp - 0x134], 2
je 0x43b4d5
jmp 0x43b5ce
cmp dword [ebp - 0x12c], 4
ja 0x43b4e7
mov edx, 4
mov word [ebp - 8], dx
cmp dword [ebp - 0x12c], 5
jne 0x43b502
cmp dword [ebp - 0x128], 0
jne 0x43b502
mov eax, 5
mov word [ebp - 8], ax
cmp dword [ebp - 0x12c], 5
jne 0x43b51d
cmp dword [ebp - 0x128], 1
jne 0x43b51d
mov ecx, 6
mov word [ebp - 8], cx
cmp dword [ebp - 0x12c], 6
jne 0x43b538
cmp dword [ebp - 0x128], 0
jne 0x43b538
mov edx, 7
mov word [ebp - 8], dx
cmp dword [ebp - 0x12c], 6
jne 0x43b553
cmp dword [ebp - 0x128], 1
jne 0x43b553
mov eax, 8
mov word [ebp - 8], ax
cmp dword [ebp - 0x12c], 6
jne 0x43b56e
cmp dword [ebp - 0x128], 2
jne 0x43b56e
mov ecx, 9
mov word [ebp - 8], cx
jmp 0x43b5d4
cmp dword [ebp - 0x12c], 4
jne 0x43b58b
cmp dword [ebp - 0x128], 0
jne 0x43b58b
mov edx, 2
mov word [ebp - 8], dx
cmp dword [ebp - 0x12c], 4
jne 0x43b5a6
cmp dword [ebp - 0x128], 0xa
jne 0x43b5a6
mov eax, 2
mov word [ebp - 8], ax
cmp dword [ebp - 0x12c], 4
jne 0x43b5c1
cmp dword [ebp - 0x128], 0x5a
jne 0x43b5c1
mov ecx, 3
mov word [ebp - 8], cx
jmp 0x43b5d4
mov edx, 1
mov word [ebp - 8], dx
jmp 0x43b5d4
xor eax, eax
mov word [ebp - 8], ax
mov ax, word [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret