joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401020
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x437c78
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43d01c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4010c8
cmp word [eax], 0
je 0x4010c8
mov eax, dword [0x73d1cc]
mov edx, dword [eax + 0xc]
mov ecx, 0x73d1cc
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x24]
push eax
lea edi, [esp + 0x14]
call fcn.004010f0
mov ecx, edi
push ecx
mov eax, 2
call fcn.00401190
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call dword [sym.imp.MSVCR90.dll_wprintf]
lea eax, [esi - 0x10]
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4010c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x401440
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401457
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401488
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x401484
cmp esi, eax
jae 0x401488
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x401474
cmp esi, eax
jb 0x40148e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x4035d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43d01c]
jne 0x4035dc
repz ret
jmp fcn.00403a3a
Function at 0x404c30
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x118]
sub esp, 0x118
push 0xfffffffffffffffe
push 0x43b1d8
push 0x403a15
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x43d01c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x114], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
push 0x114
push 0
lea eax, [ebp]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp], 0x114
lea ecx, [ebp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp + 4], 6
jae 0x404cf1
mov dword [ebp - 4], 0
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x404ce2
push 0x2c
push str.Dnscache
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x404ce5
push esi
push ebx
call fcn.004048b0
test eax, eax
je 0x404ce5
mov edi, eax
call fcn.00404830
jmp 0x404ce5
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xfffffffe
call fcn.00404d1c
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x114]
xor ecx, ebp
call fcn.004035d2
add ebp, 0x118
mov esp, ebp
pop ebp
ret
Function at 0x405610
Capabilities:
Create http request
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x437af0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x43d01c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43d01c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
push 0x100000
mov dword [esp + 0x34], eax
mov esi, ecx
call fcn.0040320f
mov edx, dword [0x73d1cc]
xor ebx, ebx
mov edi, eax
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x73d1cc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
push ebx
push ebx
push ebx
push 1
mov dword [esp + 0x54], ebx
push str.Mozilla_5.0__Windows_NT_5.1__rv:6.0.2__Gecko_20100101_Firefox_6.0.2
mov dword [esp + 0x40], ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.004059d0
mov ebp, dword [esp + 0x20]
push ebx
push ebx
push ebx
push ebx
push ebp
call dword [sym.imp.WININET.dll_HttpSendRequestW]
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x18]
mov eax, edi
call fcn.00405800
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp ebp, ebx
je 0x4056da
push ebp
call esi
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4056e9
push eax
call esi
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
ja 0x4056fe
lea eax, [esp + 0x18]
call fcn.00405910
xor al, al
jmp 0x405759
xor eax, eax
cmp ecx, ebx
jle 0x40570d
add byte [eax + edi], 0xfb
inc eax
cmp eax, ecx
jl 0x405704
mov esi, dword [esp + 0x30]
push ecx
push edi
mov ecx, esi
call fcn.00404f00
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov edx, dword [esi + 0x28]
sub edx, dword [esi + 0x24]
add esp, 4
test edx, 0xfffffffc
je 0x40574e
mov ecx, dword [esi + 0x40]
sub ecx, dword [esi + 0x3c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40574e
mov bl, 1
lea eax, [esp + 0x18]
call fcn.00405910
mov al, bl
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004035d2
add esp, 0x34
ret 4
Function at 0x405800
Capabilities:
Check http status code
Read data from internet
Receive data

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov edx, dword [ebp + 8]
push edi
xor ebx, ebx
push ebx
mov edi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x20000013
push edx
mov dword [esp + 0x20], 0xc8
mov dword [esp + 0x24], ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x4058a2
cmp dword [esp + 0xc], 0xc8
jne 0x4058a2
lea eax, [esp + 0x18]
push eax
push 0x100190
mov dword [esi], ebx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0x24], ebx
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
push ecx
call ebx
test eax, eax
je 0x405891
mov eax, dword [esp + 0x18]
test eax, eax
je 0x405891
add dword [esi], eax
mov ecx, dword [esi]
add edi, eax
cmp ecx, 0x100190
jae 0x4058a2
lea edx, [esp + 0x18]
push edx
mov eax, 0x100190
sub eax, ecx
mov ecx, dword [ebp + 8]
push eax
push edi
push ecx
call ebx
test eax, eax
jne 0x405863
mov byte [edi], 0
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x4059d0
Capabilities:
Connect to http server

Disassembly:
push 0xffffffffffffffff
push 0x437acd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43d01c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
mov ebx, ecx
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.00401520
push 4
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x44], 0
mov edx, dword [ebx]
push 6
push edx
mov dword [esp + 0x54], 0x23c34600
call dword [sym.imp.WININET.dll_InternetSetOptionW]
lea esi, [esp + 0x14]
lea eax, [esp + 0x18]
call fcn.00401840
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
mov edx, dword [ebx]
push 0
push 0
push 3
push 0
push 0
push ecx
push eax
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 4], 0
jne 0x405a9f
mov eax, dword [ebx]
test eax, eax
je 0x405a8f
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebx], 0
lea esi, [esp + 0x18]
call fcn.00401880
xor eax, eax
jmp 0x405b65
mov edi, dword [ebx + 0x14]
neg edi
sbb edi, edi
and edi, 0x80800000
lea esi, [esp + 0x14]
lea eax, [esp + 0x18]
add edi, 0x44c8200
call fcn.00401860
mov eax, dword [eax]
mov ecx, dword [ebx + 4]
push 0
or edi, 0x200000
push edi
push 0
push 0
push str.HTTP_1.0
push eax
push 0x439b10
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405b06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 8], 0
jne 0x405b2e
mov eax, dword [ebx + 4]
test eax, eax
je 0x405b21
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebx + 4], 0
lea esi, [esp + 0x18]
call fcn.00401880
xor eax, eax
jmp 0x405b65
lea eax, [ebx + 0x10]
test ebp, ebp
jne 0x405b39
xor ecx, ecx
jmp 0x405b4f
mov ecx, ebp
lea esi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x405b40
sub ecx, esi
sar ecx, 1
push ebp
mov ebx, ecx
call fcn.00401b10
lea esi, [esp + 0x18]
call fcn.00401880
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
Function at 0x405c30
Capabilities:
Enumerate services

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebx
push ebp
push esi
xor esi, esi
cmp dword [eax + 0x14], esi
jne 0x405d24
push 5
push esi
push esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
cmp ebp, esi
jne 0x405c68
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
push esi
push esi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push esi
push esi
push 3
push 0x30
push esi
push ebp
call ebx
mov eax, dword [esp + 0x10]
cmp eax, 1
jb 0x405c5d
lea esi, [eax + 0x10]
push edi
push esi
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
push 0
push 0
mov edi, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push 1
push 0x30
push 0
push ebp
call ebx
xor esi, esi
cmp dword [esp + 0x10], esi
jbe 0x405d12
mov ebx, edi
mov edx, dword [ebx]
push 0x43a054
push edx
call dword [sym.imp.MSVCR90.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x405ce1
inc esi
add ebx, 0x2c
cmp esi, dword [esp + 0x10]
jb 0x405cc0
jmp 0x405d12
imul esi, esi, 0x2c
mov esi, dword [esi + edi + 0x24]
push esi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [esp + 0x1c]
push eax
push str.Matched:__d_
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], 1
call fcn.00401020
add esp, 8
push edi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
Function at 0x406ba0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x43d01c]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x114
lea eax, [esp + 4]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x406c54
mov eax, dword [esp + 4]
cmp eax, 5
jne 0x406c12
mov eax, dword [esp + 8]
test eax, eax
jne 0x406c7f
mov eax, 6
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004035d2
add esp, 0x118
ret
cmp eax, 6
jne 0x406c38
cmp dword [esp + 8], 0
jne 0x406c3a
mov eax, 8
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004035d2
add esp, 0x118
ret
jb 0x406c7f
mov eax, 9
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004035d2
add esp, 0x118
ret
cmp eax, 1
jne 0x406c7f
cmp dword [esp + 4], 4
jne 0x406c7f
cmp dword [esp + 8], 0x5a
sbb eax, eax
add eax, 4
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004035d2
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 7
call fcn.004035d2
add esp, 0x118
ret

Function at 0x437730
Capabilities:
Acquire debug privileges
Create thread
Delete file
Terminate process

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.C:Program_FilesCommunicationCommunication.txt
call esi
push str.C:Program_FilesCommunication_signtool.exe
call esi
push str.C:Program_FilesCommunicationqm.pfx
call esi
push str.C:Program_FilesCommunicationcapicom.dll
call esi
push str.C:Program_FilesCommunicationgenHex.enc
call esi
push str.C:Program_FilesCommunication_service.enc
call esi
lea eax, [esp + 4]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [esp + 4]
lea ecx, [esp + 0xc]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea edx, [esp + 0x14]
push edx
push 0
push esi
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
call esi
push 0
push 1
push 0
push 0
mov dword [0x73d580], eax
call esi
push 0
push 0
push 0
push 0
mov dword [0x73d57c], eax
call esi
push 0
push 0
push 0
push 0x437080
push 0
push 0
mov dword [0x73d584], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
call fcn.00437640
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call dword [sym.imp.RPCRT4.dll_RpcMgmtStopServerListening]
push 0
push 0
push 0
call dword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10077c4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x100923c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x108]
push eax
call fcn.010068e6
test eax, eax
je 0x100789f
push 0x10022bc
push 0x104
lea eax, [ebp - 0x108]
push eax
call fcn.01005cac
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x100789f
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x228]
push eax
push 0x40
mov dword [ebp - 0x250], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x100789e
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1007896
push 0
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x250]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100788f
push dword [ebp - 0x24c]
push esi
call fcn.010074fd
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov ecx, dword [ebp - 4]
call fcn.01005857
leave
ret

Function at 0x401779
Capabilities:
Parse pe header

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

Function at 0x4122c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4122ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4122ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1002d7b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b9e81
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x100d7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edx]
xorps xmm0, xmm0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x7c], 0
mov dword [ecx + 0x80], 0
mov dword [ecx + 0x84], 0
movups xmmword [ecx + 0x90], xmm0
mov dword [ecx + 0xa0], 0
mov dword [ecx + 0xa4], 0xf
mov dword [ebp - 0x10], ecx
mov byte [ecx + 0x90], 0
mov dword [ebp - 4], 0
movups xmmword [ecx + 0xa8], xmm0
mov dword [ecx + 0xb8], 0
mov dword [ecx + 0xbc], 0xf
mov byte [ecx + 0xa8], 0
mov byte [ebp - 4], 1
mov word [ecx + 0xc1], 0
mov byte [ecx + 0xc3], 0
mov dword [ecx + 0xc0], 0
mov dword [ecx + 0x400], 0
mov dword [ecx + 0x404], 0
mov dword [ecx + 0x408], 0
mov dword [ecx + 0x40c], 0
mov dword [ecx + 0x410], 0
mov dword [ecx + 0x414], 0
mov dword [ecx + 0x418], 0
mov dword [ecx + 0x41c], 0
mov byte [ecx + 0x420], 0
push eax
mov byte [ecx + 0x3424], 0
mov dword [ecx + 0x3428], 0
mov dword [ecx + 0x342c], 0
mov dword [ecx + 0x3430], 0
mov dword [ecx + 0x3434], 0
mov dword [ecx + 0x3438], 0
mov dword [ecx + 0x343c], 0
mov byte [ecx + 0x344d], 0
mov byte [ecx + 0x3458], 0
mov byte [ecx + 0x3744], 0
mov dword [ecx + 0x3748], 0
mov dword [ecx + 0x374c], 0
mov dword [ecx + 0x3750], 0
mov dword [ecx + 0x3754], 0
mov dword [ecx + 0x3758], 0
mov dword [ecx + 0x375c], 0
mov byte [ecx + 0x3764], 0
mov dword [ecx + 0x3774], 0
mov byte [ecx + 0x377a], 0
mov dword [ecx + 0x377c], 0
mov dword [ecx + 0x3780], 0
call fcn.10024560
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10034eb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100d7040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10034f6c
cmp byte [esi + 0x3d], 0
je 0x10034f6c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10034f5a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10034f21
sub eax, 1
je 0x10034f25
sub eax, 2
jne 0x10034f5a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b75ec
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10034f43
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10034f5a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b75ec
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b75ec
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100b75ec
mov esp, ebp
pop ebp
ret
Function at 0x10037800
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x100f0308], 0
push ebx
push esi
push edi
je 0x1003798e
mov ecx, dword [0x10159f64]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1003798e
mov ecx, dword [0x10159fec]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x1003798e
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10037860
xor edx, edx
test ecx, ecx
je 0x10037889
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10037870
cmp edi, 0x5ff56dc5
je 0x10037898
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x1003798e
mov ecx, dword [ebp - 4]
jmp 0x10037844
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x1003798e
mov edx, dword [edi + 0x88]
test edx, edx
je 0x1003798e
movss xmm1, dword [0x100cbd48]
xor ebx, ebx
cmp edx, 4
jl 0x1003795b
mov ecx, dword [edi + 0x7c]
lea esi, [edx - 4]
shr esi, 2
add ecx, 0x1078
inc esi
lea ebx, [esi*4]
movss xmm0, dword [ecx - 0xc60]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100378fc
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10037917
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10037932
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10037945
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x100378e1
cmp ebx, edx
jl 0x1003795f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x1003798e
imul ecx, ebx, 0x420
add ecx, 0x418
add ecx, dword [edi + 0x7c]
sub edx, ebx
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10037983
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x10037970
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10037d20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1015f038]
sub esp, 8
push ebx
push esi
push edi
test al, 1
jne 0x10037da1
or eax, 1
mov dword [0x1015f038], eax
mov ebx, dword [0x10159f60]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x10037d99
nop word [eax + eax]
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10037d60
xor edx, edx
test ecx, ecx
je 0x10037d8d
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10037d70
cmp esi, 0xa9bf35
je 0x10037e23
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10037d50
mov eax, dword [0x1015f038]
xor ebx, ebx
mov dword [0x1015f028], ebx
test al, 2
jne 0x10037e0d
or eax, 2
mov dword [0x1015f038], eax
mov ecx, dword [0x10159f60]
mov ebx, dword [ecx + 0x30]
test ebx, ebx
je 0x10037e05
nop word [eax + eax]
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10037dd0
xor edx, edx
test ecx, ecx
je 0x10037df9
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10037de0
cmp esi, 0xe5abc68c
je 0x10037e2d
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10037dc0
mov eax, dword [0x1015f038]
xor ebx, ebx
mov dword [0x1015f024], ebx
test al, 4
jne 0x10037e78
or eax, 4
mov dword [0x1015f038], eax
mov eax, dword [0x10159f60]
mov ebx, dword [eax + 0x30]
jmp 0x10037e6c
mov eax, dword [0x1015f038]
jmp 0x10037d9b
mov eax, dword [0x1015f038]
jmp 0x10037e07
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [edi + ecx], 0
jne 0x10037e40
xor edx, edx
test ecx, ecx
je 0x10037e69
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10037e50
cmp esi, 0xadc3dc05
je 0x10037e70
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10037e34
mov dword [0x1015f020], ebx
jmp 0x10037e7e
mov ebx, dword [0x1015f020]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1015f024]
fstp dword [ebp - 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
call dword [ebp - 4]
fdivr dword [ebp - 8]
mov ecx, dword [0x1015f028]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 8], eax
fstp dword [ebp - 4]
call dword [ebp - 8]
movss xmm0, dword [ebp - 4]
sub esp, 8
fstp dword [ebp - 8]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
add esp, 8
fstp dword [0x100da960]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret