joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4494a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x477963
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046ae45
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004704db
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00471a3a
test eax, eax
je 0x4495bc
mov ecx, dword [esp + 0x3c]
call fcn.00470508
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x449580
push edi
mov ecx, esi
call fcn.0046db71
mov ecx, esi
call fcn.00449720
cmp dword [esp + 0x38], 1
jne 0x4495b5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046dcac
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44bfd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44c003
push esi
call fcn.0044f0d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44bffc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44c089
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44c072
mov eax, dword [esi + 8]
test eax, eax
je 0x44c027
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44c06e
cmp eax, 2
je 0x44c072
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44c01a
cmp eax, 3
je 0x44c04d
cmp eax, 1
jne 0x44c01a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44c01a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44c01a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044c0b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44c098
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044c0b0
add esp, 4
pop esi
ret

Function at 0x46bc3b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46bc73
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00469cef
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00469cc7
jmp 0x46bc7f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46d32e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46d370
call fcn.00472e25
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46d370
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46d367
xor eax, eax
jmp 0x46d378
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046d37e
pop edi
pop esi
pop ebx
ret 4

Function at 0x473355
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x473383
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4733a1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004732bb
jmp 0x4733a1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4733a1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004732bb
test edi, edi
mov eax, edi
jne 0x47338b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4035e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x459daf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x24]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], 0
call fcn.0043cfea
mov ecx, dword [0x470bcc]
mov dword [esp + 0x24], 1
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov byte [esp + 0x24], 2
mov eax, ebx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x403656
test cl, cl
je 0x403652
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x403656
add eax, 2
add esi, 2
test cl, cl
jne 0x403632
xor eax, eax
jmp 0x40365b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403728
push ebp
push ebx
lea ecx, [esp + 0x38]
call fcn.0043a823
mov esi, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor edi, edi
cmp esi, 0xffffffff
mov ebp, ecx
je 0x40371d
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x3c]
call fcn.0043a7ab
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x38]
push ecx
push eax
push edx
mov byte [esp + 0x34], 3
call fcn.0043d1c5
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.0043d2d4
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 3
call fcn.0043cf7c
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.0043cf7c
lea eax, [esi + ebp]
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.0043a676
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 5
call fcn.0043d069
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.0043cf7c
push ebx
lea ecx, [esp + 0x38]
call fcn.0043a823
mov esi, eax
inc edi
cmp esi, 0xffffffff
jne 0x403689
mov eax, dword [esp + 0x40]
pop ebp
test eax, eax
je 0x403728
mov dword [eax], edi
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x30]
lea eax, [esp + 0xc]
push edx
push eax
push esi
call fcn.0043d15f
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.0043cf7c
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.0043cf7c
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x404300
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x459e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00403780
mov dword [esp + 0x14], 0
mov dword [esi], 0x45ee10
lea edi, [esi + 0x24]
call fcn.004285b7
cdq
mov ecx, 0x12c
idiv ecx
add edx, 0x64
mov dword [edi], edx
call fcn.004285b7
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, dword [edi]
lea ecx, [edx + eax + 0x1f4]
mov dword [esi + 0x2c], ecx
call fcn.004285b7
cdq
mov ecx, 0x12c
idiv ecx
mov eax, 0xffffff9c
sub eax, edx
mov dword [esi + 0x30], eax
call fcn.004285b7
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, dword [esi + 0x30]
mov ecx, edi
sub eax, edx
sub eax, 0x1f4
mov dword [esi + 0x28], eax
call fcn.0044f3a2
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x34], 0xc80000
mov dword [esi + 0x38], 0xf0c6c6
mov dword [esi + 0x3c], 0
mov dword [esi + 0x44], 1
mov dword [esi + 0x40], 0xa
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x404316
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x459e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00403780
mov dword [esp + 0x14], 0
mov dword [esi], 0x45ee10
lea edi, [esi + 0x24]
call fcn.004285b7
cdq
mov ecx, 0x12c
idiv ecx
add edx, 0x64
mov dword [edi], edx
call fcn.004285b7
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, dword [edi]
lea ecx, [edx + eax + 0x1f4]
mov dword [esi + 0x2c], ecx
call fcn.004285b7
cdq
mov ecx, 0x12c
idiv ecx
mov eax, 0xffffff9c
sub eax, edx
mov dword [esi + 0x30], eax
call fcn.004285b7
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, dword [esi + 0x30]
mov ecx, edi
sub eax, edx
sub eax, 0x1f4
mov dword [esi + 0x28], eax
call fcn.0044f3a2
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x34], 0xc80000
mov dword [esi + 0x38], 0xf0c6c6
mov dword [esi + 0x3c], 0
mov dword [esi + 0x44], 1
mov dword [esi + 0x40], 0xa
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4051d6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x459fce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00403780
mov eax, dword [0x470bcc]
lea ecx, [esi + 0x24]
mov dword [esp + 0x14], 0
mov dword [ecx], eax
lea edi, [esi + 0x40]
mov dword [edi + 4], 0
mov dword [edi], 0x45ee80
push str.XXXXX
mov byte [esp + 0x18], 2
mov dword [esi], 0x45ee48
call fcn.0043d0b9
call fcn.004285b7
neg eax
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [esi + 0x2c], edx
call fcn.004285b7
cdq
mov ecx, 0x3e8
push str.Arial
idiv ecx
push 0
push 4
push 2
push 0
push 0
push 0
push 0
push 0
push 0x384
push 0
push 0
push 0
push 0xfffffed4
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 5
mov dword [esi + 0x28], edx
add edx, 0x1770
mov dword [esi + 0x30], edx
mov edx, ecx
sub edx, dword [esi + 0x2c]
mov dword [esi + 0x34], edx
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
mov ecx, edi
call fcn.00445485
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40e140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov eax, dword [esp + 0x18]
push ebp
push esi
mov esi, ecx
mov ebx, dword [esp + 0x24]
push edi
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x108]
mov edx, dword [esi + 0x100]
mov ebp, dword [esi + 0x3c]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00447942
mov ecx, dword [eax]
mov edx, dword [esi + 0x80]
mov eax, dword [esi + 0x104]
add edi, ecx
mov ecx, dword [esi + 0x78]
add edi, edx
mov edx, dword [esi + 0x10c]
add edi, ecx
mov ecx, dword [esi + 0x7c]
push edx
push eax
push ebx
mov dword [esp + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea ecx, [esp + 0x18]
mov ebx, eax
push ecx
mov ecx, esi
call fcn.00447942
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x84]
add ebx, ecx
mov ecx, dword [ebp + 0x6c]
add ebx, eax
mov eax, dword [esp + 0x24]
add ebx, eax
cmp ecx, 1
jne 0x40e1e8
mov ecx, dword [ebp + 0x8c]
mov edx, dword [esi + 0x78]
sub edi, ecx
sub edi, edx
mov edx, dword [ebp + 0x98]
sub edx, eax
add ebx, edx
mov esi, dword [ebp + 0x58]
or eax, 0xffffffff
dec esi
js 0x40e21b
mov eax, dword [ebp + 0x54]
push ebx
push edi
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
call dword [edx + 0x1c]
test eax, eax
jg 0x40e212
dec esi
jns 0x40e1f1
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret 8
lea ecx, [esi + esi*4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x4123d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45ba25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x470bcc]
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], eax
mov ecx, dword [0x470bcc]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov edx, dword [0x470bcc]
mov dword [esi + 0x58], edx
mov eax, dword [0x470bcc]
mov dword [esi + 0x5c], eax
mov ecx, dword [0x470bcc]
mov dword [esi + 0x60], ecx
mov edx, dword [0x470bcc]
mov dword [esi + 0x64], edx
mov eax, dword [0x470bcc]
mov dword [esi + 0x68], eax
mov ecx, dword [0x470bcc]
mov dword [esi + 0x6c], ecx
mov edx, dword [0x470bcc]
mov dword [esi + 0x70], edx
mov eax, dword [0x470bcc]
mov dword [esi + 0x74], eax
mov ecx, dword [0x470bcc]
mov dword [esi + 0x78], ecx
mov edx, dword [0x470bcc]
mov dword [esi + 0x7c], edx
mov eax, dword [0x470bcc]
mov dword [esi + 0x80], eax
mov ecx, dword [0x470bcc]
mov dword [esi + 0x84], ecx
mov edx, dword [0x470bcc]
mov dword [esi + 0x88], edx
mov eax, dword [0x470bcc]
mov dword [esi + 0x8c], eax
mov ecx, dword [0x470bcc]
mov dword [esi + 0x90], ecx
mov edx, dword [0x470bcc]
mov dword [esi + 0x94], edx
mov ecx, esi
mov byte [esp + 0x10], 0x11
call fcn.004127d0
mov eax, esi
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x414920
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xca
jne 0x414963
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041a8ab
add esp, 4
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0x40]
test eax, eax
je 0x414959
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0xcf
mov al, 1
jmp 0x414a7a
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcb
jne 0x414a3a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
xor eax, eax
mov al, byte [edx + 0x10]
test eax, eax
je 0x414a29
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x4149a1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call dword [ecx]
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x190]
call dword [ecx]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4149c3
xor al, al
jmp 0x414a7a
cmp dword [ebp - 4], 2
jne 0x4149cb
jmp 0x414a29
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x414a24
cmp dword [ebp - 4], 3
je 0x4149e0
cmp dword [ebp - 4], 1
jne 0x414a24
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
add edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [eax + 4]
cmp eax, dword [edx + 8]
jl 0x414a24
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x11c]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov dword [ecx + 8], eax
jmp 0x414989
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
mov dword [edx + 0x84], ecx
jmp 0x414a6e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0xcc
je 0x414a6e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ecx + 0x14], 0x14
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
call dword [edx]
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.00414a7e
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x414a7e
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcc
je 0x414ab4
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x180]
call dword [eax]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
xor edx, edx
mov dl, byte [ecx + 8]
test edx, edx
je 0x414b7a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x78]
cmp edx, dword [ecx + 0x60]
jae 0x414b46
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x414b0e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
call dword [edx]
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
push 0
mov edx, dword [ebp + 8]
add edx, 0x78
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x184]
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [ebp - 4]
jne 0x414b44
xor al, al
jmp 0x414b96
jmp 0x414aca
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
call dword [ecx + 4]
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
call dword [ecx]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], 0
jmp 0x414ab4
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 0x41]
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 0xcd
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x432829
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x472a50
cmp edx, dword [eax]
je 0x43284b
add eax, 8
inc ecx
cmp eax, 0x472ae0
jl 0x43283c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x472a50]
jne 0x432979
mov eax, dword [0x475224]
cmp eax, 1
je 0x432953
test eax, eax
jne 0x43287c
cmp dword [0x471844], 1
je 0x432953
cmp edx, 0xfc
je 0x432979
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4328b3
lea eax, [ebp - 0x1a4]
push 0x4656e0
push eax
call fcn.0042d8b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0042a230
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4328f6
lea eax, [ebp - 0x1a4]
push eax
call fcn.0042a230
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4656dc
push edi
call fcn.00428b80
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4656c0
push eax
call fcn.0042d8b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0042d8c0
lea eax, [ebp - 0xa0]
push 0x4656bc
push eax
call fcn.0042d8c0
push dword [esi + 0x472a54]
lea eax, [ebp - 0xa0]
push eax
call fcn.0042d8c0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x465694
push eax
call fcn.00435adf
add esp, 0x2c
pop edi
jmp 0x432979
lea eax, [ebp + 8]
lea esi, [esi + 0x472a54]
push 0
push eax
push dword [esi]
call fcn.0042a230
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x439fa0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0042a090
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x43a06b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x43a06b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43a01e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x43a029
or bh, 8
and edi, 0x8000000
je 0x43a044
mov eax, dword [0x47697c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x43a06b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret