joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405df8
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp ebx, dword [edi*8 + 0x412190]
je 0x405e1e
inc edi
mov dword [ebp - 4], edi
cmp edi, 0x17
jb 0x405e0c
cmp edi, 0x17
jae 0x405f9e
push 3
call fcn.0040b2ef
pop ecx
cmp eax, 1
je 0x405f6c
push 3
call fcn.0040b2ef
pop ecx
or eax, eax
jne 0x405e51
cmp dword [0x412004], 1
je 0x405f6c
cmp ebx, 0xfc
je 0x405f9e
mov ebx, 0x314
mov edi, 0x413d78
push str.Runtime_Error__n_nProgram:
push ebx
push edi
call fcn.0040b287
sub esp, 0xfffffff4
test eax, eax
je 0x405e87
push esi
push esi
push esi
push esi
push esi
call fcn.00405682
add esp, 0x14
mov esi, 0x413d91
push 0x104
push esi
push 0
mov byte [0x413e95], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x405ecb
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040b287
add esp, 0xc
or eax, eax
je 0x405ecb
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00405682
add esp, 0x14
push esi
call fcn.0040ad00
pop ecx
inc eax
cmp eax, 0x3c
jbe 0x405f10
push esi
call fcn.0040ad00
push 3
add esi, 0xffffffc5
push 0x40f8c4
mov ecx, 0x41408c
add eax, esi
sub ecx, eax
push ecx
push eax
call fcn.0040b1d2
sub esp, 0xffffffec
or eax, eax
je 0x405f10
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00405682
sub esp, 0xffffffec
jmp 0x405f12
xor esi, esi
push 0x40f8c0
push ebx
push edi
call fcn.0040b15e
add esp, 0xc
or eax, eax
je 0x405f32
push esi
push esi
push esi
push esi
push esi
call fcn.00405682
add esp, 0x14
mov eax, dword [ebp - 4]
push dword [eax*8 + 0x412194]
push ebx
push edi
call fcn.0040b15e
add esp, 0xc
or eax, eax
je 0x405f57
push esi
push esi
push esi
push esi
push esi
call fcn.00405682
sub esp, 0xffffffec
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push edi
call fcn.0040aff5
add esp, 0xc
jmp 0x405f9e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
cmp ebx, esi
je 0x405f9e
cmp ebx, 0xffffffff
je 0x405f9e
lea eax, [ebp - 8]
push 0
push eax
lea esi, [edi*8 + 0x412194]
push dword [esi]
call fcn.0040ad00
pop ecx
push eax
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406340
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x5a4d
mov edx, dword [ebp + 8]
cmp word [edx], ax
je 0x406356
pop ebp
xor eax, eax
ret
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x406352
mov ecx, 0x10b
xor edx, edx
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret
Function at 0x406380
Capabilities:
Enumerate pe sections

Disassembly:
mov esi, esi
push ebx
mov ecx, esp
mov ebx, dword [ecx + 8]
mov edx, dword [ebx + 0x3c]
add edx, ebx
movzx eax, word [edx + 0x14]
push edi
lea eax, [eax + edx + 0x18]
push ebp
movzx ebx, word [edx + 6]
push esi
xor edx, edx
test ebx, ebx
jbe 0x4063bd
mov edi, dword [ecx + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x4063b5
mov ebp, dword [eax + 8]
add ebp, ecx
cmp edi, ebp
jb 0x4063bf
inc edx
sub eax, 0xffffffd8
cmp edx, ebx
jb 0x4063a5
xor eax, eax
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x407e9f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
push esi
mov esi, esi
xor esi, esi
cmp edi, esi
jne 0x407ecc
call fcn.00405812
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004057aa
sub esp, 0xffffffec
jmp 0x407fc3
mov eax, dword [edi + 0xc]
test al, 0x83
je 0x407fc3
test al, 0x40
jne 0x407fc3
test al, 2
je 0x407eee
or eax, 0x20
mov dword [edi + 0xc], eax
jmp 0x407fc3
or eax, 1
mov dword [edi + 0xc], eax
test eax, 0x10c
jne 0x407f04
push edi
call fcn.0040a14d
pop ecx
jmp 0x407f09
mov eax, dword [edi + 8]
mov dword [edi], eax
push dword [edi + 0x18]
push dword [edi + 8]
push edi
call fcn.00408689
pop ecx
push eax
call fcn.0040858c
mov dword [edi + 4], eax
add esp, 0xc
cmp eax, esi
je 0x407fb3
cmp eax, 0xffffffff
je 0x407fb3
test byte [edi + 0xc], 0x82
jne 0x407f88
push edi
call fcn.00408689
cmp eax, 0xffffffff
pop ecx
je 0x407f73
push edi
call fcn.00408689
pop ecx
cmp eax, 0xfffffffe
je 0x407f73
push edi
call fcn.00408689
push edi
sar eax, 5
lea esi, [eax*4 + 0x414820]
call fcn.00408689
pop ecx
and eax, 0x1f
shl eax, 6
add eax, dword [esi]
pop ebp
jmp 0x407f78
mov eax, 0x4127a0
mov al, byte [eax + 4]
and al, 0x82
cmp al, 0x82
jne 0x407f88
or dword [edi + 0xc], 0x2000
cmp dword [edi + 0x18], 0x200
jne 0x407fa6
mov eax, dword [edi + 0xc]
test al, 8
je 0x407fa6
test eax, 0x400
jne 0x407fa6
mov dword [edi + 0x18], 0x1000
mov ecx, dword [edi]
dec dword [edi + 4]
movzx eax, byte [ecx]
inc ecx
mov dword [edi], ecx
jmp 0x407fc6
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [edi + 0xc], eax
mov dword [edi + 4], esi
or eax, 0xffffffff
pop esi
pop edi
pop ebp
ret
Function at 0x409dda
Capabilities:
Query environment variable

Disassembly:
mov esi, esi
push ebp
mov eax, dword [0x414328]
mov ebp, esp
add esp, 0xfffffff4
push ebx
push edi
xor ebx, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
xor esi, esi
cmp eax, ebx
jne 0x409e26
call edi
mov esi, eax
cmp esi, ebx
je 0x409e0c
mov dword [0x414328], 1
jmp 0x409e2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x409e21
push 2
pop eax
mov dword [0x414328], eax
jmp 0x409e26
mov eax, dword [0x414328]
cmp eax, 1
jne 0x409eb0
cmp esi, ebx
jne 0x409e42
call edi
mov esi, eax
cmp esi, ebx
jne 0x409e42
xor eax, eax
jmp 0x409f0c
cmp word [esi], bx
mov eax, esi
je 0x409e57
inc eax
inc eax
cmp word [eax], bx
jne 0x409e49
inc eax
inc eax
cmp word [eax], bx
jne 0x409e49
sub eax, esi
sar eax, 1
inc eax
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
push ebx
push eax
push esi
push ebx
push ebx
mov dword [ebp - 0xc], eax
call edi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x409ea5
push eax
call fcn.0040ac02
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x409ea5
push ebx
push ebx
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push esi
push ebx
push ebx
call edi
or eax, eax
jne 0x409ea2
push dword [ebp - 4]
call fcn.00403a12
pop ecx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
jmp 0x409f0c
cmp eax, 2
je 0x409eb9
cmp eax, ebx
jne 0x409e3b
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov edi, eax
cmp edi, ebx
je 0x409e3b
cmp byte [edi], bl
je 0x409ed7
inc eax
cmp byte [eax], bl
jne 0x409ecd
inc eax
cmp byte [eax], bl
jne 0x409ecd
sub eax, edi
inc eax
push eax
mov dword [ebp - 8], eax
call fcn.0040ac02
mov esi, eax
cmp esi, ebx
pop ecx
jne 0x409ef6
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x409e3b
push dword [ebp - 8]
push edi
push esi
call fcn.004090e0
sub esp, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x40aff5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004058cd
mov ebx, eax
and dword [ebp - 4], 0
cmp dword [0x414374], 0
jne 0x40b0a6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b157
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b157
push eax
call fcn.0040585b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x414374], eax
call esi
push eax
call fcn.0040585b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x414378], eax
call esi
push eax
call fcn.0040585b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41437c], eax
call esi
push eax
call fcn.0040585b
test eax, eax
pop ecx
mov dword [0x414384], eax
je 0x40b0a6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040585b
pop ecx
mov dword [0x414380], eax
mov eax, dword [0x414380]
cmp eax, ebx
je 0x40b0fe
cmp dword [0x414384], ebx
je 0x40b0fe
push eax
call fcn.004058d6
mov esi, eax
push dword [0x414384]
call fcn.004058d6
pop ecx
mov edi, eax
pop ecx
test esi, esi
je 0x40b0fe
test edi, edi
je 0x40b0fe
call esi
test eax, eax
je 0x40b0f5
lea esi, [ebp - 8]
push esi
lea ecx, [ebp - 0x14]
push 0xc
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b0f5
test byte [ebp - 0xc], 1
jne 0x40b0fe
or dword [ebp + 0x10], 0x200000
jmp 0x40b137
mov eax, dword [0x414378]
cmp eax, ebx
je 0x40b137
push eax
call fcn.004058d6
test eax, eax
pop ecx
je 0x40b137
call eax
test eax, eax
mov dword [ebp - 4], eax
je 0x40b137
mov eax, dword [0x41437c]
cmp eax, ebx
je 0x40b137
push eax
call fcn.004058d6
pop ecx
test eax, eax
je 0x40b137
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x414374]
call fcn.004058d6
pop ecx
test eax, eax
je 0x40b157
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b159
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e14c
Capabilities:
Clear file content

Disassembly:
push ebp
mov edi, edi
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 1
xor edi, edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.00409faf
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x40e1d4
push 2
push edi
push edi
push dword [ebp + 8]
call fcn.00409faf
mov ecx, eax
and ecx, edx
sub esp, 0xfffffff0
cmp ecx, 0xffffffff
je 0x40e1d4
mov esi, dword [ebp + 0xc]
sub esi, eax
mov ebx, dword [ebp + 0x10]
sbb ebx, edx
js 0x40e269
jg 0x40e1ad
cmp esi, edi
jbe 0x40e269
mov edi, 0x1000
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
or eax, eax
jne 0x40e1e0
call fcn.00405812
mov dword [eax], 0xc
call fcn.00405812
mov eax, dword [eax]
pop edi
pop esi
pop ebx
leave
ret
push 0x8000
push dword [ebp + 8]
call fcn.0040e302
pop ecx
pop ecx
mov dword [ebp - 8], eax
or ebx, ebx
jl 0x40e200
jg 0x40e1fc
cmp esi, edi
jb 0x40e200
mov eax, edi
jmp 0x40e202
mov eax, esi
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00408738
sub esp, 0xfffffff4
cmp eax, 0xffffffff
je 0x40e24c
cdq
sub esi, eax
sbb ebx, edx
js 0x40e223
jg 0x40e1f2
test esi, esi
ja 0x40e1f2
mov esi, dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0040e302
pop ebx
pop ecx
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor edi, edi
jmp 0x40e2d2
call fcn.00405825
cmp dword [eax], 5
jne 0x40e261
call fcn.00405812
mov dword [eax], 0xd
or esi, 0xffffffff
mov dword [ebp - 0xc], esi
jmp 0x40e226
cmp ebx, edi
jg 0x40e2de
jl 0x40e273
cmp esi, edi
jae 0x40e2de
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409faf
and eax, edx
sub esp, 0xfffffff0
cmp eax, 0xffffffff
je 0x40e1d4
push dword [ebp + 8]
call fcn.0040c8e6
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb eax, eax
neg eax
dec eax
cdq
mov dword [ebp - 0x10], eax
and eax, edx
mov dword [ebp - 0xc], edx
cmp eax, 0xffffffff
jne 0x40e2de
call fcn.00405812
mov dword [eax], 0xd
call fcn.00405825
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
and esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x40e1d4
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00409faf
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x40e1d4
xor eax, eax
jmp 0x40e1db
Function at 0x40115b
Capabilities:
Compute adler32 checksum

Disassembly:
sub ebx, 0x15b0
mov eax, 0x15b
jmp 0x4010d0
movzx edx, byte [esi]
add ecx, edx
movzx edx, byte [esi + 1]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 2]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 3]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 4]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 5]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 6]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 7]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 8]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 9]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xa]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xb]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xc]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xd]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xe]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xf]
add edi, ecx
add ecx, edx
add edi, ecx
add esi, 0x10
sub eax, 1
jne 0x4010d0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
sub ebp, 1
jne 0x4010c0
pop ebp
test ebx, ebx
je 0x401263
cmp ebx, 0x10
jb 0x40122e
mov eax, ebx
shr eax, 4
nop
movzx edx, byte [esi]
add ecx, edx
movzx edx, byte [esi + 1]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 2]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 3]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 4]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 5]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 6]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 7]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 8]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 9]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xa]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xb]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xc]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xd]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xe]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xf]
add edi, ecx
add ecx, edx
sub ebx, 0x10
add edi, ecx
add esi, 0x10
sub eax, 1
jne 0x4011a0
test ebx, ebx
je 0x40123f
movzx eax, byte [esi]
add ecx, eax
dec ebx
inc esi
add edi, ecx
test ebx, ebx
jne 0x401232
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
mov eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
ret
Function at 0x417e10
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea edx, [esp + 0x1c]
mov edi, eax
push edx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xcc]
mov ecx, dword [esp + 0x12]
mov edx, dword [esp + 0x14]
and eax, 0xffff
and ecx, 0xffff
mov dword [esi], eax
mov eax, dword [esp + 0xe]
and edx, 0xffff
and eax, 0xffff
test edi, edi
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
je 0x417e92
mov ecx, dword [0x4bed14]
push 0x4bea1c
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [esp + 0xa]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc4]
and edx, 0xffff
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x1c]
and eax, 0xffff
lea edi, [edx + ecx]
mov dword [esi + 0x14], eax
mov eax, edi
cdq
mov ecx, eax
mov eax, 0x88888889
xor ecx, edx
sub ecx, edx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0x18], edx
lea eax, [edx + edx*2]
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 2
sub ecx, edx
test edi, edi
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x20]
setl al
shl eax, 1
and ecx, 0xfffffffd
pop edi
or eax, ecx
or al, 1
mov dword [esi + 0x20], eax
mov eax, esi
pop esi
add esp, 0xc0
ret

Function at 0x41846b
Capabilities:
Compute adler32 checksum

Disassembly:
sub ebx, 0x15b0
mov eax, 0x15b
jmp 0x4183f0
movzx edx, byte [esi]
add ecx, edx
movzx edx, byte [esi + 1]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 2]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 3]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 4]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 5]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 6]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 7]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 8]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 9]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xa]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xb]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xc]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xd]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xe]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xf]
add edi, ecx
add ecx, edx
add edi, ecx
add esi, 0x10
sub eax, 1
jne 0x4183f0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
sub ebp, 1
jne 0x4183e0
pop ebp
test ebx, ebx
Function at 0x42f6fb
Capabilities:
Compute adler32 checksum

Disassembly:
add ecx, edx
movzx edx, byte [esi + 8]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 9]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xa]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xb]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xc]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xd]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xe]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xf]
add edi, ecx

Function at 0x44653b
Capabilities:
Compute adler32 checksum

Disassembly:
sub ebx, 0x15b0
mov eax, 0x15b
jmp 0x4464d0
movzx edx, byte [esi]
add ecx, edx
movzx edx, byte [esi + 1]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 2]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 3]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 4]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 5]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 6]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 7]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 8]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 9]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xa]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xb]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xc]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xd]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xe]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xf]
add edi, ecx
add ecx, edx
add edi, ecx
add esi, 0x10
sub eax, 1
jne 0x4464d0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
invalid
ror byte [edi], cl
invalid

Function at 0x45d41b
Capabilities:
Compute adler32 checksum

Disassembly:
add ecx, edx
movzx edx, byte [esi + 6]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 7]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 8]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 9]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xa]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xb]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xc]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xd]
add edi, ecx

Function at 0x47461b
Capabilities:
Compute adler32 checksum

Disassembly:
movzx edx, byte [esi]
add ecx, edx
movzx edx, byte [esi + 1]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 2]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 3]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 4]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 5]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 6]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 7]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 8]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 9]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xa]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xb]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xc]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xd]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xe]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xf]
add edi, ecx
add ecx, edx
add edi, ecx
add esi, 0x10
sub eax, 1
jne 0x4745c0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
Function at 0x48c26b
Capabilities:
Compute adler32 checksum

Disassembly:
movzx edx, byte [esi]
add ecx, edx
movzx edx, byte [esi + 1]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 2]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 3]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 4]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 5]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 6]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 7]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 8]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 9]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xa]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xb]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xc]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xd]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xe]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xf]
add edi, ecx
add ecx, edx
add edi, ecx
add esi, 0x10
sub eax, 1
jne 0x48c220

Function at 0x4a353b
Capabilities:
Compute adler32 checksum

Disassembly:
add ecx, edx
movzx edx, byte [esi + 4]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 5]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 6]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 7]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 8]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 9]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xa]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xb]
add edi, ecx