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

Disassembly:
sub esp, 0x694
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x6ac]
push esi
mov esi, dword [esp + 0x6a4]
mov edx, dword [esi + 4]
push edi
xor eax, eax
push ebx
mov word [esp + 0x50], ax
mov eax, dword [esi]
push edx
xor ecx, ecx
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov word [esp + 0x262], cx
mov dword [esp + 0x488], ebx
mov dword [esp + 0x2c], 1
call fcn.0041557c
mov edx, dword [esp + 0x6b8]
add esp, 0xc
lea ecx, [esp + 0x490]
push ecx
push edx
push esi
call fcn.004523ce
test eax, eax
je 0x45260c
lea eax, [ebx + 6]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x10
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x1f]
push 1
push ecx
call fcn.004151b0
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x30]
push 4
push eax
call fcn.004151b0
mov ecx, dword [esi]
mov edi, dword [esp + 0x38]
push ecx
push 1
lea edx, [esp + 0x40]
push 4
push edx
xor edi, 0x87bc
call fcn.004151b0
mov ecx, dword [esi]
mov eax, dword [esp + 0x48]
push ecx
push 1
lea edx, [esp + 0x50]
xor eax, 0x87bc
push 4
push edx
mov dword [ebp], eax
call fcn.004151b0
mov eax, dword [esp + 0x58]
add esp, 0x40
xor eax, 0xa685
push 1
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push 0x10
push eax
call fcn.0041557c
mov ecx, dword [ebp]
add esp, 0xc
push ecx
call fcn.004138ba
add esp, 4
push edi
mov dword [esp + 0x20], eax
call fcn.004138ba
mov edx, dword [esi]
add esp, 4
push edx
push 1
mov ebp, eax
push edi
push ebp
call fcn.004151b0
mov eax, dword [esi + 8]
add esp, 0x10
add eax, 0x2477
push eax
push edi
push ebp
call fcn.0044afdc
push edi
push ebp
lea ecx, [esp + 0x28]
push ecx
call fcn.0043535d
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x20]
je 0x4526fd
mov eax, dword [esp + 0x1c]
push eax
call fcn.00413a88
add esp, 4
push ebp
cmp byte [esp + 0x17], 1
jne 0x45275b
xor ecx, ecx
mov eax, 1
mov word [esp + 0x4c], cx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
xor edx, edx
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov word [esp + 0x25a], dx
mov dword [esp + 0x480], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], eax
call fcn.0044b195
push ebp
call fcn.00413a88
jmp 0x452769
mov edx, dword [esp + 0x1c]
push edx
call fcn.00413a88
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x6b4]
mov ecx, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebp
mov dword [eax], ecx
xor eax, eax
pop ebx
add esp, 0x694
ret 0x10
Function at 0x457c08
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.0040c060
xor esi, esi
push 0x3c
lea eax, [esp + 0x28]
push esi
push eax
xor ebx, ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x1c], 1
call fcn.004131f0
add esp, 0xc
cmp dword [esp + 0x70], 2
jb 0x457c69
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 4]
push eax
call fcn.00453081
cmp word [eax], bx
je 0x457c69
mov edx, dword [ebp + 4]
mov eax, dword [edx + 4]
push eax
call fcn.00453081
mov edi, eax
call fcn.0040fff0
mov ebx, eax
cmp dword [esp + 0x70], 3
jb 0x457c89
mov eax, dword [ebp + 4]
mov eax, dword [eax + 8]
push eax
call fcn.00453081
mov edi, eax
call fcn.0040fff0
mov dword [esp + 0x6c], eax
mov esi, eax
cmp dword [esp + 0x70], 4
jb 0x457cc6
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 0xc]
push eax
call fcn.00453081
cmp word [eax], 0
je 0x457cc6
mov edx, dword [ebp + 4]
mov edi, dword [edx + 0xc]
push edi
call fcn.0044adff
test al, al
jne 0x457cc6
push edi
call fcn.00453063
push eax
lea esi, [esp + 0x18]
call fcn.0040df50
mov esi, dword [esp + 0x6c]
cmp dword [esp + 0x70], 5
jb 0x457cdf
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x10]
call fcn.0040c760
movzx ecx, ax
mov dword [esp + 0x10], ecx
push 0x3c
lea edx, [esp + 0x28]
push 0
push edx
call fcn.004131f0
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], 0x40
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
add esp, 0xc
push eax
call fcn.00453081
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edx
call dword [0x482464]
mov edi, eax
test ebx, ebx
je 0x457d49
push ebx
call fcn.004112ef
add esp, 4
test esi, esi
je 0x457d56
push esi
call fcn.004112ef
add esp, 4
test edi, edi
jne 0x457d94
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
push 1
add eax, ecx
call fcn.004040e0
mov esi, dword [esp + 0x74]
call fcn.004092c0
lea ecx, [esp + 0x14]
mov dword [esi + 8], 1
mov dword [esi], edi
call fcn.00402620
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x14
cmp byte [esp + 0x68], 0
je 0x457dbe
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x450], eax
lea ecx, [esp + 0x14]
call fcn.00402620
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x14
mov esi, dword [esp + 0x74]
call fcn.004092c0
mov eax, dword [esp + 0x5c]
mov dword [esi + 8], 1
mov dword [esi], 1
test eax, eax
je 0x457de3
push eax
call dword [0x482308]
lea ecx, [esp + 0x14]
call fcn.00402620
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x14
Function at 0x467e5e
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
mov al, byte [0x49728f]
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov edi, dword [esp + 0x2c]
push 0x8000
push edi
mov byte [esp + 0x18], al
call fcn.0041453a
add esp, 4
push eax
call fcn.00414443
add esp, 8
mov esi, eax
push ebp
mov dword [esp + 0x18], esi
call fcn.00444279
test al, al
je 0x467ebd
push edi
push ebp
call fcn.00443676
push eax
push 1
push ebp
call fcn.004676a3
push eax
call fcn.004146ce
add esp, 0x10
mov ebx, eax
jmp 0x467f09
push esi
jmp 0x467f1c
lea esi, [esp + 0x18]
call fcn.0040d500
push ebp
call fcn.00453063
push esi
push eax
call fcn.0045efe7
mov edx, dword [esp + 0x18]
push edx
push 0x4873d8
dec eax
add byte [edi - 0x18], dl
insd dword es:[edi], dx
enter 0xfffffffffffffffa, 0xffffffffffffff83
les ecx, [eax + eax*4]
jl 0x467f0d
adc byte [eax], al
mov ebx, eax
je 0x467efc
push ebp
call fcn.00453081
push eax
call dword [0x482204]
lea esi, [esp + 0x18]
call fcn.00401330
mov esi, dword [esp + 0x14]
push edi
call fcn.004149f6
add esp, 4
cmp esi, 0xffffffff
jne 0x467eba
push 0x4000
push edi
call fcn.0041453a
add esp, 4
push eax
call fcn.00414443
add esp, 8
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x18
ret

Function at 0x47f1aa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pop ebx
mov eax, dword [esi]
adc al, ch
or al, 0xff
push 0xffffffffffffffff
push 0x4c296
push ebp
call fcn.0045e64d
add byte [ebp + 0x468b5b], cl
adc al, ch
or al, 0xff
or byte [ebx + 0x24545310], al
xor al, 0x18
adc dword [ebx + 0x248b0443], ecx
ror byte [ebx + 0x72e85242], 0xb0
dec dword [ecx - 0x7cdb7494]
dec eax
add al, 0x57
mov edi, 0x86e8527f
cmp word [ecx + 8], di
je 0x47f25c
xor eax, eax
push 0x20
call 0x8d5c2e6c
adc al, 0x8d
push esp
and al, 0x14
mov eax, dword [edx]
push eax
and byte [eax], al
and al, 0x1a
pop ebp
xor byte [eax + 0x56], dl
mov ecx, ebx
mov ebp, dword [ebp + ebx*2 + 0x28]
call 0x540ab6f
mov eax, dword [edx]
jne 0x47f235
mov ecx, dword [eax]
add al, 0x89
push esp
and al, 0x28
mov eax, dword [ecx + edx*4]
cmp word [eax + 8], di
je 0x47f248
movsx eax, word [eax + 0xa]
push eax
push 0x72
push ebx
call 0x5945e64d
pop edi
pop esi
pop ebp
adc al, ch
mov eax, dword [0xfff8a0]
lea ebx, [ebx - 0x75]
inc esi
add byte [eax], dl
call 0x8b4cf156
add al, 0x8b
adc edx, dword [eax]
call 0x5940c77f
pop edi
pop esi
pop ebp
adc byte [ebx - 0x5f7c1718], cl
clc
push dword [ebx]
test byte [ebp - 0x72988113], 0xbb
insb byte es:[edi], dx
or al, 0x8d
jl 0x47f1f9
xor esi, esi
test ebp, ebp
jle 0x47f2c9
lea edi, [ebx + 0x7c8d0c6c]
nop
push edi
call 0xc543425e
add al, 0xe9
jne 0x47f2bc
mov eax, edi
call 0x8b40f37f
pop ebp
cmp byte [ecx], al
je 0x47f297
mov eax, edi
call 0x8b40f37f
pop ebp
cmp byte [edx], al
je 0x47f297
mov eax, edi
call 0x8b40f37f
pop ebp
cmp byte [ebx], al
jne 0x47f2a9
mov eax, edi
inc esi
call 0x301f37f
add byte [eax + 0x55], cl
mov edx, dword [esp + 0x2c]
inc ecx
mov dword [edx], ecx
call 0x5940c8bf
cmp esi, ebp
jl 0x47f269
add byte [ebp + 0x468b5b], cl
Function at 0x401ac0
Capabilities:
Terminate process

Disassembly:
call fcn.00401f63
jmp 0x401aca
push 0x5c
push 0x402270
call fcn.00402018
xor ebx, ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x403370
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x401b1c
cmp eax, esi
jne 0x401b0f
xor esi, esi
inc esi
mov edi, esi
jmp 0x401b1f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401af3
xor esi, esi
inc esi
cmp dword [0x403374], esi
jne 0x401b31
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x401b6b
cmp dword [0x403374], ebx
jne 0x401b65
mov dword [0x403374], esi
push 0x4010c0
push 0x4010b4
call fcn.00401c9f
pop ecx
pop ecx
test eax, eax
je 0x401b6b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401c99
mov dword [0x403014], esi
cmp dword [0x403374], esi
jne 0x401b8e
push 0x4010b0
push 0x4010a8
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x403374], 2
test edi, edi
jne 0x401b9b
xor eax, eax
mov ecx, 0x403370
xchg dword [ecx], eax
cmp dword [0x403378], 0
je 0x401bc7
push 0x403378
call fcn.00401e70
pop ecx
test eax, eax
je 0x401bc7
push ebx
push 2
push ebx
mov esi, dword [0x403378]
mov ecx, esi
call dword [0x4040b0]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov edi, dword [ebp - 0x24]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x401c25
test cl, cl
je 0x401bf4
test edi, edi
jne 0x401c25
test cl, cl
je 0x401bf4
cmp cl, 0x20
ja 0x401bf4
inc esi
mov dword [ebp - 0x20], esi
mov cl, byte [esi]
jmp 0x401be3
test byte [ebp - 0x40], 1
je 0x401c00
movzx eax, word [ebp - 0x3c]
jmp 0x401c03
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x403010], eax
cmp dword [0x403028], 0
jne 0x401c7e
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x401c36
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x24], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x401c49
inc esi
mov dword [ebp - 0x20], esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x401bd4
cmp dword [0x403014], 0
jne 0x401c92
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x403010]
mov dword [ebp - 4], 0xfffffffe
call fcn.00402060
ret

Function at 0x401e20
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x401e5e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x401e56
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x401e60
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x401e46
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401f30
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x401f46
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x401f61
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x404492
Capabilities:
Terminate process

Disassembly:
push 0xc
mov eax, 0x448b70
call fcn.00432ae0
xor ecx, ecx
inc ecx
mov dword [0x464548], ecx
mov eax, dword [esi + 0xa0]
cmp eax, ecx
jge 0x4044d0
push 0xbd2
lea eax, [ebp - 0x18]
push eax
call fcn.0040732b
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
mov ecx, 0x4644a0
jmp fcn.004053c0
dec eax
lea ecx, [esi + 0x90]
cmp dword [ecx], eax
je 0x4044f0
mov dword [ecx], eax
lea ecx, [esi + 0x98]
call fcn.00404d2e
push dword [eax]
push esi
call fcn.0040445d
call fcn.00432bb8
ret

Function at 0x4053c0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, eax
test esi, esi
je 0x4053f9
push ebx
mov ebx, ecx
add ebx, 0x190
push edi
mov edi, dword [ebx]
test edi, edi
je 0x4053ec
call fcn.004091d1
mov edx, dword [ebx]
push 0
push 0x450c7c
call fcn.00408a8f
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.0042ec8b
pop esi

Function at 0x413680
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 0x4136ba
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 + 0x45e040]
add esi, ebx
mov dword [eax + 0x260], ecx
cmp esi, dword [eax + 0x38]
jl 0x413694
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 0x413742
sub ecx, ebx
je 0x413727
sub ecx, ebx
je 0x41371b
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 0x414c90
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x414cab
mov eax, dword [esp + 8]
test eax, eax
je 0x414e7f
mov dword [eax], edi
pop edi
ret 0x1c
cmp byte [edi + 0x1390], 0
jne 0x414cd0
mov eax, dword [esp + 8]
test eax, eax
je 0x414cc2
mov dword [eax], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
ret 0x1c
mov eax, dword [edi]
push eax
call fcn.00431ba1
add esp, 4
test eax, eax
je 0x414cfb
mov eax, dword [esp + 8]
test eax, eax
je 0x414ced
mov dword [eax], 0xfffffffa
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
ret 0x1c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x414d09
mov dword [eax], 0
push ebp
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x414d19
mov dword [ebp], 0
push ebx
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x414d28
mov dword [ebx], 0
push esi
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x414d37
mov dword [esi], 0
cmp dword [esp + 0x1c], 0
jne 0x414e1e
cmp dword [edi + 0x13c4], 0
jne 0x414dbe
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.00413a90
mov ebx, eax
cmp ebx, 3
je 0x414d7f
cmp ebx, 4
jne 0x414e03
mov eax, dword [edi + 0x13a8]
cmp eax, esi
jae 0x414dad
mov ecx, dword [edi]
push ecx
sub esi, eax
push esi
push 1
push ebp
call fcn.00431d2f
add esp, 0x10
cmp esi, eax
jne 0x414de4
mov edx, dword [edi]
push edx
call fcn.00431ba1
add esp, 4
test eax, eax
jne 0x414de4
cmp ebx, 4
jne 0x414d50
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov eax, dword [edi]
push eax
call fcn.00431ba1
add esp, 4
test eax, eax
jne 0x414e1a
mov ecx, dword [edi]
push ecx
call fcn.00431f2f
mov edx, dword [edi]
push edx
call fcn.00431ba1
add esp, 8
test eax, eax
je 0x414e1a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x414df2
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 0x414e0d
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 0x414e2a
mov ecx, dword [edi + 0x139c]
mov dword [eax], ecx
test ebp, ebp
je 0x414e37
mov edx, dword [edi + 0x13a0]
mov dword [ebp], edx
test ebx, ebx
je 0x414e43
mov eax, dword [edi + 0x13ac]
mov dword [ebx], eax
test esi, esi
je 0x414e4f
mov ecx, dword [edi + 0x13b0]
mov dword [esi], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x414e5d
mov dword [eax], 0
lea edx, [edi + 0x1394]
push edx
mov dword [edi + 0x13c4], 0
call fcn.00413bd0
push edi
call fcn.0042ed17
add esp, 4
pop esi
pop ebx
pop ebp
pop edi
ret 0x1c
Function at 0x415090
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.00415070
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.00432079
add eax, 0x40
push eax
call fcn.0043224b
add esp, 0x10
cmp esi, 0x3ef
pop esi
jne 0x4150d1
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.00432079
add eax, 0x40
push eax
call fcn.0043224b
add esp, 8
push 3
call fcn.0042ec8b
int3
Function at 0x41b7f0
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 0x41b830
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ebp
push edi
push ecx
push eax
mov eax, edx
jmp 0x41b903
lea edx, [edi + 0x22]
test dl, 1
je 0x41b83b
add edx, 1
add edx, ecx
cmp eax, 1
mov dword [esp + 0xc], edx
jge 0x41b84d
mov eax, 1
jmp 0x41b857
cmp eax, 0x64
jle 0x41b857
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.0041b100
add esp, 0x14
cmp ebp, 3
jl 0x41b8d2
test edi, edi
mov dword [esp + 0x10], 1
je 0x41b8a4
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.00432079
add eax, 0x40
push eax
call fcn.0043224b
add esp, 0x18
cmp dword [esp + 0x24], 0
pop ebx
jge 0x41b90b
cmp ebp, 2
jl 0x41b8f5
push str.____too_repetitive__using_fallback_sorting_algorithm_n
call fcn.00432079
add eax, 0x40
push eax
call fcn.0043224b
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.0041a370
add esp, 0x10
or ecx, 0xffffffff
xor eax, eax
cmp dword [esi + 0x44], eax
mov dword [esi + 0x1c], ecx
jle 0x41b933
mov edx, dword [esp + 0x14]
lea esp, [esp]
cmp dword [edx + eax*4], 0
je 0x41b930
add eax, 1
cmp eax, dword [esi + 0x44]
jl 0x41b920
jmp 0x41b933
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x1c], ecx
pop edi
pop esi
pop ebp
jne 0x41b94b
add esp, 0x10
mov dword [esp + 4], 0x3eb
jmp fcn.00415090
add esp, 0x10
ret