joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435111
Capabilities:
Enumerate processes

Disassembly:
push 0x2a4
mov eax, 0x46daa4
call fcn.0043b363
mov esi, edx
mov dword [ebp - 0x2ac], esi
mov ebx, ecx
mov dword [ebp - 0x2a8], ebx
push 0x228
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2a4], 0x22c
push 0
push eax
call fcn.0043bad0
add esp, 0xc
lea eax, [ebp - 0x2a4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x43528f
mov esi, 0xfde9
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x280]
lea ecx, [ebp - 0x60]
call fcn.0040c9e3
mov edi, dword [ebp - 0x29c]
mov edx, str._____
mov ecx, ebx
mov dword [ebp - 0x2b0], eax
call fcn.0040ce94
push 0xa
mov ebx, eax
lea eax, [ebp - 0x30]
push 0x20
push eax
push edi
call fcn.00442def
add esp, 0x18
lea edx, [ebp - 0x30]
mov ecx, ebx
call fcn.0040ce94
mov edx, 0x48b098
mov ecx, eax
call fcn.0040ce94
mov edx, dword [ebp - 0x2b0]
mov ecx, eax
call fcn.0040ccfe
xor ebx, ebx
lea ecx, [ebp - 0x60]
push ebx
push 1
call fcn.00402d1f
cmp dword [ebp - 0x29c], ebx
je 0x43525c
push dword [ebp - 0x29c]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x43525c
mov edx, edi
lea ecx, [ebp - 0x78]
call fcn.00434698
push esi
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x48]
call fcn.0040ca59
or dword [ebp - 4], 0xffffffff
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x78]
call fcn.00402f3e
cmp dword [ebp - 0x38], ebx
je 0x43524a
mov ecx, dword [ebp - 0x2a8]
mov edx, 0x48ae38
call fcn.0040ce94
lea edx, [ebp - 0x48]
mov ecx, eax
call fcn.0040ccfe
mov edx, 0x48b0a4
mov ecx, eax
call fcn.0040ce94
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00402d1f
mov ebx, dword [ebp - 0x2a8]
mov edx, 0x48aaa4
mov ecx, ebx
call fcn.0040ce94
lea eax, [ebp - 0x2a4]
push eax
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x43516b
mov esi, dword [ebp - 0x2ac]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
call fcn.0043b30d
ret
Function at 0x43545f
Capabilities:
Get graphical window text

Disassembly:
push 0x42c
mov eax, 0x46db04
call fcn.0043b363
mov ebx, ecx
mov dword [ebp - 0x434], ebx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebx], eax
lea eax, [ebx + 4]
push 0xf
pop ecx
mov dword [ebp - 0x438], ebx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], edx
cmp ecx, 0x10
jb 0x435496
mov eax, dword [eax]
mov byte [eax], dl
mov dword [ebp - 4], edx
lea eax, [ebx + 0x1c]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], edx
cmp ecx, 0x10
jb 0x4354ab
mov eax, dword [eax]
mov byte [eax], dl
lea eax, [ebx + 0x34]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x4354c2
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebx + 0x58], edx
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x60], edx
mov byte [ebp - 4], 3
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
lea edi, [ebx + 0x4c]
push edi
push dword [ebx]
setne al
mov byte [ebx + 0x54], al
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebx + 0x50], eax
mov esi, 0x80
push esi
lea eax, [ebp - 0x110]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClassNameW]
mov esi, 0xfde9
lea edx, [ebp - 0x110]
push esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x430]
call fcn.0040c9e3
pop ecx
pop ecx
push eax
lea ecx, [ebx + 4]
call fcn.004062aa
push 0
push 1
lea ecx, [ebp - 0x430]
call fcn.00402d1f
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x430]
call fcn.0040c9e3
pop ecx
pop ecx
push eax
lea ecx, [ebx + 0x1c]
call fcn.004062aa
xor esi, esi
lea ecx, [ebp - 0x430]
push esi
push 1
call fcn.00402d1f
push dword [edi]
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4355d4
push 0x104
lea eax, [ebp - 0x418]
push eax
push esi
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x4355cd
lea eax, [ebp - 0x418]
push 0x5c
push eax
call fcn.0043d550
pop ecx
test eax, eax
lea esi, [ebp - 0x418]
pop ecx
lea edx, [eax + 2]
cmovne esi, edx
lea ecx, [ebx + 0x34]
push esi
call fcn.00402a2a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
call fcn.0043b30d
ret 4
Function at 0x4355de
Capabilities:
Enumerate gui resources

Disassembly:
push 0x230
mov eax, 0x46db4d
call fcn.0043b363
mov dword [ebp - 0x23c], ecx
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x435766
xor ebx, ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
push ecx
push ecx
lea eax, [ebp - 0x238]
mov dword [ebp - 4], ebx
push eax
call fcn.0040cc03
add esp, 0xc
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 1
push eax
push 0x4357ed
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x435750
mov ecx, ebx
mov dword [ebp - 0x218], 0x200
lea edx, [ebp - 0x210]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x214], edx
mov byte [ebp - 4], 2
mov edi, ebx
mov eax, dword [ebp - 0x224]
sub eax, dword [ebp - 0x228]
sar eax, 2
test eax, eax
je 0x435718
mov eax, dword [ebp - 0x234]
sub eax, dword [ebp - 0x238]
push 0x18
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x4356f0
mov esi, dword [ebp - 0x238]
cmp dword [esi + 0x14], 8
jb 0x4356bd
mov ecx, dword [esi]
jmp 0x4356bf
mov ecx, esi
mov eax, dword [ebp - 0x228]
mov eax, dword [eax + edi*4]
add eax, 0x34
cmp dword [eax + 0x14], 8
jb 0x4356d3
mov eax, dword [eax]
push ecx
push eax
call fcn.0044405b
pop ecx
pop ecx
test eax, eax
je 0x43576c
inc ebx
add esi, 0x18
cmp ebx, dword [ebp - 0x22c]
jb 0x4356b3
xor ebx, ebx
mov eax, dword [ebp - 0x224]
inc edi
sub eax, dword [ebp - 0x228]
sar eax, 2
cmp edi, eax
mov eax, dword [ebp - 0x22c]
jb 0x4356a9
mov edx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x21c]
push ecx
mov byte [edx + ecx], bl
mov edx, str.wndinfo.txt
push ecx
push dword [ebp - 0x214]
mov ecx, dword [ebp - 0x23c]
call fcn.00435ef5
lea eax, [ebp - 0x210]
add esp, 0xc
cmp dword [ebp - 0x214], eax
je 0x435750
push dword [ebp - 0x214]
call fcn.00440047
pop ecx
lea ecx, [ebp - 0x228]
call fcn.004020b8
lea ecx, [ebp - 0x238]
call fcn.00402213
call fcn.0043b30d
ret
mov edx, dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
xor ebx, ebx
push ebx
mov edx, dword [edx + edi*4]
call fcn.00435841
pop ecx
jmp 0x4356f2
Function at 0x435ef5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
push ecx
push dword [ecx + 4]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x3c]
push eax
push esi
push ebx
lea ecx, [ebp - 0x24]
call fcn.004361a5
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0x14
mov edi, eax
lea eax, [ebp - 0x34]
push 0
push eax
push 0x1e
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push dword [eax]
call esi
push 0
lea eax, [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0xa]
push eax
push ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
call esi
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x12]
push edi
push dword [ebx]
call esi
push edi
call fcn.00440047
pop ecx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebx + 8]
call fcn.0040cc9c
mov edx, dword [ebp - 0x12]
movzx esi, word [ebp - 0xa]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x34]
lea eax, [edx + 0x1e]
add eax, esi
add dword [ebx + 4], eax
lea eax, [esi + 0x1e]
add eax, edx
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0043a99c
mov esp, ebp
pop ebp
ret
Function at 0x435faa
Capabilities:
Get file size
Read file via mapping
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x2c], edx
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push eax
mov dword [ebp - 0x28], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x38], ebx
cmp ebx, 0xffffffff
jne 0x435fef
xor al, al
jmp 0x4360c7
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x436007
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x435fe8
push edi
push esi
push esi
push esi
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
push esi
mov edi, eax
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x24]
push dword [eax + 4]
push dword [ebp - 0x30]
push esi
push dword [ebp - 0x2c]
call fcn.004361a5
add esp, 0x14
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push dword [ebp - 0x38]
call esi
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push eax
push 0x1e
lea eax, [ebp - 0x24]
push eax
push dword [edi]
call esi
push 0
lea eax, [ebp - 0x3c]
push eax
movzx eax, word [ebp - 0xa]
push eax
push dword [ebp - 0x2c]
push dword [edi]
call esi
push 0
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x12]
push ebx
push dword [edi]
call esi
push ebx
call fcn.00440047
pop ecx
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 8]
call fcn.0040cc9c
mov edx, dword [ebp - 0x12]
movzx esi, word [ebp - 0xa]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x44]
lea eax, [edx + 0x1e]
add eax, esi
add dword [edi + 4], eax
lea eax, [edx + 0x1e]
add eax, esi
cmp ecx, eax
pop edi
sete al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a99c
mov esp, ebp
pop ebp
ret
Function at 0x4360d7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x20], edx
lea esi, [edi + 8]
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
test eax, eax
je 0x43613d
mov ecx, dword [esi]
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ecx + ebx*8 + 4]
push dword [ecx + ebx*8]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi]
push dword [eax + ebx*8]
call fcn.00440047
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 4]
pop ecx
mov ecx, dword [esi]
sub eax, ecx
sar eax, 3
add edx, dword [ecx + ebx*8 + 4]
inc ebx
mov dword [ebp - 0x20], edx
cmp ebx, eax
jb 0x436104
mov eax, dword [esi + 4]
xor ecx, ecx
sub eax, dword [esi]
sar eax, 3
mov word [ebp - 0x12], ax
mov word [ebp - 0x14], ax
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], eax
xor eax, eax
push eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x24]
push eax
push 0x16
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x6054b50
push eax
push dword [edi]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.0040cb07
push 0x14
push edi
call fcn.0043ae51
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a99c
mov esp, ebp
pop ebp
ret

