joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413554
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x22c
mov eax, 0x45056f
call fcn.0043a3b7
xor esi, esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x224]
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x224], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x413669
lea ecx, [ebp - 0x21c]
call fcn.00406805
cmp eax, esi
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x21c], ecx
jne 0x413669
lea eax, [ebp - 0x230]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push ecx
mov dword [ebp - 0x220], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x228], 1
jmp 0x413665
cmp word [ebp - 0x218], 0x76
jne 0x41362b
lea eax, [ebp - 0x216]
push eax
lea ebx, [ebp - 0x230]
call fcn.00415000
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [edi + 4]
jb 0x41362b
mov eax, dword [ebp - 0x230]
ja 0x413626
cmp eax, dword [edi]
jbe 0x41362b
mov dword [edi], eax
mov dword [edi + 4], ecx
lea eax, [ebp - 0x238]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x228]
mov dword [ebp - 0x220], 0x104
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc dword [ebp - 0x228]
cmp eax, esi
je 0x4135f3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00406805
mov eax, edi
call fcn.0043a43a
ret
Function at 0x413680
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x22c
mov eax, 0x45053c
call fcn.0043a3b7
xor ebx, ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP
lea ecx, [ebp - 0x230]
mov byte [ebp - 0x219], bl
call fcn.00401527
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push ebx
push dword [ebp - 0x230]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4137bc
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x224], ebx
je 0x4137bc
mov dword [ebp - 0x228], ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x228]
mov dword [ebp - 0x224], 0x104
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
cmp edi, ebx
jne 0x4137a4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401527
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
jle 0x413796
movzx eax, word [eax]
cmp ax, 0x76
jne 0x413796
push 0x76
lea eax, [ebp - 0x220]
push eax
call fcn.00410c25
push dword [ebp - 0x220]
lea ebx, [ebp - 0x238]
call fcn.00415000
mov eax, dword [ebp - 0x234]
shr eax, 0x10
xor ebx, ebx
cmp ax, 2
jne 0x413796
mov byte [ebp - 0x219], 1
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x220]
call fcn.00401b60
inc dword [ebp - 0x228]
cmp edi, ebx
mov dword [ebp - 0x224], 0x104
je 0x4136ff
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00401b60
mov al, byte [ebp - 0x219]
call fcn.0043a43a
ret
Function at 0x413856
Capabilities:
Query environment variable

Disassembly:
push 0x220
mov eax, 0x44ef1f
call fcn.0043a3b7
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], edi
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov ecx, ebx
call fcn.004062b9
mov edx, str.x64MsiUrl
mov ecx, 0x46fa78
mov dword [ebp - 0x228], esi
call fcn.00402da6
mov esi, eax
call fcn.0041317c
test al, al
je 0x413994
cmp esi, edi
je 0x413994
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00401b00
push str.SOFTWAREMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x224]
call fcn.00401527
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], edi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x21c]
push eax
push 0x20119
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x21c], edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x413974
lea ecx, [ebp - 0x220]
call fcn.00406805
cmp eax, edi
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], ecx
jne 0x413974
push str.ProgramFilesDir
lea eax, [ebp - 0x220]
push eax
lea esi, [ebp - 0x21c]
lea edi, [ebp - 0x218]
mov dword [ebp - 0x21c], 0x104
call fcn.0040679e
test eax, eax
jne 0x413974
mov eax, edi
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401527
mov byte [ebp - 4], 4
push dword [eax]
push str._ProgramFiles_
push ebx
call fcn.0040cef2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x21c]
call fcn.00401b60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.00406805
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.00401b60
jmp 0x4139b6
mov esi, dword [ebp + 8]
mov eax, 0x3fff
push eax
push eax
mov ecx, ebx
call fcn.00409449
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0040556c
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401b60
mov eax, ebx
call fcn.0043a43a
ret
Function at 0x416000
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, 0x18
cmp byte [eax + 0x29], 0
je 0x41601a
mov eax, 1
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
xor edi, edi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push edi
push 0x2001f
push edi
push edi
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call ebx
cmp eax, edi
jne 0x416052
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 4], ecx
cmp eax, edi
push esi
mov esi, eax
jne 0x416172
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.InstallerData
push ecx
mov dword [ebp - 0xc], edi
call ebx
test eax, eax
jne 0x416087
mov edi, dword [ebp - 0xc]
test eax, eax
mov esi, eax
jne 0x416167
push 0xfffe
mov dword [ebp + 0xc], eax
call fcn.00435f64
add esp, 4
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x4160d6
lea edx, [ebp + 0xc]
push edx
call fcn.00402c4a
test edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4160be
push edi
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x4160c8
push eax
call esi
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x28], 0
jne 0x41614c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x10], 0x7fff
jmp 0x4160f3
mov eax, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x10]
push edx
push eax
push 0
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x41614c
mov eax, dword [ebp + 0xc]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4160f0
call fcn.0040fbcf
lea ecx, [ebp + 0xc]
push ecx
mov esi, eax
call fcn.00402c4a
test edi, edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x416137
push edi
call ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x416189
push eax
call ebx
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
add ecx, 0x10
mov dword [ebp - 0x10], ecx
call fcn.00416aa0
test eax, eax
jne 0x416197
lea edx, [ebp + 0xc]
push edx
call fcn.00402c4a
test edi, edi
je 0x416172
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.0040fbcf
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x416189
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
push edx
mov ebx, eax
call fcn.00416c30
cmp dword [ebx + 0xc], 0
mov dword [ebp + 8], eax
je 0x4161d3
mov esi, dword [ebx + 4]
test esi, esi
mov ebx, dword [ebx]
je 0x4161db
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x4161e5
cmp dword [ebp + 8], 0
jne 0x416194
jmp 0x41615e
push 0x80004005
call fcn.004017d1
mov eax, esi
jmp 0x41611a
Function at 0x417460
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
push 0
push eax
push ecx
push 2
push 0
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 8], eax
jne 0x41749a
call fcn.0040345e
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
push 0
push ecx
mov dword [esi + 0x10], 0
mov edx, dword [esi + 0x10]
push edx
mov dword [esi + 4], ecx
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x14]
push ecx
push 4
push eax
mov dword [esi + 0x18], 4
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test eax, eax
mov dword [esi], eax
jne 0x4174ee
call fcn.0040345e
mov edx, dword [esi + 8]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x417e70
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
mov ax, word [ebp + 0xc]
sub esp, 8
push esi
xor esi, esi
cmp ax, si
je 0x417e94
cmp ax, 1
je 0x417e94
mov eax, 0x80004001
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [0x46f800]
mov edx, dword [eax + 0xc]
push ebx
push edi
mov ecx, 0x46f800
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call edx
mov ebx, dword [ebp + 8]
mov edi, eax
add edi, 0x10
cmp dword [ebx + 0x44], esi
mov dword [ebp + 0x18], edi
je 0x417f79
mov edx, dword [ebx + 0x48]
xor eax, eax
cmp edx, esi
jbe 0x417edf
mov esi, dword [ebx + 0x40]
mov ecx, esi
lea ecx, [ecx]
cmp dword [ecx], 0
jne 0x417ef2
add eax, 1
add ecx, 4
cmp eax, edx
jb 0x417ed0
xor eax, eax
test eax, eax
mov esi, eax
je 0x417f58
test esi, esi
mov edx, esi
mov dword [ebp + 8], edx
jne 0x417ef7
jmp 0x417f2e
mov eax, dword [esi + eax*4]
jmp 0x417ee1
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x417f2c
mov edi, dword [ebx + 0x48]
mov eax, dword [esi + 0xc]
xor edx, edx
div edi
add edx, 1
jmp 0x417f10
cmp edx, edi
jae 0x417f29
mov eax, dword [ebx + 0x40]
cmp dword [eax + edx*4], 0
lea eax, [eax + edx*4]
je 0x417f22
mov ecx, dword [eax]
add edx, 1
test ecx, ecx
je 0x417f10
mov edx, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x417f51
mov ecx, dword [edx + 4]
cmp dword [ecx - 0xc], 0
je 0x417f51
push ecx
push eax
push str._s:__s_r_n
lea edi, [ebp + 0x18]
call fcn.00419120
add esp, 0xc
test esi, esi
jne 0x417ee7
mov edi, dword [ebp + 0x18]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x417f79
cmp dword [edi - 4], 1
mov dword [ebp - 4], eax
jle 0x417f76
mov ecx, eax
push ecx
lea ecx, [ebp + 0x18]
call fcn.00401863
mov edi, dword [ebp + 0x18]
mov dword [ebp - 8], edi
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x80]
push 0
push 0
push 0
push 0
push edx
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x417fad
mov ecx, dword [ebx + 0x80]
push 0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x417fdb
call fcn.0040345e
mov esi, eax
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417fd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x14
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417ff7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41bcb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 0x38], 0
mov dl, byte [eax + 0x34]
push ebx
push esi
mov dword [ebp - 4], 0
mov ebx, 1
jle 0x41bcfb
movzx esi, dl
push edi
nop
mov ecx, dword [eax + 0x260]
mov edi, ecx
shr edi, 0x18
shl ecx, 8
xor edi, esi
xor ecx, dword [edi*4 + 0x469040]
mov dword [eax + 0x260], ecx
mov ecx, dword [ebp - 4]
add ecx, ebx
cmp ecx, dword [eax + 0x38]
mov dword [ebp - 4], ecx
jl 0x41bcd0
pop edi
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x41bd89
sub ecx, ebx
je 0x41bd6b
sub ecx, ebx
je 0x41bd5f
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
mov esp, ebp
pop ebp
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
mov esp, ebp
pop ebp
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
mov esp, ebp
pop ebp
ret
Function at 0x41d160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x41d173
mov dword [edi], 0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41d2da
cmp dword [ebp + 0x10], 0
mov dword [esi + 0x13c4], 0
je 0x41d2da
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jl 0x41d2da
cmp byte [esi + 0x1390], 0
jne 0x41d1c1
test edi, edi
je 0x41d1b0
mov dword [edi], 0xffffffff
pop edi
mov dword [esi + 0x13c4], 0xffffffff
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [esi]
push eax
call fcn.00438cfe
add esp, 4
test eax, eax
je 0x41d1eb
test edi, edi
je 0x41d1da
mov dword [edi], 0xfffffffa
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
pop esi
pop ebx
pop ebp
ret 0x10
test ebx, ebx
jne 0x41d20a
test edi, edi
je 0x41d1f9
mov dword [edi], 0
pop edi
mov dword [esi + 0x13c4], 0
pop esi
pop ebx
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x10]
lea eax, [esi + 0x1394]
mov dword [esi + 0x1398], ebx
push 0
lea ebx, [esi + 4]
push eax
mov dword [eax], ecx
mov dword [esi + 0x13a8], 0x1388
mov dword [esi + 0x13a4], ebx
call fcn.0041c0e0
cmp eax, 1
jne 0x41d2a9
jmp 0x41d240
mov eax, dword [esi + 0x13a8]
cmp eax, 0x1388
jae 0x41d279
mov edx, dword [esi]
push edx
mov edi, 0x1388
sub edi, eax
push edi
push 1
push ebx
call fcn.00438e8c
add esp, 0x10
cmp edi, eax
jne 0x41d2bc
mov eax, dword [esi]
push eax
call fcn.00438cfe
add esp, 4
test eax, eax
jne 0x41d2bc
mov edi, dword [ebp + 8]
cmp dword [esi + 0x1398], 0
je 0x41d1ef
push 0
lea eax, [esi + 0x1394]
mov dword [esi + 0x13a8], 0x1388
push eax
mov dword [esi + 0x13a4], ebx
call fcn.0041c0e0
cmp eax, 1
je 0x41d240
test edi, edi
je 0x41d2af
mov dword [edi], eax
pop edi
mov dword [esi + 0x13c4], eax
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
test eax, eax
je 0x41d2c9
mov dword [eax], 0xfffffffa
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
pop esi
pop ebx
pop ebp
ret 0x10
test edi, edi
je 0x41d2e4
mov dword [edi], 0xfffffffe
test esi, esi
je 0x41d2f2
mov dword [esi + 0x13c4], 0xfffffffe
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x41d300
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x41d31d
mov eax, dword [ebp + 8]
test eax, eax
je 0x41d4ec
mov dword [eax], edi
pop edi
pop ebp
ret 0x1c
cmp byte [edi + 0x1390], 0
jne 0x41d342
mov eax, dword [ebp + 8]
test eax, eax
je 0x41d333
mov dword [eax], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
pop ebp
ret 0x1c
mov eax, dword [edi]
push eax
call fcn.00438cfe
add esp, 4
test eax, eax
je 0x41d36d
mov eax, dword [ebp + 8]
test eax, eax
je 0x41d35e
mov dword [eax], 0xfffffffa
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41d37a
mov dword [ecx], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41d387
mov dword [eax], 0
push ebx
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x41d395
mov dword [ebx], 0
push esi
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x41d3a3
mov dword [esi], 0
cmp dword [ebp + 0x10], 0
jne 0x41d48e
cmp dword [edi + 0x13c4], 0
jne 0x41d42e
jmp 0x41d3c0
lea eax, [edi + 4]
mov dword [edi + 0x13a4], eax
push 2
lea eax, [edi + 0x1394]
mov esi, 0x1388
push eax
mov dword [edi + 0x13a8], esi
call fcn.0041c0e0
mov ebx, eax
cmp ebx, 3
je 0x41d3f2
cmp ebx, 4
jne 0x41d472
mov eax, dword [edi + 0x13a8]
cmp eax, esi
jae 0x41d423
mov ecx, dword [edi]
push ecx
sub esi, eax
push esi
lea eax, [edi + 4]
push 1
push eax
call fcn.00438e8c
add esp, 0x10
cmp esi, eax
jne 0x41d454
mov edx, dword [edi]
push edx
call fcn.00438cfe
add esp, 4
test eax, eax
jne 0x41d454
cmp ebx, 4
jne 0x41d3c0
mov esi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x1c]
mov eax, dword [edi]
push eax
call fcn.00438cfe
add esp, 4
test eax, eax
jne 0x41d488
mov ecx, dword [edi]
push ecx
call fcn.0043908c
mov edx, dword [edi]
push edx
call fcn.00438cfe
add esp, 8
test eax, eax
je 0x41d488
mov eax, dword [ebp + 8]
test eax, eax
je 0x41d461
mov dword [eax], 0xfffffffa
pop esi
pop ebx
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
pop ebp
ret 0x1c
mov eax, dword [ebp + 8]
test eax, eax
je 0x41d47b
mov dword [eax], ebx
pop esi
mov dword [edi + 0x13c4], ebx
pop ebx
pop edi
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41d49a
mov edx, dword [edi + 0x139c]
mov dword [ecx], edx
test eax, eax
je 0x41d4a6
mov ecx, dword [edi + 0x13a0]
mov dword [eax], ecx
test ebx, ebx
je 0x41d4b2
mov edx, dword [edi + 0x13ac]
mov dword [ebx], edx
test esi, esi
je 0x41d4be
mov eax, dword [edi + 0x13b0]
mov dword [esi], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x41d4cb
mov dword [eax], 0
lea ecx, [edi + 0x1394]
push ecx
mov dword [edi + 0x13c4], 0
call fcn.0041c230
push edi
call fcn.00435b18
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
ret 0x1c
Function at 0x41d700
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.0041d6e0
mov esi, dword [ebp + 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.004391d6
add eax, 0x40
push eax
call fcn.004393ab
add esp, 0x10
cmp esi, 0x3ef
jne 0x41d742
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.004391d6
add eax, 0x40
push eax
call fcn.004393ab
add esp, 8
push 3
call fcn.00436e35
int3
Function at 0x41d900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
cmp ebx, edx
push edi
je 0x41d910
mov dword [ebx], edx
mov edi, dword [ebp + 0xc]
cmp edi, edx
je 0x41dae7
mov eax, dword [ebp + 0x10]
cmp eax, edx
mov dword [edi + 0x13c4], edx
je 0x41dae7
mov ecx, dword [ebp + 0x14]
cmp ecx, edx
jl 0x41dae7
cmp byte [edi + 0x1390], dl
je 0x41d95b
cmp ebx, edx
je 0x41d949
mov dword [ebx], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
cmp ecx, edx
jne 0x41d973
cmp ebx, edx
je 0x41d965
mov dword [ebx], edx
mov dword [edi + 0x13c4], edx
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
mov dword [edi + 0x13a4], eax
mov eax, dword [edi]
push esi
push eax
mov dword [edi + 0x13a8], ecx
call fcn.00438cfe
add esp, 4
test eax, eax
jne 0x41da35
cmp dword [edi + 0x1398], 0
jne 0x41d9e4
mov esi, dword [edi]
call fcn.0041d010
test al, al
jne 0x41d9e4
mov ecx, dword [edi]
push ecx
push 0x1388
lea esi, [edi + 4]
push 1
push esi
call fcn.00439796
mov edx, dword [edi]
push edx
mov ebx, eax
call fcn.00438cfe
add esp, 0x14
test eax, eax
jne 0x41da77
mov dword [edi + 0x138c], ebx
mov dword [edi + 0x1398], ebx
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1394], esi
lea eax, [edi + 0x1394]
push eax
call fcn.0041d750
test eax, eax
jne 0x41da52
mov esi, dword [edi]
call fcn.0041d010
test al, al
je 0x41da15
cmp dword [edi + 0x1398], 0
jne 0x41da15
cmp dword [edi + 0x13a8], 0
ja 0x41daac
cmp dword [edi + 0x13a8], 0
je 0x41dac9
mov ecx, dword [edi]
push ecx
call fcn.00438cfe
add esp, 4
test eax, eax
je 0x41d993
test ebx, ebx
je 0x41da3f
mov dword [ebx], 0xfffffffa
pop esi
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
cmp eax, 4
jne 0x41da97
test ebx, ebx
je 0x41da5d
mov dword [ebx], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [edi + 0x13a8]
pop esi
mov dword [edi + 0x13c4], 4
pop edi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
test eax, eax
je 0x41da3f
mov dword [eax], 0xfffffffa
pop esi
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
test ebx, ebx
je 0x41da9d
mov dword [ebx], eax
pop esi
mov dword [edi + 0x13c4], eax
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
test ebx, ebx
je 0x41dab6
mov dword [ebx], 0xfffffff9
pop esi
mov dword [edi + 0x13c4], 0xfffffff9
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
test ebx, ebx
je 0x41dad3
mov dword [ebx], 0
mov eax, dword [ebp + 0x14]
pop esi
mov dword [edi + 0x13c4], 0
pop edi
pop ebx
pop ebp
ret 0x10
cmp ebx, edx
je 0x41daf1
mov dword [ebx], 0xfffffffe
cmp edi, edx
je 0x41daff
mov dword [edi + 0x13c4], 0xfffffffe
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10