joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414710
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x6c
mov eax, 0x45155d
call fcn.0043b35f
mov edi, 0x471b60
mov edx, 0x45ae74
mov ecx, edi
call fcn.004028ed
test eax, eax
je 0x414909
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00401510
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
lea ebx, [ebp - 0x10]
call fcn.00413d53
pop ecx
mov dword [ebp - 4], 1
push 0x5c
mov esi, ebx
call fcn.0040824a
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.00408381
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
mov ecx, dword [ebp - 0x14]
sub eax, dword [ecx - 0xc]
mov ecx, ebx
dec eax
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040826b
mov byte [ebp - 4], 3
call fcn.0040808d
push 0x22
mov ecx, ebx
call fcn.00403eb2
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x4147ae
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0040851e
mov edx, str.LaunchAs
mov ecx, edi
xor esi, esi
call fcn.004028ed
cmp eax, ebx
je 0x41480c
push str.AsInvoker
push eax
call fcn.00436735
test eax, eax
pop ecx
pop ecx
jne 0x41480c
inc esi
call fcn.00413ce5
test al, al
je 0x41480c
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.00414ee1
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp byte [ebp + 8], bl
je 0x414804
mov ecx, dword [0x4719d8]
push ebx
call fcn.0042a905
cmp edi, ebx
jne 0x4148d1
push 0x40
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], 0x44
call fcn.00436350
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00415256
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.004134ca
pop ecx
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0040c2ca
push eax
neg esi
push ebx
sbb esi, esi
and esi, 0x1000000
push esi
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040c2ca
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp byte [ebp + 8], bl
mov esi, eax
je 0x4148b1
mov ecx, dword [0x4719d8]
push ebx
call fcn.0042a905
push 0xea60
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test eax, eax
jne 0x4148b1
push ebx
push 0x4145b5
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_EnumThreadWindows]
cmp esi, ebx
je 0x4148c5
push dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2c]
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00410121
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004052ec
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004052ec
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00410121
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00410121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00410121
call fcn.0043b437
ret
Function at 0x4156f3
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41570f
and dword [esi], eax
and dword [esi + 4], eax
jmp 0x415785
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
push eax
mov dword [ebp - 8], eax
call fcn.00424775
xor ebx, ebx
cmp eax, ebx
pop ecx
mov dword [ebp - 0xc], eax
jne 0x415732
mov dword [esi], ebx
jmp 0x415782
push eax
push dword [ebp - 8]
xor edi, edi
push dword [ebp - 0x10]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x415777
and dword [ebp - 8], ebx
and dword [ebp - 4], ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x45a4b0
push dword [ebp - 0xc]
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 4], 0x34
jb 0x415777
mov eax, dword [ebp - 8]
test eax, eax
je 0x415777
mov ecx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov ebx, ecx
push dword [ebp - 0xc]
call fcn.0042477a
pop ecx
mov dword [esi], edi
mov dword [esi + 4], ebx
pop edi
mov eax, esi
pop ebx
leave
ret
Function at 0x416550
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 0x41656a
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 0x4165a2
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 4], ecx
cmp eax, edi
push esi
mov esi, eax
jne 0x4166c2
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 0x4165d7
mov edi, dword [ebp - 0xc]
test eax, eax
mov esi, eax
jne 0x4166b7
lea edx, [ebp + 0xc]
push edx
call fcn.0040d354
push 0x7fff
lea eax, [ebp + 0xc]
push eax
call fcn.0040d310
test al, al
jne 0x41662a
lea ecx, [ebp + 0xc]
push ecx
call fcn.004088c7
test edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x416612
push edi
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x41661c
push eax
call esi
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 8]
cmp byte [edx + 0x28], 0
jne 0x41669c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x10], 0x7fff
mov ecx, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push ecx
push 0
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x41669c
mov edx, dword [ebp + 0xc]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x416640
call fcn.00408b2b
mov esi, eax
lea eax, [ebp + 0xc]
push eax
call fcn.004088c7
test edi, edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x416687
push edi
call ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x4166d9
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.00416ff0
test eax, eax
jne 0x4166e7
lea ecx, [ebp + 0xc]
push ecx
call fcn.004088c7
test edi, edi
je 0x4166c2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.00408b2b
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4166d9
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 ecx, dword [ebp - 0x10]
push ecx
mov ebx, eax
call fcn.004171a0
cmp dword [ebx + 0xc], 0
mov dword [ebp + 8], eax
je 0x416723
mov esi, dword [ebx + 4]
test esi, esi
mov ebx, dword [ebx]
je 0x41672b
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x416735
cmp dword [ebp + 8], 0
jne 0x4166e4
jmp 0x4166ae
push 0x80004005
call fcn.00401787
mov eax, esi
jmp 0x41666a
Function at 0x4179d0
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 0x417a0a
call fcn.00402fa5
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 0x417a5e
call fcn.00402fa5
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 0x418420
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 0x418444
cmp ax, 1
je 0x418444
mov eax, 0x80004001
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [0x4718f4]
mov edx, dword [eax + 0xc]
push ebx
push edi
mov ecx, 0x4718f4
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 0x418529
mov edx, dword [ebx + 0x48]
xor eax, eax
cmp edx, esi
jbe 0x41848f
mov esi, dword [ebx + 0x40]
mov ecx, esi
lea ecx, [ecx]
cmp dword [ecx], 0
jne 0x4184a2
add eax, 1
add ecx, 4
cmp eax, edx
jb 0x418480
xor eax, eax
test eax, eax
mov esi, eax
je 0x418508
test esi, esi
mov edx, esi
mov dword [ebp + 8], edx
jne 0x4184a7
jmp 0x4184de
mov eax, dword [esi + eax*4]
jmp 0x418491
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x4184dc
mov edi, dword [ebx + 0x48]
mov eax, dword [esi + 0xc]
xor edx, edx
div edi
add edx, 1
jmp 0x4184c0
cmp edx, edi
jae 0x4184d9
mov eax, dword [ebx + 0x40]
cmp dword [eax + edx*4], 0
lea eax, [eax + edx*4]
je 0x4184d2
mov ecx, dword [eax]
add edx, 1
test ecx, ecx
je 0x4184c0
mov edx, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x418501
mov ecx, dword [edx + 4]
cmp dword [ecx - 0xc], 0
je 0x418501
push ecx
push eax
push str._s:__s_r_n
lea edi, [ebp + 0x18]
call fcn.004195f0
add esp, 0xc
test esi, esi
jne 0x418497
mov edi, dword [ebp + 0x18]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x418529
cmp dword [edi - 4], 1
mov dword [ebp - 4], eax
jle 0x418526
mov ecx, eax
push ecx
lea ecx, [ebp + 0x18]
call fcn.00401819
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 0x41855d
mov ecx, dword [ebx + 0x80]
push 0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x41858b
call fcn.00402fa5
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 0x418580
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 0x4185a7
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 0x41c450
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 0x41c49b
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 + 0x46b040]
mov dword [eax + 0x260], ecx
mov ecx, dword [ebp - 4]
add ecx, ebx
cmp ecx, dword [eax + 0x38]
mov dword [ebp - 4], ecx
jl 0x41c470
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 0x41c529
sub ecx, ebx
je 0x41c50b
sub ecx, ebx
je 0x41c4ff
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 0x41d900
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 0x41d913
mov dword [edi], 0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41da7a
cmp dword [ebp + 0x10], 0
mov dword [esi + 0x13c4], 0
je 0x41da7a
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jl 0x41da7a
cmp byte [esi + 0x1390], 0
jne 0x41d961
test edi, edi
je 0x41d950
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.00439ead
add esp, 4
test eax, eax
je 0x41d98b
test edi, edi
je 0x41d97a
mov dword [edi], 0xfffffffa
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
pop esi
pop ebx
pop ebp
ret 0x10
test ebx, ebx
jne 0x41d9aa
test edi, edi
je 0x41d999
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.0041c880
cmp eax, 1
jne 0x41da49
jmp 0x41d9e0
mov eax, dword [esi + 0x13a8]
cmp eax, 0x1388
jae 0x41da19
mov edx, dword [esi]
push edx
mov edi, 0x1388
sub edi, eax
push edi
push 1
push ebx
call fcn.0043a03b
add esp, 0x10
cmp edi, eax
jne 0x41da5c
mov eax, dword [esi]
push eax
call fcn.00439ead
add esp, 4
test eax, eax
jne 0x41da5c
mov edi, dword [ebp + 8]
cmp dword [esi + 0x1398], 0
je 0x41d98f
push 0
lea eax, [esi + 0x1394]
mov dword [esi + 0x13a8], 0x1388
push eax
mov dword [esi + 0x13a4], ebx
call fcn.0041c880
cmp eax, 1
je 0x41d9e0
test edi, edi
je 0x41da4f
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 0x41da69
mov dword [eax], 0xfffffffa
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
pop esi
pop ebx
pop ebp
ret 0x10
test edi, edi
je 0x41da84
mov dword [edi], 0xfffffffe
test esi, esi
je 0x41da92
mov dword [esi + 0x13c4], 0xfffffffe
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x41daa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x41dabd
mov eax, dword [ebp + 8]
test eax, eax
je 0x41dc8c
mov dword [eax], edi
pop edi
pop ebp
ret 0x1c
cmp byte [edi + 0x1390], 0
jne 0x41dae2
mov eax, dword [ebp + 8]
test eax, eax
je 0x41dad3
mov dword [eax], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
pop ebp
ret 0x1c
mov eax, dword [edi]
push eax
call fcn.00439ead
add esp, 4
test eax, eax
je 0x41db0d
mov eax, dword [ebp + 8]
test eax, eax
je 0x41dafe
mov dword [eax], 0xfffffffa
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41db1a
mov dword [ecx], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41db27
mov dword [eax], 0
push ebx
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x41db35
mov dword [ebx], 0
push esi
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x41db43
mov dword [esi], 0
cmp dword [ebp + 0x10], 0
jne 0x41dc2e
cmp dword [edi + 0x13c4], 0
jne 0x41dbce
jmp 0x41db60
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.0041c880
mov ebx, eax
cmp ebx, 3
je 0x41db92
cmp ebx, 4
jne 0x41dc12
mov eax, dword [edi + 0x13a8]
cmp eax, esi
jae 0x41dbc3
mov ecx, dword [edi]
push ecx
sub esi, eax
push esi
lea eax, [edi + 4]
push 1
push eax
call fcn.0043a03b
add esp, 0x10
cmp esi, eax
jne 0x41dbf4
mov edx, dword [edi]
push edx
call fcn.00439ead
add esp, 4
test eax, eax
jne 0x41dbf4
cmp ebx, 4
jne 0x41db60
mov esi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x1c]
mov eax, dword [edi]
push eax
call fcn.00439ead
add esp, 4
test eax, eax
jne 0x41dc28
mov ecx, dword [edi]
push ecx
call fcn.0043a23b
mov edx, dword [edi]
push edx
call fcn.00439ead
add esp, 8
test eax, eax
je 0x41dc28
mov eax, dword [ebp + 8]
test eax, eax
je 0x41dc01
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 0x41dc1b
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 0x41dc3a
mov edx, dword [edi + 0x139c]
mov dword [ecx], edx
test eax, eax
je 0x41dc46
mov ecx, dword [edi + 0x13a0]
mov dword [eax], ecx
test ebx, ebx
je 0x41dc52
mov edx, dword [edi + 0x13ac]
mov dword [ebx], edx
test esi, esi
je 0x41dc5e
mov eax, dword [edi + 0x13b0]
mov dword [esi], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x41dc6b
mov dword [eax], 0
lea ecx, [edi + 0x1394]
push ecx
mov dword [edi + 0x13c4], 0
call fcn.0041c9d0
push edi
call fcn.004362b4
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
ret 0x1c
Function at 0x41dea0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.0041de80
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.0043a385
add eax, 0x40
push eax
call fcn.0043a55b
add esp, 0x10
cmp esi, 0x3ef
jne 0x41dee2
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.0043a385
add eax, 0x40
push eax
call fcn.0043a55b
add esp, 8
push 3
call fcn.00438efa
int3
Function at 0x41e0a0
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 0x41e0b0
mov dword [ebx], edx
mov edi, dword [ebp + 0xc]
cmp edi, edx
je 0x41e287
mov eax, dword [ebp + 0x10]
cmp eax, edx
mov dword [edi + 0x13c4], edx
je 0x41e287
mov ecx, dword [ebp + 0x14]
cmp ecx, edx
jl 0x41e287
cmp byte [edi + 0x1390], dl
je 0x41e0fb
cmp ebx, edx
je 0x41e0e9
mov dword [ebx], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
cmp ecx, edx
jne 0x41e113
cmp ebx, edx
je 0x41e105
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.00439ead
add esp, 4
test eax, eax
jne 0x41e1d5
cmp dword [edi + 0x1398], 0
jne 0x41e184
mov esi, dword [edi]
call fcn.0041d7b0
test al, al
jne 0x41e184
mov ecx, dword [edi]
push ecx
push 0x1388
lea esi, [edi + 4]
push 1
push esi
call fcn.0043a946
mov edx, dword [edi]
push edx
mov ebx, eax
call fcn.00439ead
add esp, 0x14
test eax, eax
jne 0x41e217
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.0041def0
test eax, eax
jne 0x41e1f2
mov esi, dword [edi]
call fcn.0041d7b0
test al, al
je 0x41e1b5
cmp dword [edi + 0x1398], 0
jne 0x41e1b5
cmp dword [edi + 0x13a8], 0
ja 0x41e24c
cmp dword [edi + 0x13a8], 0
je 0x41e269
mov ecx, dword [edi]
push ecx
call fcn.00439ead
add esp, 4
test eax, eax
je 0x41e133
test ebx, ebx
je 0x41e1df
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 0x41e237
test ebx, ebx
je 0x41e1fd
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 0x41e1df
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 0x41e23d
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 0x41e256
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 0x41e273
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 0x41e291
mov dword [ebx], 0xfffffffe
cmp edi, edx
je 0x41e29f
mov dword [edi + 0x13c4], 0xfffffffe
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
Function at 0x427dc0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x427df9
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.0040c364
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004052ec
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x429317
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x459e5c
mov ecx, edi
call fcn.0040162d
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x42936a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x42937d
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0040c364
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004052ec
jmp 0x42937d
mov ecx, esi
call fcn.0042a74d
test eax, eax
je 0x42937d
push edi
mov ecx, eax
call fcn.00427dc0
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x42985b
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 0x42989e
call fcn.0042fa1b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42989e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4298b9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00429415
test ebx, ebx
mov esi, eax
je 0x4298b7
test edi, edi
je 0x4298b7
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4