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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x100c5cd4]
push esi
cmp eax, 0xffffffff
je 0x10035347
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x10035339
push 0x20
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x10035328
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
push esi
push dword [0x100c5cd4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x10035347
mov eax, dword [esi]
and eax, 1
or eax, 0
jne 0x100353ed
push 0x100c5cac
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [0x100c5cc4], 1
jne 0x100353cd
push 1
push 1
call sym.dopuslib32.dll_Ordinal_26
add esp, 8
cmp dword [0x100c7330], 0
jne 0x100353cd
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x100c7600], eax
cmp eax, 0xffffffff
je 0x100353cd
xor eax, eax
mov byte [eax + 0x100c7500], al
mov byte [eax + 0x100c7400], al
inc eax
cmp eax, 0x100
jb 0x10035382
mov ecx, 0x61
jmp 0x100353a0
lea eax, [ecx - 0x20]
mov byte [ecx + 0x100c7400], al
inc ecx
cmp ecx, 0x7a
jle 0x100353a0
mov ecx, 0x41
lea eax, [ecx + 0x20]
mov byte [ecx + 0x100c7500], al
inc ecx
cmp ecx, 0x5a
jle 0x100353b4
mov dword [0x100c7330], 1
push 0x100c5cac
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 1
push 0
push 1
call sym.dopuslib32.dll_Ordinal_24
add esp, 0x10
call fcn.1005ae20
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10035400
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x100c5cd4]
push esi
cmp eax, 0xffffffff
je 0x10035453
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x10035449
push 0x20
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x10035438
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
push esi
push dword [0x100c5cd4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x10035453
mov eax, dword [esi]
and eax, 2
or eax, 0
jne 0x100354c2
push 0x100c5cac
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [0x100c5cc4], 2
jne 0x100354a2
push 2
push 2
call sym.dopuslib32.dll_Ordinal_26
mov esi, dword [0x100c5ca8]
add esp, 8
cmp dword [0x100c732c], 0
jne 0x100354a2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x100c7608], eax
cmp eax, 0xffffffff
je 0x100354a2
mov dword [0x100c7328], esi
mov dword [0x100c732c], 1
push 0x100c5cac
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 2
push 0
push 2
call sym.dopuslib32.dll_Ordinal_24
add esp, 0x10
call fcn.10044a20
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100355a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.100611d0
Function at 0x10035c70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10035cdc
test eax, 0x1010
jne 0x10035cdc
push edi
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10035cd6
xor edx, edx
mov ecx, edi
call fcn.1004ce20
or eax, edx
je 0x10035cc7
push edi
mov esi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
ret
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10037320
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x28], 0
je 0x100373c8
cmp dword [esi + 0x38], 0
je 0x100373c8
test dword [esi + 4], 0x40000000
je 0x10037365
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
push 0
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esi + 0x94]
test eax, eax
je 0x10037378
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WaitForThreadpoolWorkCallbacks]
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100373d3
cmp byte [esi + 0x5c], 0
je 0x100373a9
mov ecx, dword [esi + 0x58]
xor eax, eax
add ecx, dword [esi + 0x50]
adc eax, dword [esi + 0x54]
cmp dword [edi + 4], eax
jb 0x100373a9
ja 0x100373a5
cmp dword [edi], ecx
jbe 0x100373a9
mov byte [esi + 0x5c], 0
push dword [edi + 4]
mov ecx, esi
push dword [edi]
call fcn.100372a0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
pop edi
pop esi
pop ebp
ret 8
push 0x649
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x10037970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [eax], 0
push edi
mov edi, dword [ebp + 0x10]
mov ecx, dword [esi + 0x20]
mov eax, ecx
mov edx, dword [esi + 0x24]
and eax, edx
cmp eax, 0xffffffff
mov eax, dword [ebp + 8]
je 0x100379a2
cmp ebx, ecx
jne 0x100379a2
cmp edi, edx
je 0x100379bc
push 0
push 0
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x100379e1
mov eax, dword [ebp + 8]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
mov ebx, dword [ebp + 0x1c]
push 0
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100379eb
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0xffffffff
xor al, al
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [ebx]
add dword [esi + 0x20], eax
mov al, 1
pop edi
adc dword [esi + 0x24], 0
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
Function at 0x10037a00
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x10]
mov ecx, dword [esi + 0x20]
mov eax, ecx
mov edx, dword [esi + 0x24]
and eax, edx
cmp eax, 0xffffffff
mov eax, dword [ebp + 8]
je 0x10037a2b
cmp ebx, ecx
jne 0x10037a2b
cmp edi, edx
je 0x10037a49
push 0
push 0
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x10037ac0
mov eax, dword [ebp + 8]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
mov ebx, dword [ebp + 0x18]
lea ecx, [ebp + 0x10]
push 0
push ecx
push ebx
push dword [ebp + 0x14]
mov dword [ebp + 0x10], 0
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
test eax, eax
je 0x10037a7c
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x10037acb
push 0x1722
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [esi + 0x20], 0xffffffff
lea eax, [ebp - 8]
mov dword [esi + 0x24], 0xffffffff
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10037abd
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
push ebx
call edi
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
add eax, dword [esi + 0x20]
mov ecx, 0
mov dword [esi + 0x20], eax
adc ecx, dword [esi + 0x24]
mov dword [esi + 0x24], ecx
cmp dword [esi + 0x14], ecx
ja 0x10037aee
jb 0x10037ae8
cmp dword [esi + 0x10], eax
jae 0x10037aee
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10037f60
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a19a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
push 0xc0
mov ebx, ecx
mov byte [ebp - 0x11], 0
call fcn.10079cc9
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x11]
push ecx
push 1
push ecx
push ebx
push ecx
mov ecx, eax
call fcn.10036c80
mov esi, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x28], 0
je 0x10037fd3
cmp dword [esi + 0x38], 0
je 0x10037fd3
movzx edi, byte [ebp - 0x11]
neg edi
sbb edi, edi
and edi, 0x20000000
sub edi, 0xffffff80
jmp 0x10037ff4
add dword [esi], 0xffffffff
jne 0x10037fed
mov ecx, esi
call fcn.100370a0
push 0xc0
push esi
call fcn.10079cf9
add esp, 8
xor esi, esi
mov edi, 0x80
push 0
push edi
push 3
push 0
push 1
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1003804f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test esi, esi
je 0x10038035
add dword [esi], ebx
jne 0x10038035
mov ecx, esi
call fcn.100370a0
push 0xc0
push esi
call fcn.10079cf9
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10038097
cmp dword [esi + 0x28], 0
je 0x100380c8
cmp dword [esi + 0x38], 0
je 0x100380c8
test dword [esi + 4], 0x40000000
je 0x10038097
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push ebx
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100380d3
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
push 8
call fcn.10079cc9
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x649
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
add dword [esi], 0xffffffff
mov dword [ebp - 0x18], eax
jne 0x100380f6
mov ecx, esi
call fcn.100370a0
push 0xc0
push esi
call fcn.10079cf9
add esp, 8
xor esi, esi
test edi, 0x20000000
je 0x10038097
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10039220
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x10], edi
mov edx, dword [edi]
mov eax, dword [esi + 0x100af820]
mov dword [esi + edx], eax
mov ecx, dword [edi]
mov eax, dword [esi + 0x100af824]
mov dword [esi + ecx + 4], eax
mov ecx, dword [edi]
mov eax, dword [esi + 0x100af828]
mov dword [esi + ecx + 8], eax
mov ecx, dword [edi]
mov eax, dword [esi + 0x100af82c]
mov dword [esi + ecx + 0xc], eax
mov ecx, dword [edi]
mov eax, dword [esi + 0x100af830]
mov dword [esi + ecx + 0x10], eax
mov ecx, dword [edi]
mov eax, dword [esi + 0x100af834]
mov dword [esi + ecx + 0x14], eax
add esi, 0x18
cmp esi, 0x48
jl 0x10039230
xor eax, eax
mov esi, 0x40
jmp 0x10039290
mov edx, dword [edi + 4]
mov ecx, dword [eax + 0x100ae820]
mov dword [eax + edx], ecx
mov edx, dword [edi + 4]
mov ecx, dword [eax + 0x100ae824]
mov dword [eax + edx + 4], ecx
mov edx, dword [edi + 4]
mov ecx, dword [eax + 0x100ae828]
mov dword [eax + edx + 8], ecx
mov edx, dword [edi + 4]
mov ecx, dword [eax + 0x100ae82c]
mov dword [eax + edx + 0xc], ecx
add eax, 0x10
sub esi, 1
jne 0x10039290
cmp eax, 0x1000
jl 0x10039281
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea esp, [esp]
lea eax, [ebx + 1]
mov esi, dword [edi]
cdq
add esi, ecx
idiv dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
movzx ecx, byte [edx + eax]
movzx eax, byte [ebx + eax]
shl eax, 8
or ecx, eax
lea eax, [ebx + 2]
cdq
idiv dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + edi]
or ecx, eax
lea eax, [ebx + 3]
cdq
idiv dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [edx + edi]
or ecx, eax
mov edi, dword [ebp - 0x10]
lea eax, [ebx + 4]
xor dword [esi], ecx
cdq
idiv dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov ebx, edx
mov dword [ebp - 0xc], ecx
cmp ecx, 0x48
jl 0x100392e0
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 8], 0
lea ebx, [ebx]
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.100389a0
mov ecx, dword [edi]
mov eax, dword [ebp - 4]
mov dword [esi + ecx], eax
mov ecx, dword [edi]
mov eax, dword [ebp - 8]
mov dword [esi + ecx + 4], eax
add esi, 8
cmp esi, 0x48
jl 0x10039350
xor esi, esi
lea ebx, [ebx]
mov ebx, 0x80
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.100389a0
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 4]
mov dword [esi + ecx], eax
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 8]
mov dword [ecx + esi + 4], eax
add esi, 8
sub ebx, 1
jne 0x10039385
cmp esi, 0x1000
jl 0x10039380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1003a490
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x58], 0
ret
Function at 0x1003bd20
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx + 0x90], 0x6a09e667
mov dword [ecx + 0x94], 0xbb67ae85
mov dword [ecx + 0x98], 0x3c6ef372
mov dword [ecx + 0x9c], 0xa54ff53a
mov dword [ecx + 0xa0], 0x510e527f
mov dword [ecx + 0xa4], 0x9b05688c
mov dword [ecx + 0xa8], 0x1f83d9ab
mov dword [ecx + 0xac], 0x5be0cd19
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
ret
Function at 0x1003c660
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx + 0x110], 0xf3bcc908
mov dword [ecx + 0x114], 0x6a09e667
mov dword [ecx + 0x118], 0x84caa73b
mov dword [ecx + 0x11c], 0xbb67ae85
mov dword [ecx + 0x120], 0xfe94f82b
mov dword [ecx + 0x124], 0x3c6ef372
mov dword [ecx + 0x128], 0x5f1d36f1
mov dword [ecx + 0x12c], 0xa54ff53a
mov dword [ecx + 0x130], 0xade682d1
mov dword [ecx + 0x134], 0x510e527f
mov dword [ecx + 0x138], 0x2b3e6c1f
mov dword [ecx + 0x13c], 0x9b05688c
mov dword [ecx + 0x140], 0xfb41bd6b
mov dword [ecx + 0x144], 0x1f83d9ab
mov dword [ecx + 0x148], 0x137e2179
mov dword [ecx + 0x14c], 0x5be0cd19
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x400
mov ecx, 0x100
xor edx, edx
not eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, 0x100b6718
lea edi, [ebp - 0x400]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1003cd68
nop
movzx ecx, byte [ebx + edx]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ebp + ecx*4 - 0x400]
cmp edx, esi
jb 0x1003cd50
pop edi
pop esi
not eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1003cdf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x400
mov ecx, 0x100
not eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, 0x100b6318
lea edi, [ebp - 0x400]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x10]
xor esi, esi
test edi, edi
je 0x1003ce3a
nop
movzx edx, byte [ebx + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [ebp + edx*4 - 0x400]
cmp esi, edi
jb 0x1003ce20
pop edi
pop esi
not eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1003d870
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov ebx, ecx
mov esi, 0x100c4608
push edi
push 0x40
mov ecx, 8
mov edi, ebx
lea eax, [ebx + 0x28]
rep movsd dword es:[edi], dword [esi]
push 0
push eax
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
call fcn.1007cff0
add esp, 0xc
mov word [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
lea edi, [ebx + 0x70]
mov ecx, 8
mov esi, 0x100c4608
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov byte [ebx + 0x750], 0
mov dword [ebx + 0x754], 0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003dd00
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x10040aa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a1c40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x100c731c
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esi + 0x34], 0x100c731c
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x48], 0
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov eax, dword [esi + 0x34]
cmp dword [eax + 4], 0x18
ja 0x10040b54
mov dword [eax], 0
mov byte [eax + 8], 0
jmp 0x10040b6b
mov dword [esi + 0x34], 0x100c731c
cmp eax, 0x100c731c
je 0x10040b6b
push eax
call fcn.10079d07
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10041b30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a1cee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push esi
push edi
mov dword [ebx + 8], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x20], 0x100c731c
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 5
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x2c]
mov dword [ebx], vtable.TiXmlDeclaration.0
mov dword [ecx], 0x100c731c
mov dword [ebx + 0x30], 0x100c731c
mov dword [ebx + 0x34], 0x100c731c
push 3
push 0x100b18ec
mov byte [ebp - 4], 3
call fcn.1003f650
push 0
push 0x100ab570
lea ecx, [ebx + 0x30]
call fcn.1003f650
push 0
push 0x100ab570
lea ecx, [ebx + 0x34]
call fcn.1003f650
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10044a20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x10044a18
push 0x82ac
push 0
push esi
call fcn.1007cff0
push 0x100d0
lea eax, [esi + 0x82b0]
push 0
push eax
call fcn.1007cff0
push 0x78d4
lea eax, [esi + 0x18384]
push 0
push eax
call fcn.1007cff0
add esp, 0x24
mov dword [esi + 0x18380], 0xffffffff
mov dword [esi + 0x82ac], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
cmp dword [0x100c732c], 0
je 0x10044aca
push esi
push dword [0x100c7608]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x10044a79
push 0x1fc58
call fcn.1008680d
mov esi, eax
add esp, 4
test esi, esi
je 0x10044a75
push esi
push dword [0x100c7608]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x10044a6c
mov ecx, esi
pop esi
jmp 0x100449c0
push esi
call fcn.10086818
add esp, 4
xor eax, eax
pop esi
ret
push 0x82ac
push 0
push esi
call fcn.1007cff0
push 0x100d0
lea eax, [esi + 0x82b0]
push 0
push eax
call fcn.1007cff0
push 0x78d4
lea eax, [esi + 0x18384]
push 0
push eax
call fcn.1007cff0
add esp, 0x24
mov dword [esi + 0x18380], 0xffffffff
mov dword [esi + 0x82ac], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
ret
Function at 0x10044ad0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100a1e60
push eax
mov dword fs:[0], esp
cmp dword [0x100c732c], 0
push ebx
push esi
push edi
je 0x10044c72
push dword [0x100c7608]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x10044c72
push 0x1fc58
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10044c5c
cmp dword [edi + 0x18358], eax
je 0x10044b7c
mov eax, dword [edi + 0x1835c]
test eax, eax
je 0x10044b49
mov esi, dword [eax - 4]
sub eax, 8
push eax
call fcn.10086818
add esp, 4
mov eax, esi
test esi, esi
jne 0x10044b34
mov eax, dword [edi + 0x18358]
test eax, eax
je 0x10044b68
mov esi, dword [eax - 4]
sub eax, 8
push eax
call fcn.10086818
add esp, 4
mov eax, esi
test esi, esi
jne 0x10044b53
mov dword [edi + 0x18358], 0
mov dword [edi + 0x1835c], 0
mov ecx, edi
call fcn.100471a0
mov ebx, dword [edi + 0x82a4]
test ebx, ebx
je 0x10044be9
lea esi, [ebx + 0x24]
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.10062170
push 0x2c
push dword [esi]
call fcn.10079cf9
add esp, 8
lea esi, [ebx + 0x1c]
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.10061e80
push 0x34
push dword [esi]
call fcn.10079cf9
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 4]
call fcn.10004df0
push 0x2c
push ebx
call fcn.10079cf9
add esp, 8
mov dword [edi + 0x82a4], 0
mov eax, dword [edi + 0x1f564]
test eax, eax
je 0x10044c06
push eax
call fcn.10086818
add esp, 4
mov dword [edi + 0x1f564], 0
mov eax, dword [edi + 0x1fbec]
test eax, eax
je 0x10044c45
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10044c2d
push eax
call fcn.10086818
mov eax, dword [edi + 0x1fbec]
add esp, 4
mov dword [eax + 0xc], 0
push dword [edi + 0x1fbec]
call fcn.10086818
add esp, 4
mov dword [edi + 0x1fbec], 0
push 0
push dword [0x100c7608]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edi
call fcn.10086818
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret