joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417150
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4617d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x480aa4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push str.SoftwareAscentive_
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call fcn.00402730
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
mov ebx, 1
push edx
mov byte [esp + 0x30], bl
call fcn.00416180
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call fcn.004059e0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or esi, 0xffffffff
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4171e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push ecx
push SysReAllocStringLen
lea ecx, [esp + 0x1c]
call fcn.0041a6a0
push str.AppStatus
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 3
call fcn.0041ad90
cmp eax, ebx
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x14]
jne 0x417272
call fcn.0041a6c0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41723b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x24], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x41725c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 4
call fcn.0041a6c0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41729b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x24], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x4172bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 4
Function at 0x41a730
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
push 0
push esi
mov ebp, ecx
mov dword [esp + 0x20], 0
call edi
cmp dword [esp + 0xc], 0
je 0x41a786
push ebx
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push 0x20006
push 0
push ebx
push esi
call edi
cmp dword [esp + 0x10], 0
jne 0x41a785
push ebx
push esi
mov ecx, ebp
call fcn.0041a6e0
pop ebx
mov edx, dword [esp + 0x20]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a790
mov ecx, dword [esp + 0x1c]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 1]
push eax
push edx
mov edx, dword [esp + 0x14]
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop edi
pop esi
pop ebp
jne 0x41a7d3
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ecx
ret 0x10
xor eax, eax
pop ecx
ret 0x10

Function at 0x41a7e0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
push 0
push esi
mov ebp, ecx
mov dword [esp + 0x20], 0
call edi
cmp dword [esp + 0xc], 0
je 0x41a836
push ebx
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push 0x20006
push 0
push ebx
push esi
call edi
cmp dword [esp + 0x10], 0
jne 0x41a835
push ebx
push esi
mov ecx, ebp
call fcn.0041a6e0
pop ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push 4
lea edx, [esp + 0x24]
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop edi
pop esi
pop ebp
jne 0x41a86b
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ecx
ret 0x10
xor eax, eax
pop ecx
ret 0x10

Function at 0x41a880
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 8]
push eax
push 0x20006
push 0
mov esi, ecx
mov ecx, dword [esi]
push 0
push ecx
mov dword [esp + 0x1c], 0
call edi
cmp dword [esp + 8], 0
je 0x41a8d7
mov eax, dword [esi]
push ebx
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push 0x20006
push 0
push ebx
push eax
call edi
cmp dword [esp + 0xc], 0
jne 0x41a8d6
mov ecx, dword [esi]
push ebx
push ecx
mov ecx, esi
call fcn.0041a6e0
pop ebx
mov edx, dword [esp + 0x18]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a8e0
mov ecx, dword [esp + 0x14]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 1]
push eax
push edx
mov edx, dword [esp + 0x10]
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop edi
pop esi
jne 0x41a922
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ecx
ret 0xc
xor eax, eax
pop ecx
ret 0xc
Function at 0x41a930
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 8]
push eax
push 0x20006
push 0
mov esi, ecx
mov ecx, dword [esi]
push 0
push ecx
mov dword [esp + 0x1c], 0
call edi
cmp dword [esp + 8], 0
je 0x41a987
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 8]
push edx
push 0x20006
push 0
push eax
push ecx
call edi
cmp dword [esp + 8], 0
jne 0x41a987
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
mov ecx, esi
call fcn.0041a6e0
mov edx, dword [esp + 0x14]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a990
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 1]
mov eax, dword [esp + 8]
push ecx
push edx
mov edx, dword [esp + 0x18]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop edi
pop esi
jne 0x41a9d2
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ecx
ret 8
xor eax, eax
pop ecx
ret 8

Function at 0x41a9e0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 8]
push eax
push 0x20006
push 0
mov esi, ecx
mov ecx, dword [esi]
push 0
push ecx
mov dword [esp + 0x1c], 0
call edi
cmp dword [esp + 8], 0
je 0x41aa37
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 8]
push edx
push 0x20006
push 0
push eax
push ecx
call edi
cmp dword [esp + 8], 0
jne 0x41aa37
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
mov ecx, esi
call fcn.0041a6e0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop edi
pop esi
jne 0x41aa6b
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ecx
ret 8
xor eax, eax
pop ecx
ret 8

Function at 0x41aa80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x480aa4]
xor eax, esp
mov dword [esp + 0x214], eax
mov ecx, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push esi
mov esi, dword [esp + 0x228]
push edi
mov edi, dword [esp + 0x230]
lea edx, [esp + 8]
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41ab21
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push esi
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ab21
lea eax, [esp + 0x14]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x41ab00
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x41ab23
xor eax, eax
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
xor ecx, esp
call fcn.0044746c
add esp, 0x218
ret 0x10
Function at 0x41ab40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x480aa4]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov esi, dword [esp + 0x220]
push edi
mov edi, dword [esp + 0x228]
mov eax, ecx
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41abe1
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push esi
push ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41abe1
lea eax, [esp + 0x14]
mov edx, edi
mov ecx, eax
sub edx, ecx
jmp 0x41abc0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x41abc0
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x41abe3
xor eax, eax
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
xor ecx, esp
call fcn.0044746c
add esp, 0x218
ret 8

Function at 0x41ac00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x18]
mov dword [esi], 0xffffffff
mov edx, dword [ecx + 4]
lea eax, [esp + 0x18]
push eax
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41ac73
mov eax, 4
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ac73
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
push ecx
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 0xc
ret 8
xor eax, eax
pop esi
add esp, 0xc
ret 8

