joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4094a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b889f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
lea eax, [edi + 0x10]
mov dword [edi], vtable.ControlCommandLine.0
lea esi, [eax + 4]
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00403af0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
lea eax, [edi + 0x20]
mov dword [ebp - 0x14], eax
lea esi, [eax + 4]
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00403af0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
lea eax, [edi + 0x30]
mov dword [ebp - 0x14], eax
lea esi, [eax + 4]
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00403af0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
lea eax, [edi + 0x40]
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.StringStorage.0
lea esi, [eax + 4]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00403af0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
lea eax, [edi + 0x50]
mov dword [ebp - 0x14], eax
lea esi, [eax + 4]
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00403af0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
mov dword [edi + 0x60], vtable.Rect.0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
lea eax, [edi + 0x78]
mov byte [edi + 0x74], 0
mov dword [ebp - 0x14], eax
lea esi, [eax + 4]
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.00403af0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
and eax, 0xfffffffe
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
mov dword [edi + 0x88], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40cd50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8fe8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x554008]
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 + 4], 0
mov dword [esi + 8], 0x86
mov dword [esi + 0xc], vtable.Control.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.SetPasswordsDialog.0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], vtable.CheckBox.0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], vtable.CheckBox.0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], vtable.CheckBox.0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], vtable.TextBox.0
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], vtable.TextBox.0
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], vtable.CheckBox.0
mov dword [esi + 0x70], 0
mov dword [esi + 0x6c], vtable.CheckBox.0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], vtable.CheckBox.0
mov dword [esi + 0x88], 0
mov dword [esi + 0x84], vtable.TextBox.0
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], vtable.TextBox.0
lea edi, [esi + 0x9c]
mov byte [ebp - 4], 0xa
mov ecx, edi
call fcn.0044dc90
lea ebx, [esi + 0xc0]
mov byte [ebp - 4], 0xb
mov ecx, ebx
call fcn.0044dc90
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 0xc
call fcn.0044dc90
mov cl, byte [ebp + 8]
mov al, cl
mov byte [esi + 0x109], cl
xor al, 1
mov byte [esi + 0x108], al
lea eax, [esi + 0x10c]
mov dword [ebp + 8], eax
lea esi, [eax + 4]
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.00403af0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov word [eax + 0x11c], 1
add eax, 0x120
mov dword [ebp + 8], eax
lea esi, [eax + 4]
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.00403af0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
mov byte [ebp - 4], 0x11
mov ecx, 0x9c57
mov esi, dword [edi]
call fcn.00404d10
push eax
mov ecx, edi
call dword [esi + 8]
mov esi, dword [edi]
mov ecx, 0x9c55
call fcn.00404d10
push eax
mov ecx, edi
call dword [esi + 0xc]
mov esi, dword [ebx]
mov ecx, 0x9c58
call fcn.00404d10
push eax
mov ecx, ebx
call dword [esi + 8]
mov esi, dword [ebx]
mov ecx, 0x9c55
call fcn.00404d10
push eax
mov ecx, ebx
call dword [esi + 0xc]
mov edi, dword [ebp - 0x10]
mov ecx, 0x9ca7
mov esi, dword [edi + 0xe4]
call fcn.00404d10
push eax
lea ecx, [edi + 0xe4]
call dword [esi + 8]
mov esi, dword [edi + 0xe4]
mov ecx, 0x9ca8
call fcn.00404d10
push eax
lea ecx, [edi + 0xe4]
call dword [esi + 0xc]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40e950
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b92b8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
push 5
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 4], 0
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x40ea1a
jmp 0x40ea06
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
lea ecx, [ebp - 0x54]
call fcn.0041ced0
push 0x552164
lea eax, [ebp - 0x54]
push eax
call fcn.0049c518
int3

Function at 0x40ef30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9360
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov edx, dword [ebx + 0x6c]
lea ecx, [ebx + 0x6c]
lea eax, [ebx + 0x24]
push eax
call dword [edx + 0x18]
push 0
push 0
push 0xf0
push dword [ebx + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
lea edi, [ebx + 0x54]
mov ecx, edi
setne al
mov byte [ebx + 0x34], al
push dword [ebx + 0x28]
call fcn.0042c080
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
mov dword [ebp - 4], 1
xor esi, esi
mov edx, dword [edi + 8]
sub edx, dword [edi + 4]
sar edx, 4
xor ebx, ebx
mov dword [ebp - 0x18], edx
mov ecx, dword [edi + 0x10]
cmp edx, ecx
mov eax, ecx
cmovb eax, edx
cmp esi, eax
jae 0x40f072
push esi
lea eax, [ebp - 0x2c]
push 0x52b60c
push eax
call fcn.004038c0
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, dword [edi + 4]
sub eax, ecx
sar eax, 4
cmp eax, esi
jbe 0x40f0b6
mov eax, dword [edi + 0x14]
mov ecx, dword [ebx + ecx + 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 4]
test edx, edx
je 0x40f069
mov eax, ecx
lea ecx, [eax + 2]
mov dword [ebp - 0x10], ecx
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f040
sub eax, dword [ebp - 0x10]
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x14]
push 1
push 0
push dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x18]
inc esi
add ebx, 0x10
jmp 0x40eff3
cmp edx, ecx
jbe 0x40f07d
mov ecx, edi
call fcn.0042be40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
call fcn.004039c0
mov ecx, edi
call fcn.0042be40
mov ecx, dword [ebp - 0x1c]
push 1
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004282e0
int3
Function at 0x412070
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9918
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], vtable.StringStorage.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], vtable.StringStorage.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041da00
test al, al
je 0x41215a
push str._service
push dword [ebp - 0x20]
lea eax, [ebp - 0x34]
push 0x525a10
push eax
call fcn.004038c0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.StringStorage.0
call fcn.004039c0
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00420820
push 0
push 0
push 0x524da8
push 0
push 0
mov byte [ebp - 4], 4
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x18]
push 1
push 2
push 0x10
push 0xf01ff
push 0x4c9428
push 0x4c9448
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
je 0x41221c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
push 2
push edi
mov dword [ebp - 0x10], 0x1388
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 1
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
test esi, esi
je 0x4121fc
push esi
call edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.StringStorage.0
call fcn.004039c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x70]
call fcn.0041ce10
push 0x552164
lea eax, [ebp - 0x70]
push eax
call fcn.0049c518
int3
Function at 0x412330
Capabilities:
Access peb ldr_data
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b99dc
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edx, dword [ecx + 0xf0]
lea esi, [ecx + 0x10]
sub edx, dword [ecx + 0xec]
mov eax, 0x66666667
push dword [ebp + 8]
imul edx
lea ecx, [esi + 0x20]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0xa8], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp + 0x10]
push 0x4c
mov byte [esi + 0x30], al
call fcn.0049adb4
mov ebx, eax
add esp, 4
mov dword [ebp + 0x10], ebx
lea eax, [ebx + 8]
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x14]
push eax
push 4
push ebx
push 0x472140
push 0
mov dword [ebx], vtable.Thread.0
mov byte [ebx + 0xc], 0
push 0
mov byte [ebx + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 4], eax
mov dword [ebx], vtable.ListenLogServer.0
lea eax, [ebx + 0x2c]
push 1
mov dword [ebx + 0x14], vtable.SecurityAttributes.0
mov byte [ebx + 0x24], 1
push eax
mov dword [ebx + 0x28], vtable.SecurityDescriptor.0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov byte [ebp - 4], 2
lea eax, [ecx + 0x10]
lea ecx, [ebx + 0x44]
mov dword [ebx + 0x40], eax
call fcn.0041e0f0
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 3
call fcn.0041e7f0
push 0x2c
call fcn.0049adb4
add esp, 4
mov dword [ebp + 8], eax
push 0xffffffffffffffff
push 0
push 0x10000
push edi
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0041e200
push dword [ebx + 4]
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
cmp eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
setne al
mov byte [ebx + 0xc], al
mov dword [ecx + 0x78], ebx
add ecx, 0xc0
call fcn.00455360
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
Function at 0x413cb0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9d00
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.0041da00
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
push str._slave
push str._controlservice
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push dword [ebp - 0x28]
push str.__s___s__s
push eax
call fcn.004038c0
add esp, 0x14
lea ecx, [ebp - 0x48]
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call fcn.0041fbb0
mov edx, dword [ebp - 0x44]
test edx, edx
je 0x413ded
mov eax, dword [ebp - 0x18]
lea edi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413dc0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x18]
push 1
push 0
push str.tvncontrol
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], vtable.RegistryKey.0
test edx, edx
je 0x413e0b
cmp edx, dword [ebp - 0x40]
je 0x413e04
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], vtable.StringStorage.0
call fcn.004039c0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
call fcn.004039c0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
call fcn.004039c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x416020
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba145
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call fcn.00416330
mov esi, dword [ebx + 0x17c]
mov eax, dword [esi + 0xb0]
lea ecx, [esi + 0xb0]
call dword [eax + 4]
mov bl, byte [esi + 0x14]
mov dword [ebp - 4], 0
lea ecx, [esi + 0xb0]
mov eax, dword [esi + 0xb0]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x4161ba
mov esi, dword [ebp - 0x14]
mov esi, dword [esi + 0x17c]
mov eax, dword [esi + 0xb0]
lea ecx, [esi + 0xb0]
call dword [eax + 4]
mov bl, byte [esi + 0x2f]
mov dword [ebp - 4], 1
lea ecx, [esi + 0xb0]
mov eax, dword [esi + 0xb0]
call dword [eax + 8]
test bl, bl
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x14]
mov ecx, str.0.0.0.0
mov eax, 0x5263bc
cmove eax, ecx
mov dword [ebp - 0x1c], eax
mov esi, dword [ebx + 0x17c]
mov eax, dword [esi + 0xb0]
lea edi, [esi + 0xb0]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [esi + 4]
mov dword [ebp - 4], 2
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
lea eax, [ebx + 0x34]
movzx edi, si
push str.Starting_main_RFB_server
push eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], edi
call fcn.00405e90
push 0x98
mov dword [ebp - 4], 3
call fcn.0049adb4
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 4
mov cl, byte [ebx + 0x19c]
mov eax, dword [ebx + 0x1a8]
mov byte [ebp - 0x18], cl
mov ecx, esi
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push 0
push edi
mov edi, dword [ebp - 0x1c]
push edi
call fcn.00458e30
mov eax, dword [ebp - 0x20]
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
mov dword [esi], vtable.RfbServer.0
mov dword [esi + 0x5c], eax
call fcn.00446830
mov byte [ebp - 4], 6
lea eax, [ebx + 0x34]
push dword [esi + 4]
mov dword [esi + 0x94], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0xc], al
mov eax, dword [ebp - 0x24]
movzx eax, ax
push eax
push edi
push 0x5282d8
push dword [esi + 0x94]
call fcn.00405e90
add esp, 0x10
mov dword [ebx + 0x1b4], 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 0x416540
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba1a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
push eax
push 4
push esi
push 0x472140
push 0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov al, byte [ebp + 0xc]
lea ecx, [esi + 0x14]
push dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.WsConfigRunner.0
mov byte [esi + 0x10], al
call fcn.00405c60
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0xc], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4177c0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba426
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
nop word [eax + eax]
cmp byte [edi + 0xd], 0
jne 0x4179d7
mov ecx, dword [edi + 0xb4]
call fcn.0041e400
mov esi, eax
push 0xc
mov dword [ebp - 0x18], esi
call fcn.0049adb4
mov ebx, eax
add esp, 4
push 0xa0
mov dword [ebx], vtable.NamedPipeTransport.0
mov dword [ebx + 4], esi
mov dword [ebx + 8], 0
call fcn.0049adb4
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
mov eax, dword [edi + 0xbc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, dword [edi + 0xb8]
lea ecx, [esi + 8]
push ecx
push 4
push esi
push 0x472140
push 0
mov dword [esi], vtable.Thread.0
mov byte [esi + 0xc], 0
push 0
mov dword [ebp - 0x18], eax
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x20], edi
mov edi, dword [ebp - 0x14]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x10], ebx
mov dword [esi], vtable.ControlClient.0
lea eax, [edi + 0x10]
mov byte [esi + 0x25], 0
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x28], 0
lea ebx, [eax + 4]
mov dword [esi + 0x30], 0
mov dword [ebp - 0x24], eax
mov dword [eax], vtable.StringStorage.0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push ebx
push 1
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00403af0
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
lea eax, [esi + 0x48]
mov dword [esi + 0x44], vtable.LocalMutex.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.004724e0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x9c], eax
mov eax, dword [ecx]
call dword [eax + 4]
push 0x2c
mov dword [esi + 0x14], eax
call fcn.0049adb4
mov ecx, dword [esi + 0x14]
mov ebx, eax
add esp, 4
mov dword [ebx + 4], ecx
lea eax, [ecx + 4]
neg ecx
mov dword [ebx], vtable.DataInputStream.0
mov dword [ebx + 8], vtable.DataOutputStream.0
sbb ecx, ecx
and ecx, eax
lea eax, [ebx + 0x14]
mov dword [ebx + 0xc], ecx
push eax
mov dword [ebx + 0x10], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx], vtable.ControlGate.0
mov dword [ebx + 8], vtable.ControlGate.2.0
mov dword [ebx + 0x10], vtable.ControlGate.1.0
mov dword [esi + 0x18], ebx
mov byte [esi + 0x24], 0
mov byte [ebp - 4], 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
lea ecx, [edi + 0x78]
push esi
setne al
mov byte [esi + 0xc], al
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x417800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret