joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x430cf0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x43ce70]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 0x418]
mov edi, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
mov dword [ebp - 0x14], eax
call dword [0x43ce48]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x403ded
call fcn.00401910
mov esi, eax
jmp 0x403ed5
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x403e09
call fcn.00401910
jmp 0x403ecc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x403e22
call fcn.00401910
jmp 0x403ecc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x14], esi
jae 0x403e58
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x403e46
lea ecx, [ebp]
call fcn.00402100
lea ecx, [ebp - 0x1c]
call fcn.00402090
mov eax, 0x8007000e
jmp 0x403ef2
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00402970
mov dword [ebp - 4], 1
jmp 0x403e81
mov ebx, dword [ebp]
test ebx, ebx
jne 0x403e8f
mov esi, 0x8007000e
jmp 0x403ece
call dword [0x43ce48]
mov ecx, dword [ebp - 0x20]
push esi
push ebx
push esi
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x403eb0
call fcn.00401910
jmp 0x403ecc
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00403aa0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x403ef0
lea ecx, [ebp]
call fcn.00402100
jmp 0x403ef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0041fbd2
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [0x43e31c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
mov dword [esi + 4], eax
je 0x404d27
push eax
mov eax, dword [0x43e31c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esi], eax
jne 0x404d2d
mov dword [esi + 4], eax
xor al, al
pop esi
ret 8
mov al, 1
pop esi
ret 8
Function at 0x406ab0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x430ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x43ce70]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x406bfb
mov edx, dword [0x43e3bc]
mov eax, dword [edx + 0xc]
mov ecx, 0x43e3bc
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov ecx, dword [edi + 4]
push ecx
mov dword [esp + 0x44], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
mov eax, dword [esi - 8]
add ebx, 1
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x406b42
push ebx
lea ecx, [esp + 0x14]
call fcn.004017b0
mov esi, dword [esp + 0x10]
mov edx, dword [edi + 4]
push ebx
push esi
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test esi, esi
jne 0x406b56
xor eax, eax
jmp 0x406b75
mov eax, esi
lea edx, [eax + 2]
jmp 0x406b60
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406b60
sub eax, edx
sar eax, 1
js 0x406c1c
cmp eax, dword [esi - 8]
jg 0x406c1c
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
mov eax, dword [edi + 4]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [edi + 0x28]
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov cx, word [edi + 0x30]
push 0x4e
push eax
mov dword [esp + 0x30], 0xfffffa1f
mov word [esp + 0x3c], cx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi - 0x10]
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406bfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret 4
push 0x80070057
call entry0
int3
Function at 0x4074b0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, dword [esp + 0x10]
lea esi, [eax + 1]
mov eax, dword [ebx]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
or ecx, edx
jge 0x4074e3
push esi
mov ecx, ebx
call fcn.004017b0
mov eax, dword [ebx]
push esi
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
mov ecx, eax
jne 0x40750f
mov ecx, dword [ebx]
test ecx, ecx
je 0x407513
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x407500
sub ecx, esi
sar ecx, 1
test ecx, ecx
jl 0x40752b
mov edx, dword [ebx]
cmp ecx, dword [edx - 8]
jg 0x40752b
pop edi
mov dword [edx - 0xc], ecx
mov edx, dword [ebx]
pop esi
mov word [edx + ecx*2], 0
pop ebx
ret 4
push 0x80070057
call entry0
int3
Function at 0x4091a0
Capabilities:
Check os version
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x43134b
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x43ce70]
xor eax, esp
mov dword [esp + 0x35c], eax
push esi
mov eax, dword [0x43ce70]
xor eax, esp
push eax
lea eax, [esp + 0x368]
mov dword fs:[0], eax
mov eax, dword [0x43e3bc]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e3bc
call edx
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [0x43e318]
push 0x104
lea eax, [esp + 0x160]
push eax
xor esi, esi
push ecx
mov dword [esp + 0x37c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x15c]
lea edx, [eax + 2]
jmp 0x409220
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x409220
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x160]
push edx
lea ecx, [esp + 0x10]
call fcn.004039a0
lea eax, [esp + 0x15c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x15c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x409260
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x160]
push ecx
lea ecx, [esp + 0x10]
call fcn.004039a0
push 0x15
push str.FGOpenHelpOption.exe
lea ecx, [esp + 0x10]
call fcn.004063a0
push 0x3c
lea edx, [esp + 0x10]
push esi
push edx
call fcn.0041fdf0
push 0x110
lea eax, [esp + 0x5c]
push esi
push eax
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x2c], esi
call fcn.0041fdf0
add esp, 0x18
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x4c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x4c], 6
mov dword [esp + 0x18], str.runas
jae 0x4092e7
mov dword [esp + 0x18], str.open
mov esi, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x14], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [esi - 0x10]
mov dword [esp + 0x370], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409331
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x368]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x35c]
xor ecx, esp
call fcn.0041fbd2
add esp, 0x36c
ret 0x10
Function at 0x40a430
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x431558
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x43ce70]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
push 1
lea edi, [esi + 0x30]
push edi
push 0x506
lea ecx, [esi + 0x20]
call fcn.00404ef0
mov edi, dword [edi]
test edi, edi
jne 0x40a4bf
push 0x433830
lea ecx, [esp + 0x10]
call fcn.004045e0
mov eax, dword [esi + 0x28]
push eax
lea ecx, [esp + 0x10]
push str.shell32.dll_OpenAs_RunDLL__s
push ecx
mov dword [esp + 0x28], edi
call fcn.004076f0
mov edx, dword [esp + 0x18]
add esp, 0xc
push 1
push edi
push edx
push str.rundll32.exe
push str.Open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
jmp 0x40a4f6
cmp edi, 1
jne 0x40a512
lea ecx, [esi + 0x2c]
push ecx
lea edx, [esp + 0x14]
push str.http:__shell.windows.com_fileassoc_0804_xml_redir.asp_EXT
push edx
call fcn.00407bc0
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a512
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
movzx ecx, word [esp + 0x28]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndDialog]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x10
Function at 0x40c830
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
je 0x40c849
or eax, 0xffffffff
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], eax
mov dword [esi + 0x94], 0
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x234]
jne 0x40c867
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x234]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c88b
mov ecx, dword [esi + 0x234]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
xor eax, eax
pop esi
ret 4

Function at 0x40cf90
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
push edi
mov edi, dword [sym.imp.USER32.dll_ReleaseCapture]
je 0x40cfa3
call edi
or ebx, 0xffffffff
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0x94], 0
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x234]
jne 0x40cfcc
call edi
mov eax, dword [esi + 0x234]
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebp
test eax, eax
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x40cff1
mov ecx, dword [esi + 0x234]
push 0
push ecx
call edi
mov edx, dword [esi + 0x1fc]
push edx
call ebp
test eax, eax
pop ebp
je 0x40d00a
mov eax, dword [esi + 0x1fc]
push 0
push eax
call edi
pop edi
mov dword [esi + 0x108], ebx
mov dword [esi + 0x104], ebx
pop esi
pop ebx
ret

Function at 0x40d090
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [esi + 0x94], 0
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x234]
jne 0x40d0b1
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x234]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40d0d1
mov ecx, dword [esi + 0x234]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x24], 0
pop esi
ret 0xc
Function at 0x40ddc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x431971
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x43ce70]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
fld dword [edi + 0x28]
fstp dword [esi + 0x28]
mov eax, dword [edi + 0x2c]
sub eax, 0x10
push eax
call fcn.004052e0
add eax, 0x10
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.004052e0
add eax, 0x10
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 1
call fcn.004052e0
add eax, 0x10
mov dword [esi + 0x34], eax
mov edi, dword [edi + 0x38]
sub edi, 0x10
push edi
mov byte [esp + 0x28], 2
call fcn.004052e0
add esp, 0x10
add eax, 0x10
mov dword [esi + 0x38], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x410460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x431b81
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x43ce70]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esi + 4], ecx
push edx
lea ecx, [esi + 0x2c]
mov dword [esi], eax
call fcn.004045e0
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 0
call fcn.004045e0
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 1
call fcn.004045e0
mov edx, dword [esp + 0x30]
push edx
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 2
call fcn.004045e0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x18
Function at 0x411960
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0x28], 0
jne 0x411975
xor eax, eax
pop esi
add esp, 0x24
ret 8
mov ecx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x30]
push edi
lea eax, [esp + 0xc]
push eax
lea edi, [esi + 0x10c]
push edi
push ecx
push ebx
mov ecx, esi
mov dword [esi + 0x110], 0xffffffff
mov dword [edi], 0xffffffff
mov dword [esp + 0x1c], 0
call fcn.00411830
test eax, eax
je 0x411a01
mov eax, dword [edi]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.0040b9c0
test eax, eax
je 0x411acc
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [edi]
lea eax, [edx + ecx]
cdq
sub eax, edx
sar eax, 1
cmp ebx, eax
jl 0x4119e0
add edi, 1
mov eax, dword [esi + 0x104]
cmp edi, eax
mov dword [esi + 0x110], edi
je 0x4119f7
add eax, 1
cmp edi, eax
jne 0x411a01
mov dword [esi + 0x110], 0xffffffff
cmp dword [esi + 0x110], 0xffffffff
je 0x411aac
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xd8]
mov edi, dword [esi + 0x318]
mov dword [esp + 0x1c], eax
sub eax, dword [esp + 0x14]
mov dword [esp + 0x34], 0
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x110]
cmp eax, edi
jl 0x411a4f
lea eax, [edi - 1]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, esi
call fcn.0040b9c0
test eax, eax
je 0x411a7a
cmp dword [esi + 0x110], edi
jge 0x411a72
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
jmp 0x411a7a
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov eax, dword [esi + 4]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esi + 0x1f8]
call fcn.00411520
pop edi
pop ebx
mov eax, 1
pop esi
add esp, 0x24
ret 8
mov eax, dword [esi + 0x1fc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411acc
mov ecx, dword [esi + 0x1fc]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x24
ret 8

Function at 0x4137f0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [ecx + 0xe0], eax
mov dword [ecx + 0xe4], edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
jmp fcn.00413600
Function at 0x413820
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
or eax, 0xffffffff
push edi
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], eax
mov dword [esi + 0x94], 0
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x234]
jne 0x413853
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x234]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x413873
mov ecx, dword [esi + 0x234]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetScrollPos]
push 0
push edx
call edi
mov ebx, eax
mov eax, dword [esi + 4]
push 1
push eax
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0xb0]
add ecx, ebx
cmp edx, ecx
mov edi, edx
jl 0x41389f
mov edi, ecx
cmp edx, ecx
lea ebp, [esi + 0xc0]
mov dword [ebp], edi
jle 0x4138ae
mov ecx, edx
mov ebx, dword [esp + 0x18]
mov dword [esi + 0xc8], ecx
mov ecx, dword [esi + 0xb4]
add eax, ebx
cmp ecx, eax
mov edx, ecx
jl 0x4138c8
mov edx, eax
cmp ecx, eax
mov dword [esi + 0xc4], edx
jle 0x4138d4
mov eax, ecx
push ebp
mov dword [esi + 0xcc], eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4138ee
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov ebp, dword [esp + 0x14]
push ebx
push ebp
mov ecx, esi
call fcn.00412a00
mov edx, dword [esi + 4]
push 0
push 0x14
push 0x3eb
push edx
call dword [sym.imp.USER32.dll_SetTimer]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub eax, dword [esi + 0x13c]
cmp eax, 0xa
jbe 0x413934
push ebx
push ebp
mov ecx, esi
call fcn.0040c620
test eax, eax
je 0x413934
mov dword [esi + 0x13c], edi
mov ecx, dword [esi + 4]
push 0x105
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x413a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x431fe7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43ce70]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi], vtable.CSoftSelectDlg.0
mov eax, dword [0x43e3bc]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e3bc
mov byte [esp + 0x1c], 1
lea ebx, [esi + 0x24]
call edx
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [0x43e3bc]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e3bc
mov byte [esp + 0x1c], 2
call edx
add eax, 0x10
mov dword [esi + 0x28], eax
mov eax, dword [0x43e3bc]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e3bc
mov byte [esp + 0x1c], 3
call edx
add eax, 0x10
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 5
call fcn.00413950
push 0x434000
push 0x434000
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 6
call fcn.00407180
mov ecx, eax
call fcn.004071f0
push eax
mov ecx, ebx
call fcn.004072a0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esi + 0x30], edi
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413b64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x413e60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x432048
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x43ce70]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
push edi
lea ecx, [esp + 0x14]
call fcn.00413de0
mov esi, dword [esp + 0x3c]
push esi
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.00412ba0
lea ebx, [esi + 0xc]
lea ecx, [edi + 0xc]
push ebx
call fcn.004072a0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x10]
mov dword [edi + 0x14], ecx
push edx
mov ecx, esi
call fcn.00412ba0
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.004072a0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
mov dword [esi + 0x14], edx
mov dword [esp + 0x30], 0xffffffff
call fcn.0040a550
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x413f10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432078
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43ce70]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
lea eax, [esi - 1]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp dword [esp + 0x2c], esi
mov dword [esp + 0x1c], 0
jge 0x413fa7
lea eax, [ebx + ebx*2]
lea ecx, [esp + 0x30]
push ecx
lea edi, [ebp + eax*8]
push edi
lea ecx, [esp + 0x50]
call fcn.0040d640
test al, al
je 0x413fa7
lea edx, [esi + esi*2]
lea esi, [ebp + edx*8]
push edi
mov ecx, esi
call fcn.00412ba0
lea eax, [edi + 0xc]
lea ecx, [esi + 0xc]
push eax
call fcn.004072a0
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
lea eax, [ebx - 1]
mov dword [esi + 0x14], edx
cdq
sub eax, edx
mov esi, ebx
sar eax, 1
cmp dword [esp + 0x2c], esi
mov ebx, eax
jl 0x413f54
lea eax, [esi + esi*2]
lea ecx, [esp + 0x30]
lea esi, [ebp + eax*8]
push ecx
mov ecx, esi
call fcn.00412ba0
lea edx, [esp + 0x3c]
lea ecx, [esi + 0xc]
push edx
call fcn.004072a0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esi + 0x14], ecx
lea ecx, [esp + 0x30]
mov dword [esi + 0x10], eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040a550
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x414200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4320d8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43ce70]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
lea eax, [esi - 1]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp dword [esp + 0x2c], esi
mov dword [esp + 0x1c], 0
jge 0x414297
lea eax, [ebx + ebx*2]
lea ecx, [esp + 0x30]
push ecx
lea edi, [ebp + eax*8]
push edi
lea ecx, [esp + 0x50]
call fcn.0040cb30
test al, al
je 0x414297
lea edx, [esi + esi*2]
lea esi, [ebp + edx*8]
push edi
mov ecx, esi
call fcn.00412ba0
lea eax, [edi + 0xc]
lea ecx, [esi + 0xc]
push eax
call fcn.004072a0
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
lea eax, [ebx - 1]
mov dword [esi + 0x14], edx
cdq
sub eax, edx
mov esi, ebx
sar eax, 1
cmp dword [esp + 0x2c], esi
mov ebx, eax
jl 0x414244
lea eax, [esi + esi*2]
lea ecx, [esp + 0x30]
lea esi, [ebp + eax*8]
push ecx
mov ecx, esi
call fcn.00412ba0
lea edx, [esp + 0x3c]
lea ecx, [esi + 0xc]
push edx
call fcn.004072a0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esi + 0x14], ecx
lea ecx, [esp + 0x30]
mov dword [esi + 0x10], eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040a550
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret