joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431e40
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47ed88
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x431e79
inc eax
mov dword [esi + 0x10], eax
jmp 0x431f8c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x431e8d
mov eax, 0xffffffc7
jmp 0x431f8e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x431e9e
cmp dword [esi + 8], eax
jne 0x431e8d
cmp dword [esi + 8], eax
jne 0x431eb7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x431eb7
mov eax, 0xffffffc7
jmp 0x431f8e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x431ecb
push eax
mov ecx, ebx
call fcn.00431670
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401f20
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x431efc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00401f40
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00430de0
test eax, eax
mov dword [esp + 0x38], eax
je 0x431f2f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6678d0
call fcn.00402120
mov eax, dword [esp + 0x38]
jmp 0x431f8e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00431ca0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x431f73
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00431cc0
mov esi, eax
test esi, esi
jne 0x431fa3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00431ca0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x431f45
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6678d0
call fcn.00402120
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6678d0
call fcn.00402120
mov eax, esi
jmp 0x431f8e

Function at 0x4369c0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x436a20
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x436a20
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x436a20
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x436a20
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x436a60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4425e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47f678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0047804e
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00441f40
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00477f7c
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00474840
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00474840
push 1
push 0
push 0
mov ecx, esi
call fcn.004747e8
push 1
push 0
push 1
mov ecx, esi
call fcn.004747e8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004780c0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x442760
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47f698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0047804e
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00441f40
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00477f7c
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x442824
cmp dword [esp + 0x40], 1
jne 0x442822
cmp ecx, eax
jge 0x442824
mov eax, ecx
cmp eax, 0xc8
jge 0x442830
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004425e0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004780c0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x443030
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47f743
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00472c5e
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004782f6
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00479812
test eax, eax
je 0x44314c
mov ecx, dword [esp + 0x3c]
call fcn.00478323
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x443110
push edi
mov ecx, esi
call fcn.0047598a
mov ecx, esi
call fcn.004432f0
cmp dword [esp + 0x38], 1
jne 0x443145
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00475ac5
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x445330
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445363
push esi
call fcn.004536e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44535c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4453e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4453d2
mov eax, dword [esi + 8]
test eax, eax
je 0x445387
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4453ce
cmp eax, 2
je 0x4453d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44537a
cmp eax, 3
je 0x4453ad
cmp eax, 1
jne 0x44537a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44537a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44537a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445410
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4453f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445410
add esp, 4
pop esi
ret

Function at 0x445c90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x445cb1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x445cb1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x445cb1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x473a53
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x473a8b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00471b0a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00471ae2
jmp 0x473a97
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x475144
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x475186
call fcn.0047ac02
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x475186
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47517d
xor eax, eax
jmp 0x47518e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00475194
pop edi
pop esi
pop ebx
ret 4
Function at 0x47b132
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47b160
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47b17e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047b098
jmp 0x47b17e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47b17e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047b098
test edi, edi
mov eax, edi
jne 0x47b168
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1038c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1038c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1038c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1038c06a
add dl, dl
jne 0x1038c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1038c0dc
xor eax, eax
add dl, dl
jne 0x1038c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1038c17d
add dl, dl
jne 0x1038c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1038c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1038c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1038c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1038c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1038c075
mov eax, 1
add dl, dl
jne 0x1038c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1038c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1038c0e1
sub eax, ebx
mov ebx, 1
jne 0x1038c128
mov ecx, 1
add dl, dl
jne 0x1038c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1038c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1038c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1038c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1038c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1038c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1038c136
cmp eax, 0x7d00
jae 0x1038c16d
cmp eax, 0x500
jb 0x1038c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1038c075
cmp eax, 0x7f
ja 0x1038c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1038c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1038c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1038c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x101addd
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1006ee8
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101ae35
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x1004d40
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101ae28
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x101ae37
xor eax, eax
pop esi
leave
ret 4

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x409ac5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44302c]
jne 0x409acf
repz ret
jmp fcn.00409f00

Function at 0x40b0a0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x44479c]
test eax, eax
je 0x40b0b6
cmp eax, ecx
je 0x40b0b6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [0x4447a4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [0x4447ac]
push 0x7d0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40b0ea
mov eax, dword [0x4447ac]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
ret

Function at 0x40bd50
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x44479c]
test ecx, ecx
je 0x40bd68
cmp ecx, esi
je 0x40bd68
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [0x4447a4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x390]
pop esi
test eax, eax
je 0x40bde7
cmp dword [eax + 0x18], 0
je 0x40bdc0
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 1
call eax
test eax, eax
jl 0x40bdc0
mov ecx, dword [0x4447ac]
push 0x7d0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40bdbd
mov edx, dword [0x4447ac]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
ret
mov eax, dword [0x4447ac]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40bde7
mov ecx, dword [0x4447ac]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, 0x80004005
ret

Function at 0x40bdf0
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x390]
push edi
xor edi, edi
cmp esi, edi
je 0x40be46
mov eax, dword [esi + 8]
cmp eax, edi
je 0x40be14
push eax
call sub.mfc90.dll_Ordinal_800
add esp, 4
mov dword [esi + 8], edi
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x40be25
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esi + 4], edi
mov ecx, dword [esi + 0xc]
cmp ecx, edi
je 0x40be36
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esi + 0xc], edi
add ebx, 0x60
push ebx
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
ret

Function at 0x40cc20
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x4447ac]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40cc47
mov ecx, dword [0x4447ac]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
ret
Function at 0x40cec0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x30]
test eax, 0xfffffffc
je 0x40cfc1
mov esi, dword [edi + 0x30]
cmp esi, dword [edi + 0x34]
jbe 0x40ceec
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 0x24]
mov edi, esi
mov esi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebx, ebx
jne 0x40cfca
call esi
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x40cf0a
call esi
cmp dword [edi], 0
je 0x40cf77
test ebx, ebx
jne 0x40cfd1
call esi
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x40cf22
call esi
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
cmp eax, 1
jne 0x40cf77
test ebx, ebx
jne 0x40cfd8
call esi
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x40cf43
call esi
mov ecx, dword [edi]
push 0
push 0x443ea4
push 0x443e80
push 0
push ecx
call sub.MSVCR90.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
test esi, esi
je 0x40cf77
call fcn.0040bdf0
cmp byte [ebp + 0xc], 0
je 0x40cf77
add esi, 0x60
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x34]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x30], eax
jbe 0x40cf8c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esi + 0x24]
test ebx, ebx
jne 0x40cfdf
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x40cfa6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add edi, 4
test ebx, ebx
je 0x40cfb1
cmp ebx, esi
je 0x40cfb7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0xc]
jne 0x40cef1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx]
jmp 0x40cf03
mov eax, dword [ebx]
jmp 0x40cf1b
mov eax, dword [ebx]
jmp 0x40cf3c
mov eax, dword [ebx]
jmp 0x40cf9b

Function at 0x40d660
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push 0x40d190
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
mov dword [0x4447ac], eax
xor eax, eax
add esp, 0x1c
ret

Function at 0x40d870
Capabilities:
Get common file path

Disassembly:
mov eax, 1
sub esp, 0x208
test byte [0x444934], al
jne 0x40d8a1
or dword [0x444934], eax
mov ecx, 0x444930
call dword [sym.imp.mfc90.dll_Ordinal_316]
push 0x4339e0
call fcn.00409787
add esp, 4
mov eax, dword [0x444930]
cmp dword [eax - 0xc], 0
jne 0x40d8ff
push 0x207
lea ecx, [esp + 5]
push 0
push ecx
mov byte [esp + 0xc], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [esp]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40d8ff
cmp byte [esp + eax - 1], 0x5c
lea eax, [esp + eax - 1]
jne 0x40d8f0
mov byte [eax], 0
lea ecx, [esp]
push ecx
mov ecx, 0x444930
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, 0x444930
add esp, 0x208
ret
Function at 0x410570
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x431257
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x308
cmp dword [eax + 0x6c], 0
je 0x41069d
mov eax, dword [eax + 0x6c]
push edi
mov edi, dword [eax + 8]
test edi, edi
je 0x41069c
push esi
mov esi, dword [eax + 4]
push 0x434bef
lea ecx, [esp + 0x10]
inc esi
call dword [sym.imp.mfc90.dll_Ordinal_310]
xor ecx, ecx
push 0xfe
mov dword [esp + 0x31c], 0
xor eax, eax
push ecx
lea edx, [esp + 0x21a]
push edx
mov word [esp + 0x14], ax
mov byte [esp + 0x16], al
mov word [esp + 0x21c], cx
call sub.MSVCR90.dll_memset
xor eax, eax
push 0xfe
push eax
lea ecx, [esp + 0x126]
push ecx
mov word [esp + 0x128], ax
call sub.MSVCR90.dll_memset
xor edx, edx
push 0xfe
push edx
lea eax, [esp + 0x32]
push eax
mov word [esp + 0x34], dx
call sub.MSVCR90.dll_memset
push 0x100
lea ecx, [esp + 0x38]
push ecx
push 0x100
lea edx, [esp + 0x140]
push edx
push 0x100
lea eax, [esp + 0x248]
push eax
push 3
lea ecx, [esp + 0x48]
push ecx
push edi
call dword [sym.imp.MSVCR90.dll__splitpath_s]
add esp, 0x48
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x114]
push eax
push esi
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push 0x434d10
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
mov ecx, dword [esp + 0x28]
add esp, 0x1c
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
pop esi
pop edi
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
add esp, 0x314
ret 4