joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474bd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad4e0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4d5104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x474c34
mov dword [ebp - 4], 0
mov esi, dword [esi + 8]
test esi, esi
je 0x474c2d
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x474c2d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x474c2d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x474c73
push dword [0x518b94]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x474c62
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x474c62
cmp dword [ecx + 8], 0
jne 0x474c62
mov al, byte [esi + 0x1c]
mov byte [esi], al
mov dword [ecx + 8], esi
jmp 0x474c6c
push esi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x474c90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad4e0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4d5104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x474cf4
mov dword [ebp - 4], 0
mov esi, dword [esi + 8]
test esi, esi
je 0x474ced
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x474ced
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x474ced
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x474d33
push dword [0x518b94]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x474d22
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x474d22
cmp dword [ecx + 8], 0
jne 0x474d22
mov al, byte [esi + 0x20]
mov byte [esi], al
mov dword [ecx + 8], esi
jmp 0x474d2c
push esi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477a90
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [eax + 0x14], 0x10
mov esi, eax
mov dword [ebp - 8], eax
jb 0x477aac
mov esi, dword [eax]
mov dword [ebp - 8], esi
mov edi, dword [eax + 0x10]
xor edx, edx
mov eax, edi
xor ebx, ebx
shr eax, 2
mov dword [ebp - 0xc], eax
lea ecx, [eax - 1]
lea ecx, [esi + ecx*4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + eax*4 - 4]
mov eax, 0x34
div dword [ebp - 0xc]
mov dword [ebp - 4], ecx
add eax, 6
je 0x477ba1
mov edx, dword [ebp - 0xc]
dec edx
mov dword [ebp - 0x10], edx
sub ebx, 0x61c88647
dec eax
mov dword [ebp - 0xc], ebx
shr ebx, 2
mov dword [ebp - 0x18], eax
and ebx, 3
xor eax, eax
test edx, edx
je 0x477b4a
nop dword [eax]
mov esi, dword [esi + eax*4 + 4]
mov edx, esi
shr ecx, 5
shr edx, 3
lea edi, [esi*4]
xor edi, ecx
mov ecx, dword [ebp - 4]
shl ecx, 4
xor edx, ecx
mov ecx, eax
add edi, edx
and ecx, 3
mov edx, dword [ebp + 0xc]
xor ecx, ebx
mov edx, dword [edx + ecx*4]
xor edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, esi
mov esi, dword [ebp - 8]
add edx, ecx
xor edi, edx
add dword [esi + eax*4], edi
mov ecx, dword [esi + eax*4]
inc eax
mov dword [ebp - 4], ecx
cmp eax, dword [ebp - 0x10]
jb 0x477b00
mov esi, dword [esi]
and eax, 3
shr ecx, 5
mov edx, esi
xor eax, ebx
shr edx, 3
mov ebx, dword [ebp - 0xc]
lea edi, [esi*4]
xor edi, ecx
mov ecx, dword [ebp - 4]
shl ecx, 4
xor edx, ecx
mov ecx, dword [ebp + 0xc]
add edi, edx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + eax*4]
mov eax, ebx
xor ecx, dword [ebp - 4]
xor eax, esi
mov esi, dword [ebp - 8]
add ecx, eax
mov eax, dword [ebp - 0x14]
xor edi, ecx
add dword [eax], edi
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
test eax, eax
jne 0x477ae3
mov edi, dword [ebp + 8]
mov edi, dword [edi + 0x10]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ecx + 0x14]
mov eax, ebx
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp edi, eax
ja 0x477bdc
lea eax, [edi + edx]
mov dword [ecx + 0x10], eax
cmp ebx, 0x10
jb 0x477bbf
mov ecx, dword [ecx]
push edi
push dword [ebp - 8]
lea esi, [ecx + edx]
push esi
call sub.msvcrt.dll_memmove
add esp, 0xc
mov byte [esi + edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
push esi
mov byte [ebp + 0xc], 0
push dword [ebp + 0xc]
push edi
call fcn.004348d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x477c00
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 8], eax
cmp dword [eax + 0x14], 0x10
jb 0x477c19
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push ebx
push esi
push edi
mov edi, dword [eax + 0x10]
xor edx, edx
mov ebx, edi
mov esi, dword [ecx]
shr ebx, 2
mov eax, 0x34
div ebx
mov dword [ebp - 0x10], ebx
mov ebx, 0xb54cda56
imul eax, eax, 0x61c88647
mov dword [ebp - 4], esi
sub ebx, eax
mov dword [ebp - 0xc], ebx
je 0x477d12
mov eax, dword [ebp - 0x10]
mov edx, dword [ecx]
lea esi, [eax - 1]
dec eax
mov dword [ebp - 0x14], esi
lea eax, [ecx + eax*4]
mov dword [ebp - 0x10], eax
nop dword [eax]
shr ebx, 2
mov eax, esi
and ebx, 3
test eax, eax
je 0x477cb8
nop dword [eax]
mov esi, dword [ecx + eax*4 - 4]
lea edi, [edx*4]
mov ecx, esi
shr edx, 3
shr ecx, 5
xor edi, ecx
mov ecx, esi
shl ecx, 4
xor edx, ecx
mov ecx, eax
add edi, edx
and ecx, 3
mov edx, dword [ebp + 0xc]
xor ecx, ebx
mov edx, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xc]
xor edx, esi
xor ecx, dword [ebp - 4]
add edx, ecx
mov ecx, dword [ebp - 8]
xor edi, edx
sub dword [ecx + eax*4], edi
mov edx, dword [ecx + eax*4]
mov dword [ebp - 4], edx
sub eax, 1
jne 0x477c70
mov ecx, dword [ebp - 0x10]
lea edi, [edx*4]
shr edx, 3
and eax, 3
xor eax, ebx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ecx]
mov ecx, esi
shr ecx, 5
xor edi, ecx
mov ecx, esi
shl ecx, 4
xor edx, ecx
mov ecx, dword [ebp + 0xc]
add edi, edx
mov ecx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [ebp - 4]
xor ecx, esi
mov esi, dword [ebp - 0x14]
add ecx, eax
xor edi, ecx
mov ecx, dword [ebp - 8]
sub dword [ecx], edi
add ebx, 0x61c88647
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ebx
jne 0x477c60
mov edi, dword [ebp + 8]
mov edi, dword [edi + 0x10]
mov edx, dword [ebp + 0x10]
mov ebx, dword [edx + 0x14]
mov eax, ebx
mov esi, dword [edx + 0x10]
sub eax, esi
cmp edi, eax
ja 0x477d4a
lea eax, [edi + esi]
mov dword [edx + 0x10], eax
cmp ebx, 0x10
jb 0x477d30
mov edx, dword [edx]
push edi
add esi, edx
push ecx
push esi
call sub.msvcrt.dll_memmove
add esp, 0xc
mov byte [esi + edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
push ecx
mov byte [ebp + 0xc], 0
mov ecx, edx
push dword [ebp + 0xc]
push edi
call fcn.004348d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x478187
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0x18]
sub esp, 0x74
mov eax, dword [eax + 0x30]
cmp dword [eax + 0xa4], 6
jae 0x47836d
cmp dword [0x4d8038], 0
jne 0x478366
push ebx
push ebp
push edi
push fcn.0047860b
mov edx, str.NtOpenKeyedEvent
mov ecx, 0x4d5010
call fcn.0047857e
mov ebx, eax
test ebx, ebx
jne 0x4781d9
push eax
push eax
push 1
push 0xc0000264
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0x5c
pop edx
push 0x4b
pop eax
push 0x65
pop ecx
push 0x72
mov word [esp + 0x36], ax
pop eax
push 0x6e
mov word [esp + 0x3a], ax
pop eax
push 0x6c
mov word [esp + 0x3c], ax
pop eax
push 0x4f
pop edi
push 0x62
mov word [esp + 0x40], ax
pop eax
push 0x6a
mov word [esp + 0x44], ax
pop eax
push 0x63
mov word [esp + 0x46], ax
mov word [esp + 0x38], cx
mov word [esp + 0x3e], cx
mov word [esp + 0x48], cx
pop ecx
push 0x74
pop ebp
push 0x73
pop eax
push 0x43
mov word [esp + 0x4e], ax
pop eax
push 0x72
mov word [esp + 0x52], ax
mov word [esp + 0x34], dx
mov word [esp + 0x50], dx
pop edx
push 0x69
pop eax
push 0x53
mov word [esp + 0x56], ax
pop eax
push 0x65
mov word [esp + 0x5a], ax
pop eax
push 0x75
mov word [esp + 0x5c], ax
pop eax
push 0x66
mov word [esp + 0x62], ax
pop eax
push 0x4d
mov word [esp + 0x68], ax
pop eax
push 0x65
mov word [esp + 0x4a], cx
mov word [esp + 0x5e], cx
pop ecx
push 0x6d
mov word [esp + 0x6a], ax
pop eax
push 0x6f
mov word [esp + 0x6e], ax
pop eax
push 0x79
mov word [esp + 0x70], ax
pop eax
mov word [esp + 0x3e], di
mov word [esp + 0x48], bp
mov word [esp + 0x50], dx
mov word [esp + 0x54], bp
mov word [esp + 0x5c], di
mov word [esp + 0x60], bp
mov word [esp + 0x62], di
mov word [esp + 0x68], cx
mov word [esp + 0x6e], dx
mov word [esp + 0x70], ax
push 0x45
pop eax
mov word [esp + 0x72], ax
lea edi, [esp + 0x24]
push 0x76
pop eax
mov word [esp + 0x74], ax
push 0x6e
pop eax
mov word [esp + 0x78], ax
xor eax, eax
mov word [esp + 0x7c], ax
push 0x4c
pop eax
mov word [esp + 0x10], ax
mov word [esp + 0x12], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], eax
xor eax, eax
mov word [esp + 0x7a], bp
xor ebp, ebp
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], ebp
stosd dword es:[edi], eax
mov word [esp + 0x76], cx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push 0x2000000
lea eax, [esp + 0x14]
push eax
call ebx
test eax, eax
jns 0x478347
push ebp
push ebp
push 1
push 0xc0000264
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [esp + 0xc]
mov edx, 0x4d8038
xor eax, eax
lock cmpxchg dword [edx], ecx
pop edi
pop ebp
pop ebx
test eax, eax
je 0x478366
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4d8038]
jmp 0x47836f
xor eax, eax
add esp, 0x74
ret
Function at 0x47e330
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047e340

Function at 0x47e5c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x47e5cc
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0047e5e0

Function at 0x4814a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [esi + 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call sub.msvcrt.dll__beginthreadex
mov dword [esi], eax
add esp, 0x18
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
pop esi
pop ebp
ret
Function at 0x482a40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
movzx ecx, word [ecx + 6]
lea ecx, [ecx + ecx*4]
lea edi, [eax + ecx*8]
cmp eax, edi
je 0x482a7e
mov esi, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
cmp esi, edx
jb 0x482a77
mov ecx, dword [eax + 8]
add ecx, edx
cmp esi, ecx
jb 0x482a80
add eax, 0x28
cmp eax, edi
jne 0x482a67
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x483b80
Capabilities:
Get process heap force flags

Disassembly:
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx + 0xa4]
shl eax, 0x10
or eax, dword [ecx + 0xa8]
ret

Function at 0x486690
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x486aa0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x486ab5
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x486ac7
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.00487140
push 0x4d1330
lea eax, [ebp - 0x10]
push eax
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x48b8e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4d5104]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x48b9db
mov eax, dword [ebp - 0x114]
sub eax, 5
je 0x48b962
sub eax, 1
jne 0x48b956
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x48b93e
sub eax, 1
jne 0x48b956
mov dword [0x4d8834], 4
jmp 0x48b980
mov dword [0x4d8834], 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8e74
mov esp, ebp
pop ebp
ret
mov dword [0x4d8834], 6
jmp 0x48b980
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x48b9d1
sub eax, 1
je 0x48b9b9
sub eax, 1
je 0x48b9a1
cmp dword [0x4d8834], 4
jl 0x48b948
call fcn.00486550
cmp dword [0x4d8834], 6
jl 0x48b948
call fcn.00496130
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8e74
mov esp, ebp
pop ebp
ret
mov dword [0x4d8834], 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8e74
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x4d8834], 1
call fcn.004a8e74
mov esp, ebp
pop ebp
ret
mov dword [0x4d8834], 0
lea ecx, [ebp - 0x124]
call fcn.00487180
push 0x4d15bc
lea eax, [ebp - 0x124]
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x48dcd0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor edx, edx
xor ecx, eax
imul eax, ecx, 0x1000193
div dword [esi]
mov eax, dword [esi + 8]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x48dd2b
mov ecx, dword [edi]
lea esp, [esp]
cmp dword [eax + 4], ecx
je 0x48dd33
mov eax, dword [eax]
test eax, eax
jne 0x48dd20
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x48dd2d
mov ecx, dword [eax + 8]
pop edi
mov dword [edx], ecx
pop esi
pop ebp
ret 8
Function at 0x48ef80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor edx, edx
xor ecx, eax
imul eax, ecx, 0x1000193
div dword [esi]
mov eax, dword [esi + 8]
lea ebx, [edx*4]
mov eax, dword [ebx + eax]
test eax, eax
je 0x48efdf
mov ecx, dword [edi]
cmp dword [eax + 4], ecx
je 0x48f007
mov eax, dword [eax]
test eax, eax
jne 0x48efd4
push 0xc
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
add esp, 4
mov dword [ebp + 8], edx
test edx, edx
je 0x48f010
mov dword [edx], 0
mov eax, dword [edi]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [edx + 8], eax
jmp 0x48f012
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
xor edx, edx
mov ecx, dword [esi + 8]
mov eax, edx
pop edi
mov ecx, dword [ebx + ecx]
mov dword [edx], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + ecx], edx
inc dword [esi + 4]
pop esi
pop ebx
pop ebp
ret 8

Function at 0x490c20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5d84
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4d5104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x54]
mov dword [esi + 0x1c], eax
mov al, byte [ebp + 0xc]
mov dword [esi], vtable.Concurrency::details::ContextBase.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [esi + 0x4c], al
mov dword [ebp - 4], 0
mov dword [esi + 0x50], 0
call fcn.004841e0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
push 0x1c
mov dword [esi + 0x80], 7
mov dword [esi + 0x84], 0
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov ecx, dword [esi + 0x80]
shl ecx, 2
push ecx
push 0
push eax
mov dword [esi + 0x88], eax
call sub.msvcrt.dll_memset
push 0x10
mov byte [ebp - 4], 1
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
add esp, 0x14
mov dword [esi + 0x94], eax
mov ecx, dword [esi + 0x1c]
mov byte [ebp - 4], 2
call fcn.0048e470
mov ecx, dword [esi + 0x1c]
mov dword [esi + 8], eax
push eax
mov eax, dword [ecx]
call dword [eax + 4]
push eax
push 4
push 1
mov ecx, esi
call fcn.00492220
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x492010
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
xor eax, eax
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ebx
mov edx, dword [ebx + 0x80]
test edx, edx
jle 0x492044
mov esi, dword [ebx + 0x88]
mov ecx, esi
cmp dword [ecx], edi
jne 0x492114
inc eax
add ecx, 4
cmp eax, edx
jl 0x492034
xor eax, eax
mov dword [ebp - 8], eax
test eax, eax
je 0x492174
mov esi, dword [eax]
test esi, esi
jne 0x492086
mov edx, dword [ebx + 0x80]
inc edi
mov eax, edi
cmp edi, edx
jge 0x492081
mov esi, dword [ebx + 0x88]
lea ecx, [esi + edi*4]
lea ecx, [ecx]
cmp dword [ecx], 0
jne 0x49211e
inc eax
add ecx, 4
cmp eax, edx
jl 0x492070
xor esi, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
call fcn.00493750
test al, al
je 0x492167
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov ecx, eax
mov dword [ebp - 0xc], eax
call fcn.00493760
mov ebx, eax
movzx ecx, bl
xor ecx, 0x811c9dc5
mov dword [ebp - 8], ebx
movzx eax, byte [ebp - 6]
imul edx, ecx, 0x1000193
movzx ecx, bh
xor edx, ecx
imul ecx, edx, 0x1000193
xor edx, edx
xor ecx, eax
movzx eax, byte [ebp - 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 4]
div dword [ecx + 0x80]
mov eax, dword [ecx + 0x88]
lea eax, [eax + edx*4]
xor edx, edx
mov dword [ebp - 8], eax
mov eax, dword [eax]
test eax, eax
je 0x492147
lea esp, [esp]
mov ecx, dword [eax]
cmp dword [eax + 4], ebx
je 0x492128
mov edx, eax
mov eax, ecx
test eax, eax
jne 0x492100
mov ebx, dword [ebp - 4]
jmp 0x492149
mov edi, eax
mov eax, dword [esi + eax*4]
jmp 0x492046
mov esi, dword [esi + eax*4]
mov edi, eax
jmp 0x492083
test edx, edx
jne 0x49212f
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
push 0xc
mov dword [edx], ecx
push eax
dec dword [ebx + 0x84]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
jmp 0x492149
mov ebx, ecx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x492167
mov ecx, eax
call fcn.00492670
push 0x90
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov eax, esi
mov dword [ebp - 8], eax
test esi, esi
jne 0x492051
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x495530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b59b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4d5104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x20]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00484630
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx]
call dword [eax]
mov edx, dword [edi + 0x10]
lea edi, [ebx + 8]
imul ecx, dword [ebx + 0x30], 0x34
imul eax, eax, 0x34
mov edx, dword [edx + eax + 0x30]
dec dword [edx + ecx + 0xc]
add edx, ecx
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x34]
mov dword [ecx + 0x34], eax
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [edx + 0x10]
cmp edi, eax
jne 0x4955b9
cmp eax, dword [eax + 0x38]
jne 0x4955b3
xor eax, eax
jmp 0x4955b6
mov eax, dword [eax + 0x34]
mov dword [edx + 0x10], eax
cmp byte [ebx + 0x45], 0
jne 0x4955c8
mov eax, dword [ebp - 0x10]
dec dword [eax + 0x9c]
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.004848e0
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x496930
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b61b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4d5104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0x4d8870
mov eax, 1
mov esi, 0x4d8870
xchg dword [esi], eax
test eax, eax
je 0x496a30
xor eax, eax
mov ecx, 0x486f80
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
cmp eax, 4
ja case.default.0x496989
jmp dword [eax*4 + 0x496b80]
pause
sub dword [ebp - 0x20], 1
jne case.default.0x496989
mov eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
add eax, 3
mov dword [ebp - 0x18], eax
jmp case.default.0x496989
sub dword [ebp - 0x1c], 1
jne case.0x496989.4
mov dword [ebp - 0x18], 3
call ecx
jmp case.default.0x496989
mov dword [ebp - 0x18], 0
call fcn.00484a90
test eax, eax
jne 0x4969d5
mov dword [ebp - 0x18], 4
jmp case.default.0x496989
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 1
jmp case.default.0x496989
mov dword [ebp - 0x18], 0
call fcn.00484a90
test eax, eax
jne 0x496a01
mov dword [ebp - 0x18], 4
jmp 0x496a12
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x20]
call fcn.00484970
mov eax, 1
xchg dword [esi], eax
test eax, eax
je 0x496a30
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x496980
cmp dword [0x4d88a8], 0
mov dword [ebp - 4], 0
jne 0x496b64
push 0x18
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
je 0x496b21
push 0x800
push 0
push str.advapi32.dll
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
test ebx, ebx
jne 0x496a98
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x496b15
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x496b15
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegisterTraceGuidsW
push ebx
call esi
push eax
call fcn.00486b80
add esp, 4
mov dword [edi], eax
push str.UnregisterTraceGuids
push ebx
call esi
push eax
call fcn.00486b80
add esp, 4
mov dword [edi + 4], eax
push str.TraceEvent
push ebx
call esi
push eax
call fcn.00486b80
add esp, 4
mov dword [edi + 8], eax
push str.GetTraceLoggerHandle
push ebx
call esi
push eax
call fcn.00486b80
add esp, 4
mov dword [edi + 0xc], eax
push str.GetTraceEnableLevel
push ebx
call esi
push eax
call fcn.00486b80
add esp, 4
mov dword [edi + 0x10], eax
push str.GetTraceEnableFlags
push ebx
call esi
push eax
call fcn.00486b80
add esp, 4
mov dword [edi + 0x14], eax
mov byte [ebp - 4], 0
mov dword [0x4d88a8], edi
jmp 0x496b2d
mov dword [0x4d88a8], 0
xor edi, edi
mov esi, dword [edi]
push 0
call fcn.00486b80
add esp, 4
cmp esi, eax
je 0x496b64
push esi
call fcn.00486b80
add esp, 4
push 0x4d8890
push 0
push 0
push 0x4d5174
push 7
push 0x4bd63c
push 0
push 0x496790
call eax
mov dword [0x4d8870], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret