joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10b9640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x710000]
push edi
or ebp, 0xffffffff
jmp 0x10b9662
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10b9669
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10b9658
mov eax, 1
add ebx, ebx
jne 0x10b967b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10b968c
jne 0x10b96ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10b96ab
dec eax
add ebx, ebx
jne 0x10b9698
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10b9670
add ebx, ebx
jne 0x10b96a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10b96fd
xor ecx, ecx
sub eax, 3
jb 0x10b96c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10b9732
sar eax, 1
mov ebp, eax
jmp 0x10b96ce
add ebx, ebx
jne 0x10b96ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10b969c
inc ecx
add ebx, ebx
jne 0x10b96dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10b969c
add ebx, ebx
jne 0x10b96e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10b96de
jne 0x10b96fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10b96de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10b971c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10b970e
jmp 0x10b965e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10b971c
add edi, ecx
jmp 0x10b965e
pop esi
mov edi, esi
mov ecx, 0x159b4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10b973a
cmp byte [edi], 0x3c
jne 0x10b973a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x10b973f
lea edi, [esi + 0xcb5000]
mov eax, dword [edi]
or eax, eax
je 0x10b97b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcbd96c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcbdaf8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10b976c
mov ecx, edi
jns 0x10b979b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xcbdb00]
or eax, eax
je 0x10b97b1
mov dword [ebx], eax
add ebx, 4
jmp 0x10b9789
call dword [esi + 0xcbdafc]
mov ebp, dword [esi + 0xcbdb04]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10b97eb
sub esp, 0xffffff80
jmp 0x71b831
Function at 0x10009aa3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10009ae2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10009ae2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10009ae2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10009ae2
cmp dword [ecx + 0x74], 0xe
jbe 0x10009ae2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000c75f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000c7fc
push ebx
push esi
call fcn.1000c728
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000c6bc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000c7a9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000c7fb
push edi
push eax
call fcn.1000d71a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000c7c9
call fcn.1000b204
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000c7fa
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000c6bc
add esp, 0x20
test eax, eax
jne 0x1000c7e8
push edi
call fcn.1000b204
jmp 0x1000c7f0
push ebx
call fcn.1000b204
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000ca69
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014668
push 0x10014660
push str.FlsAlloc
push 0x1f
call fcn.1000c985
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000ca9d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013150]
call esi
jmp 0x1000caa3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000cae7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014678
push 0x10014670
push str.FlsGetValue
push 0x21
call fcn.1000c985
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000cb1e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000cb26
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014680
push 0x10014678
push str.FlsSetValue
push 0x22
call fcn.1000c985
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000cb60
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10013150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100121e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001220d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001220d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x404051
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x404088
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x404083
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
add byte [ecx + 0x3000fa], al
add byte [ebp + 0x13], dh
add byte [ecx + 0x3000fa], al
add byte [ebp + 0x13], dh
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x404075
cmp edx, ebx
jne 0x4041c3
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x404044
add eax, dword [eax + 4]
jmp 0x404031
mov dword [ebp + 0xc], ebx
jmp 0x404093
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4040ab
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4040c9
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x404127
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40410e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x404117
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x404121
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x404103
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40408d
Function at 0x4040d6
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x404088
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x404083
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
add byte [ecx + 0x3000fa], al
add byte [ebp + 0x13], dh
add byte [ecx + 0x3000fa], al
add byte [ebp + 0x13], dh
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x404075
cmp edx, ebx
jne 0x4041c3
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x404044
add eax, dword [eax + 4]
jmp 0x404031
mov dword [ebp + 0xc], ebx
jmp 0x404093
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4040ab
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4040c9
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x404127
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40410e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x404117
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x404121
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x404103
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40408d

Function at 0x40420b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ecx + 0x40fffffc], esi
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
inc dword [eax - 0x3a]
test dword [esp + edi*8 - 0x39bb0001], edi
test dword [ebp + 0x55fffffc], edi

Function at 0x404255
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax - 0x3a]
test dword [esp + edi*8 - 0x39bb0001], edi
test dword [ebp + 0x55fffffc], edi
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.004039e4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403999
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
invalid
invalid
int 0xfc
invalid
Function at 0x40468a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x40469d
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x4046c8
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
add byte [ebx + 0xf080c7d], al
test dword [eax - 0x7fffffff], ecx
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
cmp dword [ebp - 0x398], 0
je 0x404892
cmp dword [ebp + 0xc], 1
je 0x404892
cmp dword [ebp + 0xc], 8
jne 0x40485a
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.004039e4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403999
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
invalid
invalid

Function at 0x4056ba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add al, byte [eax]
add byte [ebx - 0x6fb43], al
inc dword [ebx]
jne 0x40575e
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
invalid
test dword [ecx - 8], esp
Function at 0xc7c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00c7c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc7c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc7c06a
add dl, dl
jne 0xc7c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc7c0dc
xor eax, eax
add dl, dl
jne 0xc7c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc7c17d
add dl, dl
jne 0xc7c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc7c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc7c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc7c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc7c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc7c075
mov eax, 1
add dl, dl
jne 0xc7c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc7c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc7c0e1
sub eax, ebx
mov ebx, 1
jne 0xc7c128
mov ecx, 1
add dl, dl
jne 0xc7c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc7c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc7c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc7c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc7c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc7c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc7c136
cmp eax, 0x7d00
jae 0xc7c16d
cmp eax, 0x500
jb 0xc7c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc7c075
cmp eax, 0x7f
ja 0xc7c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc7c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc7c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc7c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x424e70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x424eb4
cld
mov edi, str.default
mov ecx, 8
mov esi, dword [ebp - 0x14]
repe cmpsb byte [esi], byte es:[edi]
jne 0x424ed9
mov eax, dword [0x4a538c]
test eax, eax
je 0x424ed0
test ebx, ebx
je 0x424eac
or byte [ebx + 0x2b], 4
mov dword [ebx + 4], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 0xc
push str.GNUTARGET
call sub.msvcrt.dll_getenv
add esp, 0x10
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x424e86
jmp 0x424e98
mov eax, dword [0x4a5388]
mov eax, dword [eax]
jmp 0x424ea1
test ebx, ebx
je 0x424ee1
and byte [ebx + 0x2b], 0xfb
mov eax, dword [ebp - 0x14]
call fcn.00424dc0
test eax, eax
je 0x424eac
test ebx, ebx
je 0x424eac
mov dword [ebx + 4], eax
jmp 0x424eac

Function at 0x425510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, 0x10
mov dword [eax + 0x10], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], edx
add eax, 0x48
mov dword [ebp + 8], eax
pop ebp
jmp 0x425d60
push ebp
xor edx, edx
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 8]
div edi
mov eax, dword [ebp - 0x10]
lea edx, [eax + edx*4]
mov eax, dword [edx]
test eax, eax
jne 0x425d98
jmp 0x425e01
mov edx, eax
mov eax, dword [eax]
test eax, eax
je 0x425e01
cmp esi, eax
jne 0x425d90
mov eax, dword [esi]
xor ebx, ebx
mov dword [edx], eax
mov edx, dword [ebp + 0xc]
mov dword [esi + 4], edx
mov ecx, edx
mov al, byte [edx]
inc ecx
test al, al
je 0x425dcf
xor edx, edx
mov dl, al
lea eax, [edx + ebx]
shl edx, 0x11
add eax, edx
xor edx, edx
mov ebx, eax
shr ebx, 2
xor ebx, eax
mov al, byte [ecx]
mov dl, al
inc ecx
test al, al
jne 0x425db5
mov eax, dword [ebp + 0xc]
sub ecx, eax
lea eax, [ecx - 1]
lea edx, [eax + ebx]
shl eax, 0x11
add edx, eax
mov eax, edx
shr eax, 2
xor eax, edx
xor edx, edx
mov dword [esi + 8], eax
div edi
mov eax, dword [ebp - 0x10]
lea edx, [eax + edx*4]
mov eax, dword [edx]
mov dword [esi], eax
mov dword [edx], esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
push eax
push str.bfd_hash_rename
push 0x243
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_hash.c
call fcn.00424270
lea esi, [esi]
lea edi, [edi]
Function at 0x4261c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
xor ebx, ebx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
lea edx, [edi + 1]
mov al, byte [edi]
test al, al
je 0x42620a
xor ecx, ecx
mov cl, al
lea esi, [esi]
lea eax, [ecx + ebx]
shl ecx, 0x11
add eax, ecx
xor ecx, ecx
mov ebx, eax
shr ebx, 2
xor ebx, eax
mov al, byte [edx]
mov cl, al
inc edx
test al, al
jne 0x4261f0
sub edx, edi
mov ecx, dword [ebp - 0x18]
dec edx
mov eax, edx
mov dword [ebp - 0x14], edx
shl edx, 0x11
add eax, ebx
add eax, edx
xor edx, edx
mov esi, eax
shr esi, 2
xor esi, eax
mov eax, esi
div dword [ecx + 0xc]
mov eax, dword [ecx]
mov ebx, dword [eax + edx*4]
test ebx, ebx
jne 0x42623b
jmp 0x42625d
mov ebx, dword [ebx]
test ebx, ebx
je 0x42625d
cmp esi, dword [ebx + 8]
jne 0x426235
push eax
push eax
push edi
mov eax, dword [ebx + 4]
push eax
call sub.msvcrt.dll_strcmp
add esp, 0x10
test eax, eax
jne 0x426235
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x426253
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4262a9
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x10], eax
jne 0x4262c1
mov eax, 8
cmp dword [ecx + 4], eax
jae 0x4262d1
push ebx
push ebx
push eax
push ecx
call fcn.00491860
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x4262e5
push edx
mov eax, dword [ebp - 0x10]
push eax
push edi
push ebx
mov edi, ebx
call sub.msvcrt.dll_memcpy
add esp, 0x10
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 0x10], esi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00425e20
mov eax, dword [ebp - 0x14]
add eax, 8
and eax, 0xfffffff8
je 0x426286
cmp dword [ecx + 4], eax
jb 0x426286
mov ebx, dword [ecx]
mov edx, dword [ecx + 4]
add ebx, eax
sub edx, eax
mov dword [ecx], ebx
mov dword [ecx + 4], edx
mov ebx, dword [ecx]
sub ebx, eax
jmp 0x426294
sub esp, 0xc
push 6
call fcn.00424490
add esp, 0x10
jmp 0x426253

Function at 0x427500
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, ecx
mov edx, dword [ebp + 8]
add ebx, eax
xor edx, 0xffffffff
cmp ecx, ebx
jae 0x427530
mov al, byte [ecx]
inc ecx
xor eax, edx
shr edx, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x4f6040]
cmp ecx, ebx
jne 0x427518
xor edx, 0xffffffff
pop ebx
mov eax, edx
pop ebp
ret
Function at 0x42d5e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
cmp eax, 1
je 0x42d620
cmp eax, 2
je 0x42d640
push eax
push str._bfd_default_link_order
push 0x9c7
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_linker.c
call fcn.00424270
lea esi, [esi]
mov dword [ebp + 0xc], 0
mov dword [ebp + 8], esi
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0042d250
mov eax, dword [ebp - 0x20]
test byte [eax + 0x15], 1
je 0x42d6ba
mov edi, dword [esi + 0xc]
mov ebx, 1
test edi, edi
je 0x42d6b0
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x10], ecx
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x42d6d3
cmp edi, ebx
ja 0x42d714
sub esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ebx, dword [esi + 8]
push eax
call fcn.00426620
imul eax, ebx
pop edx
xor edx, edx
pop ecx
push edi
push edx
push eax
mov edi, dword [ebp - 0x10]
push edi
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004253c0
mov ecx, dword [ebp - 0x10]
add esp, 0x20
mov ebx, eax
cmp dword [esi + 0x14], ecx
je 0x42d6b0
sub esp, 0xc
push ecx
call sub.msvcrt.dll_free
add esp, 0x10
lea esi, [esi]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
push edi
push edi
push 0x9de
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_linker.c
call fcn.004237c0
add esp, 0x10
jmp 0x42d649
push ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x84]
mov eax, dword [ecx + 0x14]
shr eax, 4
and eax, 1
push eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
sete al
and eax, 0xff
push eax
push edi
call dword [edx + 0x2c]
add esp, 0x10
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x42d66a
xor ebx, ebx
jmp 0x42d6b0
sub esp, 0xc
push edi
call fcn.004318c0
add esp, 0x10
test eax, eax
je 0x42d710
mov dword [ebp - 0x10], eax
cmp ebx, 1
je 0x42d772
sub edi, ebx
mov eax, ebx
neg eax
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
jmp 0x42d743
mov dword [ebp - 0x14], edx
push ecx
push ebx
mov edx, dword [esi + 0x14]
push edx
push edi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add edi, ebx
add edx, eax
add esp, 0x10
lea eax, [edx + ebx]
cmp ebx, eax
jbe 0x42d740
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42d790
mov edi, dword [esi + 0xc]
jmp 0x42d66a
mov eax, dword [esi + 0x14]
mov al, byte [eax]
push edx
and eax, 0xff
push edi
push eax
mov ebx, dword [ebp - 0x10]
push ebx
call sub.msvcrt.dll_memset
add esp, 0x10
jmp 0x42d66a
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [esi + 0x14]
push eax
push edi
call sub.msvcrt.dll_memcpy
add esp, 0x10
jmp 0x42d76a
Function at 0x433820
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, 0x1505
mov eax, dword [ebp + 8]
mov dl, byte [eax]
test dl, dl
je 0x43384b
mov ecx, eax
mov eax, ebx
and edx, 0xff
shl eax, 5
add eax, edx
mov dl, byte [ecx + 1]
add ebx, eax
inc ecx
test dl, dl
jne 0x433834
mov eax, ebx
pop ebx
pop ebp
ret