joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476b40
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x8018
call fcn.00491c90
push ebx
push ebp
mov ebp, dword [esp + 0x8028]
push esi
push edi
mov edi, dword [esp + 0x802c]
mov esi, ecx
test edi, edi
je 0x476b69
mov ecx, edi
call fcn.00412c90
cmp dword [esp + 0x8038], 0
jne 0x476b7e
mov dword [esp + 0x8038], 0x1f4
cmp dword [esp + 0x803c], 1
jge 0x476b93
mov dword [esp + 0x803c], 0x32
cmp ebp, 1
jge 0x476b9d
mov ebp, 1
test esi, esi
je 0x476d6a
mov ebx, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea eax, [esp + 0x20]
push eax
push 0x7d0
push 2
push 0
push 0
push 0x406
push esi
call ebx
test eax, eax
je 0x476d6a
cmp ebp, dword [esp + 0x20]
jg 0x476d6a
push 0x8000
xor eax, eax
mov ecx, esi
lea edi, [esp + 0x1c]
call fcn.00473cc0
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
je 0x476d63
dec ebp
mov byte [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
jmp 0x476c10
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push 0
push ebp
push 0x403
push esi
call ebx
test eax, eax
je 0x476c87
mov edx, 0x7fff
cmp word [esp + 0x14], dx
ja 0x476cde
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push edi
push ebp
push 0x402
push esi
call ebx
test eax, eax
je 0x476c87
movzx ecx, word [esp + 0x14]
mov eax, dword [esp + 0x18]
push 0
inc ecx
push ecx
lea edx, [esp + 0x30]
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x476cd9
mov edx, dword [esp + 0x8034]
lea eax, [esp + 0x28]
call fcn.004760c0
test al, al
jne 0x476d04
cmp dword [esp + 0x802c], 0
jne 0x476ce8
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x476d37
mov edi, dword [esp + 0x8038]
test edi, edi
js 0x476cbe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x24]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x476d1c
mov edx, dword [esp + 0x803c]
push 1
push edx
call fcn.00401290
mov edi, dword [esp + 0x24]
add esp, 8
jmp 0x476c10
mov byte [esp + 0x28], 0
cmp dword [esp + 0x802c], 0
je 0x476d37
mov eax, dword [esp + 0x802c]
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x34]
push edx
push eax
call fcn.004753c0
mov esi, eax
jmp 0x476d3c
mov eax, dword [0x4ab51c]
push 1
push 0
push 0xffffffffffffffff
push 0x49987c
push eax
call fcn.004753c0
jmp 0x476cde
mov ecx, dword [0x4ab51c]
push 1
push 0
push 0xffffffffffffffff
push 0x49aee0
push ecx
call fcn.004753c0
mov edi, dword [esp + 0x1c]
mov esi, 1
push 0x8000
push 0
push edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
mov edi, dword [esp + 0x802c]
mov eax, 0x49aee0
test edi, edi
jne 0x476d78
mov eax, 0x49b028
mov ecx, dword [0x4a7440]
cmp byte [ecx + 0xe4], 0
jne 0x476da5
mov edx, dword [0x4ab51c]
push 1
push 0
push 0xffffffffffffffff
push eax
push edx
call fcn.004753c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
mov ecx, dword [0x4ad0f0]
push 0x499831
push 0
push eax
call fcn.0042e740
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8018
ret
Function at 0x477840
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0xc50]
test ecx, ecx
je 0x4778f7
mov eax, dword [esi]
test eax, eax
je 0x4778f7
push edi
test al, 1
jne 0x477869
mov eax, dword [esi + 0x80c]
cmp byte [eax], 0
je 0x477882
push 0x7fff
lea edi, [esi + 0xc58]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x477882
mov byte [edi], al
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x47789d
mov edx, dword [esi + 0xc50]
lea ecx, [esi + 0xc54]
push ecx
push edx
call edi
test byte [esi], 0x20
je 0x4778d8
mov ecx, dword [esi + 0xc50]
lea eax, [esp + 4]
push eax
push ecx
call edi
test eax, eax
je 0x4778d8
movzx edx, byte [esi + 0xc28]
mov ecx, dword [esp + 4]
push edx
lea eax, [esi + 0x8d58]
call fcn.0044f2e0
add esp, 4
test eax, eax
jne 0x4778d8
mov byte [esi + 0x8d58], al
test byte [esi], 8
pop edi
je 0x4778f7
mov ecx, dword [esi + 0xc50]
push 0x101
lea eax, [esi + 0x8c57]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClassNameA]
pop ecx
ret

Function at 0x477f80
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e5c
call fcn.00491c90
mov eax, dword [esp + 0x8e60]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x47802d
mov dword [esp + 0xc44], eax
lea eax, [esp + 4]
push eax
push 0x4786c0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x818], 0x499831
mov byte [esp + 0xc35], bl
mov dword [esp + 0xc38], ebx
mov dword [esp + 0xc3c], ebx
mov dword [esp + 0xc40], ebx
mov dword [esp + 0xc44], ebx
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc58], ebx
mov dword [esp + 0xc5c], ebx
mov byte [esp + 0xc50], cl
mov dword [esp + 0xc54], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0xc34], ebx
je 0x47802d
mov ecx, dword [0x4a7440]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x47802d
push 1
push eax
call fcn.00401290
add esp, 8
mov eax, 1
pop ebx
add esp, 0x8e5c
ret 4
Function at 0x478040
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x47805c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4a7440]
push eax
push esi
mov ecx, edi
call fcn.00478500
cmp byte [edi], 0
mov dword [esp + 0x10], eax
je 0x478093
test eax, eax
jne 0x478097
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.00478150
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x478116
test esi, esi
je 0x478116
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.00401290
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x4780f5
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x4780f5
push 1
push 0x8000012f
call fcn.00401290
add esp, 8
push esi
call edi
test eax, eax
jne 0x4780d0
mov edx, dword [0x4a7440]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x47810e
push 1
push eax
call fcn.00401290
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x478130
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
call fcn.00478150
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.004782d0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4782d0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e68
call fcn.00491c90
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x478450
xor cl, cl
mov eax, edi
call fcn.00478470
test eax, eax
jne 0x478305
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8e68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4a7440]
push eax
push ebp
mov ecx, edi
call fcn.00478500
test eax, eax
je 0x478328
xor eax, eax
mov dword [0x4acd20], eax
jmp 0x47832d
mov eax, dword [0x4acd20]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x824], 0x499831
mov dword [esp + 0xc44], ebx
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc4c], ebx
mov dword [esp + 0xc64], ebx
mov dword [esp + 0xc68], ebx
cmp byte [esp + 0x8e7c], bl
je 0x478373
mov byte [esp + 0xc41], bl
cmp eax, ebx
je 0x47837b
mov byte [esp + 0xc41], 1
mov ecx, dword [0x4acd1c]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0xc54], eax
lea eax, [esp + 0x18]
push eax
push 0x4785d0
mov dword [esp + 0xc58], ecx
mov dword [esp + 0xc60], edx
call esi
mov eax, dword [esp + 0xc48]
cmp eax, ebx
je 0x478428
lea ecx, [esp + 0x10]
push ecx
push 0x477210
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4783e5
mov edx, dword [esp + 0xc48]
call fcn.00477c90
mov dword [esp + 0xc48], esi
mov eax, dword [esp + 0xc48]
call fcn.00476260
mov edx, dword [esp + 0xc48]
call fcn.00477c90
mov edx, dword [0x4a7440]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x478450
push 1
push eax
call fcn.00401290
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8e68
ret 4
mov eax, dword [0x4acd20]
cmp eax, ebx
je 0x478450
cmp eax, 1
setg al
mov dword [0x4acd20], ebx
cmp al, bl
je 0x478450
mov edx, ebp
call fcn.00477c90
push ebx
mov ecx, edi
call fcn.004782d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8e68
ret 4
Function at 0x48c5a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a6d90]
jne 0x48c5ae
repz ret
jmp fcn.00490ed7

Function at 0x48ef24
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a6d90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00489542
and dword [ebp - 0x14], 0
cmp dword [0x4a9554], 0
mov dword [ebp - 0x18], eax
jne 0x48efd7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x48f07f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x48f07f
mov esi, dword [fcn.004850b0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4a9554], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a9558], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a955c], eax
call edi
push eax
call esi
mov dword [0x4a9564], eax
test eax, eax
je 0x48efd7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a9560], eax
mov eax, dword [0x4a9560]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.004850b4]
cmp eax, ecx
je 0x48f030
cmp dword [0x4a9564], ecx
je 0x48f030
push eax
call esi
push dword [0x4a9564]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x48f030
test ebx, ebx
je 0x48f030
call edi
test eax, eax
je 0x48f027
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x48f027
test byte [ebp - 8], 1
jne 0x48f030
or dword [ebp + 0x10], 0x200000
jmp 0x48f063
mov eax, dword [0x4a9558]
cmp eax, dword [ebp - 0x18]
je 0x48f063
push eax
call esi
test eax, eax
je 0x48f063
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x48f063
mov eax, dword [0x4a955c]
cmp eax, dword [ebp - 0x18]
je 0x48f063
push eax
call esi
test eax, eax
je 0x48f063
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a9554]
call esi
test eax, eax
je 0x48f07f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x48f081
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048c5a4
leave
ret
Function at 0x409310
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [0x43d0d4]
push esi
add eax, 1
push edi
push eax
mov dword [esp + 0xc], 1
call fcn.00418080
mov dword [esp + 0x14], eax
call fcn.00418a50
xor edi, edi
push edi
mov dword [0x43d6a8], eax
mov dword [0x43d6b0], eax
mov dword [0x43d6a4], eax
mov dword [0x43d6b8], edi
mov dword [0x43d6dc], edi
mov dword [0x43d6d8], edi
call fcn.00406c60
mov dword [0x43d6d0], eax
mov dword [0x43d6d4], eax
mov dword [0x43d6cc], eax
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, edi
je 0x409401
push ebx
mov ebx, dword [eax + 4]
push ebp
lea esi, [eax + 4]
push eax
call fcn.00417770
mov ebp, eax
add esp, 4
cmp ebp, edi
jle 0x4093ff
mov dword [esp + 0x14], esi
call fcn.00418a50
mov ecx, dword [esp + 0x20]
push 0
push edi
push ebp
push ecx
mov esi, eax
call fcn.00417cb0
movzx edx, byte [esp + 0x20]
shl edx, 0xc
xor edx, dword [esi + 0x50]
push esi
and edx, 0x1000
xor dword [esi + 0x50], edx
mov dword [esi + 0x34], eax
call fcn.00418200
or dword [esi + 0x50], 0x400
push ebx
call fcn.00418280
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00417f30
mov eax, dword [esp + 0x34]
xor dword [esp + 0x30], 1
mov ebx, dword [eax + 4]
add eax, 4
add edi, 1
add esp, 0x20
cmp edi, ebp
mov dword [esp + 0x14], eax
jl 0x409396
xor edi, edi
pop ebp
pop ebx
mov eax, dword [0x43d6b0]
mov esi, eax
cmp esi, edi
je 0x409453
jmp 0x409415
mov eax, dword [0x43d6b0]
cmp dword [esi + 0x30], edi
je 0x409453
cmp eax, edi
je 0x40943a
xor ecx, ecx
cmp dword [eax + 0x30], edi
je 0x40943a
cmp eax, esi
je 0x409433
mov edx, dword [esi + 0x3c]
mov dword [edx + ecx + 4], eax
add ecx, 4
mov eax, dword [eax + 0x30]
cmp eax, edi
jne 0x409420
mov eax, dword [0x43d0d4]
mov ecx, dword [esi + 0x3c]
push eax
push ecx
call fcn.004178b0
mov esi, dword [esi + 0x30]
add esp, 8
cmp esi, edi
jne 0x409410
lea edx, [esp + 0x10]
push edx
call fcn.00418180
add esp, 4
cmp dword [0x43cef0], 1
pop edi
pop esi
jl 0x409483
mov eax, dword [0x43d690]
push str.qh_createsimplex:_created_simplex_n
push 0x404
push eax
call fcn.00416e30
add esp, 0xc
add esp, 0xc
ret
Function at 0x422cd0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x43cef0], 4
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
jl 0x422cfe
mov eax, dword [ebp + 0x4c]
mov ecx, dword [0x43d690]
push eax
push str.qh_degen_redundant_facet:_test_facet_f_d_for_degen_redundant_n
push 0xfb5
push ecx
call fcn.00416e30
add esp, 0x10
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x422ddb
mov edi, dword [eax + 4]
test edi, edi
lea ebx, [eax + 4]
je 0x422ddb
mov edx, dword [0x43d784]
lea ecx, [ecx]
lea eax, [edx + 1]
xor eax, edx
and eax, 0x7fffffff
xor edx, eax
mov dword [0x43d784], edx
mov eax, dword [edi + 0x34]
add ebx, 4
test eax, eax
je 0x422d63
lea ecx, [eax + 4]
mov eax, dword [ecx]
test eax, eax
je 0x422d63
mov esi, dword [eax + 0x10]
xor esi, edx
and esi, 0x7fffffff
xor dword [eax + 0x10], esi
mov eax, dword [ecx + 4]
mov edx, dword [0x43d784]
add ecx, 4
test eax, eax
jne 0x422d45
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x422d95
lea ecx, [eax + 4]
mov eax, dword [ecx]
test eax, eax
je 0x422d95
mov esi, edx
and esi, 0x7fffffff
jmp 0x422d80
mov eax, dword [eax + 0x10]
and eax, 0x7fffffff
add ecx, 4
cmp eax, esi
jne 0x422dd1
mov eax, dword [ecx]
test eax, eax
jne 0x422d80
push 0
push 7
push edi
push ebp
call fcn.00422630
add esp, 0x10
cmp dword [0x43cef0], 2
jl 0x422e22
mov ecx, dword [edi + 0x4c]
mov edx, dword [ebp + 0x4c]
mov eax, dword [0x43d690]
push ecx
push edx
push str.qh_degen_redundant_facet:_f_d_is_contained_in_f_d.__merge_n
push 0x7df
push eax
call fcn.00416e30
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret
mov edi, dword [ebx]
test edi, edi
jne 0x422d20
mov ecx, dword [ebp + 0x3c]
push ecx
call fcn.00417770
add esp, 4
cmp eax, dword [0x43d0d4]
jge 0x422e22
push 0
push 6
push ebp
push ebp
call fcn.00422630
add esp, 0x10
cmp dword [0x43cef0], 2
jl 0x422e22
mov edx, dword [ebp + 0x4c]
mov eax, dword [0x43d690]
push edx
push str.qh_degen_redundant_neighbors:_f_d_is_degenerate._n
push 0x7e0
push eax
call fcn.00416e30
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x422e30
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x43cef0], 4
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
jl 0x422e6f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x422e4e
mov eax, dword [eax + 0x4c]
jmp 0x422e51
or eax, 0xffffffff
mov ecx, dword [0x43d690]
push eax
mov eax, dword [ebp + 0x4c]
push eax
push str.qh_degen_redundant_neighbors:_test_neighbors_of_f_d_with_delfacet_f_d_n
push 0xfb6
push ecx
call fcn.00416e30
add esp, 0x14
mov edx, dword [ebp + 0x3c]
push edx
call fcn.00417770
mov esi, eax
add esp, 4
cmp esi, dword [0x43d0d4]
jge 0x422ec0
push 0
push 6
push ebp
push ebp
call fcn.00422630
mov ebx, 2
add esp, 0x10
cmp dword [0x43cef0], ebx
jl 0x422ec5
mov eax, dword [ebp + 0x4c]
mov ecx, dword [0x43d690]
push esi
push eax
push str.qh_degen_redundant_neighbors:_f_d_is_degenerate_with__d_neighbors._n
push 0x7e1
push ecx
call fcn.00416e30
add esp, 0x14
jmp 0x422ec5
mov ebx, 2
cmp dword [esp + 0x18], 0
jne 0x422ed0
mov dword [esp + 0x18], ebp
mov eax, dword [0x43d784]
lea edx, [eax + 1]
xor edx, eax
and edx, 0x7fffffff
xor eax, edx
mov dword [0x43d784], eax
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x422f1b
lea ecx, [eax + 4]
mov eax, dword [ecx]
test eax, eax
je 0x422f1b
jmp 0x422f00
mov edx, dword [eax + 0x10]
xor edx, dword [0x43d784]
add ecx, 4
and edx, 0x7fffffff
xor dword [eax + 0x10], edx
mov eax, dword [ecx]
test eax, eax
jne 0x422f00
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x422fa4
mov esi, dword [eax + 4]
test esi, esi
lea edi, [eax + 4]
je 0x422fa4
add edi, 4
cmp esi, ebp
je 0x422f9e
mov eax, dword [esi + 0x34]
test eax, eax
je 0x422f68
lea ecx, [eax + 4]
mov eax, dword [ecx]
test eax, eax
je 0x422f68
mov edx, dword [0x43d784]
and edx, 0x7fffffff
mov eax, dword [eax + 0x10]
and eax, 0x7fffffff
add ecx, 4
cmp eax, edx
jne 0x422f9e
mov eax, dword [ecx]
test eax, eax
jne 0x422f53
push 0
push 7
push ebp
push esi
call fcn.00422630
add esp, 0x10
cmp dword [0x43cef0], ebx
jl 0x422f9e
mov ecx, dword [ebp + 0x4c]
mov edx, dword [esi + 0x4c]
mov eax, dword [0x43d690]
push ecx
push edx
push str.qh_degen_redundant_neighbors:_f_d_is_contained_in_f_d.__merge_n
push 0x7e2
push eax
call fcn.00416e30
add esp, 0x14
mov esi, dword [edi]
test esi, esi
jne 0x422f30
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x42301c
mov esi, dword [eax + 4]
test esi, esi
lea ebx, [eax + 4]
je 0x42301c
lea esp, [esp]
add ebx, 4
cmp esi, ebp
je 0x423016
mov edx, dword [esi + 0x3c]
push edx
call fcn.00417770
mov edi, eax
add esp, 4
cmp edi, dword [0x43d0d4]
jge 0x423016
push 0
push 6
push esi
push esi
call fcn.00422630
add esp, 0x10
cmp dword [0x43cef0], 2
jl 0x423016
mov eax, dword [ebp + 0x4c]
mov ecx, dword [esi + 0x4c]
mov edx, dword [0x43d690]
push eax
push edi
push ecx
push str.qh_degen_redundant_neighbors:_f_d_is_degenerate_with__d_neighbors.__Neighbor_of_f_d._n
push 0x7e3
push edx
call fcn.00416e30
add esp, 0x18
mov esi, dword [ebx]
test esi, esi
jne 0x422fc0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x427e50
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43a010]
jne 0x427e5a
repz ret
jmp fcn.0042827a
Function at 0x401770
Capabilities:
Check if file exists
Create directory
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
mov ebx, edx
lea eax, [ebp - 0x20a]
mov esi, ecx
push eax
call fcn.0040be50
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00409a8d
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20c]
add esp, 0x18
push 0
push eax
call esi
push 0x422700
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00409a21
push 0x4226fc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00409a21
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push eax
call esi
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00409a21
push str..lnk
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00409a21
add esp, 0x18
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push 0x41d260
push 1
push 0
push 0x41d280
mov dword [ebp - 0x214], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4018e9
mov eax, dword [ebp - 0x210]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x210]
push 0x422700
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x210]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x41d270
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4018e9
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4018d4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
push 2
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x214]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x4018fc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x210]
test ecx, ecx
je 0x40190c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409948
mov esp, ebp
pop ebp
ret