Function at 0x44c4a2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044c165

Function at 0x44c4ad
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044c2e6
Function at 0x4582ed
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dd7a
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
lea ecx, [ebp - 0x70]
call fcn.00402fa8
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x6c]
push dword [eax]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.0040ca59
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.004016df
lea ecx, [ebp - 0x40]
call fcn.00402dd4
push eax
call fcn.00443da4
pop ecx
mov dword [ebp - 0x74], eax
push dword [ebp - 0x74]
push 0
push 0x100400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x45838a
push 0xffffffffffffffff
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xc]
call fcn.0040277e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call fcn.004021e0
mov byte [ebp - 4], 3
and dword [ebp - 0x64], 0
jmp 0x4583b5
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp + 0x10]
jge 0x4583ee
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0045a4b1
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
push dword [ebp - 0x78]
lea ecx, [ebp - 0x28]
call fcn.0040218f
lea ecx, [ebp - 0x58]
call fcn.00402e75
lea eax, [ebp - 0x28]
push eax
call fcn.0045a63d
pop ecx
jmp 0x4583ae
mov byte [ebp - 0x59], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00402e75
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402b1b
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a99c
mov esp, ebp
pop ebp
ret
Function at 0x458426
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x231], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0xffffffff
je 0x45853c
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x458529
and dword [ebp - 0x23c], 0
jmp 0x458498
mov eax, dword [ebp - 0x23c]
inc eax
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp + 8]
call fcn.004023ca
cmp dword [ebp - 0x23c], eax
jge 0x458501
push dword [ebp - 0x23c]
mov ecx, dword [ebp + 8]
call fcn.0040c4c3
mov ecx, eax
call fcn.0040277e
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4584ff
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4584eb
push dword [ebp - 0x228]
call fcn.00458550
pop ecx
mov byte [ebp - 0x231], al
jmp 0x4584f2
mov byte [ebp - 0x231], 1
movzx eax, byte [ebp - 0x231]
test eax, eax
je 0x4584ff
jmp 0x458501
jmp 0x45848b
movzx eax, byte [ebp - 0x231]
test eax, eax
je 0x45850e
jmp 0x458529
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x458482
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x238], 0
mov al, byte [ebp - 0x231]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a99c
mov esp, ebp
pop ebp
ret
Function at 0x458cfe
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
and dword [ebp - 0x230], 0
push 0x228
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.0043bad0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x238], eax
and dword [ebp - 0x23c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x238], 0
je 0x458db4
mov eax, dword [ebp - 0x240]
cmp eax, dword [ebp - 0x228]
jne 0x458d99
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x23c], eax
jmp 0x458db4
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x238], eax
jmp 0x458d74
cmp dword [ebp - 0x234], 0
je 0x458dd0
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a99c
mov esp, ebp
pop ebp
ret
Function at 0x458e22
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46de44
mov eax, dword fs:[0]
push eax
sub esp, 0x620
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x62c], ecx
mov eax, dword [ebp - 0x62c]
mov byte [eax + 4], 0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x458f21
lea ecx, [ebp - 0x21c]
call fcn.0040b7d5
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.0040277e
mov edx, eax
lea ecx, [ebp - 0x21c]
call fcn.0040ce94
mov dl, 0x20
mov ecx, eax
call fcn.0040cae2
lea ecx, [ebp - 0x21c]
call fcn.0040ca86
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 0x62c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x62c]
cmp dword [eax], 0
je 0x458eef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x458eef
mov eax, dword [ebp - 0x62c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x62c]
and dword [eax], 0
mov eax, dword [ebp - 0x62c]
mov byte [eax + 4], 1
jmp 0x458f0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x458f0d
mov eax, dword [ebp - 0x62c]
and dword [eax], 0
mov eax, dword [ebp - 0x62c]
mov byte [eax + 4], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0040b7c3
jmp 0x458ff7
lea ecx, [ebp - 0x628]
call fcn.0040b7d5
mov dword [ebp - 4], 1
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x458f57
mov edx, 0x483320
lea ecx, [ebp - 0x628]
call fcn.0040b793
mov edx, dword [ebp + 8]
mov ecx, eax
call fcn.0040c460
jmp 0x458f71
mov edx, str.Global_
lea ecx, [ebp - 0x628]
call fcn.0040b793
mov edx, dword [ebp + 8]
mov ecx, eax
call fcn.0040c460
lea ecx, [ebp - 0x628]
call fcn.0040c482
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x62c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x62c]
cmp dword [eax], 0
je 0x458fca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x458fca
mov eax, dword [ebp - 0x62c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x62c]
and dword [eax], 0
mov eax, dword [ebp - 0x62c]
mov byte [eax + 4], 1
jmp 0x458fe8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x458fe8
mov eax, dword [ebp - 0x62c]
and dword [eax], 0
mov eax, dword [ebp - 0x62c]
mov byte [eax + 4], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x628]
call fcn.0040b7c3
mov eax, dword [ebp - 0x62c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a99c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45a1a8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e04d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
call fcn.0045a298
pop ecx
movzx eax, al
test eax, eax
je 0x45a1e7
mov al, 1
jmp 0x45a27f
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.00402a51
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00402160
movzx eax, al
test eax, eax
je 0x45a21a
mov byte [ebp - 0x29], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402e75
mov al, byte [ebp - 0x29]
jmp 0x45a27f
lea ecx, [ebp - 0x28]
call fcn.00407970
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + eax*2 - 2]
cmp eax, 0x5c
je 0x45a23f
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.00420d6e
lea ecx, [ebp - 0x28]
call fcn.0040277e
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
je 0x45a263
cmp dword [ebp - 0x30], 2
je 0x45a263
and dword [ebp - 0x34], 0
jmp 0x45a26a
mov dword [ebp - 0x34], 1
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x2a], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402e75
mov al, byte [ebp - 0x2a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a99c
mov esp, ebp
pop ebp
ret
Function at 0x45a380
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x39], 0
and dword [ebp - 0x50], 0
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x45a3b5
xor al, al
jmp 0x45a4a3
push dword [ebp - 0x44]
call fcn.00442e34
pop ecx
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x45a42b
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x45a42b
and dword [ebp - 0x54], 0
and dword [ebp - 0x48], 0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x4833b4
push dword [ebp - 0x40]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x45a42b
push 0x34
push dword [ebp - 0x48]
lea eax, [ebp - 0x38]
push eax
call fcn.0043c9a0
add esp, 0xc
cmp dword [ebp - 0x38], 0xfeef04bd
jne 0x45a421
mov dword [ebp - 0x4c], 1
jmp 0x45a425
and dword [ebp - 0x4c], 0
mov al, byte [ebp - 0x4c]
mov byte [ebp - 0x39], al
push dword [ebp - 0x40]
call fcn.00440047
pop ecx
movzx eax, byte [ebp - 0x39]
test eax, eax
jne 0x45a440
xor al, al
jmp 0x45a4a3
mov eax, dword [ebp - 0x30]
shr eax, 0x10
and eax, 0xffff
movzx eax, ax
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp + 0xc]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x30]
and eax, 0xffff
movzx eax, ax
push 4
pop ecx
shl ecx, 0
mov edx, dword [ebp + 0xc]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x2c]
shr eax, 0x10
and eax, 0xffff
movzx eax, ax
push 4
pop ecx
shl ecx, 1
mov edx, dword [ebp + 0xc]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
movzx eax, ax
push 4
pop ecx
imul ecx, ecx, 3
mov edx, dword [ebp + 0xc]
mov dword [edx + ecx], eax
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a99c
mov esp, ebp
pop ebp
ret

Function at 0x45a63d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e0ad
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.004021e0
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00420d6e
push 0x1e
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.0043bad0
add esp, 0xc
and dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 3
lea ecx, [ebp - 0x28]
call fcn.0040277e
mov dword [ebp - 0x48], eax
and dword [ebp - 0x44], 0
mov eax, 0x614
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x45a6c8
mov dword [ebp - 0x30], 1
jmp 0x45a6cc
and dword [ebp - 0x30], 0
mov al, byte [ebp - 0x30]
mov byte [ebp - 0x29], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402e75
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a99c
mov esp, ebp
pop ebp
ret