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

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x25c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x254], 0
xor eax, eax
push fcn.0042f480
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
call fcn.00577a70
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x42f505
jmp 0x42f518
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x24c]
call fcn.0040a690
jmp 0x42f69e
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0xc]
call fcn.00577a80
test eax, eax
je 0x42f537
jmp 0x42f554
push dword [ebp - 0xc]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x24c]
call fcn.0040a690
jmp 0x42f69e
mov dword [ebp - 0x240], 0
mov esi, esi
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [ebp - 0x234]
je 0x42f56f
jmp 0x42f580
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x240], eax
jmp 0x42f595
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0xc]
call fcn.00577a90
test eax, eax
jne 0x42f560
jmp 0x42f595
push dword [ebp - 0xc]
call sub.kernel32.dll_CloseHandle
lea eax, [ebp - 0x250]
push eax
mov eax, dword [0x7219b0]
call fcn.0040cf30
mov ecx, eax
mov edx, dword [0x7219b0]
mov eax, 0x747e58
call fcn.004268c0
lea eax, [ebp - 0x254]
push eax
mov eax, dword [0x7219d0]
call fcn.0040cf30
mov ecx, eax
mov edx, dword [0x7219d0]
mov eax, 0x747e58
call fcn.004268c0
mov eax, dword [ebp - 0x250]
test eax, eax
jne 0x42f5f2
mov eax, 0x7a22f0
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x254]
test eax, eax
jne 0x42f60d
mov eax, 0x7a22f0
push eax
push dword [ebp - 0x258]
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x25c], eax
push dword [ebp - 0x240]
push 0
push 0x1000
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42f63c
jmp 0x42f690
mov dword [ebp - 0x248], 0x104
mov edx, dword [ebp - 0x248]
lea eax, [ebp - 0x24c]
call fcn.0040aaa0
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0x24c]
test eax, eax
jne 0x42f66d
mov eax, 0x7a22f0
push eax
push 0
push dword [ebp - 0x10]
call dword [ebp - 0x25c]
test al, al
jne 0x42f67f
jmp 0x42f690
mov edx, dword [ebp - 0x248]
lea eax, [ebp - 0x24c]
call fcn.0040aaa0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x24c]
call fcn.0040a690
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042f480
mov esp, ebp
pop ebp
ret
Function at 0x42f710
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x274]
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00408b90
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x264], 0
xor eax, eax
push fcn.0042f6c0
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x10], 0
push 0
push 2
call fcn.00577a70
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
je 0x42f78d
jmp 0x42f798
mov byte [ebp - 0xc], 0
jmp 0x42f8e1
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x240]
call fcn.00577a80
test eax, eax
je 0x42f7ba
jmp 0x42f7d0
push dword [ebp - 0x240]
call sub.kernel32.dll_CloseHandle
mov byte [ebp - 0xc], 0
jmp 0x42f8e1
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x264]
call fcn.00466480
mov edx, dword [ebp - 0x264]
lea ecx, [ebp - 0x250]
mov eax, 0x750d50
call fcn.0042b3e0
lea ecx, [ebp - 0x254]
lea edx, [ebp - 0x250]
mov eax, 0x750d50
call fcn.0042b350
lea esi, [esi]
push 1
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x218]
mov cx, 0
mov edx, 0x103
call fcn.0040b980
lea ecx, [ebp - 0x25c]
mov eax, dword [ebp - 0x260]
mov edx, 0
call fcn.00449540
mov edx, dword [ebp - 0x25c]
lea ecx, [ebp - 0x274]
mov eax, 0x750d50
call fcn.0042b3e0
lea edi, [ebp - 0x250]
lea esi, [ebp - 0x274]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x258]
lea edx, [ebp - 0x250]
mov eax, 0x750d50
call fcn.0042b350
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x254]
call fcn.00409780
test eax, 0xffffffff
je 0x42f89c
jmp 0x42f8b4
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [ebp - 0x234]
je 0x42f8ab
jmp 0x42f8af
jmp 0x42f8b4
mov byte [ebp - 0x10], 1
nop
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x240]
call fcn.00577a90
test eax, eax
jne 0x42f810
jmp 0x42f8d0
push dword [ebp - 0x240]
call sub.kernel32.dll_CloseHandle
mov al, byte [ebp - 0x10]
mov byte [ebp - 0xc], al
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.0042f6c0
mov al, byte [ebp - 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x432030
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x274]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.00432000
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, 0
call fcn.00408bc0
mov eax, dword [ebp - 8]
mov dword [eax], 0
mov edx, dword [ebp - 4]
mov eax, 0
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x264], eax
lea ebx, [ebp - 0x10]
mov eax, ebx
call fcn.00403d00
push dword [ebp - 0x264]
push dword [ebp - 0x268]
mov edx, ebx
mov cx, 0
mov eax, 0xffffffff
call fcn.00409e00
lea eax, [ebp - 0x14]
push eax
mov eax, dword [str.__Te_K]
call fcn.0040cf30
mov ecx, eax
mov edx, dword [str.__Te_K]
mov eax, 0x747e58
call fcn.004268c0
push 0
mov eax, 0x751540
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x26c], eax
lea edx, [ebp - 0x274]
lea eax, [ebp - 0x18]
mov ecx, 2
call fcn.00408f50
push 0
push 0
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x43212d
mov eax, 0x7a22f0
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x43213e
jmp 0x43215c
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, 0
call fcn.00408bc0
jmp 0x432237
push 0xc
lea eax, [ebp - 0x34]
push eax
call fcn.00453580
push 0x224
lea eax, [ebp - 0x258]
push eax
call fcn.00453580
mov dword [ebp - 0x254], 0x224
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x254]
lea eax, [ebp - 0x258]
push eax
push 0xc
lea eax, [ebp - 0x34]
push eax
push 0x2d1400
push dword [ebp - 0x24]
call sub.kernel32.dll_DeviceIoControl
or eax, eax
setne al
mov byte [ebp - 0x28], al
cmp byte [ebp - 0x28], 0
je 0x4321b8
jmp 0x4321dc
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp - 8]
mov dword [edx], eax
push dword [ebp - 0x24]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp + 8]
mov edx, 0
call fcn.00408bc0
jmp 0x432237
cmp dword [ebp - 0x240], 0
jne 0x4321e7
jmp 0x432210
lea edx, [ebp - 0x258]
mov eax, dword [ebp - 0x240]
lea eax, [edx + eax]
mov dword [ebp - 0x25c], eax
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x25c]
mov dx, 0
call fcn.00409510
jmp 0x432219
mov eax, dword [ebp - 8]
mov dword [eax], 0xffffffff
cmp dword [ebp - 0x24], 0xffffffff
jne 0x432221
jmp 0x43222c
push dword [ebp - 0x24]
call sub.kernel32.dll_CloseHandle
lea esi, [esi]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
call fcn.00408bc0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00432000
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x432420
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.004323f0
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 8], 0x40
lea esi, [esi]
mov al, byte [ebp - 8]
add al, 1
mov byte [ebp - 8], al
lea eax, [ebp - 0x1c]
call fcn.00403d00
push 0
mov al, byte [ebp - 8]
lea ecx, [ebp - 0x20]
mov dx, 0
call fcn.004094b0
mov edx, dword [ebp - 0x20]
mov ecx, 0x751550
lea eax, [ebp - 0x1c]
call fcn.00408cc0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4324a5
mov eax, 0x7a22f0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
je 0x4324b5
jmp 0x432530
push 0
mov eax, str.._
mov dword [ebp - 0x2c], eax
mov al, byte [ebp - 8]
lea ecx, [ebp - 0x30]
mov dx, 0
call fcn.004094b0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov eax, 0x751574
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0xc]
mov ecx, 2
call fcn.00408f50
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00431f10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x14], 0xffffffff
jne 0x432509
jmp 0x432530
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00432030
cmp dword [ebp - 0x18], 0
je 0x432523
jmp 0x432530
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00432270
mov esi, esi
cmp byte [ebp - 8], 0x5a
jae 0x43253b
jmp 0x432468
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004323f0
mov esp, ebp
pop ebp
ret
Function at 0x4328c0
Capabilities:
Get common file path
Get session user name

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
xor eax, eax
push fcn.004328a0
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
call sub.advapi32.dll_GetUserNameA
mov eax, dword [ebp - 8]
call fcn.0046c7a0
mov dword [ebp - 0xc], eax
xor eax, eax
push fcn.00432890
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call sub.advapi32.dll_GetUserNameA
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x14]
call fcn.0046c790
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
lea eax, [eax + 0x10]
call fcn.00408bc0
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00432890
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x725100
call sub.shell32.dll_SHGetKnownFolderPath
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
mov dx, 0
call fcn.0040b430
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
lea eax, [eax + 0x14]
call fcn.00408bc0
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x14]
call fcn.004326a0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
lea eax, [eax + 0x18]
call fcn.00408bc0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
lea eax, [eax + 4]
mov ecx, 2
call fcn.00408f50
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [str._2s]
call fcn.0040cf30
mov ecx, eax
mov edx, dword [str._2s]
mov eax, 0x747e58
call fcn.004268c0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
call fcn.00431e40
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
lea eax, [eax + 4]
call fcn.00408bc0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004328a0
mov esp, ebp
pop ebp
ret
Function at 0x43af00
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x234]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x228], 0
xor eax, eax
push fcn.0043aee0
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, 0
call fcn.00408bc0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax + 5], 0
jne 0x43af55
jmp 0x43af71
lea eax, [ebp - 0x220]
push eax
push 0
push 0
push 0x2a
push 0
call sub.shell32.dll_SHGetFolderPathW
mov dword [ebp - 0x224], eax
jmp 0x43af8b
lea eax, [ebp - 0x220]
push eax
push 0
push 0
push 0x1c
push 0
call sub.shell32.dll_SHGetFolderPathW
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x43af96
jmp 0x43afb0
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x220]
mov cx, 0
mov edx, 0x104
call fcn.0040b980
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
cmp byte [eax + 0xb], 0
jne 0x43afc0
jmp 0x43afe4
lea eax, [ebp - 0x228]
push eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0043b390
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 0x10]
call fcn.00408bc0
nop
cmp dword [ebp - 0x10], 0
je 0x43afec
jmp 0x43aff8
mov byte [ebp - 0xc], 0
jmp 0x43b0d0
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0043b120
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x228]
call fcn.0043b260
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
lea eax, [eax + 0x10]
call fcn.00408bc0
push 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x234], eax
mov eax, 0x751bf0
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x22c], eax
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
lea eax, [eax + 0x20]
mov ecx, 2
call fcn.00408f50
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x234], eax
mov eax, 0x751bf0
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x22c], eax
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
lea eax, [eax + 0x1c]
mov ecx, 2
call fcn.00408f50
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
mov dl, 1
call fcn.004661a0
test al, al
je 0x43b0b1
jmp 0x43b0cc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
call fcn.00466000
test al, al
je 0x43b0c4
jmp 0x43b0cc
mov byte [ebp - 0xc], 0
jmp 0x43b0d0
mov byte [ebp - 0xc], 1
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0043aee0
mov al, byte [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x43b390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x238]
push ebx
push esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
call fcn.00408b90
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
xor eax, eax
push fcn.0043b360
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 1
mov eax, 0x751484
call fcn.00431b30
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.00432ae0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov edx, 1
mov eax, 0x751600
call fcn.004391c0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax + 5], 0
jne 0x43b414
jmp 0x43b469
mov eax, dword [ebp - 0x14]
mov edx, 1
call fcn.00432b50
mov ebx, eax
lea ecx, [ebp - 0x18]
mov edx, 0
mov eax, ebx
mov esi, dword [ebx]
call dword [esi + 0x7c]
push 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x238], eax
mov eax, 0x751bf0
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x230], eax
lea edx, [ebp - 0x238]
lea eax, [ebp - 0x1c]
mov ecx, 2
call fcn.00408f50
jmp 0x43b4e7
lea eax, [ebp - 0x22c]
push eax
push 0
push 0
push 0x23
push 0
call sub.shell32.dll_SHGetFolderPathW
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x22c]
mov cx, 0
mov edx, 0x104
call fcn.0040b980
mov eax, dword [ebp - 0x14]
mov edx, 2
call fcn.00432b50
mov ebx, eax
lea ecx, [ebp - 0x18]
mov edx, 1
mov eax, ebx
mov esi, dword [ebx]
call dword [esi + 0x7c]
push 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x238], eax
mov eax, 0x751bf0
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x230], eax
lea edx, [ebp - 0x238]
lea eax, [ebp - 0x1c]
mov ecx, 2
call fcn.00408f50
mov eax, dword [ebp - 0x1c]
mov dl, 1
call fcn.004661a0
test al, al
je 0x43b4f7
jmp 0x43b514
mov eax, dword [ebp - 0x1c]
call fcn.00466000
test al, al
je 0x43b505
jmp 0x43b514
lea eax, [ebp - 0x1c]
mov edx, 0
call fcn.00408bc0
mov esi, esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
call fcn.00408bc0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0043b360
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x440e70
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], 0
xor eax, eax
push fcn.00440e60
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x440ead
mov eax, dword [eax - 4]
add eax, 1
test eax, 0xffffffff
jne 0x440eb6
jmp 0x440ec0
mov byte [ebp - 0xc], 0
jmp 0x440f4a
mov eax, dword [ebp - 8]
mov byte [eax + 4], 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x721880]
call fcn.0040cf30
mov ecx, eax
mov edx, dword [0x721880]
mov eax, 0x747e58
call fcn.004268c0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x440ef3
mov eax, 0x7a22f0
push eax
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateMutexA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
ja 0x440f08
jmp 0x440f44
mov byte [ebp - 0x14], 1
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x440f1a
jmp 0x440f24
mov eax, dword [ebp - 8]
mov byte [eax + 4], 1
lea esi, [esi]
push dword [0x721b70]
mov edx, 0x750c80
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
lea eax, [eax + 0x40]
call fcn.0040d500
mov al, byte [ebp - 0x14]
mov byte [ebp - 0xc], al
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00440e60
mov al, byte [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4416f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x34]
push ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
xor eax, eax
push fcn.004416c0
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x721890]
call fcn.0040cf30
mov ecx, eax
mov edx, dword [0x721890]
mov eax, 0x747e58
call fcn.004268c0
call sub.kernel32.dll_GetCommandLineW
lea ecx, [ebp - 0x10]
mov dx, 0
call fcn.0040b430
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, 1
call fcn.00409a90
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [0x721c80]
call fcn.0040cf30
mov ecx, eax
mov edx, dword [0x721c80]
mov eax, 0x747e58
call fcn.004268c0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov ecx, 1
call fcn.00409a90
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
ja 0x4417af
jmp 0x4417be
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov byte [eax + 5], 1
jmp 0x441838
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
or eax, eax
setne al
mov byte [ebp - 0x18], al
cmp byte [ebp - 0x18], 0
jne 0x4417ee
jmp 0x441828
mov dword [ebp - 0x2c], 4
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x24]
push eax
push 0x14
push dword [ebp - 0x20]
call sub.advapi32.dll_GetTokenInformation
or eax, eax
setne al
mov byte [ebp - 0x1c], al
cmp byte [ebp - 0x1c], 0
jne 0x441819
jmp 0x441828
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
cmp dword [ebp - 0x24], 0
seta byte [eax + 5]
nop
cmp dword [ebp - 0x20], 0
ja 0x441830
jmp 0x441838
push dword [ebp - 0x20]
call sub.kernel32.dll_CloseHandle
mov ebx, 0x750c80
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [0x721ca0]
mov edx, dword [0x721c90]
mov eax, dword [ebp - 8]
call fcn.004402c0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
lea eax, [eax + 0x40]
mov ecx, ebx
call fcn.0040d040
mov byte [ebp - 0xc], 1
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004416c0
mov al, byte [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446320
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 8]
lea edi, [ebp - 0x114]
mov esi, eax
mov ecx, 0x3e
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xc]
push dword [eax]
call fcn.00446250
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
movzx eax, word [eax + 6]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov edx, 0x752688
mov eax, 0x7a3650
mov ecx, 1
call fcn.0040d060
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
movzx ebx, word [eax + 6]
sub ebx, 1
cmp ebx, 0
jge 0x44638f
jmp 0x4464cc
mov dword [ebp - 0x18], 0xffffffff
mov esi, esi
mov eax, dword [ebp - 0x18]
lea eax, [eax + 1]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x10], 0
je 0x4463af
jmp 0x446435
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x4463c0
jmp 0x446424
push 0x40
push 0x1000
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0xc]
mov eax, 0
push eax
push edx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
call fcn.004460e0
push eax
call sub.kernel32.dll_VirtualAlloc
mov dword [ebp - 0x10], eax
mov ecx, dword [0x7a3650]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*8], edx
mov eax, dword [0x7a3650]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx*8 + 4], ecx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov edx, 0
mov dword [ecx + 8], eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00453580
mov esi, esi
push 0
push 0x28
lea eax, [ebp - 0x1c]
call fcn.00446080
jmp 0x4464c2
push 0x40
push 0x1000
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0xc]
mov eax, 0
push eax
push edx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
call fcn.004460e0
push eax
call sub.kernel32.dll_VirtualAlloc
mov dword [ebp - 0x10], eax
mov eax, dword [0x7a3650]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax + edx*8], ecx
mov edx, dword [0x7a3650]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edx + ecx*8 + 4], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x14]
mov eax, 0
push eax
push edx
mov eax, dword [ebp - 4]
call fcn.004460e0
push eax
push dword [ebp - 0x10]
call fcn.00453560
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov edx, 0
mov dword [ecx + 8], eax
push 0
push 0x28
lea eax, [ebp - 0x1c]
call fcn.00446080
cmp ebx, dword [ebp - 0x18]
jle 0x4464cc
jmp 0x446398
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret