joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ad10
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x204
mov eax, dword [0x46dec0]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x208]
test eax, eax
push esi
jne 0x40aded
mov eax, dword [esp + 0x210]
test eax, eax
je 0x40aded
push 0x200
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40ad93
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x46f470]
mov ecx, dword [eax]
push esi
push 0x99
push str._IWD:_d__mfn:_u
push eax
call dword [ecx + 4]
add esp, 0x10
xor edx, edx
mov eax, esi
or edx, 1
pop esi
mov ecx, dword [esp + 0x200]
call fcn.00432fde
add esp, 0x204
ret
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x40ae3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x46f470]
mov ecx, dword [eax]
push esi
push 0xa1
push str._IWD:_d__scwd:_u
push eax
call dword [ecx + 4]
add esp, 0x10
xor edx, edx
mov eax, esi
or edx, 1
pop esi
mov ecx, dword [esp + 0x200]
call fcn.00432fde
add esp, 0x204
ret
lea edx, [esp + 4]
push edx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x40ae3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x46f470]
mov ecx, dword [eax]
push esi
push 0x91
push str._IWD:_d__cwd:_u
push eax
call dword [ecx + 4]
add esp, 0x10
xor edx, edx
mov eax, esi
or edx, 1
pop esi
mov ecx, dword [esp + 0x200]
call fcn.00432fde
add esp, 0x204
ret
lea eax, [esp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ae44
sub eax, edx
push eax
lea edx, [esp + 8]
push edx
mov ecx, 0x46f490
call fcn.004015c0
mov ecx, dword [esp + 0x204]
xor eax, eax
xor edx, edx
pop esi
call fcn.00432fde
add esp, 0x204
ret

Function at 0x40ae80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40ae99
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40aead
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40aece
cmp esi, eax
jae 0x40aea7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40aec0
cmp esi, eax
jae 0x40aea7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40af20
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push ebx
push esi
push edi
mov ebx, dword [esp + 0x64]
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x68]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x20]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push edi
push ebx
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40afb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push ebx
mov esi, eax
mov eax, dword [0x46f470]
mov ecx, dword [eax]
push esi
push 0x52
push str._RP:_d_CreateProcess_err:_u_n___s_n___s
push eax
call dword [ecx + 4]
push edi
push ebx
push esi
push 0x53
push str._RPRG:_d_creprcs__u_n___s_n___s
push 0x46f474
call fcn.0040ac70
add esp, 0x30
pop edi
mov eax, esi
xor edx, edx
pop esi
or edx, 1
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x40afc9
mov edx, dword [esp + 0xc]
push 0x1388
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [esp + 0x70]
test eax, eax
mov ecx, dword [esp + 0xc]
je 0x40afec
mov edx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], edx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
pop edi
pop esi
xor eax, eax
xor edx, edx
pop ebx
add esp, 0x54
ret
Function at 0x40b010
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x53c
mov eax, dword [0x46dec0]
push ebx
push esi
push edi
push str.Psapi.dll
mov dword [esp + 0x548], eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
xor ebx, ebx
test edi, edi
mov dword [esp + 0x14], edi
je 0x40b058
push str.GetModuleFileNameExA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
jne 0x40b077
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40b167
xor eax, eax
mov ecx, 0x4a
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40b0a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40b15c
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea esp, [esp]
test ebx, ebx
je 0x40b10b
mov ecx, dword [esp + 0x20]
push ecx
push 0
push 0x410
call edi
mov esi, eax
test esi, esi
je 0x40b132
push 0x400
lea edx, [esp + 0x144]
push edx
push 0
push esi
call ebx
test eax, eax
je 0x40b0fe
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x144]
push ecx
call fcn.00434bfd
add esp, 8
test eax, eax
jne 0x40b0fe
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
jmp 0x40b128
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00434bfd
add esp, 8
test eax, eax
jne 0x40b136
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40b15c
jmp 0x40b136
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40b0b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x40b15c
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x40b172
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x544]
mov eax, dword [esp + 0xc]
call fcn.00432fde
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c160
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4523c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.0040c0b0
push 0x5c
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.0040bd90
mov eax, dword [esp + 0x28]
cmp byte [eax], 0
mov esi, eax
je 0x40c1e9
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi], 0x5c
jne 0x40c1e1
mov ecx, esi
sub ecx, eax
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00403240
mov edx, dword [esp + 0x10]
push 0
push edx
call ebx
test eax, eax
jne 0x40c1df
call ebp
mov edi, eax
cmp edi, 0xb7
jne 0x40c226
mov eax, esi
mov cl, byte [esi + 1]
inc esi
test cl, cl
jne 0x40c1b2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c20f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebp
xor eax, eax
xor edx, edx
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
xor esi, esi
add eax, 0xfffffff0
or esi, 1
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c251
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
mov edx, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40c270
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov byte [esi + 0x24], 1
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40c28f
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x40c2c9
mov ecx, dword [esi + 0x1c]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40c2b8
mov edx, dword [esi + 0x1c]
push 1
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1c], 0
pop esi
ret
Function at 0x40e6d0
Capabilities:
Copy file
Create directory
Set file attributes
Terminate process

