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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb2000]
push edi
jmp 0x4f4f1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f4f21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f4f10
mov eax, 1
add ebx, ebx
jne 0x4f4f33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f4f44
jne 0x4f4f63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f4f63
dec eax
add ebx, ebx
jne 0x4f4f50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f4f28
add ebx, ebx
jne 0x4f4f5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f4fb5
xor ecx, ecx
sub eax, 3
jb 0x4f4f7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f4fea
sar eax, 1
mov ebp, eax
jmp 0x4f4f86
add ebx, ebx
jne 0x4f4f86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f4f54
inc ecx
add ebx, ebx
jne 0x4f4f94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f4f54
add ebx, ebx
jne 0x4f4fa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f4f96
jne 0x4f4fb2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f4f96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f4fd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f4fc6
jmp 0x4f4f16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f4fd4
add edi, ecx
jmp 0x4f4f16
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f4ff2
cmp byte [edi], 0x13
jne 0x4f4ff2
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 0x4f4ff7
lea edi, [esi + 0xf0000]
mov eax, dword [edi]
or eax, eax
je 0x4f506f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x137d18]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x137e6c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f5024
mov ecx, edi
jns 0x4f5053
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 + 0x137e70]
or eax, eax
je 0x4f5069
mov dword [ebx], eax
add ebx, 4
jmp 0x4f5041
call dword [esi + 0x137e80]
mov ebp, dword [esi + 0x137e74]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4f50a3
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x10001b50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10001b7f
cmp dword [0x10012250], eax
jne 0x10001b7f
push eax
push eax
push eax
push 0x10001a80
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x10012250], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10001bb0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10001a80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
ret

Function at 0x10001e9c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10010080]
jne 0x10001ea6
repz ret
jmp fcn.10002c2a
Function at 0x1000670b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10010080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10003533
and dword [ebp - 0x14], 0
cmp dword [0x100121d4], 0
mov dword [ebp - 0x18], eax
jne 0x100067be
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10006866
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10006866
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x100121d4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x100121d8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x100121dc], eax
call edi
push eax
call esi
mov dword [0x100121e4], eax
test eax, eax
je 0x100067be
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x100121e0], eax
mov eax, dword [0x100121e0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10006817
cmp dword [0x100121e4], ecx
je 0x10006817
push eax
call esi
push dword [0x100121e4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10006817
test ebx, ebx
je 0x10006817
call edi
test eax, eax
je 0x1000680e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000680e
test byte [ebp - 8], 1
jne 0x10006817
or dword [ebp + 0x10], 0x200000
jmp 0x1000684a
mov eax, dword [0x100121d8]
cmp eax, dword [ebp - 0x18]
je 0x1000684a
push eax
call esi
test eax, eax
je 0x1000684a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000684a
mov eax, dword [0x100121dc]
cmp eax, dword [ebp - 0x18]
je 0x1000684a
push eax
call esi
test eax, eax
je 0x1000684a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x100121d4]
call esi
test eax, eax
je 0x10006866
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10006868
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001e9c
leave
ret
Function at 0x11f70b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x11f7200
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 0x11f70d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11f70c2
add dl, dl
jne 0x11f70e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11f7134
xor eax, eax
add dl, dl
jne 0x11f70ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11f71d5
add dl, dl
jne 0x11f70fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11f7108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11f7113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11f711e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x11f712a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x11f70cd
mov eax, 1
add dl, dl
jne 0x11f7142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11f714d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11f7139
sub eax, ebx
mov ebx, 1
jne 0x11f7180
mov ecx, 1
add dl, dl
jne 0x11f7166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11f7171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11f715d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11f70cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x11f7197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11f71a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11f718e
cmp eax, 0x7d00
jae 0x11f71c5
cmp eax, 0x500
jb 0x11f71c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11f70cd
cmp eax, 0x7f
ja 0x11f71c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11f70cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x11f71f6
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 0x11f70cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100014c9
Capabilities:
Terminate process

Disassembly:
jmp 0x10018670
call fcn.10001c53
test al, al
je 0x100186bb
push esi
push str.Its_VM_Machine_detected_
push 0x101f1910
call fcn.1000184d
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.10002022
mov ecx, esi
call fcn.10001875
push 0x40
push str.Blocked_VMWare
push str.Virtual_machines_are_not_allowed_to_play_on_this_server
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret
Function at 0x10001c53
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x100179d0
push ecx
lea eax, [esp]
push eax
push 0x20019
push 0
push str.HARDWAREACPIDSDTVBOX__
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100179fe
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop ecx
ret
push str.C:WINDOWS_system32driversVBoxMouse.sys
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
pop ecx
ret

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

Disassembly:
jmp 0x1000fea0
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [ebp + 0x4c]
cmp esi, dword [ebp + 0x50]
push edi
lea edi, [ebp + 0x48]
mov ebx, ecx
jbe 0x1000fec0
call fcn.1011874d
lea ecx, [ecx]
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x44], eax
jbe 0x1000fed1
call fcn.1011874d
cmp edi, edi
je 0x1000feda
call fcn.1011874d
cmp esi, dword [esp + 0x44]
je 0x1000ffc1
cmp esi, dword [edi + 8]
fld dword [0x101a39f4]
fstp dword [esp + 0x20]
jb 0x1000fef8
call fcn.1011874d
cmp esi, dword [edi + 8]
fld dword [esi + 0x28]
fstp dword [esp + 0x1c]
jb 0x1000ff09
call fcn.1011874d
cmp esi, dword [edi + 8]
fld dword [esi + 0x2c]
fstp dword [esp + 0x24]
fld dword [0x101a39f4]
fstp dword [esp + 0x14]
jb 0x1000ff24
call fcn.1011874d
cmp esi, dword [edi + 8]
fld dword [esi + 0x30]
fstp dword [esp + 0x10]
jb 0x1000ff35
call fcn.1011874d
fld dword [esi + 0x34]
mov eax, dword [ebx + 0xc]
fstp dword [esp + 0x18]
push ebp
fld dword [esp + 0x14]
push eax
fstp dword [esp + 0x30]
lea ecx, [esp + 0x30]
fld dword [esp + 0x2c]
push ecx
fstp dword [esp + 0x3c]
lea edx, [esp + 0x28]
fld dword [esp + 0x28]
push edx
fstp dword [esp + 0x44]
fld dword [esp + 0x28]
fstp dword [esp + 0x4c]
call fcn.10001343
mov eax, dword [ebx + 0xc]
push ebp
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.10001343
mov eax, dword [ebx + 0xc]
push ebp
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.10001343
mov eax, dword [ebx + 0xc]
push ebp
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.10001343
add esp, 0x40
cmp esi, dword [edi + 8]
jb 0x1000ffb9
call fcn.1011874d
add esi, 0x78
jmp 0x1000fec0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x100136d0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push 0x40
push esi
push edi
push ebx
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x10013702
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
push esi
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1001371b
xor ebp, ebp
cmp dword [esp + 0xc], esi
je 0x10013723
xor ebp, ebp
mov ecx, dword [esp + 8]
lea eax, [esp + 8]
push eax
push ecx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1001373c
xor ebp, ebp
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1001374b
xor ebp, ebp
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret

Function at 0x1001ed40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1019abf1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x101e6218]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.1000235b
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 1
call fcn.1001e7b0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.1000235b
mov eax, dword [esp + 0x28]
cmp eax, 8
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
jb 0x1001edec
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, 0x4052d0
call ecx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x10023b20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
mov eax, dword [0x101e6218]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 8]
push ecx
push 0x40
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [esp + 0x20], 0xe9
mov dword [esp + 0x18], 0
mov dword [esp + 0x21], eax
call edi
test eax, eax
jne 0x10023b6b
push str.Failed_to_unprotect_memory_n
jmp 0x10023b90
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
push 5
push esi
mov byte [esi + 4], al
call edi
test eax, eax
jne 0x10023b98
push str.Failed_to_restore_protection_on_memory
call fcn.1011a949
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.10118c8e
add esp, 0x14
ret 8
Function at 0x1002e5e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
mov eax, dword [0x101e6218]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 8]
push ecx
push 0x40
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [esp + 0x20], 0xe9
mov dword [esp + 0x18], 0
mov dword [esp + 0x21], eax
call edi
test eax, eax
jne 0x1002e62b
push str.Failed_to_unprotect_memory_n
jmp 0x1002e650
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
push 5
push esi
mov byte [esi + 4], al
call edi
test eax, eax
jne 0x1002e658
push str.Failed_to_restore_protection_on_memory
call fcn.1011a949
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.10118c8e
add esp, 0x14
ret

Function at 0x1002e670
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
lea esi, [edi + 1]
push esi
mov dword [esp + 0x1c], 0
call ebx
test eax, eax
jne 0x1002e6ab
push str.Failed_to_unprotect_memory_n
call fcn.1011a949
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push eax
sub ecx, edi
push 4
sub ecx, 5
push esi
mov dword [esi], ecx
call ebx
test eax, eax
jne 0x1002e6d6
push str.Failed_to_restore_protection_on_memory
call fcn.1011a949
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1002e6e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 4
push esi
call edi
test eax, eax
jne 0x1002e712
push str.Failed_to_unprotect_memory_n
call fcn.1011a949
add esp, 4
pop edi
pop esi
add esp, 8
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
push eax
push 4
push esi
mov dword [esi], ecx
call edi
test eax, eax
jne 0x1002e738
push str.Failed_to_restore_protection_on_memory
call fcn.1011a949
add esp, 4
pop edi
pop esi
add esp, 8
ret

Function at 0x1002e780
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x40
push esi
push edi
call ebx
test eax, eax
jne 0x1002e7a8
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret
push esi
push 0x90
push edi
call fcn.10119b30
mov edx, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push edx
push esi
push edi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret
Function at 0x1003f090
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x101eaafc], 0
jne 0x1003f13c
xor edx, edx
nop
mov eax, edx
and eax, 1
neg eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x101eaaf8], ecx
add edx, 1
cmp edx, 0x100
jl 0x1003f0a0
mov ecx, dword [esp + 8]
test ecx, ecx
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
not esi
push edi
mov eax, esi
jle 0x1003f178
movzx edi, byte [edx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x101eaaf8]
sub ecx, 1
add edx, 1
test ecx, ecx
jne 0x1003f152
pop edi
not eax
pop esi
ret
mov cl, byte [edx]
add edx, 1
test cl, cl
je 0x1003f1b1
cmp cl, 0x23
jne 0x1003f191
cmp byte [edx], cl
jne 0x1003f191
cmp byte [edx + 1], cl
jne 0x1003f191
mov eax, esi
mov edi, eax
movzx ecx, cl
and edi, 0xff
xor edi, ecx
mov cl, byte [edx]
shr eax, 8
xor eax, dword [edi*4 + 0x101eaaf8]
add edx, 1
test cl, cl
jne 0x1003f181
pop edi
not eax
pop esi
ret
Function at 0x1004a6c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1019c7fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x101e6218]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
fldz
fst dword [esi + 0x18]
mov dword [esi], ebx
fst dword [esi + 0x14]
mov dword [esi + 4], ebx
fst dword [esi + 0x20]
mov byte [esi + 8], bl
fst dword [esi + 0x1c]
mov byte [esi + 9], bl
fst dword [esi + 0x24]
mov dword [esi + 0xc], ebx
fstp dword [esi + 0x28]
mov dword [esi + 0x10], 1
mov eax, dword [esi + 0x34]
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x1004a73a
push eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
call fcn.100405c0
add esp, 4
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x1004aa10
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1004aa1e
mov dword [eax], 0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push edi
push eax
push ecx
call fcn.1004a930
mov edi, eax
add esp, 8
test edi, edi
jne 0x1004aa39
pop edi
ret
push esi
push 2
push 0
push edi
call fcn.1011cfdf
add esp, 0xc
test eax, eax
jne 0x1004aaef
push edi
call fcn.1011ceea
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x1004aaef
push 0
push 0
push edi
call fcn.1011cfdf
add esp, 0xc
test eax, eax
jne 0x1004aaef
push ebx
push ebp
mov ebp, dword [esp + 0x20]
lea edx, [esi + ebp]
push edx
call fcn.10040590
add esp, 4
mov ebx, eax
test ebx, ebx
push edi
jne 0x1004aa9c
call fcn.1011ccd6
add esp, 4
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
ret
push esi
push 1
push ebx
call fcn.1011cc48
add esp, 0x10
cmp eax, esi
je 0x1004aac2
push edi
call fcn.1011ccd6
push ebx
call fcn.100405c0
add esp, 8
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
ret
test ebp, ebp
jle 0x1004aad5
push ebp
lea eax, [ebx + esi]
push 0
push eax
call fcn.10119b30
add esp, 0xc
push edi
call fcn.1011ccd6
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x1004aae8
mov dword [eax], esi
pop ebp
mov eax, ebx
pop ebx
pop esi
pop edi
ret
push edi
call fcn.1011ccd6
add esp, 4
pop esi
xor eax, eax
pop edi
ret
Function at 0x1007a350
Capabilities:
Compute adler32 checksum

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov eax, 0x5e6ea9af
mul ebp
shr edx, 0xb
imul edx, edx, 0x15b0
push edi
mov edi, ecx
mov ebx, ebp
movzx ecx, di
shr edi, 0x10
sub ebx, edx
test ebp, ebp
je 0x1007a426
mov edi, edi
xor edx, edx
cmp ebx, 7
jbe 0x1007a3dc
mov eax, 7
lea esp, [esp]
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
add eax, 8
add edi, ecx
add esi, 8
add edx, 8
cmp eax, ebx
jb 0x1007a390
cmp edx, ebx
jae 0x1007a3f3
mov eax, ebx
sub eax, edx
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x1007a3e4
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 dword [esp + 0x14], ebx
mov ebx, 0x15b0
jne 0x1007a380
mov eax, edi
pop edi
pop esi
shl eax, 0x10
pop ebp
add eax, ecx
pop ebx
ret
Function at 0x1007fd00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1019cdf1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x101e6218]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
fldz
xor eax, eax
fst dword [esi + 0xc]
fst dword [esi + 8]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
fld1
fstp dword [esi + 4]
mov byte [esp + 0x1c], 2
mov word [esi + 0x3c], 0x3f
fst dword [esp + 0xc]
mov eax, dword [esp + 0xc]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xc], ecx
mov ecx, esi
mov dword [esi + 8], eax
call fcn.1007c550
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret

Function at 0x1007fda0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1019ce31
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101e6218]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 2
call fcn.1007c550
mov eax, dword [esi + 0x30]
test eax, eax
mov byte [esp + 0x14], 1
je 0x1007fdea
push eax
call fcn.100405c0
add esp, 4
mov eax, dword [esi + 0x24]
test eax, eax
mov byte [esp + 0x14], 0
je 0x1007fdff
push eax
call fcn.100405c0
add esp, 4
mov esi, dword [esi + 0x18]
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x1007fe17
push esi
call fcn.100405c0
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret