joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad84f
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4e23d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
lea ecx, [esi + 0xa4]
push str.embedded
call fcn.0040ba60
push str.computerz_quit
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [esi + 0x128], eax
mov ecx, dword [0x4e58ec]
test ecx, ecx
jne 0x4237e6
push 0x4e1094
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4e58ec], 0
jne 0x4237d5
push 0x40
call fcn.0043d0d0
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4237bf
mov ecx, eax
call fcn.00412fc0
jmp 0x4237c1
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x4e58ec], eax
push 0x4e1094
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x4e58ec]
call fcn.00413620
lea eax, [ebp - 0x38]
push eax
call fcn.0042ad80
mov edx, dword [ebp - 0x24]
add esp, 4
cmp edx, 0x10
jb 0x42382b
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x423821
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423923
push edx
push ecx
call fcn.0045bfb6
add esp, 8
push 0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 1
push eax
lea eax, [esi + 0x7c]
mov dword [ebp - 0x4c], 0
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call sub.gdiplus.dll_GdiplusStartup
push 0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push 0
push 0x30
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push dword [esi + 4]
mov edi, 0x1fe
mov ebx, 0x14a
call fcn.0041d590
mov ecx, eax
call fcn.004121b0
fstp qword [ebp - 0x40]
movsd xmm0, qword [ebp - 0x40]
comisd xmm0, xmmword [0x4b8820]
jbe 0x4238a2
mov edi, 0x3fc
mov ebx, 0x294
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cdq
sub eax, edx
push 8
push ebx
sar eax, 1
push edi
shr ebx, 1
sub eax, ebx
shr edi, 1
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
sub eax, edi
push eax
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x4b735c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, esi
call fcn.0041e150
push dword [esi + 4]
call fcn.0041d590
mov ecx, eax
call fcn.00412470
mov ecx, esi
call fcn.0041ab90
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045c263
mov esp, ebp
pop ebp
ret
call fcn.004844a9
int3
Function at 0x425390
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor bl, bl
mov dword [ebp - 4], 0
cmp dword [0x4e10ac], 0
je 0x42546c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4b6b34
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x425461
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x30]
push ecx
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call eax
mov ax, word [ebp - 0x30]
cmp ax, 9
je 0x425457
cmp ax, 6
je 0x425457
cmp ax, 0xc
je 0x425457
push str.IsWow64Process2
push 0x4b6b70
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x42544e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x42544e
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 8], cx
sete al
mov dword [0x4e58f0], eax
jmp 0x425461
xor eax, eax
mov dword [0x4e58f0], eax
jmp 0x425461
mov dword [0x4e58f0], 1
mov dword [0x4e10ac], 0
pop esi
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x425477
mov ecx, dword [ecx]
cmp dword [0x4e58f0], 0
lea eax, [ebp - 4]
push eax
mov edx, 2
mov eax, 0x102
cmove eax, edx
push eax
push 0
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4254c7
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4254d5
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x4254b2
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
mov eax, dword [ebp - 4]
test eax, eax
je 0x4254d5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4284a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x4e23d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x4bc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0x3e8
push 0
push eax
mov dword [ebp - 0x4c4], esi
mov dword [ebp - 0x4c0], ebx
call fcn.004813a0
push 0xc8
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.004813a0
add esp, 0x18
test esi, esi
je 0x4285a0
test ebx, ebx
je 0x4285a0
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x4285a0
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x4285a0
xor ecx, ecx
movzx edx, ax
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x42858b
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 0x4c8], eax
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0x4c4]
call fcn.0048e628
add esp, 0xc
test eax, eax
je 0x4285b3
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x428531
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045c263
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x428609
cmp edi, 0x7fffffff
ja 0x428600
mov ecx, ebx
mov esi, SysReAllocString
lea ebx, [ebp - 0xc]
sub esi, edi
mov edx, edi
sub ebx, ecx
nop
lea eax, [esi + edx]
test eax, eax
je 0x4285eb
movzx eax, word [ebx + ecx]
test ax, ax
je 0x4285eb
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4285d0
mov ebx, dword [ebp - 0x4c0]
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x428609
test edi, edi
je 0x428609
xor eax, eax
mov word [ebx], ax
xor ecx, ecx
test edi, edi
je 0x428617
cmp edi, 0x7fffffff
jbe 0x42861c
mov ecx, 0x80070057
test ecx, ecx
js 0x42864e
mov esi, edi
mov eax, ebx
test edi, edi
je 0x428636
cmp word [eax], 0
je 0x428636
add eax, 2
sub esi, 1
jne 0x428628
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x428650
xor esi, esi
test ecx, ecx
js 0x4286a6
mov edx, edi
lea ecx, [ebx + esi*2]
sub edx, esi
je 0x428699
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7ffffffe
add esi, eax
mov eax, dword [ebp - 0x4c8]
add eax, eax
sub eax, ecx
add edi, eax
nop word [eax + eax]
test esi, esi
je 0x428699
movzx eax, word [edi + ecx]
test ax, ax
je 0x428699
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x428680
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045c263
mov esp, ebp
pop ebp
ret
Function at 0x42ab50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4e23d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004813a0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42abc8
push edi
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x228], edi
je 0x42abc1
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42aba6
jmp 0x42abc7
mov ebx, dword [ebp - 0x218]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0045c263
mov esp, ebp
pop ebp
ret

Function at 0x42abf0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0045c710
mov eax, dword [0x4e23d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1008], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test eax, eax
je 0x42ad60
mov edi, dword [ebp + 0x10]
cmp edi, 0x64
jb 0x42ad60
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x42ac55
push ebx
push eax
push 0x1010
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x42ad60
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004813a0
add esp, 0xc
lea eax, [ebp - 0x804]
xor ebx, ebx
push 0x400
push eax
push ebx
push esi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x42ad18
push 0x800
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.004813a0
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.004814fa
add esp, 0x14
test eax, eax
je 0x42acd5
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x42acd5
lea ecx, [ebx + 1]
jmp 0x42acd7
xor ecx, ecx
test ecx, ecx
lea edx, [ebp - 0x1004]
push edi
lea eax, [ebp - 0x804]
cmovne eax, edx
push eax
push edi
push dword [ebp - 0x1008]
call fcn.0048e61d
add esp, 0x10
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045c263
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
je 0x42ad46
push edi
push dword [ebp - 0x1008]
lea eax, [ebp - 0x804]
push eax
call fcn.004284a0
add esp, 0xc
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045c263
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045c263
mov esp, ebp
pop ebp
ret
Function at 0x42b370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae5f2
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4e23d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x234], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004813a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b400
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0040db90
cmp dword [ebp - 0x220], 0
mov dword [ebp - 0x234], 1
je 0x42b447
push 0xd
push str._schtasks.exe
lea ecx, [ebp - 0x230]
call fcn.0042c4a0
cmp dword [esi + 0x14], 8
jb 0x42b44f
mov esi, dword [esi]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push 0x1388
push 1
push 0
push 0
push esi
push eax
call fcn.00446b20
mov edx, dword [ebp - 0x21c]
add esp, 0x1c
cmp edx, 8
jb 0x42b4b6
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b4ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b4d0
push edx
push ecx
call fcn.0045bfb6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045c263
mov esp, ebp
pop ebp
ret
call fcn.004844a9
int3
Function at 0x42bae0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor bl, bl
mov dword [ebp - 4], 0
cmp dword [0x4e10ac], 0
je 0x42bbbc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4b6b34
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42bbb1
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x30]
push ecx
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call eax
mov ax, word [ebp - 0x30]
cmp ax, 9
je 0x42bba7
cmp ax, 6
je 0x42bba7
cmp ax, 0xc
je 0x42bba7
push str.IsWow64Process2
push 0x4b6b70
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x42bb9e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x42bb9e
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 8], cx
sete al
mov dword [0x4e58f0], eax
jmp 0x42bbb1
xor eax, eax
mov dword [0x4e58f0], eax
jmp 0x42bbb1
mov dword [0x4e58f0], 1
mov dword [0x4e10ac], 0
pop esi
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x42bbc7
mov ecx, dword [ecx]
cmp dword [0x4e58f0], 0
lea eax, [ebp - 4]
push eax
mov edx, 2
mov eax, 0x102
cmove eax, edx
push eax
push 0
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42bc22
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x42bc30
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x42bc02
mov eax, dword [eax]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
mov eax, dword [ebp - 4]
test eax, eax
je 0x42bc30
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ecd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.0045c710
mov eax, dword [0x4e23d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.004813a0
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x42edc6
test edi, edi
je 0x42edc6
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x42edc6
cmp eax, 0x3fff
ja 0x42edc6
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42edc6
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x4b6704
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42edc6
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.004813a0
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [esi - 1]
push eax
push edi
call fcn.004315f0
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045c263
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0045c263
mov esp, ebp
pop ebp
ret
Function at 0x42fec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aec26
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4e23d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x42ff6c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x42ff6c
call fcn.0042d470
mov esi, eax
jmp 0x43005c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x42ff8f
call fcn.0042d470
jmp 0x43004f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x42ffad
call fcn.0042d470
jmp 0x43004f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x42ffce
mov esi, 0x8007000e
jmp 0x430051
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0042d340
jmp 0x42fff8
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x43000f
mov esi, 0x8007000e
jmp 0x430051
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x43002f
call fcn.0042d470
jmp 0x43004f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0042fd20
mov esi, eax
test edi, edi
je 0x43005c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x430080
lea ecx, [ebp - 0x418]
call fcn.0042ecc0
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045c263
mov esp, ebp
pop ebp
ret 0x10
Function at 0x431fb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x432021
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x432021
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x432021
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x432021
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x43201b
push esi
push ebx
push edi
call fcn.004808a0
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x43201b
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b210
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af37a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4e23d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.0040b110
mov ecx, eax
test ecx, ecx
je 0x43b3d4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.0040b110
mov ecx, eax
test ecx, ecx
je 0x43b3de
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.0040b110
mov ecx, eax
test ecx, ecx
je 0x43b3e8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov dword [esi + 0x10], eax
test edx, edx
jne 0x43b2f2
xor ecx, ecx
jmp 0x43b310
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b300
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.0040ba60
push edi
mov ecx, ebx
call fcn.0041a5f0
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x43b32c
xor ecx, ecx
jmp 0x43b344
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b334
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.0040ba60
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.0043bd50
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.0041a5f0
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b385
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x43b3be
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x43b3be
cmp dword [esi + 0x10], 0
je 0x43b3b5
push dword [edi]
call fcn.0048fae2
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00406e10
push 0x80004005
call fcn.00406e10
push 0x80004005
call fcn.00406e10
int3