joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fe70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x47c5a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.00440e30
push 0x105
lea ecx, [ebp - 0x214]
push 0
push ecx
call fcn.00440e30
push str.iNodeLicense.ini
push esi
lea edx, [ebp - 0x214]
push 0x46c9fc
push edx
call fcn.00440eaa
add esp, 0x28
xor eax, eax
pop esi
mov cl, byte [ebp + eax - 0x214]
mov byte [ebp + eax - 0x10c], cl
inc eax
test cl, cl
jne 0x42fed1
lea eax, [ebp - 0x10c]
push eax
call fcn.004365a0
add esp, 4
test eax, eax
jne 0x42ff05
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe5a
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10c]
push ecx
push 0xffffffffffffffff
push str.IsExtendedLic
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe5a
mov esp, ebp
pop ebp
ret

Function at 0x4303e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x47c5a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.00440e30
push 0x105
lea ecx, [ebp - 0x214]
push 0
push ecx
call fcn.00440e30
push str.iNodeLicense.ini
push esi
lea edx, [ebp - 0x214]
push 0x46c9fc
push edx
call fcn.00440eaa
add esp, 0x28
xor eax, eax
pop esi
mov cl, byte [ebp + eax - 0x214]
mov byte [ebp + eax - 0x10c], cl
inc eax
test cl, cl
jne 0x430441
lea eax, [ebp - 0x10c]
push eax
call fcn.004365a0
add esp, 4
test eax, eax
jne 0x430475
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe5a
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10c]
push ecx
push 0
push str.Is3ComLic
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe5a
mov esp, ebp
pop ebp
ret

Function at 0x430690
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x47c5a8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x545ee8], 0
jne 0x430717
push 0x105
push 0x545ee8
push str.CommonProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x430717
push 0x105
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec eax
cmp eax, 0x103
ja 0x43072a
mov cl, byte [ebp - 0x10c]
push esi
push edi
mov edi, 0x545ee8
mov byte [0x545ee8], cl
mov byte [0x545ee9], 0
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x430700
mov ecx, 7
mov esi, str.:Program_FilesCommon_Files
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe5a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0043fe5a
mov esp, ebp
pop ebp
ret
Function at 0x430750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430760
push ebx
mov ebx, dword [ebp + 0x10]
sub eax, edx
xor ecx, ecx
push edi
mov edi, eax
test ebx, ebx
je 0x430796
push esi
mov esi, dword [ebp + 0xc]
lea ebx, [ebx]
xor edx, edx
mov eax, ecx
div edi
mov eax, dword [ebp + 8]
inc ecx
mov dl, byte [edx + eax]
xor byte [ecx + esi - 1], dl
cmp ecx, ebx
jb 0x430780
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x430880
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
xor edi, edi
push ecx
mov dword [ebp - 0x10], edi
xor ebx, ebx
mov dword [ebp - 8], edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x4308bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov edx, 1
mov word [eax + 4], dx
jmp 0x4308d7
push esi
call fcn.004423ec
mov edi, eax
add esp, 4
test edi, edi
jne 0x4308f2
mov ecx, 2
mov eax, dword [ebp + 0xc]
mov word [eax + 4], cx
mov esi, dword [ebp - 0x10]
mov dword [eax], ebx
test edi, edi
je 0x4308e9
push edi
call fcn.004423e1
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push edi
push esi
push 0
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x430912
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, 3
jmp 0x4308d0
xor eax, eax
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x46cb94
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x430940
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, 4
jmp 0x4308d0
mov eax, dword [ebp - 4]
movzx edx, word [eax + 0xa]
mov ecx, dword [ebp + 0xc]
mov word [ecx], dx
movzx edx, word [eax + 8]
mov word [ecx + 2], dx
movzx edx, word [eax + 0xe]
mov word [ecx + 4], dx
mov ax, word [eax + 0xc]
mov word [ecx + 6], ax
mov esi, 1
jmp 0x4308dc
Function at 0x4365a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x47c5a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x144]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4365dd
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe5a
mov esp, ebp
pop ebp
ret
test byte [ebp - 0x144], 0x10
push edi
je 0x436607
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [ecx]
lea edx, [ebp - 0x144]
push edx
push esi
call edi
test eax, eax
je 0x436623
test byte [ebp - 0x144], 0x10
jne 0x4365f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe5a
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0043fe5a
mov esp, ebp
pop ebp
ret

Function at 0x436640
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x47c5a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x144]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43667d
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe5a
mov esp, ebp
pop ebp
ret
test byte [ebp - 0x144], 0x10
push edi
jne 0x4366a7
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [ecx]
lea edx, [ebp - 0x144]
push edx
push esi
call edi
test eax, eax
je 0x4366c3
test byte [ebp - 0x144], 0x10
je 0x436690
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe5a
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0043fe5a
mov esp, ebp
pop ebp
ret
Function at 0x436be0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004365a0
add esp, 4
test eax, eax
jne 0x436bfc
mov eax, 1
pop esi
pop ebp
ret
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop ebp
ret

Function at 0x436c20
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x47c5a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call fcn.00440e30
push edi
push esi
lea ecx, [ebp - 0x20c]
push 0x46c9fc
push ecx
call fcn.00440eaa
add esp, 0x1c
lea edx, [ebp - 0x34c]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x436d09
push 0x103
lea ecx, [ebp - 0x107]
push ebx
push ecx
mov byte [ebp - 0x108], bl
call fcn.00440e30
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 0xc
lea esp, [esp]
test byte [ebp - 0x34c], 0x10
jne 0x436cf0
lea edx, [ebp - 0x320]
push edx
push esi
lea eax, [ebp - 0x108]
push 0x46c9fc
push eax
call fcn.00440eaa
add esp, 0x10
push 0x80
lea ecx, [ebp - 0x108]
push ecx
call ebx
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x34c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x436cb0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043fe5a
mov esp, ebp
pop ebp
ret

Function at 0x436da0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], 0
call fcn.00436d80
mov ecx, dword [ebp + 8]
add esp, 8
push 0
lea eax, [ebp - 4]
push eax
push esi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x436de0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0
lea eax, [ebp - 4]
push eax
push esi
push edi
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436e23
cmp dword [ebp - 4], esi
jne 0x436e23
push esi
push edi
call fcn.00436d80
add esp, 8
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x436ea0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00436640
add esp, 4
test eax, eax
jne 0x436ebc
mov eax, 1
pop esi
pop ebp
ret
push 0x46cb38
push esi
call fcn.00436c20
push esi
call fcn.00436ee0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
pop ebp
ret
Function at 0x436ee0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x47c5a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x213]
push 0
push eax
mov byte [ebp - 0x214], 0
call fcn.00440e30
push 0x46cb38
push edi
lea ecx, [ebp - 0x214]
push 0x46c9fc
push ecx
call fcn.00440eaa
add esp, 0x1c
lea edx, [ebp - 0x354]
push edx
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x43702e
push 0x104
lea ecx, [ebp - 0x10b]
push 0
push ecx
mov byte [ebp - 0x10c], 0
call fcn.00440e30
add esp, 0xc
jmp 0x436f70
test byte [ebp - 0x354], 0x10
je 0x437011
mov ecx, 0x46c450
lea eax, [ebp - 0x328]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x436fa8
test dl, dl
je 0x436fa4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x436fa8
add eax, 2
add ecx, 2
test dl, dl
jne 0x436f88
xor eax, eax
jmp 0x436fad
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x437011
mov ecx, 0x46f390
lea eax, [ebp - 0x328]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x436fe0
test dl, dl
je 0x436fdc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x436fe0
add eax, 2
add ecx, 2
test dl, dl
jne 0x436fc0
xor eax, eax
jmp 0x436fe5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x437011
lea edx, [ebp - 0x328]
push edx
push edi
lea eax, [ebp - 0x10c]
push 0x46c9fc
push eax
call fcn.00440eaa
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00436ea0
add esp, 0x14
lea edx, [ebp - 0x354]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x436f70
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043fe5a
mov esp, ebp
pop ebp
ret

Function at 0x437ba0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00436640
add esp, 4
test eax, eax
je 0x437bc9
push 0x46cb38
push esi
call fcn.00436c20
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
pop ebp
ret
Function at 0x4384e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46866b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x47c5a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00464ca8
push 4
mov dword [ebp - 4], 0
call fcn.004408e7
mov edi, eax
add esp, 4
test edi, edi
je 0x438560
call fcn.004647ba
mov dword [edi], eax
call fcn.004644fb
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00464364
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x438556
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0046438c
jmp 0x438562
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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
Function at 0x43b640
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468c2b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x47c5a8]
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 eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push 0x105
lea ecx, [ebp - 0x21c]
push ecx
mov dword [ebp - 0x23c], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec eax
cmp eax, 0x103
ja 0x43b741
xor ebx, ebx
lea eax, [ebp - 0x21c]
mov byte [ebp - 0x21b], bl
mov dword [ebp - 0x224], 0xf
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43b6c0
sub eax, edx
push eax
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x238]
call fcn.00407d70
push 5
push str.:_tmp
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], ebx
call fcn.00413820
cmp dword [ebp - 0x224], 0x10
mov eax, dword [ebp - 0x238]
jae 0x43b706
lea eax, [ebp - 0x238]
push eax
call fcn.00436640
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 4
test eax, eax
jne 0x43b75f
cmp dword [ebp - 0x224], 0x10
mov eax, dword [ebp - 0x238]
jae 0x43b72e
lea eax, [ebp - 0x238]
push ebx
push eax
call esi
test eax, eax
jne 0x43b75f
lea ecx, [ebp - 0x238]
call fcn.00407890
xor eax, eax
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.0043fe5a
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [ebp + 0x14], ebx
je 0x43b76c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x224], 0x10
mov ecx, dword [ebp - 0x238]
jae 0x43b781
lea ecx, [ebp - 0x238]
push eax
push edi
push ecx
lea eax, [ebp - 0x114]
push str._s_s_u
push eax
call fcn.00440eaa
lea eax, [ebp - 0x114]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43b7a1
sub eax, edx
cmp dword [ebp + 0xc], eax
ja 0x43b7cc
cmp dword [ebp - 0x224], 0x10
jb 0x43b741
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.004401d7
add esp, 4
jmp 0x43b741
lea edx, [ebp - 0x114]
push edx
call fcn.00436640
add esp, 4
test eax, eax
lea eax, [ebp - 0x114]
jne 0x43b820
push ebx
push eax
call esi
test eax, eax
je 0x43b736
mov edx, dword [ebp - 0x23c]
lea eax, [ebp - 0x114]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x43b801
lea ecx, [ebp - 0x238]
call fcn.00407890
mov eax, 1
jmp 0x43b743
mov esi, dword [ebp - 0x23c]
mov edx, esi
lea ecx, [ebp - 0x114]
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x43b830
cmp dword [ebp + 0x18], ebx
je 0x43b84d
push 0x46cb38
push esi
call fcn.00436c20
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.00407890
mov eax, 1
jmp 0x43b743
Function at 0x43e530
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468e2b
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x47c5a8]
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 eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [ebp - 0x134]
lea esi, [ebp - 0x114]
push ecx
mov edx, esi
push edx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x134], 0x104
call edi
test eax, eax
jne 0x43e605
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x138]
mov dword [ecx], eax
cmp eax, 0x6f
jne 0x43e5fe
mov eax, dword [ebp - 0x134]
inc eax
push eax
mov dword [ebp - 0x134], eax
call fcn.004423ec
mov esi, eax
add esp, 4
test esi, esi
je 0x43e5fe
lea edx, [ebp - 0x134]
push edx
push esi
mov dword [ebp - 0x140], 1
call edi
test eax, eax
jne 0x43e605
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x138]
push esi
mov dword [ecx], eax
call fcn.004423e1
add esp, 4
xor eax, eax
jmp 0x43e6fb
mov edx, dword [ebp + 0xc]
push edx
push 0x20
push ebx
call fcn.00440e30
mov eax, esi
add esp, 0xc
mov byte [ebx], 0x33
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e620
sub eax, edx
mov edi, eax
cmp edi, dword [ebp + 0xc]
jb 0x43e6c2
xor ebx, ebx
push 0xc
push str.getHostId3:
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
call fcn.00407d70
mov eax, esi
mov dword [ebp - 4], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e666
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x130]
call fcn.00413820
mov eax, dword [ebp - 0x130]
mov ebx, 0x10
cmp dword [ebp - 0x11c], ebx
jae 0x43e695
lea eax, [ebp - 0x130]
push 0
push eax
push str.UtlHost
call fcn.0042a650
add esp, 0xc
cmp dword [ebp - 0x11c], ebx
jb 0x43e6bc
mov eax, dword [ebp - 0x130]
push eax
call fcn.004401d7
add esp, 4
mov ebx, dword [ebp - 0x13c]
mov eax, dword [ebp + 0xc]
dec eax
cmp edi, eax
jae 0x43e6cc
mov eax, edi
push eax
push esi
inc ebx
push ebx
call fcn.004401f0
add esp, 0xc
cmp dword [ebp - 0x140], 0
je 0x43e6ea
push esi
call fcn.004423e1
add esp, 4
mov ecx, dword [ebp - 0x138]
mov dword [ecx], 0
mov eax, 1
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.0043fe5a
mov esp, ebp
pop ebp
ret
Function at 0x43fe5a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47c5a8]
jne 0x43fe64
repz ret
jmp fcn.00443e0b

Function at 0x45f617
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47c5a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004459c6
and dword [ebp - 0x14], 0
cmp dword [0x546ffc], 0
mov dword [ebp - 0x18], eax
jne 0x45f6ca
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x45f772
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x45f772
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x546ffc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x547000], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x547004], eax
call edi
push eax
call esi
mov dword [0x54700c], eax
test eax, eax
je 0x45f6ca
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x547008], eax
mov eax, dword [0x547008]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x45f723
cmp dword [0x54700c], ecx
je 0x45f723
push eax
call esi
push dword [0x54700c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x45f723
test ebx, ebx
je 0x45f723
call edi
test eax, eax
je 0x45f71a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45f71a
test byte [ebp - 8], 1
jne 0x45f723
or dword [ebp + 0x10], 0x200000
jmp 0x45f756
mov eax, dword [0x547000]
cmp eax, dword [ebp - 0x18]
je 0x45f756
push eax
call esi
test eax, eax
je 0x45f756
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45f756
mov eax, dword [0x547004]
cmp eax, dword [ebp - 0x18]
je 0x45f756
push eax
call esi
test eax, eax
je 0x45f756
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x546ffc]
call esi
test eax, eax
je 0x45f772
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x45f774
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043fe5a
leave
ret
Function at 0x401030
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4395fd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x34e4
call fcn.00426760
mov eax, dword [0x44a5f0]
xor eax, esp
mov dword [esp + 0x34e0], eax
push ebx
push esi
push edi
mov eax, dword [0x44a5f0]
xor eax, esp
push eax
lea eax, [esp + 0x34f8]
mov dword fs:[0], eax
push str.SFX_Exe
push 1
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40109c
mov esi, 1
test ebx, ebx
je 0x4010a7
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test esi, esi
jne 0x401116
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call fcn.00408c57
push esi
call fcn.00409d39
add esp, 4
push 0x43f46c
mov ecx, edi
call fcn.0040a2ae
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401650
lea edx, [esp + 0x1c]
mov dword [esp + 0x3500], esi
mov ecx, edx
mov dword [edi + 0x20], edx
call fcn.0040abc2
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x3504], 0xffffffff
call fcn.00401140
xor eax, eax
mov ecx, dword [esp + 0x34f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34e0]
xor ecx, esp
call fcn.00424180
mov esp, ebp
pop ebp
ret
Function at 0x4026f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402709
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402744
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402740
lea ebx, [ebx]
cmp esi, eax
jae 0x402744
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402730
cmp esi, eax
jb 0x40274a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret