joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x38992d41
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x69010709
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x6dc9c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d4000]
push edi
jmp 0x6dc9da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6dc9e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6dc9d0
mov eax, 1
add ebx, ebx
jne 0x6dc9f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6dca04
jne 0x6dca23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6dca23
dec eax
add ebx, ebx
jne 0x6dca10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6dc9e8
add ebx, ebx
jne 0x6dca1f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6dca75
xor ecx, ecx
sub eax, 3
jb 0x6dca3b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6dcaaa
sar eax, 1
mov ebp, eax
jmp 0x6dca46
add ebx, ebx
jne 0x6dca46
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6dca14
inc ecx
add ebx, ebx
jne 0x6dca54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6dca14
add ebx, ebx
jne 0x6dca61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6dca56
jne 0x6dca72
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6dca56
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6dca94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6dca86
jmp 0x6dc9d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6dca94
add edi, ecx
jmp 0x6dc9d6
pop esi
mov edi, esi
mov ecx, 0x11035
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6dcab2
cmp byte [edi], 0x26
jne 0x6dcab2
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 0x6dcab7
lea edi, [esi + 0x2cf000]
mov eax, dword [edi]
or eax, eax
je 0x6dcb2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2ecbcc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2ecd84]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6dcae4
mov ecx, edi
jns 0x6dcb13
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 + 0x2ecd8c]
or eax, eax
je 0x6dcb29
mov dword [ebx], eax
add ebx, 4
jmp 0x6dcb01
call dword [esi + 0x2ecd88]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6dcb60
cmp al, 0xef
ja 0x6dcb53
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6dcb35
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6dcb42
mov ebp, dword [esi + 0x2ecd90]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x6dcb94
sub esp, 0xffffff80
jmp 0x5c1b6c
Function at 0x556ecd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdb4], 0
push esi
jne 0x556f04
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 0x556ede
mov dword [ecx*4 + 0x42bdb0], eax
inc ecx
cmp ecx, 0x100
jl 0x556ed9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x556f35
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 + 0x42bdb0]
xor eax, esi
inc ecx
dec edx
jne 0x556f17
pop edi
not eax
pop esi
ret 0xc
Function at 0x59318e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
or eax, 0xffffffff
cmp dword [0x300217d0], ecx
push esi
mov esi, 0xff
jne 0x5931d7
mov dword [0x300217d0], 1
push edi
push 8
mov edx, ecx
pop edi
test dl, 1
je 0x5931c3
shr edx, 1
xor edx, 0xedb88320
jmp 0x5931c5
shr edx, 1
dec edi
test edi, edi
jg 0x5931b4
mov dword [ecx*4 + 0x300213d0], edx
inc ecx
cmp ecx, esi
jle 0x5931af
pop edi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jbe 0x5931f8
mov edx, dword [ebp + 8]
movzx edx, byte [edx]
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x300213d0]
inc dword [ebp + 8]
dec ecx
jne 0x5931de
not eax
pop esi
pop ebp
ret 8
Function at 0xb63139
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp], esp
add dword [esp], 4
mov esi, dword [esp]
add esp, 4
add esi, 4
sub esi, 4
xchg dword [esp], esi
pop esp
mov dword [esp], eax
sub esp, 4
mov dword [esp], ebx
mov dword [esp], ecx
mov dword [esp], esi
mov dword [esp], ebx
push dword [esp + 0x10]
mov eax, dword [esp]
push ebp
mov ebp, esp
add ebp, 4
push eax
mov eax, 0x3feb9289
push ecx
mov ecx, 0xc0146d7b
add eax, ecx
pop ecx
add ebp, eax
pop eax
xchg dword [esp], ebp
pop esp
push dword [esp + 8]
push dword [esp]
pop ebx
push ecx
mov ecx, esp
add ecx, 4
add ecx, 4
xchg dword [esp], ecx
mov esp, dword [esp]
mov dword [esp + 8], eax
mov dword [esp + 0x10], ebx
push dword [esp]
push dword [esp]
mov ebx, dword [esp]
add esp, 4
add esp, 4
add esp, 4
push dword [esp]
pop eax
sub esp, 4
mov dword [esp], edi
mov edi, esp
add edi, 4
add edi, 4
xchg dword [esp], edi
mov esp, dword [esp]
jmp 0xa6b081
Function at 0x403440
Capabilities:
Create pipe
Create process on windows
Set environment variable
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0040f260
mov eax, dword [0x46baf4]
mov ecx, dword [0x46b580]
push ebx
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403573
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x46baf4], 0x959
jne 0x40355c
push 0
lea eax, [ebp - 0xc08]
push eax
push 0
push 0
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push 0
lea ecx, [ebp - 0x1408]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edx, [ebp - 0x1808]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
lea eax, [ebp - 0x2008]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0
push 0
push 0x402d84
push 0
push 0
push 0
call esi
push 0
lea ecx, [ebp - 0x408]
push ecx
push 0
call edi
mov edx, dword [ebp - 4]
push edx
call fcn.004031b0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x40347e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405b70
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45ca78]
jne 0x405b7a
repz ret
jmp fcn.0040b22c

Function at 0x40cf05
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.00406efa
and dword [ebp - 4], 0
cmp dword [0x462afc], 0
mov ebx, eax
jne 0x40cfb6
push 0x402468
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d067
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40245c
push edi
call esi
test eax, eax
je 0x40d067
push eax
call fcn.00406e88
mov dword [esp], 0x40244c
push edi
mov dword [0x462afc], eax
call esi
push eax
call fcn.00406e88
mov dword [esp], 0x402438
push edi
mov dword [0x462b00], eax
call esi
push eax
call fcn.00406e88
mov dword [esp], 0x40241c
push edi
mov dword [0x462b04], eax
call esi
push eax
call fcn.00406e88
pop ecx
mov dword [0x462b0c], eax
test eax, eax
je 0x40cfb6
push 0x402404
push edi
call esi
push eax
call fcn.00406e88
pop ecx
mov dword [0x462b08], eax
mov eax, dword [0x462b08]
cmp eax, ebx
je 0x40d00e
cmp dword [0x462b0c], ebx
je 0x40d00e
push eax
call fcn.00406f03
push dword [0x462b0c]
mov esi, eax
call fcn.00406f03
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d00e
test edi, edi
je 0x40d00e
call esi
test eax, eax
je 0x40d005
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d005
test byte [ebp - 0xc], 1
jne 0x40d00e
or dword [ebp + 0x10], 0x200000
jmp 0x40d047
mov eax, dword [0x462b00]
cmp eax, ebx
je 0x40d047
push eax
call fcn.00406f03
pop ecx
test eax, eax
je 0x40d047
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d047
mov eax, dword [0x462b04]
cmp eax, ebx
je 0x40d047
push eax
call fcn.00406f03
pop ecx
test eax, eax
je 0x40d047
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x462afc]
call fcn.00406f03
pop ecx
test eax, eax
je 0x40d067
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d069
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10016440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1001646c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10016494
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1001649a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x10016524
jg 0x100164b1
test esi, esi
je 0x10016524
test ecx, ecx
jl 0x10016507
jg 0x100164bb
test eax, eax
je 0x10016507
cmp edi, ecx
jg 0x100164cf
jl 0x100164c5
cmp esi, eax
jae 0x100164cf
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
add edx, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x10016524
jg 0x1001650a
test esi, esi
je 0x10016524
jmp 0x1001650a
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10016524
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10016540
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x1001656c
jl 0x10016560
test ecx, ecx
jne 0x1001656c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10016585
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x100165cd
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x100165d3
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push dword [ebp - 4]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [ebp - 4], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x100165d3
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x10016646
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x100165fc
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x10016634
nop dword [eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10016646
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x10016610
test edi, edi
je 0x10016646
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100169c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10112040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100169f0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a07a5
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10016a2c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10016a2c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a07a5
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10016b03
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10016a54
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10016a60
movsx eax, bl
jmp 0x10016a98
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x10016ac2
sub eax, 1
je 0x10016ac2
sub eax, 2
jne 0x10016b03
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a07a5
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10016ae0
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 0x10016b03
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a07a5
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a07a5
mov esp, ebp
pop ebp
ret 4
Function at 0x10017960
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10112040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10017a1c
cmp byte [esi + 0x3d], 0
je 0x10017a1c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10017a0a
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 0x100179d1
sub eax, 1
je 0x100179d5
sub eax, 2
jne 0x10017a0a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a07a5
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100179f3
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 0x10017a0a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a07a5
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a07a5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100a07a5
mov esp, ebp
pop ebp
ret
Function at 0x1002e700
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a3911
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10112040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10115e28]
mov ecx, dword [0x10115e34]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x10115e28]
push eax
call esi
mov esi, eax
test esi, esi
je 0x1002e7ce
mov ecx, dword fs:[0x2c]
mov edx, dword [0x10115de8]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10116084]
cmp ecx, dword [edx + 4]
jle 0x1002e7a7
push 0x10116084
call fcn.100a0bb4
add esp, 4
cmp dword [0x10116084], 0xffffffff
jne 0x1002e7a7
mov edx, str.m_nTickBase
mov dword [ebp - 4], 0
mov ecx, str.CBasePlayer
call fcn.1009c3f0
push 0x10116084
mov dword [0x10116508], eax
call fcn.100a0b63
add esp, 4
mov eax, dword [0x10116508]
movd xmm0, dword [esi + eax]
mov eax, dword [0x10115e58]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10115e58]
movss xmm0, dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003acc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x1003acf1
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1003ace0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x1003db70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a46c3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10112040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edx
mov byte [esi + 0x64], 0
mov dword [esi + 0x68], eax
test byte [edi + 8], 8
je 0x1003dc5a
test dl, 0x10
jne 0x1003dc5a
mov al, 1
jmp 0x1003dc5c
xor al, al
mov edx, dword [ebp + 0x10]
mov byte [esi + 0x6c], al
mov dword [esi + 0x70], edx
push dword [edi + 0x18]
call fcn.1003ba60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c