joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f149
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.00407b16
and dword [ebp - 4], 0
cmp dword [0x45aa48], 0
mov ebx, eax
jne 0x40f1fa
push 0x402bc4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f2ab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402bb8
push edi
call esi
test eax, eax
je 0x40f2ab
push eax
call fcn.00407aa4
mov dword [esp], 0x402ba8
push edi
mov dword [0x45aa48], eax
call esi
push eax
call fcn.00407aa4
mov dword [esp], 0x402b94
push edi
mov dword [0x45aa4c], eax
call esi
push eax
call fcn.00407aa4
mov dword [esp], 0x402b78
push edi
mov dword [0x45aa50], eax
call esi
push eax
call fcn.00407aa4
pop ecx
mov dword [0x45aa58], eax
test eax, eax
je 0x40f1fa
push 0x402b60
push edi
call esi
push eax
call fcn.00407aa4
pop ecx
mov dword [0x45aa54], eax
mov eax, dword [0x45aa54]
cmp eax, ebx
je 0x40f252
cmp dword [0x45aa58], ebx
je 0x40f252
push eax
call fcn.00407b1f
push dword [0x45aa58]
mov esi, eax
call fcn.00407b1f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f252
test edi, edi
je 0x40f252
call esi
test eax, eax
je 0x40f249
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f249
test byte [ebp - 0xc], 1
jne 0x40f252
or dword [ebp + 0x10], 0x200000
jmp 0x40f28b
mov eax, dword [0x45aa4c]
cmp eax, ebx
je 0x40f28b
push eax
call fcn.00407b1f
pop ecx
test eax, eax
je 0x40f28b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f28b
mov eax, dword [0x45aa50]
cmp eax, ebx
je 0x40f28b
push eax
call fcn.00407b1f
pop ecx
test eax, eax
je 0x40f28b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45aa48]
call fcn.00407b1f
pop ecx
test eax, eax
je 0x40f2ab
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f2ad
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10409058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.104091a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1040907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1040906a
add dl, dl
jne 0x10409089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104090dc
xor eax, eax
add dl, dl
jne 0x10409096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1040917d
add dl, dl
jne 0x104090a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104090b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104090bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104090c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104090d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10409075
mov eax, 1
add dl, dl
jne 0x104090ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104090f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104090e1
sub eax, ebx
mov ebx, 1
jne 0x10409128
mov ecx, 1
add dl, dl
jne 0x1040910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10409119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10409105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10409075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1040913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1040914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10409136
cmp eax, 0x7d00
jae 0x1040916d
cmp eax, 0x500
jb 0x10409168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10409075
cmp eax, 0x7f
ja 0x10409170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10409075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1040919e
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 0x10409075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1025058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.010251a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x102507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x102506a
add dl, dl
jne 0x1025089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10250dc
xor eax, eax
add dl, dl
jne 0x1025096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x102517d
add dl, dl
jne 0x10250a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10250b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10250bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10250c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10250d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1025075
mov eax, 1
add dl, dl
jne 0x10250ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10250f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10250e1
sub eax, ebx
mov ebx, 1
jne 0x1025128
mov ecx, 1
add dl, dl
jne 0x102510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1025119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1025105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1025075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x102513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x102514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1025136
cmp eax, 0x7d00
jae 0x102516d
cmp eax, 0x500
jb 0x1025168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1025075
cmp eax, 0x7f
ja 0x1025170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1025075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x102519e
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 0x1025075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x405cb5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c56c], 0
push esi
jne 0x405cec
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405cc6
mov dword [ecx*4 + 0x42c568], eax
inc ecx
cmp ecx, 0x100
jl 0x405cc1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405d1d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c568]
xor eax, esi
inc ecx
dec edx
jne 0x405cff
pop edi
not eax
pop esi
ret 0xc

Function at 0x41c230
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x41c252
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41c259
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41c248
mov eax, 1
add ebx, ebx
jne 0x41c26b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41c260
jne 0x41c27c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c260
xor ecx, ecx
sub eax, 3
jb 0x41c290
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41c302
mov ebp, eax
add ebx, ebx
jne 0x41c29b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41c2a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41c2cc
inc ecx
add ebx, ebx
jne 0x41c2b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41c2ad
jne 0x41c2c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c2ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41c2ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41c2dd
jmp 0x41c24e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41c2ec
add edi, ecx
jmp 0x41c24e
pop esi
mov edi, esi
mov ecx, 2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41c30a
cmp byte [edi], 5
jne 0x41c30a
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 eax, ebx
loop 0x41c30f
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41c387
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21bac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21be8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41c33c
mov ecx, edi
jns 0x41c36b
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 + 0x21bec]
or eax, eax
je 0x41c381
mov dword [ebx], eax
add ebx, 4
jmp 0x41c359
call dword [esi + 0x21bf0]
popal
jmp 0x401150
Function at 0x403120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x520628]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x52a888], 0
jne 0x4031e4
cmp byte [0x52a889], 0
mov al, 1
mov byte [0x52a888], al
jne 0x40315d
push 0x52a4e0
mov byte [0x52a889], al
call fcn.008600a8
call fcn.004027e0
call fcn.00403200
mov dword [0x52a884], eax
mov al, 0x73
mov cl, 0x65
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x20]
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xc], cl
mov byte [ebp - 0x15], cl
mov dl, 0x6f
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x20], 0x49
mov byte [ebp - 0x1e], 0x57
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x1c], 0x77
mov byte [ebp - 0x1b], 0x36
mov byte [ebp - 0x1a], 0x34
mov byte [ebp - 0x19], 0x50
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], dl
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x12], 0
push eax
call fcn.00755db8
push eax
push ecx
call fcn.006247a3
mov dword [0x52a880], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret

Function at 0x403200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x520628]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, 0x65
mov cl, 0x74
mov byte [ebp - 0xf], al
mov byte [ebp - 0xc], al
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x24]
mov byte [ebp - 0x22], cl
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x18], cl
mov dl, 0x6e
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x21], 0x4e
mov byte [ebp - 0x20], 0x61
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x76
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x1a], 0x79
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x15], 0x49
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0
push edx
call fcn.006e273f
push eax
call fcn.008c5108
Function at 0x42b050
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
push esi
mov dword [edi], 0
call fcn.0042afe0
mov ebx, eax
test ebx, ebx
jne 0x42b083
mov dword [edi], 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x20]
mov edx, dword [esi + 0x78]
push 0
push ecx
push edx
call fcn.00470fbd
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x28]
mov edx, dword [0x52a944]
push eax
push 1
push ecx
push edx
call fcn.004714ed
mov ecx, dword [0x52ab50]
push 0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [0x52a944]
mov dword [esp + 0x30], 0
mov edx, dword [ebx + 0x28]
push ecx
push edx
push eax
call fcn.004e2be0
add esp, 0x30
test eax, eax
jne 0x42b1da
mov ecx, dword [esp + 0xc]
cmp ecx, dword [ebx + 0x24]
jne 0x42b1da
mov eax, dword [0x52ab50]
movzx esi, word [eax]
movzx edi, word [eax + 2]
xor eax, eax
push 0x2c
push eax
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.00473d40
add esp, 0xc
push 0
push 0
lea edx, [esp + 0x18]
push edx
mov eax, 0x18
mov word [esp + 0x2e], ax
push 0
mov ecx, 1
lea eax, [esp + 0x4c]
mov word [esp + 0x30], cx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
push eax
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0x50]
mov dword [esp + 0x28], 0x28
mov dword [esp + 0x38], 0
push 0
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], 0
call fcn.008d1f7b
mov dword [edi], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x450670
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x45075b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4506a7
cmp dword [esi + 0x40], edi
jae 0x4506a7
push eax
call fcn.004509e1
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x4506bf
lea eax, [edi + edi]
push eax
call fcn.004509ec
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.004760f0
add esp, 0xc
xor ebx, ebx
test edi, edi
jbe 0x450758
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x50f840]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x50f840]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x4506d7
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x45079a
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x45077f
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.004760f0
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4507bc
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call 0x5734a8
ret
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x489a80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
mov eax, dword [0x520628]
xor eax, ebp
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x14]
add eax, 0x1b8
mov dword [ebp - 0x144], eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x144]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
push esi
call 0x79f727
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x489ad4
xor eax, eax
jmp 0x489dda
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x168], 0
push 0x40
push 0
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.00473d40
add esp, 0xc
mov edx, 0x5a4d
mov word [ebp - 0x1a8], dx
mov dword [ebp - 0x16c], 0x40
lea eax, [ebp - 0x168]
push eax
push 0x40
lea ecx, [ebp - 0x1a8]
push ecx
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp + 8]
push eax
push ebp
call 0x677cc6
test eax, eax
je 0x489b41
cmp dword [ebp - 0x168], 0x40
je 0x489b48
xor eax, eax
jmp 0x489dda
mov ecx, dword [ebp - 0xfc]
add ecx, 0x40
mov dword [ebp - 0xfc], ecx
push 0xf8
push 0
lea edx, [ebp - 0xf8]
push edx
call fcn.00473d40
add esp, 0xc
mov dword [ebp - 0xf8], 0x4550
mov eax, 0xe0
mov word [ebp - 0xe4], ax
mov ecx, 0x2000
mov word [ebp - 0xe2], cx
mov edx, 1
mov word [ebp - 0xf2], dx
mov eax, 0x10b
mov word [ebp - 0xe0], ax
lea ecx, [ebp - 0x168]
push ecx
push 0xf8
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call 0x73ea34
mov ecx, dword [ebp - 0x14c]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret 0x10

Function at 0x490f10
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00490c80
Function at 0x537c80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x537d8c
test eax, eax
je 0x537d8c
push esi
push edi
mov ecx, 0x10
mov esi, 0x552ff0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x537d73
lea edi, [eax + 4]
jmp 0x537cd7
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x537cec
mov dword [ebp - 4], 2
jmp 0x537d0d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x537d03
mov dword [ebp - 4], 1
jmp 0x537d0d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x537d83
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x537d46
mov byte [ecx], 0x3d
jmp 0x537d52
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x537d5d
mov byte [ecx], 0x3d
jmp 0x537d63
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x537cd4
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x59d9b1
Capabilities:
Authenticate hmac
Check for software breakpoints

Disassembly:
mov byte [ebp - 0x23], 0x65
jmp 0x8644fc
push eax
cwde
lea esp, [esp - 0x8e0]
lahf
shr ax, cl
mov eax, dword [0x520628]
jmp 0x6a5e40
mov dword [ebp - 0x874], esi
mov byte [ebp - 0x24], 0x6b
jmp 0x5321fa
xor eax, ebp
test edx, eax
test bp, 0x5fed
mov dword [ebp - 0x14], eax
stc
push ebx
test esp, esi
xchg ebx, ebx
push esi
xor bh, 0x50
movzx ebx, sp
add bx, 0x7e3
push edi
add ebx, 0x52f150c2
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xadd bh, bl
rcl bx, 0xfe
mov eax, dword [ebp + 8]
btc ebx, 3
rcl ebx, cl
mov dword [ebp - 0x888], eax
movzx bx, ch
lea eax, [ebp - 0x38]
xor ebx, 0x6b31569a
rol ebx, 0x81
adc bx, bp
mov dword [ebp - 0x898], ecx
bts bx, sp
setns bl
push eax
rcl ecx, 0x8e
lea ecx, [ebp - 0x24]
mov bh, cl
sete bl
bsf bx, cx
sub esi, esi
mov ebx, 0x69
jmp 0x7e0f9d
push ebp
mov ebp, esp
add al, 0x83
bswap ax
push 0xffffffffffffffff
btr eax, ebx
btc ax, bp
xchg al, ah
push 0x4e4288
shr ax, 0x98
sbb ax, 0x4f6a
sbb eax, ebx
mov eax, dword fs:[0]
jmp 0x59d9b1
push ecx
mov dword [ebp - 0x890], edx
jmp 0x5f6984
mov byte [ebp - 0x22], 0x72
jmp loc.0043376a
Function at 0x5a4edb
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
cmc
cdq
mov ebp, esp
bsr cx, bx
movsx cx, dl
bt dx, cx
lea esp, [esp - 0x94]
xor dh, 0xb5
mov eax, dword [0x520628]
xadd dl, cl
neg cx
xor eax, ebp
clc
mov dword [ebp - 4], eax
neg eax
or cx, 0xac3
push ebx
and ecx, ebp
rol cx, cl
mov eax, 1
movsx bx, al
xadd dx, dx
cpuid
cmp dl, 0x3e
stc
push esi
cmc
lea esi, [ebp - 0x30]
cmp ax, si
test bp, 0x7550
mov dword [esi], eax
btc ax, dx
mov dword [esi + 4], ebx
sbb al, 0xcd
sal ah, cl
movzx eax, di
mov dword [esi + 8], ecx
shl al, cl
cmp ebp, 0x409b058f
mov dword [esi + 0xc], edx
sbb ax, si
mov eax, dword [ebp - 0x28]
jmp 0x8058a5
mov byte [ebp - 0x2f], bl
jmp 0x864775
mov byte [ebp - 0x30], 0x6b
jmp 0x5a808b
mov byte [ebp - 0x2c], bl
jmp 0x669998
push ecx
jmp 0x5d0d8a
mov byte [ebp - 0x2b], 0x6c
jmp 0x85e11b
lea ecx, [ebp - 0x30]
mov ebx, 0x65
jmp 0x6480c5
mov dword [esi], eax
mov dword [esi + 4], ebx
clc
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
cmp dword [ebp - 0x2c], 0x7263694d
jmp 0x8ae95b
mov byte [ebp - 0x24], 0
jmp loc.00449e05
mov byte [ebp - 0x27], 0x64
mov byte [ebp - 0x26], 0x6c
mov byte [ebp - 0x25], 0x6c
jmp 0x73fae6
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
clc
mov dword [esi + 0xc], edx
clc
test byte [ebp - 0x2c], 1
jmp 0x82b925
je 0x6cc8a5
xor eax, eax
movsx cx, bl
add bh, 0x25
clc
mov dword [ebp - 0x2c], eax
dec dx
not ecx
mov dword [ebp - 0x28], eax
mov bx, ax
cwd
clc
mov dword [ebp - 0x24], eax
movzx ebx, ax
mov eax, 0x40000000
xchg ch, bh
setns bl
bt ecx, esi
cpuid
jmp 0x700de3
mov byte [ebp - 0x2d], 0x6e
jmp 0x5f1a65
sar eax, 0x1f
test di, 0x222b
push edi
cmc
test esi, 0x2051245e
test al, 1
jmp 0x7b131d
jne 0x734bb1
mov eax, 0x40000003
shl dh, 0xf2
cpuid
mov dword [ebp - 0x2c], 0
jmp 0x755e84
je 0x734bb1
xor al, al
or edi, 0x654d0c30
bts bx, bp
bsr cx, ax
pop edi
shr ch, cl
ror cx, 0xa5
add si, si
pop esi
sub bx, dx
sar bh, cl
pop ebx
mov ecx, dword [ebp - 4]
test ah, cl
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
movzx ebp, bp
mov ebp, ecx
pop ebp
jmp fcn.00468a67
mov byte [ebp - 0x2a], 0x33
jmp 0x88b226
mov byte [ebp - 0x2e], 0x72
jmp 0x7e3be9
mov byte [ebp - 0x29], 0x32
mov byte [ebp - 0x28], 0x2e
jmp 0x7409ec
jne 0x734bb1
cmp dword [ebp - 0x28], 0x666f736f
jne 0x734bb1
cmp dword [ebp - 0x24], 0x76482074
jmp 0x82a94c