joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403aa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.0043dfd0
mov eax, dword [0x478584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp byte [esi + 1], 0
jne 0x403afb
mov eax, dword [esi + 0x24]
test eax, eax
je 0x403afb
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push 0x45e71c
push 1
push eax
call edx
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push 0x45e71c
push 2
push eax
call edx
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push 0x45e71c
push 0xb
push eax
call edx
xor ebx, ebx
cmp byte [esi + 0xa4], bl
jne 0x403bec
push edi
lea ebx, [ebx]
mov edx, dword [esi + 0xb0]
push 0
lea eax, [ebp - 0x2008]
push eax
push 0x2000
lea ecx, [ebp - 0x2004]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403beb
mov eax, dword [ebp - 0x2008]
test eax, eax
je 0x403bab
mov ecx, dword [esi + 0x80]
lea edx, [ebp - 0x2004]
mov edi, eax
test edx, edx
je 0x403b6d
push eax
call fcn.004038b0
push edi
lea ecx, [ebp - 0x2004]
push ecx
push eax
call fcn.0043e4c0
add esp, 0xc
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, ebx
sub eax, edx
jne 0x403b8c
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp byte [esi + 0xa4], 0
je 0x403b10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043dfbe
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 0x80]
push 1
mov ecx, esi
call fcn.00403560
push esi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x45], bl
jne 0x403bce
mov byte [esi + 0x46], 1
jmp 0x403bd0
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x403beb
mov ecx, esi
call fcn.004032c0
push esi
call fcn.0043d995
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043dfbe
mov esp, ebp
pop ebp
ret
Function at 0x404580
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40459b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4045d2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4045ce
jmp 0x4045c0
cmp esi, eax
jae 0x4045d2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4045c0
cmp esi, eax
jb 0x4045d9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x405090
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454fa6
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x478584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x818]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405192
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x4050f0
cmp eax, 6
jne 0x405192
mov eax, dword [0x47a024]
push 0x800
lea edx, [ebp - 0x810]
push edx
xor ecx, ecx
push eax
mov word [ebp - 0x810], cx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x814]
call fcn.00404fd0
mov dword [ebp - 4], 0
push 4
push str..old
lea ecx, [ebp - 0x814]
call fcn.004018e0
mov edx, dword [ebp - 0x814]
push edx
call ebx
mov eax, dword [ebp - 0x814]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push eax
lea ecx, [ebp - 0x810]
push ecx
call esi
test eax, eax
je 0x405169
lea edx, [ebp - 0x810]
push edx
push edi
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405192
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dfbe
mov esp, ebp
pop ebp
ret

Function at 0x4051c0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454fe0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x478584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 3
push esi
push ebx
mov byte [ebp - 0xd], 0
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x405214
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x14]
call fcn.00404fd0
mov dword [ebp - 4], 0
push 4
push str..old
lea ecx, [ebp - 0x14]
call fcn.004018e0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push ecx
push esi
call edi
test eax, eax
je 0x405258
push esi
push ebx
call edi
mov bl, 1
test eax, eax
jne 0x40525b
mov bl, byte [ebp - 0xd]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405281
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
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 0x4052a0
Capabilities:
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45502b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x478584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00436080
mov dword [ebp - 4], 0
push 0x20
call fcn.0043e28a
add esp, 8
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4052f7
mov ecx, eax
call fcn.004143a0
mov esi, eax
jmp 0x4052f9
xor esi, esi
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push 0
push 0
mov dword [esi + 4], 0x84000000
mov eax, dword [ecx]
mov edx, dword [ebp - 0x10]
push 0
push eax
push edx
mov ecx, esi
call fcn.00414720
test eax, eax
je 0x405328
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
call fcn.004141d0
mov eax, dword [esi]
mov edx, dword [eax]
mov bl, byte [esi + 0x14]
push 1
mov ecx, esi
call edx
test bl, bl
je 0x4053fa
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp + 0xc]
push ecx
xor bl, bl
call fcn.0042de60
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.00404870
add esp, 0x10
test al, al
je 0x405385
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x10]
push eax
push edx
call fcn.004051c0
add esp, 8
test al, al
je 0x405390
mov bl, 1
jmp 0x405390
push str.Error:_the_md5sum_of_res_file_is_wrong
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4053b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4053c1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4053e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Error:_can_not_download_res_file
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4053b7

Function at 0x405e50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4057b0
push 0
push 0
call fcn.0043e3cf
add esp, 0x18
test eax, eax
je 0x405e78
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x406de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455351
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x478584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea ecx, [ebp - 0x814]
call fcn.00404fd0
xor esi, esi
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x406e69
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jg 0x406e61
lea eax, [edi + edi]
call fcn.0043eb80
mov esi, esp
test esi, esi
je 0x406e61
push edi
push esi
push 0xffffffffffffffff
xor eax, eax
push ebx
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x406e63
xor eax, eax
mov esi, eax
test eax, eax
jne 0x406e6d
xor eax, eax
jmp 0x406e7f
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406e70
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x814]
call fcn.004018e0
push 0xb
push str.Connection
lea ecx, [ebp - 0x814]
call fcn.004018e0
mov edx, dword [ebp - 0x814]
lea ecx, [ebp - 0x818]
push ecx
push 0x20019
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x406ef2
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406eeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x406f7e
mov eax, dword [ebp - 0x818]
lea ecx, [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x810]
push edx
xor esi, esi
push esi
push esi
push str.PnpInstanceID
push eax
mov dword [ebp - 0x81c], 0x7fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406f46
push 0x45e8a4
lea edx, [ebp - 0x810]
xor ecx, ecx
push edx
mov word [ebp - 0x80a], cx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x406f46
lea esi, [eax + 1]
mov eax, dword [ebp - 0x818]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406f7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
lea esp, [ebp - 0x828]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dfbe
mov esp, ebp
pop ebp
ret
Function at 0x409ef0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455ca3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x478584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0043d78b
mov dword [ebp - 4], 0
push 4
call fcn.0043e28a
mov edi, eax
add esp, 4
test edi, edi
je 0x409f78
call fcn.0043d449
mov dword [edi], eax
call fcn.0043d208
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0043d13d
mov byte [ebp - 4], 1
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x409f6a
inc eax
mov dword [ebx + 4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0043d165
jmp 0x409f7a
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 0x40bdf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456108
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x478584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x40bf1d
cmp byte [edi + 0x49], bl
je 0x40bf1d
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x40beaf
mov ecx, 0xf
mov dword [ebp - 0x18], ecx
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x40be64
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x40be7c
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x40beb3
dec eax
je 0x40beb7
sub eax, 2
je 0x40bf0e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404930
xor al, al
jmp 0x40bf1f
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x40bec7
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x40bef0
cmp ebx, 0x10
jae 0x40bed6
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00440434
add esp, 0x10
cmp esi, eax
jne 0x40bea0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x40bf0e
test esi, esi
jne 0x40be70
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040b090
jmp 0x40be6a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404930
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dfbe
mov esp, ebp
pop ebp
ret
Function at 0x40ea80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456562
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x478584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], ecx
je 0x40eadd
lea eax, [ebx + 0x60]
mov dword [ebx], 0x45f150
mov dword [ebp + 8], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], ecx
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebx]
mov edi, dword [edx + 4]
add edi, ebx
mov ecx, edi
call fcn.00409800
lea esi, [ebx + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.0040a930
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x40eb29
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.00409660
mov dword [ebp - 4], 4
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
mov dword [ebp + 8], esi
call fcn.00409ef0
mov byte [ebp - 4], 5
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x4798f0]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x411d90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4570f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x478584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [0x47839c]
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
xor bl, bl
cmp dword [eax + 0x14], 0x10
jb 0x411de7
mov eax, dword [eax]
push 3
push ecx
push eax
call fcn.0043c730
mov esi, eax
add esp, 0xc
test esi, esi
je 0x411e64
lea eax, [ebp + 8]
push eax
call fcn.00436080
add esp, 4
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f40
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x10]
push 2
push 0
push edi
push 0
push esi
call fcn.0043c7f0
add esp, 0x14
test eax, eax
jne 0x411e50
mov bl, 1
jmp 0x411e57
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call fcn.0043c840
add esp, 4
test bl, bl
jne 0x411e9d
mov dword [ebp - 4], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004116f0
mov esi, dword [ebp - 0x10]
push esi
mov bl, al
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411ed8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x412280
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41229d
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x412420
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x478584]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 1
push esi
mov esi, ecx
je 0x4124ca
cmp dword [esi + 0x2c], 0
je 0x4124ca
mov ecx, dword [esi + 4]
xor eax, eax
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push ecx
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esi + 0x3fc], 0
je 0x412497
mov edi, dword [esi + 0x408]
mov edx, dword [esi + 0x40c]
mov ecx, dword [esi + 0x410]
mov eax, dword [esi + 0x414]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
jmp 0x4124a3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
push 0x14
sub eax, edx
push eax
sub ecx, edi
push ecx
push edx
mov edx, dword [esi + 0x2c]
push edi
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 4]
push 1
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
cmp dword [ebp + 0xc], 1
jne 0x4124dc
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0043dfbe
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4127b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0x8021
je 0x4127d7
dec eax
jne 0x4127e3
mov eax, dword [ecx + 0x3f8]
mov eax, dword [eax + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push eax
call edx
xor eax, eax
pop ebp
ret 0x10
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop ebp
ret 0x10
Function at 0x4140e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 8], 0
je 0x4140f3
xor al, al
pop edi
pop ebp
ret 0x10
push ebx
push esi
lea ebx, [edi + 0xc]
push 0x1c
mov dword [ebx], 0
call fcn.0043e28a
mov esi, eax
mov eax, dword [edi + 4]
mov dword [esi + 4], ebx
mov ebx, dword [ebp + 8]
add esp, 4
push ebx
mov dword [esi + 0x18], eax
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
call fcn.0043fa92
add esp, 4
push ebx
push eax
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x41416a
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x41416a
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
call fcn.0043fa92
add esp, 4
push ebx
push eax
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x414171
mov dword [esi + 0xc], 0
xor eax, eax
cmp dword [ebp + 0x10], eax
je 0x41419b
mov ebx, dword [ebp + 0x14]
cmp ebx, eax
jle 0x41419b
push ebx
call fcn.0043fa92
mov ecx, dword [ebp + 0x10]
push ebx
push ecx
push eax
mov dword [esi + 0x10], eax
call fcn.0043e4c0
add esp, 0x10
mov dword [esi + 0x14], ebx
jmp 0x4141a1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea edx, [edi + 0x10]
push edx
push 0
push esi
push 0x413d50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov dword [edi + 8], eax
test eax, eax
pop ebx
setne al
pop edi
pop ebp
ret 0x10

Function at 0x415be0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457b36
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x478584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
call fcn.0043e28a
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x415c52
mov dword [esi], 0
mov eax, dword [0x47839c]
mov edx, dword [eax + 0xc]
lea edi, [esi + 4]
mov ecx, 0x47839c
mov dword [ebp - 0x14], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
mov dword [edi + 4], 0
mov byte [ebp - 4], 0
jmp 0x415c54
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4799cc]
inc eax
mov dword [0x4799cc], eax
mov dword [esi], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esi + 4]
call fcn.00401f40
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x18]
push edx
push 0
push esi
push 0x4154b0
push 0
push 0
mov dword [esi + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4799cc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret