joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c820
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x38]
push ebx
push esi
push edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], edx
mov ebx, ecx
mov al, byte [ebp + 8]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 4]
call fcn.00408ba0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.0042c7f0
push ebp
push 0x414810
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x18]
call fcn.00403d10
push 0
mov eax, dword [ebx]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x18]
call fcn.00408cd0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x42c899
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42c8a5
mov eax, 0x5e92f0
call fcn.00441880
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.0040b160
mov esi, 0xffffffff
lea esi, [esi]
add esi, 1
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0xa0000000
mov eax, dword [ebp - 8]
test eax, eax
jne 0x42c8e1
mov eax, 0x5e92f0
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42c9e4
lea eax, [ebp - 0xc]
push eax
push ebx
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 0xc], eax
mov eax, ebx
xor ecx, ecx
xor edx, edx
call fcn.00463690
mov eax, dword [ebp - 0xc]
add eax, 1
call fcn.0040ffb0
mov edi, eax
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00463630
mov dword [ebp - 0x38], eax
cmp eax, dword [ebp - 0xc]
jne 0x42c9d4
mov dword [ebp - 0x34], 0xffffffff
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0x38], 0x100
jbe 0x42c9b0
mov eax, edi
cmp byte [eax], 0x4d
jne 0x42c964
cmp byte [eax + 1], 0x5a
jne 0x42c964
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x34], 0
nop
mov eax, edi
cmp byte [eax], 0xd0
jne 0x42c988
cmp byte [eax + 1], 0xcf
jne 0x42c988
cmp byte [eax + 2], 0x11
jne 0x42c988
cmp byte [eax + 3], 0xe0
jne 0x42c988
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0
test dword [ebp - 0x34], 0xffffffff
jne 0x42c9b0
mov edx, edi
mov eax, dword [ebp - 0x24]
call fcn.0042c460
mov dword [ebp - 0x30], eax
cmp eax, 0x1000
sete byte [ebp - 0x28]
mov esi, esi
mov al, byte [ebp - 0x2c]
test al, al
je 0x42c9d4
mov al, byte [ebp - 0x28]
test al, al
je 0x42c9d4
cmp dword [ebp - 0x38], 0x989680
jbe 0x42c9d4
test dword [ebp - 0x34], 0xffffffff
jne 0x42c9d4
mov byte [ebp - 0x20], 1
mov eax, edi
call fcn.0040ff90
mov eax, ebx
call fcn.00463700
jmp 0x42c9f7
push 0xbb8
call sub.kernel32.dll_Sleep
cmp esi, 0x3b
jb 0x42c8c0
mov al, byte [ebp - 0x20]
test al, al
je 0x42ca04
mov al, byte [ebp - 0x1c]
test al, al
nop
mov bl, byte [ebp - 0x20]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042c7f0
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42d4a0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x4c]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
xor eax, eax
push fcn.0042d470
push ebp
push 0x414810
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0x234
jne 0x42d508
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x5685d0]
call fcn.0040cd20
mov ecx, eax
mov edx, dword [0x5685d0]
mov eax, 0x58ed90
call fcn.004237d0
cmp dword [ebp - 4], 0x235
jne 0x42d534
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x5685f0]
call fcn.0040cd20
mov ecx, eax
mov edx, dword [0x5685f0]
mov eax, 0x58ed90
call fcn.004237d0
lea esi, [esi]
cmp dword [ebp - 4], 0x236
jne 0x42d560
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x5686c0]
call fcn.0040cd20
mov ecx, eax
mov edx, dword [0x5686c0]
mov eax, 0x58ed90
call fcn.004237d0
lea esi, [esi]
cmp dword [ebp - 4], 0x237
jne 0x42d58c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x568680]
call fcn.0040cd20
mov ecx, eax
mov edx, dword [0x568680]
mov eax, 0x58ed90
call fcn.004237d0
lea esi, [esi]
push 0xffffffffffffffff
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 8]
xor dl, dl
call fcn.0042d720
mov dword [ebp - 0x40], 3
jmp 0x42d6d0
xor eax, eax
push 0x598030
push ebp
push 0x414bf0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x568800]
call fcn.0040cd20
mov ecx, eax
mov edx, dword [0x568800]
mov eax, 0x58ed90
call fcn.004237d0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x42d5f7
mov eax, 0x5e92f0
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42d694
push 0
push 0x84083000
push 0
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42d61f
mov eax, 0x5e92f0
push eax
push dword [ebp - 0x18]
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x42d68c
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x13
push dword [ebp - 0x1c]
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x42d684
push 1
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x38]
xor cx, cx
mov edx, 0x14
call fcn.004095c0
mov eax, dword [ebp - 0x4c]
mov edx, 0x598048
call fcn.00409790
test eax, eax
jne 0x42d684
mov byte [ebp - 0xc], 1
jmp 0x42d69f
push dword [ebp - 0x1c]
call sub.wininet.dll_InternetCloseHandle
push dword [ebp - 0x18]
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x42d6c2
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x42d6de
sub dword [ebp - 0x40], 1
push 0x3e8
call sub.kernel32.dll_Sleep
cmp dword [ebp - 0x40], 0
ja 0x42d5b0
mov byte [ebp - 0xc], 0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042d470
mov al, byte [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42dd80
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x25c]
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 0x25c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x258], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
xor eax, eax
push fcn.0042dd50
push ebp
push 0x414810
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x25c]
mov dword [eax], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov edi, eax
mov esi, edx
lea ebx, [ebp - 8]
mov eax, ebx
call fcn.00403d10
push esi
push edi
mov edx, ebx
xor cx, cx
mov eax, 0xffffffff
call fcn.00409e10
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x56bbd0]
call fcn.0040cd20
mov ecx, eax
mov edx, dword [0x56bbd0]
mov eax, 0x58ed90
call fcn.004237d0
push 0
mov eax, 0x598104
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24c], eax
lea edx, [ebp - 0x254]
lea eax, [ebp - 0x10]
mov ecx, 2
call fcn.00408f60
push 0
push 0
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x42de68
mov eax, 0x5e92f0
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42de94
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp - 0x25c]
mov dword [edx], eax
mov eax, dword [ebp - 0x258]
xor edx, edx
call fcn.00408bd0
jmp 0x42df4e
push 0xc
lea eax, [ebp - 0x24]
push eax
call fcn.00446b20
push 0x224
lea eax, [ebp - 0x248]
push eax
call fcn.00446b20
mov dword [ebp - 0x244], 0x224
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x244]
lea eax, [ebp - 0x248]
push eax
push 0xc
lea eax, [ebp - 0x24]
push eax
push 0x2d1400
push ebx
call sub.kernel32.dll_DeviceIoControl
or eax, eax
jne 0x42df04
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp - 0x25c]
mov dword [edx], eax
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x258]
xor edx, edx
call fcn.00408bd0
jmp 0x42df4e
cmp dword [ebp - 0x230], 0
je 0x42df26
lea eax, [ebp - 0x248]
add eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x14]
xor dx, dx
call fcn.00409520
jmp 0x42df32
mov eax, dword [ebp - 0x25c]
mov dword [eax], 0xffffffff
cmp ebx, 0xffffffff
je 0x42df40
push ebx
call sub.kernel32.dll_CloseHandle
lea esi, [esi]
mov eax, dword [ebp - 0x258]
mov edx, dword [ebp - 0x14]
call fcn.00408bd0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042dd50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42e110
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x28]
push ebx
push esi
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.0042e0e0
push ebp
push 0x414810
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x28], 0x40
lea esi, [esi]
add byte [ebp - 0x28], 1
lea eax, [ebp - 0x10]
call fcn.00403d10
push 0
mov al, byte [ebp - 0x28]
lea ecx, [ebp - 0x14]
xor dx, dx
call fcn.004094c0
mov edx, dword [ebp - 0x14]
mov ecx, 0x598114
lea eax, [ebp - 0x10]
call fcn.00408cd0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x42e190
mov eax, 0x5e92f0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x42e210
push 0
mov eax, str.._
mov dword [ebp - 0x20], eax
mov al, byte [ebp - 0x28]
lea ecx, [ebp - 0x24]
xor dx, dx
call fcn.004094c0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, 0x598138
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x20]
lea eax, [ebp - 4]
mov ecx, 2
call fcn.00408f60
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0042dc60
mov ebx, eax
mov dword [ebp - 0xc], 0
cmp ebx, 0xffffffff
je 0x42e210
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, esi
call fcn.0042dd80
cmp dword [ebp - 0xc], 0
jne 0x42e210
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0042df90
lea esi, [esi]
cmp byte [ebp - 0x28], 0x5a
jb 0x42e158
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042e0e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e4c0
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.0042e4a0
push ebp
push 0x414810
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.004601d0
mov dword [ebp - 0xc], eax
xor eax, eax
push fcn.0042e490
push ebp
push 0x414810
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.004601c0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.00408bd0
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.0042e490
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x56bf50
call sub.shell32.dll_SHGetKnownFolderPath
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
xor dx, dx
call fcn.0040b220
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.00408bd0
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x14]
call fcn.0042e350
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.00408bd0
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]
add eax, 4
mov ecx, 2
call fcn.00408f60
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x56bc10]
call fcn.0040cd20
mov ecx, eax
mov edx, dword [0x56bc10]
mov eax, 0x58ed90
call fcn.004237d0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
call fcn.0042db90
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00408bd0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042e4a0
mov esp, ebp
pop ebp
ret
Function at 0x434b40
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x224]
push ebx
push esi
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x218], 0
xor eax, eax
push fcn.00434b20
push ebp
push 0x414810
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
xor edx, edx
call fcn.00408bd0
mov eax, dword [esi + 4]
cmp byte [eax + 5], 0
je 0x434ba4
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x2a
push 0
call sub.shell32.dll_SHGetFolderPathW
mov ebx, eax
jmp 0x434bba
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x1c
push 0
call sub.shell32.dll_SHGetFolderPathW
mov ebx, eax
test ebx, ebx
jne 0x434bd8
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
xor cx, cx
mov edx, 0x104
call fcn.0040b770
nop
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x2c]
cmp byte [eax + 0xb], 0
je 0x434c04
mov edx, dword [ebp - 4]
mov eax, esi
lea ecx, [ebp - 0x218]
call fcn.00434f60
mov edx, dword [ebp - 0x218]
lea eax, [ebp - 4]
call fcn.00408bd0
mov esi, esi
cmp dword [ebp - 4], 0
jne 0x434c14
xor bl, bl
jmp 0x434cae
lea edx, [ebp - 8]
mov eax, esi
call fcn.00434d00
mov eax, esi
lea edx, [ebp - 0x218]
call fcn.00434e30
mov edx, dword [ebp - 0x218]
mov eax, dword [esi + 4]
add eax, 0x10
call fcn.00408bd0
push 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x224], eax
mov eax, 0x598e50
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x21c], eax
lea edx, [ebp - 0x224]
mov eax, dword [esi + 4]
add eax, 0x20
mov ecx, 2
call fcn.00408f60
push 0
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x224], eax
mov eax, 0x598e50
mov dword [ebp - 0x220], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x21c], eax
lea edx, [ebp - 0x224]
mov eax, dword [esi + 4]
add eax, 0x1c
mov ecx, 2
call fcn.00408f60
mov bl, 1
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00434b20
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434f60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x228]
push ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 4], edx
mov ebx, ecx
mov eax, dword [ebp - 4]
call fcn.00408ba0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00434f30
push ebp
push 0x414810
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 1
mov eax, 0x59804c
call fcn.0042d8d0
mov edi, eax
call fcn.0042e6d0
mov ecx, dword [edi + 8]
mov edx, 1
mov eax, 0x5989c8
call fcn.00433b80
mov edi, eax
mov eax, dword [esi + 4]
cmp byte [eax + 5], 0
je 0x435025
mov eax, edi
mov edx, 1
call fcn.0042e730
mov esi, eax
lea ecx, [ebp - 8]
xor edx, edx
mov eax, esi
mov esi, dword [esi]
call dword [esi + 0x7c]
push 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x228], eax
mov eax, 0x598e50
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x220], eax
lea edx, [ebp - 0x228]
lea eax, [ebp - 0xc]
mov ecx, 2
call fcn.00408f60
jmp 0x4350a1
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x23
push 0
call sub.shell32.dll_SHGetFolderPathW
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
xor cx, cx
mov edx, 0x104
call fcn.0040b770
mov eax, edi
mov edx, 2
call fcn.0042e730
mov esi, eax
lea ecx, [ebp - 8]
mov edx, 1
mov eax, esi
mov esi, dword [esi]
call dword [esi + 0x7c]
push 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x228], eax
mov eax, 0x598e50
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x220], eax
lea edx, [ebp - 0x228]
lea eax, [ebp - 0xc]
mov ecx, 2
call fcn.00408f60
mov eax, dword [ebp - 0xc]
mov dl, 1
call fcn.004596a0
test al, al
jne 0x4350c8
mov eax, dword [ebp - 0xc]
call fcn.00459500
test al, al
jne 0x4350c8
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00408bd0
lea esi, [esi]
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.00408bd0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00434f30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a570
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
mov ebx, eax
mov esi, edx
mov dword [ebp - 4], 0
xor eax, eax
push fcn.0043a560
push ebp
push 0x414810
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xc], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x43a5aa
mov eax, dword [eax - 4]
add eax, 1
test eax, eax
je 0x43a5b8
mov byte [ebp - 8], 0
jmp 0x43a62e
mov byte [ebx + 4], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [0x568820]
call fcn.0040cd20
mov ecx, eax
mov edx, dword [0x568820]
mov eax, 0x58ed90
call fcn.004237d0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x43a5e8
mov eax, 0x5e92f0
push eax
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateMutexA
test eax, eax
jbe 0x43a628
mov byte [ebp - 0xc], 1
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
je 0x43a60c
mov byte [ebx + 4], 1
mov esi, esi
push dword [0x568a50]
mov edx, 0x5977d8
mov eax, dword [esi]
mov ecx, dword [eax + 0x3c]
mov eax, dword [esi]
add eax, 0x3c
call fcn.0040d2f0
mov esi, esi
mov al, byte [ebp - 0xc]
mov byte [ebp - 8], al
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0043a560
mov al, byte [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43aab0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x40]
push ebx
push esi
push edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
xor eax, eax
push fcn.0043aa80
push ebp
push 0x414810
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov edx, dword [edx + 0x3c]
mov ecx, dword [0x568b30]
mov eax, dword [ebp - 0x38]
call fcn.0043a000
test al, al
jne 0x43ab0c
mov byte [ebp - 0x30], 0
jmp 0x43ac76
mov byte [ebp - 0x3c], 1
mov dword [ebp - 0x28], 4
lea eax, [ebp - 0x28]
push eax
mov edx, 0x599100
lea eax, [ebp - 0x24]
mov ecx, 1
call fcn.0040ce50
mov ecx, 0x5990c8
mov edx, dword [0x568af0]
mov eax, dword [ebp - 0x24]
call fcn.0040ce30
mov ecx, 0x5990c8
mov edx, dword [0x568b00]
mov eax, dword [ebp - 0x24]
add eax, 4
call fcn.0040ce30
mov ecx, 0x5990c8
mov edx, dword [0x568b10]
mov eax, dword [ebp - 0x24]
add eax, 8
call fcn.0040ce30
mov ecx, 0x5990c8
mov edx, dword [0x568b20]
mov eax, dword [ebp - 0x24]
add eax, 0xc
call fcn.0040ce30
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0x2c]
cmp byte [eax + 0x10], 0
je 0x43ac38
mov dword [ebp - 0x40], 0
push 0x80000000
push 0
push 0
call fcn.00555330
mov edi, eax
test edi, edi
je 0x43ac38
mov eax, dword [ebp - 0x24]
call fcn.0040cd20
mov esi, eax
mov dword [ebp - 0x40], 0xffffffff
lea esi, [esi]
add dword [ebp - 0x40], 1
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x40]
mov eax, dword [eax + edx*4]
call fcn.0040cd20
mov ecx, eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x40]
mov edx, dword [eax + edx*4]
mov eax, 0x58ed90
call fcn.004237d0
push 0x80000000
push dword [ebp - 0x20]
push edi
call fcn.00555340
mov ebx, eax
test ebx, ebx
setne al
and eax, 0xff
neg eax
je 0x43ac30
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.00555350
test eax, eax
je 0x43ac30
cmp dword [ebp - 0x18], 4
jne 0x43ac35
mov byte [ebp - 0x3c], 0
lea esi, [esi]
jmp 0x43ac35
cmp esi, dword [ebp - 0x40]
ja 0x43abc8
lea esi, [esi]
mov al, byte [ebp - 0x3c]
test al, al
je 0x43ac70
mov ebx, 0x5977d8
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [0x568b40]
mov edx, dword [0x568b30]
mov eax, dword [ebp - 0x38]
call fcn.0043a130
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
lea eax, [ecx + 0x3c]
mov ecx, ebx
call fcn.0040ce30
mov esi, esi
mov al, byte [ebp - 0x3c]
mov byte [ebp - 0x30], al
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0043aa80
mov al, byte [ebp - 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43acc0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
xor eax, eax
push fcn.0043ac90
push ebp
push 0x414810
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
mov ecx, dword [0x568b60]
mov eax, esi
call fcn.0043a000
test al, al
jne 0x43ad1c
mov byte [ebp - 0x20], 0
jmp 0x43ae43
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x2c]
cmp byte [eax + 0xd], 0
jne 0x43ae14
lea eax, [ebp - 8]
push eax
mov eax, dword [0x568830]
call fcn.0040cd20
mov ecx, eax
mov edx, dword [0x568830]
mov eax, 0x58ed90
call fcn.004237d0
call sub.kernel32.dll_GetCommandLineW
lea ecx, [ebp - 4]
xor dx, dx
call fcn.0040b220
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, 1
call fcn.00409aa0
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x568b50]
call fcn.0040cd20
mov ecx, eax
mov edx, dword [0x568b50]
mov eax, 0x58ed90
call fcn.004237d0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov ecx, 1
call fcn.00409aa0
add ebx, eax
test ebx, ebx
jbe 0x43adad
mov eax, dword [esi + 0xc]
mov byte [eax + 5], 1
jmp 0x43ae14
xor bl, bl
mov byte [ebp - 0x24], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
or eax, eax
je 0x43ae04
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push 0x14
push dword [ebp - 0xc]
call sub.advapi32.dll_GetTokenInformation
or eax, eax
setne al
mov byte [ebp - 0x24], al
test al, al
je 0x43ae04
mov eax, dword [esi + 0xc]
cmp dword [ebp - 0x10], 0
seta byte [eax + 5]
lea esi, [esi]
cmp dword [ebp - 0xc], 0
jbe 0x43ae14
push dword [ebp - 0xc]
call sub.kernel32.dll_CloseHandle
mov esi, esi
mov ebx, 0x5977d8
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [0x568b70]
mov edx, dword [0x568b60]
mov eax, esi
call fcn.0043a130
mov edx, dword [ebp - 0x1c]
mov eax, dword [edi]
add eax, 0x3c
mov ecx, ebx
call fcn.0040ce30
mov byte [ebp - 0x20], 1
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.0043ac90
mov al, byte [ebp - 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret