joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439e0d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x45bde8], 0x2c
jl 0x401de8
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x401dda
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x401e07
push 0x2c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x401e07
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
call fcn.004020d0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x401ec0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439e75
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x45bde8], 0x2c
jl 0x401f1d
push 0x45bdec
call fcn.004296e0
mov edi, dword [0x45bde4]
add esp, 4
test edi, edi
je 0x401f0f
mov eax, dword [edi]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test edi, edi
jne 0x401f3c
push 0x2c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x401f3c
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.004020d0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CWString.0
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
call dword [eax + 0x44]
lea eax, [ebx + 0x10]
push eax
lea ecx, [edi + 0x10]
call fcn.00402f40
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402460
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439e0d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x45bde8], 0x28
jl 0x4024b8
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x4024aa
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x4024d7
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x4024d7
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push ecx
call fcn.004027e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x402500
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439f85
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x45bde8], 0x28
jl 0x40255c
push 0x45bdec
call fcn.004296e0
mov esi, dword [0x45bde4]
add esp, 4
test esi, esi
je 0x40254e
mov eax, dword [esi]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test esi, esi
jne 0x40257b
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x40257b
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push ecx
mov ecx, esi
call fcn.004027e0
mov byte [ebp - 4], 1
mov ecx, esi
push edi
mov dword [esi], vtable.CVolObjectArray.0
call fcn.00402600
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402cd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a185
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x45bde8], 0x1c
jl 0x402d28
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x402d1a
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x402d47
push 0x1c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x402d47
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolMem.0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x18], 0x40
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x402e50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a1fd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x45bde8], 0x1c
jl 0x402eab
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x402e9d
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x402eca
push 0x1c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x402eca
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push esi
call fcn.00402db0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403480
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a185
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x45bde8], 0x10
jl 0x4034d8
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x4034ca
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x4034f7
push 0x10
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x4034f7
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolRefObject.0
mov dword [ecx + 0xc], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x403540
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a2dd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x45bde8], 0x10
jl 0x40359c
push 0x45bdec
call fcn.004296e0
mov esi, dword [0x45bde4]
add esp, 4
test esi, esi
je 0x40358e
mov eax, dword [esi]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test esi, esi
jne 0x4035bb
push 0x10
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x4035bb
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.CVolObject.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi], vtable.CVolRefObject.0
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 2
mov dword [esi], vtable.CVolRefObject.0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov edi, dword [edi + 0xc]
test edi, edi
je 0x40360e
mov ecx, edi
call fcn.00412720
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40361a
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [esi + 0xc], edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403a10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439e0d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x45bde8], 0xc
jl 0x403a68
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x403a5a
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x403a87
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x403a87
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x403b40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a3b5
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x45bde8], 0xc
jl 0x403b9b
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x403b8d
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x403bba
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x403bba
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolObject.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404680
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a602
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x45b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x224], esi
push 0
push eax
mov dword [ebp - 0x21c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, esi
call fcn.004020d0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
mov dword [esi], vtable.CWString.0
call fcn.0042a710
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438998
mov esp, ebp
pop ebp
ret

Function at 0x404b30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a185
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x45bde8], 0xc
jl 0x404b88
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x404b7a
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x404ba7
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x404ba7
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.rg_n52::rg_n2442.0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x404c70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a6fd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x45bde8], 0xc
jl 0x404ccb
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x404cbd
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x404cea
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x404cea
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.rg_n52::rg_n2442.0
mov byte [ebp - 4], 2
mov dword [ecx], vtable.rg_n52::rg_n2442.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404ff0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439e0d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x45bde8], 0x28
jl 0x405048
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x40503a
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x405067
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x405067
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
call fcn.00405300
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x405120
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a7d5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x45bde8], 0x28
jl 0x40517d
push 0x45bdec
call fcn.004296e0
mov esi, dword [0x45bde4]
add esp, 4
test esi, esi
je 0x40516f
mov eax, dword [esi]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test esi, esi
jne 0x40519c
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x40519c
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00405300
mov byte [ebp - 4], 1
lea ebx, [edi + 0xc]
mov dword [esi], vtable.rg_n52::rg_n66.0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
lea edi, [esi + 0xc]
mov dword [esi + 8], eax
cmp ebx, edi
je 0x4051dc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x44]
push ebx
mov ecx, edi
call fcn.00402f40
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406670
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439e0d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x45bde8], 0x70
jl 0x4066c8
push 0x45bdec
call fcn.004296e0
mov ecx, dword [0x45bde4]
add esp, 4
test ecx, ecx
je 0x4066ba
mov eax, dword [ecx]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test ecx, ecx
jne 0x4066e7
push 0x70
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x4066e7
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
call fcn.00406aa0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4067c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ac85
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x45bde8], 0x70
jl 0x40681c
push 0x45bdec
call fcn.004296e0
mov esi, dword [0x45bde4]
add esp, 4
test esi, esi
je 0x40680e
mov eax, dword [esi]
mov dword [0x45bde4], eax
mov dword [0x45bdec], 1
test esi, esi
jne 0x40683b
push 0x70
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x40683b
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00406aa0
mov byte [ebp - 4], 1
mov ecx, esi
push edi
mov dword [esi], vtable.rg_n35050::rg_n36663.0
call fcn.004069a0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406f50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43adc6
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov esi, ecx
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], 0
call fcn.004020d0
mov dword [ebp - 4], 1
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
jne 0x406fd8
mov edx, dword [ebp - 0x3c]
test edx, edx
jne 0x406fb6
cmp dword [ebp - 0x24], eax
mov edx, 0x445b48
cmovne edx, dword [ebp - 0x2c]
mov ecx, esi
call fcn.004020d0
mov byte [ebp - 4], 2
mov ecx, esi
push edx
mov dword [esi], vtable.CWString.0
call fcn.0042a710
mov byte [ebp - 4], 1
jmp 0x407090
inc edi
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x14], edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00438e31
add esp, 4
mov ebx, eax
test edi, edi
je 0x40700f
mov ecx, edi
xor eax, eax
shr ecx, 1
mov edi, ebx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x14]
push edi
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], 0
test eax, eax
je 0x407032
push eax
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
call dword [eax + 0xc]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
cmp word [ebx], 0
je 0x407056
push ebx
lea ecx, [ebp - 0x38]
call fcn.00428bd0
push ebx
call fcn.00438e3a
mov edx, dword [ebp - 0x3c]
add esp, 4
test edx, edx
jne 0x407073
cmp dword [ebp - 0x24], 0
mov edx, 0x445b48
cmovne edx, dword [ebp - 0x2c]
mov ecx, esi
call fcn.004020d0
mov byte [ebp - 4], 3
mov ecx, esi
push edx
mov dword [esi], vtable.CWString.0
call fcn.0042a710
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00402b20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408070
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b30e
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
sub esp, 8
mov ecx, 0x45bdf0
call fcn.004266b0
test eax, eax
jne 0x4080c1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00408360
call fcn.00408990
lea ecx, [ebp - 0x3c]
call fcn.004020d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004020d0
mov byte [ebp - 4], 1
mov ebx, dword [0x40870b]
push 0x445d2c
jmp 0x40a07c
call ebx
cmp dword [0x45bdc0], 0
jmp loc.0045fccb

Function at 0x408360
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b3b3
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
push ebx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], 0
call fcn.004020d0
mov dword [ebp - 4], 0
push 0x445d2c
jmp 0x40a6d2
call fcn.004020d0
mov byte [ebp - 4], 1
movsx ecx, si
mov dword [ebp - 0xec], vtable.CWConstString.0
mov dword [ebp - 0xe0], 0x445b48
not ch
mov byte [ebp - 4], 2
xchg cl, ch
jmp loc.0045ef70
lea esp, [esp + 4]
setle ch
lea ecx, [ebp - 0xec]
jmp 0x40a09a

Function at 0x4085e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
push edi
push 0x445d2c
jmp loc.0045f5c3