joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4050c4
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x4499c6
call fcn.00433846
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CProgressPage.0
mov dword [ebp - 4], 3
xor edi, edi
cmp dword [esi + 0x118], edi
je 0x40510c
lea ebx, [esi + 0x110]
mov eax, edi
mov ecx, ebx
call fcn.00403fdd
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, dword [esi + 0x118]
jne 0x4050f2
mov byte [ebp - 4], 2
lea ecx, [esi + 0x178]
call fcn.00429a56
mov byte [ebp - 4], 1
lea ecx, [esi + 0x124]
call fcn.00429a56
mov byte [ebp - 4], 0
lea ecx, [esi + 0x110]
call fcn.0042515b
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040f242
call fcn.004338e5
ret

Function at 0x405512
Capabilities:
Delete file
Move file

Disassembly:
push 4
mov eax, 0x447d9b
call fcn.00433846
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.RememberTempFile.0
mov dword [ebp - 4], 1
lea esi, [edi + 4]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x405554
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x405554
mov eax, dword [esi]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00401b6e
or dword [ebp - 4], 0xffffffff
mov dword [edi], vtable.CProgressPageProxy::Caller.0
call fcn.004338e5
ret
Function at 0x409933
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
push ebx
xor ebx, ebx
cmp byte [eax + 0xd], bl
jne 0x409a21
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
push ebx
lea eax, [ebp - 4]
push eax
push ebx
mov edi, 0xf003f
push edi
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x409a1f
push ebx
lea eax, [ebp + 0xc]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push str.InstallerData
push dword [ebp - 4]
call esi
cmp eax, ebx
jne 0x409a1f
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebx
je 0x409a1f
mov edi, dword [ebp + 8]
cmp byte [edi + 0xc], bl
jne 0x4099d2
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 8]
push eax
push esi
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x7fff
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
jne 0x4099d2
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x4099a8
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [edi + 4]
mov edi, dword [edi + 8]
imul edi, edi, 0xc
add edi, esi
jmp 0x409a1b
cmp byte [esi + 8], bl
je 0x409a18
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ebp + 8], eax
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push dword [ebp + 8]
push 1
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esi, 0xc
cmp esi, edi
jne 0x4099e6
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x409b43
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x10000
mov edi, 0x8007000e
call fcn.00431613
mov ebx, eax
xor esi, esi
cmp ebx, esi
pop ecx
je 0x409bf1
push 0x7fff
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x409b90
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x409b8c
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x409bf1
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x409b78
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x409b78
cmp dword [ebp - 4], 0x7fffffff
jg 0x409bf1
push esi
push esi
push esi
push 8
push esi
push ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, esi
je 0x409b78
push esi
push esi
push esi
push 1
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
je 0x409b78
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 0x14], eax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40ad00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x50]
push esi
push eax
mov dword [ebp - 0x54], 0x44
call fcn.0042f3b0
mov ecx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x1000000
push esi
push esi
push esi
call fcn.00402b65
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
mov ebx, eax
call fcn.00402c7e
cmp edi, esi
jne 0x40ad5f
xor eax, eax
jmp 0x40ad72
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b057
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x461de0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x14
mov eax, 0x448319
call fcn.00433846
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push 0x453a30
mov ecx, edi
call fcn.00401555
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 0x218]
mov dword [ebp - 0x1c], esi
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x40b0d9
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.0040163f
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x218]
call fcn.00401b6e
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0042f39b
add ebp, 0x20c
leave
ret
Function at 0x40b10c
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x461de0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x34
mov eax, 0x448c41
call fcn.00433846
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
lea edi, [ebp + 0x218]
call fcn.0040bb38
mov ecx, dword [ebp - 0x20]
push 0x452094
call fcn.00401555
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x3c], esi
call fcn.00401555
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push dword [ebp - 0x24]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, ebx
jne 0x40b2d7
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x18], ebx
je 0x40b2d7
mov dword [ebp - 0x1c], ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0x104
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
mov dword [ebp - 0x30], eax
jne 0x40b2c4
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401555
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00401b37
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
push eax
push 0xf003f
push ebx
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call esi
cmp eax, ebx
jne 0x40b2ac
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.DisplayName
call fcn.00401555
mov byte [ebp - 4], 5
push dword [ebp - 0x28]
mov byte [ebp - 4], 4
lea edi, [ebp - 0x40]
call fcn.0040b057
pop ecx
pop ecx
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.00401aea
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.00401b6e
lea edi, [ebp - 0x14]
call fcn.0040bb38
push dword [ebp + 0x218]
mov ecx, edi
call fcn.00401e56
test eax, eax
jne 0x40b2ac
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.UninstallString
call fcn.00401555
mov byte [ebp - 4], 7
push dword [ebp - 0x28]
mov byte [ebp - 4], 4
lea edi, [ebp - 0x34]
call fcn.0040b057
pop ecx
pop ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x20]
push eax
call fcn.00401aea
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.00401b6e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00401b6e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00401b6e
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], 0x104
je 0x40b1b8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00401b6e
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x218]
call fcn.00401b6e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0042f39b
add ebp, 0x20c
leave
ret
Function at 0x40b464
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x461de0]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
mov dword [ebp - 0x80], 0x114
call fcn.0042f3b0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
jne 0x40b4b3
cmp dword [ebp - 0x78], 2
jae 0x40b4b9
cmp dword [ebp - 0x7c], 6
ja 0x40b4b9
xor eax, eax
jmp 0x40b4bc
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0042f39b
add ebp, 0x98
leave
ret
Function at 0x412fa0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x6c
mov eax, 0x4489ca
call fcn.00433846
and dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401b37
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
push eax
push 0x4512d4
mov ecx, 0x4666bc
call fcn.004230ba
test eax, eax
mov edi, 0xbdd
je 0x413107
mov esi, dword [ebp + 8]
push 0
push edi
call fcn.004132eb
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.00402e23
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea ebx, [ebp - 0x10]
call fcn.0040b4d1
pop ecx
mov byte [ebp - 4], 3
push 0x5c
mov esi, ebx
call fcn.004029de
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
call fcn.00402d43
mov byte [ebp - 4], 4
call fcn.0040299a
push 0x22
mov ecx, ebx
call fcn.00402d19
push str.__installscan
mov ecx, ebx
call fcn.00402ca3
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], 0x44
call fcn.0042f3b0
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402b65
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.00402b65
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
mov ecx, esi
mov dword [ebp - 0x24], eax
call fcn.00402c7e
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402c7e
push dword [ebp + 0xc]
mov dword [ebp - 0x18], 0x1f40
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenEventW]
cmp eax, ebx
jne 0x4130e1
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], ebx
jle 0x4130e1
add dword [ebp - 0x14], 7
push dword [ebp - 0x14]
mov esi, dword [ebp + 8]
push edi
call fcn.004132eb
mov eax, 0x1f4
sub dword [ebp - 0x18], eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0xc]
push ebx
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
cmp eax, ebx
je 0x4130aa
cmp dword [ebp - 0x24], ebx
je 0x4130ef
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00401b6e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401b6e
mov esi, dword [ebp + 8]
push 0x5f
push edi
call fcn.004132eb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401b6e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401b6e
xor eax, eax
inc eax
call fcn.004338e5
ret 8
Function at 0x414410
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [eax + 0x34]
push ebx
push esi
xor esi, esi
cmp dword [eax + 0x38], esi
lea ebx, [esi + 1]
jle 0x41444a
push ebp
push edi
movzx edi, dl
mov ecx, dword [eax + 0x260]
mov ebp, ecx
shr ebp, 0x18
xor ebp, edi
shl ecx, 8
xor ecx, dword [ebp*4 + 0x460040]
add esi, ebx
mov dword [eax + 0x260], ecx
cmp esi, dword [eax + 0x38]
jl 0x414424
pop edi
pop ebp
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x4144d2
sub ecx, ebx
je 0x4144b7
sub ecx, ebx
je 0x4144ab
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
Function at 0x415a20
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x415a3b
mov eax, dword [esp + 8]
test eax, eax
je 0x415c0f
mov dword [eax], edi
pop edi
ret 0x1c
cmp byte [edi + 0x1390], 0
jne 0x415a60
mov eax, dword [esp + 8]
test eax, eax
je 0x415a52
mov dword [eax], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
ret 0x1c
mov eax, dword [edi]
push eax
call fcn.00432953
add esp, 4
test eax, eax
je 0x415a8b
mov eax, dword [esp + 8]
test eax, eax
je 0x415a7d
mov dword [eax], 0xfffffffa
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
ret 0x1c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x415a99
mov dword [eax], 0
push ebp
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x415aa9
mov dword [ebp], 0
push ebx
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x415ab8
mov dword [ebx], 0
push esi
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x415ac7
mov dword [esi], 0
cmp dword [esp + 0x1c], 0
jne 0x415bae
cmp dword [edi + 0x13c4], 0
jne 0x415b4e
lea ebp, [edi + 4]
mov edi, edi
push 2
lea eax, [edi + 0x1394]
mov esi, 0x1388
push eax
mov dword [edi + 0x13a8], esi
mov dword [edi + 0x13a4], ebp
call fcn.00414820
mov ebx, eax
cmp ebx, 3
je 0x415b0f
cmp ebx, 4
jne 0x415b93
mov eax, dword [edi + 0x13a8]
cmp eax, esi
jae 0x415b3d
mov ecx, dword [edi]
push ecx
sub esi, eax
push esi
push 1
push ebp
call fcn.00432ae1
add esp, 0x10
cmp esi, eax
jne 0x415b74
mov edx, dword [edi]
push edx
call fcn.00432953
add esp, 4
test eax, eax
jne 0x415b74
cmp ebx, 4
jne 0x415ae0
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov eax, dword [edi]
push eax
call fcn.00432953
add esp, 4
test eax, eax
jne 0x415baa
mov ecx, dword [edi]
push ecx
call fcn.00432ce1
mov edx, dword [edi]
push edx
call fcn.00432953
add esp, 8
test eax, eax
je 0x415baa
mov eax, dword [esp + 0x14]
test eax, eax
je 0x415b82
mov dword [eax], 0xfffffffa
pop esi
pop ebx
pop ebp
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
ret 0x1c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x415b9d
mov dword [eax], ebx
pop esi
mov dword [edi + 0x13c4], ebx
pop ebx
pop ebp
pop edi
ret 0x1c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x415bba
mov ecx, dword [edi + 0x139c]
mov dword [eax], ecx
test ebp, ebp
je 0x415bc7
mov edx, dword [edi + 0x13a0]
mov dword [ebp], edx
test ebx, ebx
je 0x415bd3
mov eax, dword [edi + 0x13ac]
mov dword [ebx], eax
test esi, esi
je 0x415bdf
mov ecx, dword [edi + 0x13b0]
mov dword [esi], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x415bed
mov dword [eax], 0
lea edx, [edi + 0x1394]
push edx
mov dword [edi + 0x13c4], 0
call fcn.00414960
push edi
call fcn.0043150c
add esp, 4
pop esi
pop ebx
pop ebp
pop edi
ret 0x1c
Function at 0x415e20
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.00415e00
mov esi, dword [esp + 8]
push eax
push esi
push str._n_nbzip2_libbzip2:_internal_error_number__d._nThis_is_a_bug_in_bzip2_libbzip2___s._nPlease_report_it_to_me_at:_jseward_bzip.org.__If_this_happened_nwhen_you_were_using_some_program_which_uses_libbzip2_as_a_ncomponent__you_should_also_report_this_bug_to_the_author_s__nof_that_program.__Please_make_an_effort_to_report_this_bug__ntimely_and_accurate_bug_reports_eventually_lead_to_higher_nquality_software.__Thanks.__Julian_Seward__10_December_2007._n_n
call fcn.00432e2b
add eax, 0x40
push eax
call fcn.00432ffb
add esp, 0x10
cmp esi, 0x3ef
pop esi
jne 0x415e61
push str._n_A_special_note_about_internal_error_number_1007__n_nExperience_suggests_that_a_common_cause_of_i.e._1007_nis_unreliable_memory_or_other_hardware.__The_1007_assertion_njust_happens_to_cross_check_the_results_of_huge_numbers_of_nmemory_reads_writes__and_so_acts__unintendedly__as_a_stress_ntest_of_your_memory_system._n_nI_suggest_the_following:_try_compressing_the_file_again__npossibly_monitoring_progress_in_detail_with_the__vv_flag._n_n_If_the_error_cannot_be_reproduced__and_or_happens_at_different_n__points_in_compression__you_may_have_a_flaky_memory_system._n__Try_a_memory_test_program.__I_have_used_Memtest86_n___www.memtest86.com_.__At_the_time_of_writing_it_is_free__GPLd_._n__Memtest86_tests_memory_much_more_thorougly_than_your_BIOSs_n__power_on_test__and_may_find_failures_that_the_BIOS_doesnt._n_n_If_the_error_can_be_repeatably_reproduced__this_is_a_bug_in_n__bzip2__and_I_would_very_much_like_to_hear_about_it.__Please_n__let_me_know__and__ideally__save_a_copy_of_the_file_causing_the_n__problem____without_which_I_will_be_unable_to_investigate_it._n_n
call fcn.00432e2b
add eax, 0x40
push eax
call fcn.00432ffb
add esp, 8
push 3
call fcn.0043134a
int3
Function at 0x41c580
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x24]
mov ebp, dword [esi + 0x268]
push edi
mov edi, dword [esi + 0x44]
cmp edi, 0x2710
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x10], edx
jge 0x41c5c0
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ebp
push edi
push ecx
push eax
mov eax, edx
jmp 0x41c693
lea edx, [edi + 0x22]
test dl, 1
je 0x41c5cb
add edx, 1
add edx, ecx
cmp eax, 1
mov dword [esp + 0xc], edx
jge 0x41c5dd
mov eax, 1
jmp 0x41c5e7
cmp eax, 0x64
jle 0x41c5e7
mov eax, 0x64
lea edx, [eax - 1]
mov eax, 0x55555556
imul edx
mov eax, edx
push ebx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0x14]
imul ebx, edi
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
push ebp
push edi
push eax
push edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], ebx
call fcn.0041be90
add esp, 0x14
cmp ebp, 3
jl 0x41c662
test edi, edi
mov dword [esp + 0x10], 1
je 0x41c634
mov dword [esp + 0x10], edi
sub ebx, dword [esp + 0x24]
sub esp, 8
mov dword [esp + 0x24], ebx
fild dword [esp + 0x24]
fidiv dword [esp + 0x18]
fstp qword [esp]
push edi
push ebx
push str._______d_work___d_block__ratio__5.2f_n
call fcn.00432e2b
add eax, 0x40
push eax
call fcn.00432ffb
add esp, 0x18
cmp dword [esp + 0x24], 0
pop ebx
jge 0x41c69b
cmp ebp, 2
jl 0x41c685
push str.____too_repetitive__using_fallback_sorting_algorithm_n
call fcn.00432e2b
add eax, 0x40
push eax
call fcn.00432ffb
add esp, 8
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push ebp
push edi
push eax
mov eax, dword [esp + 0x1c]
push ecx
call fcn.0041b100
add esp, 0x10
or ecx, 0xffffffff
xor eax, eax
cmp dword [esi + 0x44], eax
mov dword [esi + 0x1c], ecx
jle 0x41c6c3
mov edx, dword [esp + 0x14]
lea esp, [esp]
cmp dword [edx + eax*4], 0
je 0x41c6c0
add eax, 1
cmp eax, dword [esi + 0x44]
jl 0x41c6b0
jmp 0x41c6c3
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x1c], ecx
pop edi
pop esi
pop ebp
jne 0x41c6db
add esp, 0x10
mov dword [esp + 4], 0x3eb
jmp fcn.00415e20
add esp, 0x10
ret

Function at 0x4203d9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x420412
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00402bc7
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00402c7e
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x421a29
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x452094
mov ecx, edi
call fcn.0040163f
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x421a7c
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x421a8f
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00402bc7
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00402c7e
jmp 0x421a8f
mov ecx, esi
call fcn.00422a9e
test eax, eax
je 0x421a8f
push edi
mov ecx, eax
call fcn.004203d9
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x421f6d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x421fb0
call fcn.004263d5
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x421fb0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x421fcb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00421b27
test ebx, ebx
mov esi, eax
je 0x421fc9
test edi, edi
je 0x421fc9
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4