Function at 0x401920
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
xor eax, eax
mov dword [ebp - 0x58], 0x44
mov word [ebp - 0x26], ax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 0
push eax
push 0
push 0
push 0x200
push 0
push 0
push 0
push edx
push 0
mov dword [ebp - 0x50], 0x422700
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x2c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401995
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4019a0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov edx, 0x422700
mov eax, edi
nop
mov cx, word [eax]
cmp cx, word [edx]
jne 0x4019e6
test cx, cx
je 0x4019e2
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x4019e6
add eax, 4
add edx, 4
test cx, cx
jne 0x4019c0
xor eax, eax
jmp 0x4019eb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401a02
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409948
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.0040be50
add esp, 0xc
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push eax
lea eax, [ebp - 0x20e]
push eax
call fcn.0040be50
add esp, 0xc
lea eax, [ebp - 0x418]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x418]
push 0x42283c
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x668]
push eax
push 0
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0x66c], eax
cmp eax, 0xffffffff
je 0x4019ef
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
test byte [ebp - 0x668], 0x10
lea eax, [ebp - 0x63c]
push 0x422840
push eax
jne 0x401b1d
call esi
test eax, eax
je 0x401b82
push 0x422844
lea eax, [ebp - 0x63c]
push eax
call esi
test eax, eax
je 0x401b82
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0040be50
add esp, 0xc
lea eax, [ebp - 0x210]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x401b82
push 4
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x401b82
call esi
test eax, eax
je 0x401b82
push 0x422844
lea eax, [ebp - 0x63c]
push eax
call esi
test eax, eax
je 0x401b82
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0040be50
add esp, 0xc
lea eax, [ebp - 0x210]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x210]
push eax
call ebx
push 0x4226fc
lea eax, [ebp - 0x210]
push eax
call ebx
lea ecx, [ebp - 0x210]
call fcn.004019a0
lea eax, [ebp - 0x668]
push eax
push dword [ebp - 0x66c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401a91
push dword [ebp - 0x66c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
cmp eax, 1
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.00409948
mov esp, ebp
pop ebp
ret