joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415a65
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x41a288
call fcn.0040d4f4
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x47d7f8], edi
jne 0x415aa9
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x415a94
mov dword [0x47d7f8], ebx
jmp 0x415aa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x415aa9
mov dword [0x47d7f8], 2
mov eax, dword [0x47d7f8]
cmp eax, ebx
jne 0x415ac9
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x415b8b
cmp eax, 2
je 0x415ad2
cmp eax, edi
jne 0x415afa
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x415ae5
mov eax, dword [0x47d690]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x415b01
xor eax, eax
jmp 0x415b8b
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.00409d20
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x415b34
cmp esi, edi
jne 0x415b49
mov ecx, dword [ebp - 0x20]
call fcn.0040f8ed
mov esi, eax
cmp esi, edi
je 0x415afa
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x415b7c
cmp dword [ebp + 0x14], edi
jne 0x415b66
push edi
push edi
jmp 0x415b6c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x415b88
push esi
call fcn.0040a6b6
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.0040d52f
ret
Function at 0x415b94
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x41a298
call fcn.0040d4f4
xor esi, esi
cmp dword [0x47d7fc], esi
jne 0x415bd8
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x415bc3
mov dword [0x47d7fc], edi
jmp 0x415bd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x415bd8
mov dword [0x47d7fc], 2
mov eax, dword [0x47d7fc]
cmp eax, 2
je 0x415cb7
cmp eax, esi
je 0x415cb7
cmp eax, 1
jne 0x415c1d
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x415c06
mov eax, dword [0x47d690]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x415c24
xor eax, eax
jmp 0x415cc9
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.00409d20
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x415c5a
cmp edi, esi
jne 0x415c73
lea ecx, [ebx + ebx]
call fcn.0040f8ed
mov edi, eax
cmp edi, esi
je 0x415c1d
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x415ca6
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x415c90
push esi
push esi
jmp 0x415c96
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x415cb2
push edi
call fcn.0040a6b6
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x415cc9
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.0040d52f
ret
Function at 0x4163d0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 8], ebx
je 0x41643a
push 0x3d
push esi
call fcn.004165c1
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], edi
je 0x41643a
cmp esi, edi
je 0x41643a
xor eax, eax
cmp byte [edi + 1], al
sete al
mov dword [ebp - 4], eax
mov eax, dword [0x47d09c]
cmp eax, dword [0x47d0a0]
jne 0x416420
call fcn.00416376
mov dword [0x47d09c], eax
cmp eax, ebx
jne 0x416479
cmp dword [ebp + 0xc], ebx
je 0x416442
cmp dword [0x47d0a4], ebx
je 0x416442
call fcn.00415f24
test eax, eax
je 0x416479
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
jne 0x41657a
push 4
pop ecx
call fcn.0040f8ed
cmp eax, ebx
mov dword [0x47d09c], eax
je 0x41643a
mov dword [eax], ebx
cmp dword [0x47d0a4], ebx
jne 0x416479
push 4
pop ecx
call fcn.0040f8ed
cmp eax, ebx
mov dword [0x47d0a4], eax
je 0x41643a
mov dword [eax], ebx
mov ebx, dword [0x47d09c]
sub edi, esi
push esi
call fcn.00416324
mov edi, eax
test edi, edi
pop ecx
jl 0x4164d0
cmp dword [ebx], 0
je 0x4164d0
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.0040a6b6
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x4164b7
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov esi, eax
jmp 0x416504
mov ecx, dword [esi + 4]
mov dword [esi], ecx
inc edi
add esi, 4
cmp dword [esi], eax
jne 0x4164ae
mov edx, edi
shl edx, 2
mov ecx, ebx
call fcn.0040f96d
test eax, eax
mov esi, dword [ebp + 8]
je 0x416504
jmp 0x4164ff
cmp dword [ebp - 4], 0
jne 0x416573
test edi, edi
jge 0x4164e0
neg edi
lea edx, [edi*4 + 8]
mov ecx, ebx
call fcn.0040f96d
test eax, eax
je 0x41643a
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov dword [0x47d09c], eax
cmp dword [ebp + 0xc], 0
je 0x41655e
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41650f
sub eax, edx
lea ecx, [eax + 2]
call fcn.0040f8ed
mov edi, eax
test edi, edi
je 0x41655e
mov ecx, esi
sub eax, esi
mov dl, byte [ecx]
mov byte [eax + ecx], dl
inc ecx
test dl, dl
jne 0x41652a
mov ecx, dword [ebp - 0xc]
add eax, ecx
mov ecx, dword [ebp - 4]
mov byte [eax], dl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x416557
or dword [ebp - 8], 0xffffffff
push edi
call fcn.0040a6b6
pop ecx
cmp dword [ebp - 4], 0
je 0x41656b
push esi
call fcn.0040a6b6
pop ecx
mov eax, dword [ebp - 8]
jmp 0x41643d
push esi
call fcn.0040a6b6
pop ecx
xor eax, eax
jmp 0x41643d
Function at 0x4030cf
Capabilities:
Query environment variable

Disassembly:
mov esp, 0xc600003e
inc ebp
cld
add dword [ebx - 0x47138b], ecx
aas
add byte [eax], al
push eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0040324e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403229
lea ebx, [ebp - 0x10]
call fcn.00403161
pop esi
add byte [eax], al
add byte [edx + 0x22], ch

Function at 0x40359e
Capabilities:
Terminate process

Disassembly:
push 0xc
mov eax, 0x44550d
call fcn.0042f7d6
xor ecx, ecx
inc ecx
mov dword [0x45e490], ecx
mov eax, dword [esi + 0xa0]
cmp eax, ecx
jge 0x4035dc
push 0xbd2
lea eax, [ebp - 0x18]
push eax
call fcn.00405a37
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
mov ecx, 0x45e3e8
jmp fcn.004042dd
dec eax
lea ecx, [esi + 0x90]
cmp dword [ecx], eax
je 0x4035fc
mov dword [ecx], eax
lea ecx, [esi + 0x98]
call fcn.00403dd7
push dword [eax]
push esi
call fcn.00403569
call fcn.0042f875
ret

Function at 0x403602
Capabilities:
Terminate process

Disassembly:
push 0x14
mov eax, 0x445498
call fcn.0042f7d6
lea ecx, [ebp - 0x14]
call fcn.00406f8f
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 0x44c364
mov ecx, 0x45e52c
call fcn.00420bfa
test eax, eax
jne 0x403650
push 0xbd3
lea eax, [ebp - 0x20]
push eax
call fcn.00405a37
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
mov ecx, 0x45e3e8
jmp fcn.004042dd
lea ecx, [ebp - 0x10]
call fcn.00406f8f
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x14]
mov edi, esi
jmp 0x40369a
cmp word [esi], 0x2c
jne 0x403698
mov eax, esi
sub eax, edi
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.0040161f
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x403695
lea ecx, [ebx + 0x98]
mov eax, dword [ecx + 8]
lea edx, [ebp - 0x10]
push edx
push eax
call fcn.00421f65
lea edi, [esi + 2]
inc esi
inc esi
cmp word [esi], 0
jne 0x403663
push edi
call fcn.0042aa76
test eax, eax
pop ecx
je 0x4036bb
lea ecx, [ebx + 0x98]
mov eax, dword [ecx + 8]
push edi
push eax
call fcn.00421fb5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00406fb9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406fb9
call fcn.0042f875
ret

Function at 0x4040be
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
call fcn.004209c3
push dword [esp + 0xc]
mov esi, dword [eax + 0xc]
push dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x4040de
xor eax, eax
jmp 0x4040f1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4040da
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop esi
ret 8

Function at 0x4042dd
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, eax
test esi, esi
je 0x404316
push ebx
mov ebx, ecx
add ebx, 0x17c
push edi
mov edi, dword [ebx]
test edi, edi
je 0x404309
call fcn.00407708
mov edx, dword [ebx]
push 0
push str.InstallBroken
call fcn.00406f39
pop ecx
pop ecx
mov eax, dword [esi]
push 0
push 0
mov ecx, esi
call dword [eax + 0x14]
pop edi
pop ebx
push 1
call fcn.0042badb
pop esi
Function at 0x40451c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44563f
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x459d40]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x459d40]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
lea eax, [esp + 0xec]
push eax
push 0x202
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor ebx, ebx
cmp eax, ebx
je 0x40458a
push 0xffffffffffffffff
push 0x10
push 0xbd0
call fcn.0042109e
jmp 0x4046c7
call fcn.0040431e
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 8
mov dword [esp + 0x2c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push ebx
lea eax, [esp + 0x30]
push eax
xor edi, edi
lea eax, [esp + 0x20]
inc edi
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call sub.gdiplus.dll_GdiplusStartup
call fcn.0042561f
mov ecx, esi
call fcn.004248a2
push ebx
push str.042B0D65_EF5B_4E3F_ADFF_86C726E4F053
push ebx
lea ecx, [esp + 0x28]
call fcn.00425658
mov dword [esp + 0x290], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404659
lea ecx, [esp + 0x14]
call fcn.00406f8f
mov byte [esp + 0x290], 1
mov esi, 0xbcb
push esi
lea ecx, [esp + 0x18]
call fcn.00401938
test eax, eax
jne 0x404626
call fcn.0041e911
call fcn.004209c3
push dword [eax + 0x10]
lea eax, [esp + 0x18]
push esi
push eax
call fcn.004013ab
add esp, 0xc
push ebx
push ebx
push dword [esp + 0x1c]
call fcn.00421055
mov byte [esp + 0x290], bl
lea ecx, [esp + 0x14]
call fcn.00406fb9
jmp 0x4046b6
push esi
call fcn.004044b4
push str.SlimWare_Utilities_Inc
mov ecx, esi
call fcn.004256e3
lea eax, [esp + 0x3c]
push eax
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], ebx
call fcn.004033b3
mov byte [esp + 0x290], 2
lea eax, [esp + 0x3c]
mov ecx, eax
mov dword [esi + 0x20], eax
call fcn.0041e4ae
push dword [esp + 0x18]
call sub.gdiplus.dll_GdiplusShutdown
mov byte [esp + 0x290], bl
lea ecx, [esp + 0x3c]
call fcn.00403489
or dword [esp + 0x290], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004256a0
xor eax, eax
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0042aa67
mov esp, ebp
pop ebp
ret

Function at 0x404b14
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x445040
call fcn.0042f7d6
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 0x404b5c
lea ebx, [esi + 0x110]
mov eax, edi
mov ecx, ebx
call fcn.00403dd7
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, dword [esi + 0x118]
jne 0x404b42
mov byte [ebp - 4], 2
lea ecx, [esi + 0x178]
call fcn.00425c60
mov byte [ebp - 4], 1
lea ecx, [esi + 0x124]
call fcn.00425c60
mov byte [ebp - 4], 0
lea ecx, [esi + 0x110]
call fcn.00421e4e
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040ca96
call fcn.0042f875
ret
Function at 0x408200
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.0042b4a0
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.004088f2
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.00403129
cmp edi, esi
jne 0x40825f
xor eax, eax
jmp 0x408272
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 0x409e2c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x444ff3
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x459d40]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
call fcn.004208c3
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esp + 0x50], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x48], eax
je 0x40a3f5
cmp dword [esp + 0x40], ebx
je 0x40a3f5
push 0x28
call fcn.004189a6
add byte [ebx + 0x748959f0], cl
and al, 0x3c
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4107c0
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 0x4107fa
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 + 0x458040]
add esi, ebx
mov dword [eax + 0x260], ecx
cmp esi, dword [eax + 0x38]
jl 0x4107d4
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 0x410882
sub ecx, ebx
je 0x410867
sub ecx, ebx
je 0x41085b
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 0x411dd0
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x411deb
mov eax, dword [esp + 8]
test eax, eax
je 0x411fbf
mov dword [eax], edi
pop edi
ret 0x1c
cmp byte [edi + 0x1390], 0
jne 0x411e10
mov eax, dword [esp + 8]
test eax, eax
je 0x411e02
mov dword [eax], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
ret 0x1c
mov eax, dword [edi]
push eax
call fcn.0042e8e4
add esp, 4
test eax, eax
je 0x411e3b
mov eax, dword [esp + 8]
test eax, eax
je 0x411e2d
mov dword [eax], 0xfffffffa
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
ret 0x1c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x411e49
mov dword [eax], 0
push ebp
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x411e59
mov dword [ebp], 0
push ebx
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x411e68
mov dword [ebx], 0
push esi
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x411e77
mov dword [esi], 0
cmp dword [esp + 0x1c], 0
jne 0x411f5e
cmp dword [edi + 0x13c4], 0
jne 0x411efe
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.00410bd0
mov ebx, eax
cmp ebx, 3
je 0x411ebf
cmp ebx, 4
jne 0x411f43
mov eax, dword [edi + 0x13a8]
cmp eax, esi
jae 0x411eed
mov ecx, dword [edi]
push ecx
sub esi, eax
push esi
push 1
push ebp
call fcn.0042ea72
add esp, 0x10
cmp esi, eax
jne 0x411f24
mov edx, dword [edi]
push edx
call fcn.0042e8e4
add esp, 4
test eax, eax
jne 0x411f24
cmp ebx, 4
jne 0x411e90
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov eax, dword [edi]
push eax
call fcn.0042e8e4
add esp, 4
test eax, eax
jne 0x411f5a
mov ecx, dword [edi]
push ecx
call fcn.0042ec72
mov edx, dword [edi]
push edx
call fcn.0042e8e4
add esp, 8
test eax, eax
je 0x411f5a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x411f32
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 0x411f4d
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 0x411f6a
mov ecx, dword [edi + 0x139c]
mov dword [eax], ecx
test ebp, ebp
je 0x411f77
mov edx, dword [edi + 0x13a0]
mov dword [ebp], edx
test ebx, ebx
je 0x411f83
mov eax, dword [edi + 0x13ac]
mov dword [ebx], eax
test esi, esi
je 0x411f8f
mov ecx, dword [edi + 0x13b0]
mov dword [esi], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x411f9d
mov dword [eax], 0
lea edx, [edi + 0x1394]
push edx
mov dword [edi + 0x13c4], 0
call fcn.00410d10
push edi
call fcn.0042bb67
add esp, 4
pop esi
pop ebx
pop ebp
pop edi
ret 0x1c
Function at 0x4121d0
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.004121b0
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.0042edbc
add eax, 0x40
push eax
call fcn.0042ef8b
add esp, 0x10
cmp esi, 0x3ef
pop esi
jne 0x412211
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.0042edbc
add eax, 0x40
push eax
call fcn.0042ef8b
add esp, 8
push 3
call fcn.0042badb
int3
Function at 0x418930
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 0x418970
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ebp
push edi
push ecx
push eax
mov eax, edx
jmp 0x418a43
lea edx, [edi + 0x22]
test dl, 1
je 0x41897b
add edx, 1
add edx, ecx
cmp eax, 1
mov dword [esp + 0xc], edx
jge 0x41898d
mov eax, 1
jmp 0x418997
cmp eax, 0x64
jle 0x418997
mov eax, 0x64
lea edx, [eax - 1]
mov eax, 0x55555556
imul edx
mov eax, edx
push ebx
shr eax, 0x1f
pop ds

Function at 0x4189a6
Capabilities:
Terminate process

Disassembly:
pop ds
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.00418240
add esp, 0x14
cmp ebp, 3
invalid
jl 0x418a12
test edi, edi

Function at 0x4189d1
Capabilities:
Terminate process

Disassembly:
add edi, dword [esi + edi - 0x7b]
inc edi
mov dword [esp + 0x10], 1

Function at 0x4189d6
Capabilities:
Terminate process

Disassembly:
mov dword [esp + 0x10], 1
je 0x4189e4
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.0042edbc
add eax, 0x40
push eax
call fcn.0042ef8b
add esp, 0x18
cmp dword [esp + 0x24], 0
pop ebx
jge 0x418a4b
cmp ebp, 2
jl 0x418a35
push str.____too_repetitive__using_fallback_sorting_algorithm_n
call fcn.0042edbc
add eax, 0x40
push eax
call fcn.0042ef8b
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.004174b0
add esp, 0x10
or ecx, 0xffffffff
xor eax, eax
cmp dword [esi + 0x44], eax
mov dword [esi + 0x1c], ecx
jle 0x418a73
mov edx, dword [esp + 0x14]
lea esp, [esp]
cmp dword [edx + eax*4], 0
je 0x418a70
add eax, 1
cmp eax, dword [esi + 0x44]
jl 0x418a60
jmp 0x418a73
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x1c], ecx
pop edi
pop esi
pop ebp
jne 0x418a8b
add esp, 0x10
mov dword [esp + 4], 0x3eb
jmp fcn.004121d0
add esp, 0x10
ret

Function at 0x41b552
Capabilities:
Log keystrokes via polling

Disassembly:
inc ebx
add byte [eax], al
test eax, 0x40000000
jne 0x41b5a2
call fcn.00419dbe
mov esi, eax
test esi, esi
je 0x41b5a2
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ax, ax
jl 0x41b5a2
push 0x11
call edi
test ax, ax
jl 0x41b5a2
push 0x12
call edi
test ax, ax
jl 0x41b5a2
push 0
push 0xe146
push 0x111
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
inc eax
jmp 0x41b5af
mov ecx, ebx
call fcn.0041b08c
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
ret 4