joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x42c07b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x42c092
lea eax, [ebx + 1]
cmp eax, 2
jb 0x42c074
mov dword [esi], ebx
call fcn.0044c920
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x42c0a9
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.0044c920
push dword [esi]
call fcn.0044a480
add esp, 4
mov dword [esi], 0
jmp 0x42c065
int3

Function at 0x42c0e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x4ef418]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x20b
push str....._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.0044c8f0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.00434d90
cmp byte [edi + 0xb], 0
jns 0x42c13c
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.00434e00
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.0045bb2d
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x431240
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x4f8018]
test ebx, ebx
jne 0x4312c4
push 0x28
call fcn.00459b0c
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov byte [eax + 8], 0
push 0xc
call fcn.00459b0c
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x4312ce
mov dword [eax + 8], edi
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [esi + 0x10], ecx
mov eax, esi
add eax, 0x1c
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], 1
mov dword [0x4f8018], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4312d5
mov edi, eax
push eax
call fcn.0047e4dc
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.004312f0
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
jmp 0x4312da
push str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
push 0x4d745c
call fcn.00492230
int3
Function at 0x4312f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x4ef418]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea esi, [ebp - 0x20]
push 3
push ecx
push eax
push esi
call fcn.0042bc70
add esp, 0x10
mov eax, dword [esi + 4]
test eax, eax
je 0x431448
mov esi, dword [ebp - 0x20]
mov dword [ebx], esi
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x800
mov dword [ebp - 0x24], 0
push eax
push 0x4ddedc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x43147a
push 0x4ddf2c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x431379
mov ecx, eax
call dword [0x4e925c]
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov edi, 0
mov dword [ebp - 0x28], 0
test esi, esi
je 0x4313eb
mov dword [ebp - 0x30], ebx
cmp esi, 0x15555556
jae 0x431472
shl esi, 2
lea edi, [esi + esi*2]
push edi
call fcn.00459b0c
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, eax
add ecx, edi
mov dword [ebp - 0x18], ecx
xor ebx, ebx
mov dword [ebp - 0x28], eax
mov edi, eax
test edi, edi
je 0x431463
mov ecx, edi
mov eax, dword [ebp - 0x24]
push dword [eax + ebx]
call fcn.0048fb00
add edi, 0xc
add ebx, 4
cmp esi, ebx
jne 0x4313c6
mov dword [ebp - 0x1c], edi
mov ebx, dword [ebp - 0x30]
mov ecx, ebx
lea eax, [ebp - 0x20]
push eax
call fcn.004310e0
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x431414
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x431448
cmp edi, esi
je 0x43143f
add edi, 0xfffffff4
test edi, edi
je 0x43145c
cmp byte [edi + 0xb], 0
jns 0x431436
push dword [edi]
call fcn.00459b3c
add esp, 4
lea eax, [edi - 0xc]
cmp edi, esi
mov edi, eax
jne 0x431422
push esi
call fcn.00459b3c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bb2d
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
jmp 0x431468
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x4d745c
call fcn.00492230
lea ecx, [ebp - 0x20]
call fcn.004919b0
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x431376
Function at 0x431c00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov eax, dword [0x4ef418]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, byte [0x4f8020]
cmp eax, 3
je 0x431d01
mov esi, edx
xor edi, edi
xor ebx, ebx
dec ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea eax, [edi*8 + 0x4ddec0]
push eax
mov ebx, ecx
call fcn.00423f40
movzx eax, byte [ebp - 0x11]
test al, al
mov edx, eax
cmovs edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
cmovs ebx, ecx
test edx, edx
js 0x431d0c
mov dword [ebp - 0x30], edi
je 0x431c72
test ebx, ebx
je 0x431d13
mov dword [ebp - 0x2c], ecx
cmp esi, edx
mov edi, edx
cmovb edi, esi
cmp dword [ebp - 0x28], 0
jne 0x431c8a
test edi, edi
jne 0x431d13
cmp edx, esi
seta cl
test cl, 1
jne 0x431d05
test edi, edi
je 0x431d05
xor esi, esi
mov ecx, dword [ebp - 0x28]
movzx ecx, word [ecx + esi*2]
cmp cx, word [ebx + esi*2]
jne 0x431cdc
inc esi
cmp edi, esi
jne 0x431c9a
mov cl, 1
mov dword [ebp - 0x20], ecx
mov edi, edx
test al, al
mov esi, dword [ebp - 0x34]
mov ebx, 0xffffffff
lea ecx, [ebp - 0x1c]
js 0x431d22
cmp byte [ebp - 0x20], 0
je 0x431ce8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bb2d
mov eax, edi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], 0
mov edi, dword [ebp - 0x24]
jmp 0x431cb3
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x30]
inc edi
movzx eax, byte [0x4f8020]
xor eax, 3
cmp edi, eax
jb 0x431c33
xor edi, edi
jmp 0x431cc8
test cl, 1
jne 0x431cdc
jmp 0x431cac
push str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
jmp 0x431d18
push str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
push 0x4d745c
call fcn.00492230
push dword [ebp - 0x2c]
call fcn.00459b3c
lea ecx, [ebp - 0x1c]
add esp, 4
jmp 0x431cc2

Function at 0x433600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x4ef418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x433673
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x43365d
cmp dword [ebp - 0x18], 4
jne 0x43365d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bb2d
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x43365d
Function at 0x433680
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.00460860
mov esi, ecx
mov eax, dword [0x4ef418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0xff
push ebx
call fcn.00463600
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], edi
push ecx
push ebx
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43370f
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x433713
mov ecx, esi
push ebx
call fcn.0042a140
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bb2d
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov edi, eax
jmp 0x4336f6
mov edi, 0x3f4
cmp eax, 2
jne 0x4336f6
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.00463600
add esp, 0xc
push 0x400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x4336f6
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
jmp 0x4336ef
Function at 0x434690
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov edx, dword [ebp + 0xc]
movzx ebx, byte [edx + 0xb]
test bl, bl
jns 0x4346a9
mov ebx, dword [edx + 4]
mov edx, dword [edx]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, 4
mov dword [ebp - 0x24], ebx
jb 0x4346e5
mov esi, ebx
mov edx, dword [ebp - 0x10]
mov eax, ebx
imul edi, dword [edx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add edx, 4
add esi, 0xfffffffc
cmp esi, 3
ja 0x4346bf
test esi, esi
jne 0x4347c7
mov esi, dword [ecx + 4]
xor ebx, ebx
test esi, esi
je 0x4347b8
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov edx, esi
shr edx, 1
and edx, 0x55555555
mov eax, esi
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x20], eax
cmp eax, 1
jbe 0x434832
mov edx, edi
cmp edi, esi
jb 0x43475c
mov eax, edi
xor edx, edx
div esi
mov eax, dword [ecx]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x43482e
mov ebx, dword [eax]
test ebx, ebx
je 0x43482e
lea eax, [esi - 1]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x10]
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x434808
movzx eax, byte [ebx + 0x13]
test al, al
mov ecx, dword [ebx + 0xc]
mov edx, eax
cmovs edx, ecx
cmp edx, dword [ebp - 0x24]
jne 0x434824
test al, al
js 0x4347f3
test eax, eax
je 0x4347b8
xor ecx, ecx
mov dl, byte [ebx + ecx + 8]
cmp dl, byte [esi + ecx]
jne 0x434824
inc ecx
cmp eax, ecx
jne 0x4347aa
mov eax, dword [ebp + 8]
mov dword [eax], ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
cmp esi, 1
je 0x4347e3
cmp esi, 2
je 0x4347da
movzx esi, byte [edx + 2]
shl esi, 0x10
xor eax, esi
movzx esi, byte [edx + 1]
shl esi, 8
xor eax, esi
movzx edx, byte [edx]
xor edx, eax
imul eax, edx, 0x5bd1e995
jmp 0x4346ed
push ecx
push dword [ebp - 0x10]
push dword [ebx + 8]
call fcn.004619fd
add esp, 0xc
test eax, eax
je 0x4347b8
jmp 0x434824
cmp dword [ebp - 0x20], 1
jbe 0x43481c
cmp eax, dword [ebp - 0x14]
jb 0x43481f
xor edx, edx
div dword [ebp - 0x14]
mov eax, edx
jmp 0x43481f
and eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jne 0x43482e
mov ebx, dword [ebx]
test ebx, ebx
jne 0x434782
xor ebx, ebx
jmp 0x4347b8
lea edx, [esi - 1]
and edx, edi
jmp 0x43475c
Function at 0x4372f0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00455d40
Function at 0x43deb0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
call fcn.0044ce80
mov ecx, eax
push str.enable_low_end_device_mode
call fcn.0044ce90
test al, al
jne 0x43ded7
cmp byte [0x5047f8], 0
jne 0x43def2
pop ebp
jmp fcn.0043ec60
call fcn.0043ec60
mov ecx, 0x20000000
cmp eax, 0x20000000
cmovae eax, ecx
test edx, edx
cmovne eax, ecx
xor edx, edx
jmp 0x43df04
mov eax, dword [0x5047f0]
mov edx, dword [0x5047f4]
shld edx, eax, 0x14
shl eax, 0x14
pop ebp
ret

Function at 0x43ec60
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov eax, dword [0x4ef418]
xor eax, ebp
mov dword [esp + 0x4c], eax
pcmpeqd xmm0, xmm0
mov eax, esp
movdqa xmmword [eax], xmm0
movdqa xmmword [eax + 0x30], xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
mov dword [eax], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x43ecbe
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
xor ecx, ebp
call fcn.0045bb2d
mov eax, esi
mov edx, edi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
call fcn.004b7db0
xor esi, esi
xor edi, edi
jmp 0x43eca8

Function at 0x43ef60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov ebx, ecx
mov eax, dword [0x4ef418]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
push edx
push ecx
push esi
call fcn.0042eec0
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x43ef8e
mov esi, dword [ebp - 0x1c]
xor eax, eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x43efac
push dword [ebp - 0x1c]
call fcn.00459b3c
add esp, 4
cmp dword [ebp + 8], 0
je 0x43efb6
test esi, esi
jne 0x43efcf
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bb2d
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + esi]
xor ecx, ecx
dec ecx
test esi, esi
cmovns ecx, eax
push ecx
call fcn.00459b73
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push edi
push ebx
mov edi, eax
push eax
call fcn.0042eec0
add esp, 0xc
mov eax, edi
cmp byte [edi + 0xb], 0
jns 0x43f001
mov eax, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x43f01d
push dword [ebp - 0x1c]
call fcn.00459b3c
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x43f072
mov edi, dword [ebp - 0x20]
push edi
call fcn.0047e4dc
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.0044c130
add esp, 0xc
mov eax, dword [ebp + 8]
cmp byte [eax + 0xb], 0
jns 0x43f050
push dword [eax]
call fcn.00459b3c
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ecx], xmm0
push dword [ebp - 0x20]
call fcn.00459b7c
add esp, 4
jmp 0x43efb6
push str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
push 0x4d745c
call fcn.00492230
int3
Function at 0x43f0f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4ef418]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
jne 0x43f145
lea eax, [ebp - 0x14]
mov dword [eax], 0x43f220
push 0
push eax
push 0x43f0d0
push 0x5048c0
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x43f159
cmp dword [0x5048c4], 0
jne 0x43f145
push dword [0x5048c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x43f15e
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bb2d
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call fcn.004761ae
mov esi, eax
mov eax, 0x5048cc
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x5048d0]
mov ebx, dword [0x5048d4]
mov eax, dword [0x5048d8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x5048dc]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x5048e0]
mov dword [ebp - 0x20], eax
mov eax, 0x5048cc
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x43f1b5
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
mov ecx, edi
call dword [0x4e925c]
push dword [ebp - 0x24]
call edi
add esp, 4
test ebx, ebx
je 0x43f1ca
mov edi, dword [esi + 4]
mov ecx, ebx
call dword [0x4e925c]
push edi
call ebx
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x43f1e2
mov edi, dword [esi + 8]
mov ecx, dword [ebp - 0x18]
call dword [0x4e925c]
push edi
call ecx
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x43f1fa
mov edi, dword [esi + 0xc]
mov ecx, dword [ebp - 0x1c]
call dword [0x4e925c]
push edi
call ecx
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x43f212
mov edi, dword [esi + 0x10]
mov ecx, dword [ebp - 0x20]
call dword [0x4e925c]
push edi
call ecx
add esp, 4
push esi
call fcn.0044ddb0
add esp, 4
jmp 0x43f145

Function at 0x4404b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x4404c7
test eax, eax
je 0x4404c7
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x4404d5
mov ecx, dword [0x504908]
test ecx, ecx
jne 0x44051a
cmp dword [0x504900], 0
je 0x4404c1
mov esi, dword [0x504904]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x440511
test esi, esi
je 0x4404c1
mov ecx, dword [0x504900]
call dword [0x4e925c]
push esi
call ecx
add esp, 4
jmp 0x4404c1
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4404f9
call dword [0x4e925c]
call ecx
jmp 0x4404d5
Function at 0x443f90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov dword [ebp - 0x10], ecx
mov eax, dword [0x4f2608]
cmp eax, 0xffffffff
je 0x4440a4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x4440a4
mov eax, dword [0x506dc4]
mov ecx, dword [0x4f269c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4440d3
mov edi, dword [0x506dc0]
mov ebx, edi
shr ebx, 0xe
mov esi, edi
shr esi, 0x13
mov eax, dword [esi*4 + 0x4fa03c]
bt eax, ebx
jb 0x4440ae
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x50203c], 1
test edi, edi
je 0x444118
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4440c7
mov dword [ebp - 0x14], ebx
mov ecx, dword [0x505db8]
inc ecx
xor eax, eax
mov ebx, eax
add eax, ecx
movzx edx, al
mov eax, edx
shl eax, 4
cmp dword [eax + 0x505dbc], 0
jne 0x44411e
lea eax, [eax + 0x505dbc]
mov dword [eax], 1
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [0x506dbc]
inc ecx
mov dword [0x506dbc], ecx
mov dword [eax + 0xc], ecx
mov dword [0x505db8], edx
mov ecx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [eax + 8]
mov dword [ecx + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi*4 + 0x4fa03c]
mov ecx, dword [ebp - 0x14]
bt eax, ecx
jb 0x4440bc
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x100
jae 0x44411b
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00444140
jmp 0x443fb9
push edi
call fcn.0044d400
add esp, 4
jmp 0x444006
push edi
call fcn.0044d880
add esp, 4
jmp 0x44408b
mov ecx, edi
call fcn.0044a8e0
jmp 0x44401d
push 0x506dc4
call fcn.00459bb7
add esp, 4
cmp dword [0x506dc4], 0xffffffff
jne 0x443fda
push 4
call fcn.00459b0c
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.0044a8c0
mov dword [0x506dc0], edi
push 0x506dc4
call fcn.00459c2d
add esp, 4
jmp 0x443fda
int3
int3
mov eax, ebx
inc eax
cmp eax, 0x100
jne 0x444029
jmp 0x444075
Function at 0x444140
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x808
mov eax, dword [0x4ef418]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x4f2608]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
je 0x4441ed
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x444236
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0
push ebx
call fcn.00463600
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.00446030
add esp, 8
push edi
call fcn.00459b73
add esp, 4
mov esi, eax
push edi
push ebx
push eax
call fcn.00463080
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.00446030
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bb2d
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x814]
push esi
call fcn.00446010
add esp, 4
test al, al
je 0x444239
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
je 0x44423c
xor eax, eax
dec eax
lock cmpxchg dword [0x4f2608], ecx
je 0x444171
push ecx
call fcn.004cd2a0
add esp, 4
mov ecx, dword [0x4f2608]
mov dword [ebp - 0x814], ecx
jmp 0x444171
int3
int3
push esi
call fcn.00446010
add esp, 4
test al, al
je 0x444264
cmp dword [ebp - 0x814], 0xffffffff
je 0x444264
push 0xffffffffffffffff
call fcn.004cd2a0
add esp, 4
mov ecx, dword [ebp - 0x814]
jmp 0x44420b
int3

Function at 0x4474b0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, edx
cmp edx, 4
jb 0x4474e8
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4474c2
test edx, edx
jne 0x447506
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 8
cmp edx, 1
je 0x447522
cmp edx, 2
je 0x447519
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
jmp 0x4474ec
Function at 0x44aa70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x44aaa5
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x44aaac
lea eax, [ebx + 1]
cmp eax, 2
jb 0x44aa9e
mov dword [esi], ebx
call fcn.0044c920
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.0044c920
push dword [esi]
call fcn.0044a480
add esp, 4
mov dword [esi], 0
jmp 0x44aa8f