joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc1d6c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd4d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
mov dword [esp + 0x14], esi
call eax
mov eax, dword [eax + 4]
test eax, eax
je 0xc1d721
mov eax, dword [eax + 0x10]
test eax, eax
je 0xc1d721
mov eax, dword [eax + 4]
jmp 0xc1d723
xor eax, eax
mov dword [esp + 0x1c], 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00c147a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc1d772
push esi
lea ecx, [esp + 0xf]
call fcn.00c15ae0
test eax, eax
je 0xc1d772
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.00c146c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x2c
ret 0x10

Function at 0xc1fc50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd4d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [eax + 0xc]
add ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], esi
call eax
mov dword [esp + 0x1c], 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00c147a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc1fceb
push esi
lea ecx, [esp + 0xf]
call fcn.00c15ae0
test eax, eax
je 0xc1fceb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.00c146c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x2c
ret 0x10
Function at 0xc1fd30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd4d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
cmp dword [ecx + 8], 8
mov dword [esp + 0x10], esi
je 0xc1fd7f
xor ecx, ecx
jmp 0xc1fd81
mov ecx, dword [ecx]
push ecx
mov ecx, dword [eax + 0xc]
add ecx, dword [eax + 4]
mov eax, dword [eax + 8]
call eax
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00c147a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc1fddc
push esi
lea ecx, [esp + 0xf]
call fcn.00c15ae0
test eax, eax
je 0xc1fddc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.00c146c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x2c
ret 0x10

Function at 0xc213b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd4d61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov edx, dword [eax + 8]
mov ecx, dword [ecx + edx]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], esi
call eax
mov dword [esp + 0x1c], 1
mov byte [esp + 0x14], al
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00c147a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0xc2144f
push esi
lea ecx, [esp + 0xf]
call fcn.00c15ae0
test eax, eax
je 0xc2144f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.00c146c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x2c
ret 0x10
Function at 0xc21eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd488b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x38]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x40]
call fcn.00c24290
mov dword [esp + 0x34], 0
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi + 8]
call fcn.00c21c60
add esp, 0xc
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x1c], 0x10
jb 0xc21f2b
mov eax, dword [esp + 8]
push eax
call fcn.00cd8a36
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x2c
ret

Function at 0xc21f50
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0xd4eadb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [0xdbb258]
cmp eax, 0xffffffff
je 0xc21f8f
mov ecx, dword [0xdbb258]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0xc21fc6
push 0x2c
call fcn.00cd8a50
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0xc21fb1
push eax
call fcn.00c21a90
jmp 0xc21fb3
xor eax, eax
push eax
mov dword [esp + 0x18], 0xffffffff
mov esi, eax
call fcn.00c225d0
add esp, 4
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x18]
call fcn.00c22560
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8

Function at 0xc21ff0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0xd4eadb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [0xdbb258]
cmp eax, 0xffffffff
je 0xc2202f
mov ecx, dword [0xdbb258]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0xc2205e
push 0x2c
call fcn.00cd8a50
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0xc22051
push eax
call fcn.00c21a90
jmp 0xc22053
xor eax, eax
push eax
mov esi, eax
call fcn.00c225d0
add esp, 4
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x18], eax
je 0xc2206c
add eax, 0xfffffffc
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0xc22080
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0xd4eadb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [0xdbb258]
cmp eax, 0xffffffff
je 0xc220bf
mov ecx, dword [0xdbb258]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0xc220f6
push 0x2c
call fcn.00cd8a50
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0xc220e1
push eax
call fcn.00c21a90
jmp 0xc220e3
xor eax, eax
push eax
mov dword [esp + 0x18], 0xffffffff
mov esi, eax
call fcn.00c225d0
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
mov eax, esi
call fcn.00c1acd0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0xc22120
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0xd407db
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0xdbb258]
cmp eax, 0xffffffff
je 0xc22163
mov ecx, dword [0xdbb258]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0xc2219a
push 0x2c
call fcn.00cd8a50
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0
test eax, eax
je 0xc22185
push eax
call fcn.00c21a90
jmp 0xc22187
xor eax, eax
push eax
mov dword [esp + 0x24], 0xffffffff
mov edi, eax
call fcn.00c225d0
add esp, 4
lea esi, [edi + 8]
lea ebx, [esp + 0x28]
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00be1fa0
mov eax, dword [eax]
cmp eax, dword [edi + 0xc]
jne 0xc221ea
push 8
call fcn.00cd8a50
add esp, 4
test eax, eax
je 0xc221db
mov edx, ebx
mov dword [eax + 4], 0
mov dword [eax], vtable.ggadget::Signal4_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____enum_ggadget::LogLevel__char_const___int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__.0
mov edi, eax
call fcn.00ba8150
mov dword [eax], edi
jmp 0xc221ed
lea edx, [esp + 0x28]
xor edi, edi
call fcn.00ba8150
mov dword [eax], edi
jmp 0xc221ed
mov edi, dword [eax + 0x10]
mov edx, dword [esp + 0x2c]
push edx
mov eax, edi
call fcn.00c1acd0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0xc22210
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0xd407ab
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0xdbb258]
cmp eax, 0xffffffff
je 0xc22254
mov ecx, dword [0xdbb258]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0xc2228b
push 0x2c
call fcn.00cd8a50
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 0
test eax, eax
je 0xc22276
push eax
call fcn.00c21a90
jmp 0xc22278
xor eax, eax
push eax
mov dword [esp + 0x2c], 0xffffffff
mov esi, eax
call fcn.00c225d0
add esp, 4
lea ebp, [esi + 8]
lea ebx, [esp + 0x30]
lea eax, [esp + 0x14]
mov ecx, ebp
call fcn.00be1fa0
mov edi, dword [esp + 0x14]
cmp edi, dword [esi + 0xc]
je 0xc222c1
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0xc222b5
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
push edi
lea ecx, [esp + 0x20]
push ecx
push ebp
call fcn.00c3a460
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0xc22b40
Capabilities:
Access peb ldr_data
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0xd3e72c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [esi], vtable.ggadget::ImageCache::Impl.0
push 0x30
mov dword [esi + 0xc], edi
call fcn.00cd8a50
add esp, 4
cmp eax, edi
je 0xc22cec
mov dword [esi + 8], eax
mov dword [eax], eax
mov eax, dword [esi + 8]
mov dword [eax + 4], eax
mov eax, dword [esi + 8]
mov dword [eax + 8], eax
mov eax, dword [esi + 8]
mov bl, 1
mov byte [eax + 0x2c], bl
mov ecx, dword [esi + 8]
mov byte [ecx + 0x2d], bl
mov byte [esp + 0x38], 2
push 0x30
mov dword [esi + 0x1c], edi
call fcn.00cd8a50
add esp, 4
cmp eax, edi
je 0xc22cd2
mov dword [esi + 0x18], eax
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x18]
mov byte [edx + 0x2c], bl
mov eax, dword [esi + 0x18]
mov byte [eax + 0x2d], bl
mov byte [esp + 0x38], 4
push 0x30
mov dword [esi + 0x2c], edi
call fcn.00cd8a50
add esp, 4
cmp eax, edi
je 0xc22cb8
mov dword [esi + 0x28], eax
mov dword [eax], eax
mov eax, dword [esi + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x28]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x28]
mov byte [ecx + 0x2c], bl
mov edx, dword [esi + 0x28]
mov byte [edx + 0x2d], bl
mov byte [esp + 0x38], 6
push 0x30
mov dword [esi + 0x3c], edi
call fcn.00cd8a50
add esp, 4
cmp eax, edi
je 0xc22c9e
mov dword [esi + 0x38], eax
mov dword [eax], eax
mov eax, dword [esi + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x38]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x38]
mov byte [eax + 0x2c], bl
mov ecx, dword [esi + 0x38]
mov byte [ecx + 0x2d], bl
mov byte [esp + 0x38], 8
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], 0xffffffff
mov edx, dword [0xdbb26c]
cmp edx, 0xffffffff
je 0xc22c87
mov eax, dword [0xdbb26c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, edi
je 0xc22c87
mov edx, dword [eax]
push esi
mov ecx, eax
mov eax, dword [edx + 0xc]
push 0xea60
call eax
mov dword [esi + 0x48], eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 7
call fcn.00b94df0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 5
call fcn.00b94df0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 3
call fcn.00b94df0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 1
call fcn.00b94df0
int3
Function at 0xc23650
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0xd4074b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0xdbb2f4]
cmp eax, 0xffffffff
jne 0xc23681
xor eax, eax
jmp 0xc2368e
mov ecx, dword [0xdbb2f4]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test eax, eax
jne 0xc236f5
push 0x4c
call fcn.00cd8a50
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edi
test eax, eax
je 0xc236b4
push eax
call fcn.00c22b40
mov edi, eax
jmp 0xc236b6
xor edi, edi
mov edx, dword [0xdbb2f4]
cmp edx, 0xffffffff
jne 0xc236e8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, eax
cmp esi, 0xffffffff
je 0xc236f5
push 0xffffffffffffffff
push esi
push 0xdbb2f4
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 0xffffffff
je 0xc236e8
push esi
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov eax, dword [0xdbb2f4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
inc dword [edi + 0x44]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0xc2c550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0xd3e521
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 8], ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [esp + 0xc], esi
mov byte [esi], bl
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
push ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], 1
call fcn.00c2c3f0
add esp, 8
push eax
mov ecx, esi
mov dword [esp + 0x3c], 1
call fcn.00b97740
mov byte [esp + 0x38], bl
cmp dword [esp + 0x24], 0x10
jb 0xc2c5df
mov edx, dword [esp + 0x10]
push edx
call fcn.00cd8a36
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x34
ret
Function at 0xc2c7e0
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0xd4b08b
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push ebp
push esi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
xor esi, esi
cmp edi, esi
je 0xc2c9b4
cmp byte [edi], 0
je 0xc2c9b4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
mov eax, edi
mov dword [esp + 0x458], esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xc2c850
lea ecx, [esp + 0x20]
push ecx
sub eax, edx
mov ecx, edi
call fcn.00c047c0
mov eax, dword [esp + 0x24]
mov ebx, 8
add esp, 4
cmp dword [esp + 0x34], ebx
jae 0xc2c87b
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, 0x10
jne 0xc2c8ac
mov dword [esp + 0x458], 0xffffffff
cmp dword [esp + 0x34], ebx
jb 0xc2c8a5
mov edx, dword [esp + 0x20]
push edx
call fcn.00cd8a36
add esp, 4
mov al, 1
jmp 0xc2c9df
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], ebx
jae 0xc2c8ba
lea eax, [esp + 0x20]
mov ebp, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
push eax
push esi
call ebp
mov esi, eax
cmp esi, 0xa1
jne 0xc2c957
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x24e]
push ecx
mov word [esp + 0x250], ax
call fcn.00cde420
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x46]
push eax
mov word [esp + 0x48], dx
call fcn.00cde420
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0xc2c95b
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], ebx
jae 0xc2c92f
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x24c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0xc2c95b
push 0
lea ecx, [esp + 0x248]
push ecx
push 0
call ebp
mov esi, eax
test esi, esi
je 0xc2c99c
push esi
push edi
push str.Can_not_create_directory:__s_return_code:__d
lea esi, [esp + 0x20]
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadget_system_utils.cc
mov dword [esp + 0x28], 0xe4
call fcn.00c21eb0
add esp, 0xc
lea ecx, [esp + 0x20]
mov dword [esp + 0x458], 0xffffffff
call fcn.00b94e90
jmp 0xc2c9dd
lea ecx, [esp + 0x20]
mov dword [esp + 0x458], 0xffffffff
call fcn.00b94e90
mov al, 1
jmp 0xc2c9df
push str.Cant_create_empty_path.
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadget_system_utils.cc
mov dword [esp + 0x20], 0xcf
call fcn.00c21eb0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x44c
ret
Function at 0xc2cc60
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0xd4b018
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x54]
mov esi, ecx
xor edi, edi
cmp esi, edi
je 0xc2cd22
cmp byte [esi], 0
je 0xc2cd22
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], ax
mov eax, esi
mov dword [esp + 0x4c], edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xc2ccc3
lea ecx, [esp + 0x24]
push ecx
sub eax, edx
mov ecx, esi
call fcn.00c047c0
mov eax, dword [esp + 0x28]
mov ebx, 8
add esp, 4
cmp dword [esp + 0x38], ebx
jae 0xc2ccee
lea eax, [esp + 0x24]
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xc2cd43
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x38], ebx
jb 0xc2cd22
mov edx, dword [esp + 0x24]
push edx
call fcn.00cd8a36
add esp, 4
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x3c
ret
cmp dword [ebp + 0x14], 0x10
mov ecx, dword [ebp + 0x10]
mov bl, 1
mov dword [esp + 0x14], 0
jb 0xc2cd5b
mov eax, dword [ebp]
jmp 0xc2cd5d
mov eax, ebp
push 0
lea edx, [esp + 0x18]
push edx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0xc2cd7a
mov ebp, dword [ebp + 0x10]
cmp dword [esp + 0x14], ebp
je 0xc2cdad
xor bl, bl
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadget_system_utils.cc
mov dword [esp + 0x20], 0x16d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Error_when_writing_to_file__s:__d
lea esi, [esp + 0x24]
call fcn.00c21eb0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0xc2cdce
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0xc2cdc7
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 0x4c], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0xc2cdea
mov eax, dword [esp + 0x24]
push eax
call fcn.00cd8a36
add esp, 4
mov al, bl
jmp 0xc2cd24
Function at 0xc2d0b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0xd3e4d2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
xor eax, eax
mov edi, ecx
push 0x206
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0x10], 0
push ecx
mov dword [esp + 0x18], edi
mov word [esp + 0x1c], ax
call fcn.00cde420
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov dword [esp + 0x224], 0
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
call fcn.00c048c0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x220
ret