Function at 0x41ace0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x480aa4]
xor eax, esp
mov dword [esp + 0x110], eax
mov ecx, dword [esp + 0x11c]
mov eax, dword [esp + 0x118]
push esi
mov esi, dword [esp + 0x124]
lea edx, [esp + 4]
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41ad74
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push esi
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ad74
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0044746c
add esp, 0x114
ret 0xc
mov ecx, dword [esp + 0x114]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0044746c
add esp, 0x114
ret 0xc
Function at 0x41ad90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x480aa4]
xor eax, esp
mov dword [esp + 0x110], eax
push esi
mov esi, dword [esp + 0x11c]
mov eax, ecx
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [esp + 4]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41ae1d
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push esi
push ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ae1d
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0044746c
add esp, 0x114
ret 4
mov ecx, dword [esp + 0x114]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0044746c
add esp, 0x114
ret 4

Function at 0x41ae40
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x461e28
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x480aa4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
call fcn.004321fd
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41ae7f
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
push edi
push esi
lea ecx, [esp + 0x14]
push 0x467a8c
push ecx
mov dword [esp + 0x2c], 0
call fcn.00402050
mov eax, dword [esp + 0x34]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push 0x20006
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41af2b
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x41af2b
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41af12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x1c], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41af4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x41b4d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461ede
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x480aa4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call fcn.0042ce8e
mov esi, eax
test esi, esi
jne 0x41b559
push str.pWnd_is_NULL_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b552
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41b647
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [esi + 0x20]
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.MDIClient
push 0
push edx
call esi
test eax, eax
jne 0x41b583
push str.MDIClient_window_is_NULL_n
jmp 0x41b529
push str.Scan
push 0
push 0
push eax
call esi
mov esi, eax
test esi, esi
jne 0x41b59c
push str.Scan_form_is_NULL_n
jmp 0x41b529
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b5bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x41b647
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044746c
mov esp, ebp
pop ebp
ret 4

Function at 0x41b670
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461f2e
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x480aa4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call fcn.0042ce8e
mov esi, eax
test esi, esi
jne 0x41b6f9
push str.pWnd_is_NULL_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b6f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41b7b1
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [esi + 0x20]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b729
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x41b7b1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044746c
mov esp, ebp
pop ebp
ret 4
Function at 0x41b7d0
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x40c]
sub esp, 0x40c
push 0xffffffffffffffff
push 0x461f7b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x480aa4]
xor eax, ebp
mov dword [ebp + 0x408], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x414]
xor esi, esi
push edi
mov dword [ebp - 4], esi
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call fcn.0042ce8e
mov ebx, eax
cmp ebx, esi
jne 0x41b864
push str.pWnd_is_NULL_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b85d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41ba0e
mov ecx, dword [ebx + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x206
lea edx, [ebp + 0x202]
push esi
push edx
mov word [ebp + 0x200], si
call fcn.00447500
mov esi, dword [edi - 0xc]
push 0x20
push edi
call fcn.00447720
add esp, 0x14
test eax, eax
jne 0x41b89e
or eax, 0xffffffff
jmp 0x41b8a2
sub eax, edi
sar eax, 1
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x414]
call fcn.00416100
mov ecx, dword [eax]
lea edx, [ebp + 0x200]
nop
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x41b8c0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b8f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x20]
push eax
xor esi, esi
lea ecx, [ebp + 0x200]
push str._d._d._d
push ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.00447ed4
mov eax, dword [ebp - 0x20]
add esp, 0x14
cmp eax, 7
jl 0x41b935
jne 0x41b972
mov eax, dword [ebp - 0x14]
cmp eax, 1
jl 0x41b935
jne 0x41b972
cmp dword [ebp - 0x18], 1
jge 0x41b972
mov edx, dword [ebx + 0x20]
push esi
push str.MDIClient
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push edx
call esi
test eax, eax
jne 0x41b956
push str.MDIClient_window_is_NULL_n
jmp 0x41b834
push str.Scan
push 0
push 0
push eax
call esi
mov esi, eax
test esi, esi
jne 0x41b975
push str.Scan_form_is_NULL_n
jmp 0x41b834
mov esi, dword [ebx + 0x20]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b998
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x41ba0e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x408]
xor ecx, ebp
call fcn.0044746c
add ebp, 0x40c
mov esp, ebp
pop ebp
ret 4
Function at 0x41ba40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461fce
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x480aa4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call fcn.0042ce8e
mov esi, eax
test esi, esi
jne 0x41bac9
push str.pWnd_is_NULL_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bac2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41bbb7
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [esi + 0x20]
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.MDIClient
push 0
push edx
call esi
test eax, eax
jne 0x41baf3
push str.hWnd1_is_NULL_n
jmp 0x41ba99
push str.Scan
push 0
push 0
push eax
call esi
mov esi, eax
test esi, esi
jne 0x41bb0c
push str.hWnd2_is_NULL_n
jmp 0x41ba99
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bb2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x41bbb7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044746c
mov esp, ebp
pop ebp
ret 4
Function at 0x41bbe0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46201e
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x480aa4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call fcn.0042ce8e
mov esi, eax
test esi, esi
jne 0x41bc69
push str.pWnd_is_NULL_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bc62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41bd57
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [esi + 0x20]
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.MDIClient
push 0
push edx
call esi
test eax, eax
jne 0x41bc93
push str.hWnd1_is_NULL_n
jmp 0x41bc39
push str.Scan
push 0
push 0
push eax
call esi
mov esi, eax
test esi, esi
jne 0x41bcac
push str.hWnd2_is_NULL_n
jmp 0x41bc39
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bccf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x41bd57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044746c
mov esp, ebp
pop ebp
ret 4