Disassembly:
sub esp, 0x404
mov eax, dword [0x46dec0]
push esi
mov dword [esp + 0x404], eax
push 0x200
lea eax, [esp + 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40e74a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x46f470]
mov ecx, dword [eax]
push esi
push 0x9e
push str._Checker:_d_GetModuleFileName_err:_u
push eax
call dword [ecx + 4]
push esi
push 0x9f
push str._Checker:_d_GetModuleFileName_err:_u
push 0x46f474
call fcn.0040ac70
add esp, 0x20
mov eax, esi
pop esi
mov ecx, dword [esp + 0x400]
call fcn.00432fde
add esp, 0x404
ret 0x14
mov esi, dword [esp + 0x41c]
test esi, esi
je 0x40e798
xor eax, eax
jmp 0x40e760
mov cl, byte [esp + eax + 0x204]
mov byte [esp + eax + 4], cl
inc eax
test cl, cl
jne 0x40e760
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
lea eax, [esp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e782
sub eax, edx
push eax
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.004015c0
mov ecx, dword [esp + 0x40c]
mov edx, dword [0x46f490]
push edi
mov edi, dword [esp + 0x41c]
push ecx
push edx
push str._s_s
push edi
call fcn.00402400
mov eax, dword [edi]
add esp, 0x10
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40e823
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
je 0x40e823
mov eax, dword [0x46f470]
mov ecx, dword [eax]
push esi
push 0xad
push str._Checker:_d_CreateDirectory_err:_u
push eax
call dword [ecx + 4]
push esi
push 0xae
push str._Checker:_d_CreateDirectory_err:_u
push 0x46f474
call fcn.0040ac70
add esp, 0x20
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x400]
call fcn.00432fde
add esp, 0x404
ret 0x14
mov edx, dword [esp + 0x414]
push ebx
push ebp
push edx
push 0x456f80
push edi
call fcn.004032d0
mov eax, dword [edi]
add esp, 0xc
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
xor ebp, ebp
mov eax, dword [edi]
push 0
push eax
lea ecx, [esp + 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x40e8c6
mov eax, dword [edi]
push eax
call fcn.0040b010
add esp, 4
test eax, eax
jbe 0x40e894
push eax
push 0
push 1
call ebx
mov esi, eax
test esi, esi
je 0x40e894
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0x420]
test eax, eax
je 0x40e8ae
push 0x3e8
jmp 0x40e8b8
cmp ebp, 3
jge 0x40e8ca
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebp
cmp ebp, 0xa
jl 0x40e851
jmp 0x40e8f8
xor eax, eax
jmp 0x40e8fa
mov eax, dword [0x46f470]
mov edx, dword [eax]
push esi
push 0xc4
push str._Checker:_d_CopyFile_err:_u
push eax
call dword [edx + 4]
push esi
push 0xc5
push str._Checker:_d_CopyFile_err:_u
push 0x46f474
call fcn.0040ac70
add esp, 0x20
mov eax, esi
mov ecx, dword [esp + 0x410]
pop ebp
pop ebx
pop edi
pop esi
call fcn.00432fde
add esp, 0x404
ret 0x14
Function at 0x410e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45278b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov byte [esi + 0x1c], bl
lea edi, [esi + 0x34]
mov ecx, edi
mov byte [esp + 0x18], 1
call fcn.0040f6b0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov byte [esp + 0x18], 2
call fcn.00444b67
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x44], eax
mov dword [esi + 0x60], 0xf
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x4c], bl
mov byte [esp + 0x18], 4
call fcn.00444b67
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x70], eax
mov byte [esp + 0x18], 5
call fcn.00444b67
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x74], eax
mov byte [esp + 0x18], 6
call fcn.00444b67
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x78], eax
lea ecx, [esi + 0x80]
mov byte [esp + 0x18], 7
call fcn.0040dc40
push ebx
lea ecx, [esi + 0xa8]
mov byte [esp + 0x1c], 8
call fcn.0040c7d0
mov dword [esi + 0x114], 0xf
mov dword [esi + 0x110], ebx
mov byte [esi + 0x100], bl
lea ecx, [esi + 0x118]
mov byte [esp + 0x18], 0xa
call fcn.004128e0
lea edi, [esi + 0x1bc]
mov ecx, edi
mov byte [esp + 0x18], 0xb
call fcn.0040f6d0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea ecx, [esi + 0x1c8]
mov byte [esp + 0x18], 0xc
call fcn.00413780
mov ecx, dword [esp + 0x10]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1f8], ebx
mov dword [esi + 0x1fc], ebx
mov dword [esi + 0x200], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x411cf0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov byte [esi + 0x98], 1
mov eax, dword [esi + 0x94]
test eax, eax
je 0x411d1b
mov eax, dword [esi + 0x94]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 0x94], 0
mov eax, dword [esi + 0x90]
test eax, eax
je 0x411d64
mov ecx, dword [esi + 0x90]
push 0xdac
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x411d4d
mov edx, dword [esi + 0x90]
push 1
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x90], 0
pop esi
ret
Function at 0x412e80
Capabilities:
Create http request

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00411ca0
test al, al
jne 0x41302a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41302a
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x41302a
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x412eba
cmp eax, 0x14
jne 0x41302a
mov eax, dword [esi + 0x44]
test eax, eax
jl 0x41302a
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x41302a
mov eax, dword [esi + 0x68]
test eax, eax
je 0x41302a
cmp dword [esi + 0x18], 0x10
push edi
lea edi, [esi + 4]
jb 0x412ee9
mov eax, dword [edi]
jmp 0x412eeb
mov eax, edi
mov ecx, dword [0x46f470]
mov edx, dword [ecx]
push eax
push 0x67
push str._Down:_d__s
push ecx
call dword [edx + 4]
mov eax, dword [esi + 0x18]
add esp, 0x10
cmp eax, 0x10
jb 0x412f0c
mov edi, dword [edi]
push edi
push 0x68
push str._Down:_d__s
push 0x46f474
call fcn.0040ac70
mov eax, dword [esi + 0x94]
add esp, 0x10
test eax, eax
pop edi
jne 0x412fa5
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x412f3a
mov eax, str.IE_4.0
jmp 0x412f48
cmp dword [esi + 0x60], 0x10
jb 0x412f45
mov eax, dword [esi + 0x4c]
jmp 0x412f48
lea eax, [esi + 0x4c]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x94]
test eax, eax
jne 0x412fa5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x46f470]
mov ecx, dword [eax]
push esi
push 1
push 0x6f
push str._Down:_d_inetopen__d:_d
push eax
call dword [ecx + 4]
push esi
push 1
push 0x70
push str._Down:_d_qinfo__d:_d
push 0x46f474
call fcn.0040ac70
add esp, 0x28
xor edx, edx
mov eax, esi
or edx, 1
pop esi
pop ecx
ret
push 0
push 0
push 0
push 0
mov byte [esi + 0x98], 0
push 0
mov ecx, esi
call fcn.00411bc0
lea edx, [esp + 4]
push edx
push 0
push esi
push 0x412e70
push 0
push 0
call fcn.00433841
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x90]
add esp, 0x18
test eax, eax
jne 0x413023
call fcn.00434e34
mov esi, dword [eax]
mov eax, dword [0x46f470]
mov ecx, dword [eax]
push esi
push 2
push 0x7d
push str._Down:_d_
push eax
call dword [ecx + 4]
push esi
push 2
push 0x7e
push str._Down:_d_bthrd___d:_d
push 0x46f474
call fcn.0040ac70
add esp, 0x28
xor edx, edx
mov eax, esi
or edx, 2
pop esi
pop ecx
ret
xor eax, eax
xor edx, edx
pop esi
pop ecx
ret
or eax, 0xffffffff
mov edx, 3
pop esi
pop ecx
ret
Function at 0x415410
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, ecx
jne 0x415420
mov eax, 1
ret
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
xor eax, eax
ret
Function at 0x4165d0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x4177e0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
push str.1.0.3__15_Feb_2005
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__15_February_2005._n_n
push 0x46df38
call fcn.004347b6
add esp, 0x10
cmp esi, 0x3ef
pop esi
jne 0x417818
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
push 0x46df38
call fcn.004347b6
add esp, 8
push 3
call fcn.00435440
int3

Function at 0x41a310
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x41a32a
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x41a32a
mov edx, dword [esp + 8]
push edx
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x41bb30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
push ebx
push esi
push edi
push eax
push ecx
mov ebx, 1
xor esi, esi
mov dword [ebp - 8], esi
push ebx
call fcn.0041d4a0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add esp, 0xc
cmp eax, esi
je 0x41bce3
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, 0xf4240
mov dword [edx + 0x290], eax
mov edx, dword [ebp - 4]
mov dword [ecx + 0x294], eax
mov eax, dword [ebp - 4]
push 0x40
push 0x434008
push eax
mov dword [edx + 0x298], esi
call fcn.0041a2f0
push esi
push eax
call fcn.00434084
add esp, 0x14
test eax, eax
je 0x41bba7
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp - 4]
push esi
push ecx
push edi
push edx
call fcn.0041d570
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push ecx
push edx
push eax
call fcn.0041a340
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push ecx
push edx
call fcn.0041b880
add esp, 0x28
test eax, eax
jne 0x41bbe8
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41bc2b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
mov edx, dword [ecx + 0xb4]
mov eax, dword [ebp - 4]
push edx
push eax
call fcn.0041d620
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov eax, dword [edx + 0xb0]
add esp, 8
test eax, eax
jne 0x41bc2b
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x98], 0x41a660
mov eax, dword [ebp - 4]
mov dword [ecx + 0x9c], fcn.0041a6b0
mov dword [eax + 0xa0], edx
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41bcb5
mov ecx, dword [ebp - 4]
push 0x38
add ecx, 0x78
push str.1.2.5
push ecx
call fcn.0041db80
add eax, 6
add esp, 0xc
cmp eax, 6
ja case.0x41bc76.5
jmp dword [eax*4 + 0x41bd2c]
push str.zlib_memory_error
jmp 0x41bc9f
mov eax, dword [ebp - 4]
push str.zlib_stream_error
push eax
jmp 0x41bca3
mov ecx, dword [ebp - 4]
push str.zlib_version_error
push ecx
jmp 0x41bca3
push str.Unknown_zlib_error
mov edx, dword [ebp - 4]
push edx
call fcn.0041a360
add esp, 8
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
test eax, eax
je 0x41bcec
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0]
mov edx, dword [ebp - 4]
push ecx
push edx
call fcn.0041d5f0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
push edi
push esi
push ecx
mov dword [eax + 0xb0], 0
call fcn.0041d520
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0]
mov dword [edx + 0x84], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb4]
push 0
mov dword [edx + 0x88], ecx
mov edx, dword [ebp - 4]
push 0
push edx
call fcn.0041d450
mov eax, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret