joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c6e4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push ebx
push eax
push 1
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], ebx
push eax
call fcn.0043c858
push eax
lea ecx, [ebp - 0x18]
call fcn.0043641b
lea ecx, [ebp - 0x2c]
call fcn.0043645f
lea ecx, [ebp - 0x18]
call fcn.0043ff50
cmp eax, 0x7d1
jl 0x43c752
push ebx
push ebx
push 0x1be
lea eax, [ebp - 0x18]
push str.....RegistryWin32ECClearEntry.cpp
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00406ae7
mov ecx, dword [ebp + 8]
add esp, 0x14
push eax
call fcn.0043641b
lea ecx, [ebp - 0x2c]
call fcn.0043645f
jmp 0x43c815
lea ecx, [ebp - 0x18]
call fcn.0043645f
cmp dword [ebp + 0x18], 0xffffffff
jbe 0x43c78e
push ebx
push ebx
push 0x1c0
push str.....RegistryWin32ECClearEntry.cpp
lea eax, [ebp - 0x2c]
push 0x4aa658
push eax
call fcn.00407235
mov ecx, dword [ebp + 8]
add esp, 0x14
push eax
call fcn.0043641b
lea ecx, [ebp - 0x2c]
jmp 0x43c818
cmp dword [ebp + 0x18], 0x800
jbe 0x43c7ab
push dword [ebp + 0x18]
push str.SetValue_with_size__Iu_is_not_recommended
push ebx
push ebx
push 2
call fcn.00404c99
add esp, 0x14
mov ecx, dword [ebp + 0xc]
push esi
push dword [ebp + 0x18]
mov esi, dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call fcn.0043fdec
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push eax
lea eax, [ebp - 0x2c]
push str.RegSetValueEx
push eax
call fcn.00436b55
add esp, 0xc
lea ecx, [ebp - 0x18]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x2c]
call fcn.0043645f
lea ecx, [ebp - 0x18]
call fcn.0043ff50
pop esi
cmp eax, 0x7d1
lea eax, [ebp - 0x18]
push ebx
jl 0x43c80c
push ebx
push 0x1cd
jmp 0x43c72a
mov ecx, dword [ebp + 8]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x18]
call fcn.0043645f
cmp dword [ebp - 4], ebx
je 0x43c82b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43d17b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push ebx
push eax
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 0x34]
push ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], ebx
call fcn.0043daed
push eax
lea ecx, [ebp - 0x20]
call fcn.0043641b
lea ecx, [ebp - 0x34]
call fcn.0043645f
cmp dword [ebp - 0x14], 0x7d0
je 0x43d1f1
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push ebx
mov dword [eax], ecx
lea eax, [ebp - 0x20]
mov ecx, dword [ebp + 8]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x20]
call fcn.0043645f
cmp dword [ebp - 4], ebx
je 0x43d2e0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43d2e0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push esi
mov esi, dword [ebp - 4]
push edi
mov edi, dword [ebp + 0x10]
push eax
push edi
lea eax, [ebp - 8]
push eax
push ebx
call fcn.0043fdec
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43d238
mov ecx, dword [ebp + 0x14]
push 0xc
pop ebx
push 0
push eax
lea eax, [ebp - 0x48]
mov dword [edi], ecx
push str.RegQueryValueEx
push eax
call fcn.00436b55
add esp, 0xc
lea ecx, [ebp - 0x34]
jmp 0x43d279
cmp dword [ebp - 8], 4
je 0x43d25e
cmp dword [ebp - 8], 5
je 0x43d25e
mov ecx, dword [ebp + 8]
push 0x4a8b80
call fcn.004363fb
lea ecx, [ebp - 0x20]
call fcn.0043645f
cmp dword [ebp - 4], ebx
jmp 0x43d2d3
push 3
pop ebx
push 0
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0x7d0
push eax
lea ecx, [ebp - 0x70]
call fcn.004363fb
lea ecx, [ebp - 0x5c]
push eax
call fcn.0043641b
mov ecx, dword [ebp + 8]
push 0
push eax
call fcn.0043641b
test bl, 8
je 0x43d29a
lea ecx, [ebp - 0x34]
and ebx, 0xfffffff7
call fcn.0043645f
test bl, 4
je 0x43d2aa
lea ecx, [ebp - 0x48]
and ebx, 0xfffffffb
call fcn.0043645f
test bl, 2
je 0x43d2ba
lea ecx, [ebp - 0x5c]
and ebx, 0xfffffffd
call fcn.0043645f
test bl, 1
je 0x43d2c7
lea ecx, [ebp - 0x70]
call fcn.0043645f
lea ecx, [ebp - 0x20]
call fcn.0043645f
cmp dword [ebp - 4], 0
je 0x43d2de
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [ebp + 8]
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43d2ea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push edi
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
mov dword [ebp - 0xc], edi
lea eax, [ebp - 0x34]
push edi
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call fcn.0043daed
push eax
lea ecx, [ebp - 0x20]
call fcn.0043641b
lea ecx, [ebp - 0x34]
call fcn.0043645f
cmp dword [ebp - 0x14], 0x7d0
je 0x43d35f
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
call fcn.00438e7a
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0043641b
lea ecx, [ebp - 0x20]
call fcn.0043645f
cmp dword [ebp - 4], edi
je 0x43d499
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43d499
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push ebx
push esi
mov esi, dword [ebp - 4]
push eax
push edi
push edi
push edi
call fcn.0043fdec
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x43d389
cmp esi, 0xea
jne 0x43d3ce
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
shr ebx, 1
lea eax, [ebx + 1]
push eax
call fcn.0043ae7d
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov esi, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
call fcn.0043fdec
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x10]
mov esi, eax
xor eax, eax
push 0xffffffffffffffff
mov word [edi + ebx*2], ax
call fcn.0043b17d
xor edi, edi
test esi, esi
je 0x43d3f8
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
call fcn.00438e7a
push 0xc
pop ebx
push edi
push esi
lea eax, [ebp - 0x48]
push str.RegQueryValueEx
push eax
call fcn.00436b55
add esp, 0xc
lea ecx, [ebp - 0x34]
jmp 0x43d433
cmp dword [ebp - 8], 1
je 0x43d419
cmp dword [ebp - 8], 2
je 0x43d419
cmp dword [ebp - 8], 7
je 0x43d419
mov ecx, dword [ebp + 8]
push 0x4a8b80
call fcn.004363fb
jmp 0x43d480
push 3
pop ebx
push edi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0x7d0
push eax
lea ecx, [ebp - 0x70]
call fcn.004363fb
lea ecx, [ebp - 0x5c]
push eax
call fcn.0043641b
mov ecx, dword [ebp + 8]
push edi
push eax
call fcn.0043641b
test bl, 8
je 0x43d453
lea ecx, [ebp - 0x34]
and ebx, 0xfffffff7
call fcn.0043645f
test bl, 4
je 0x43d463
lea ecx, [ebp - 0x48]
and ebx, 0xfffffffb
call fcn.0043645f
test bl, 2
je 0x43d473
lea ecx, [ebp - 0x5c]
and ebx, 0xfffffffd
call fcn.0043645f
test bl, 1
je 0x43d480
lea ecx, [ebp - 0x70]
call fcn.0043645f
lea ecx, [ebp - 0x20]
call fcn.0043645f
cmp dword [ebp - 4], 0
je 0x43d497
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov eax, dword [ebp + 8]
pop edi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43d7b7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push ebx
push eax
push ebx
lea eax, [ebp - 0x30]
mov dword [ebp - 8], ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.0043c858
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043641b
lea ecx, [ebp - 0x30]
call fcn.0043645f
lea ecx, [ebp - 0x1c]
call fcn.0043ff50
cmp eax, 0x7d1
jl 0x43d844
push ebx
push ebx
push 0x17d
push str.....RegistryWin32ECClearEntry.cpp
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00406ae7
mov ecx, dword [ebp + 8]
add esp, 0x14
push eax
call fcn.0043641b
lea ecx, [ebp - 0x30]
call fcn.0043645f
lea ecx, [ebp - 0x1c]
call fcn.0043645f
cmp dword [ebp - 4], ebx
je 0x43d982
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43d982
push edi
lea ecx, [ebp - 0x1c]
call fcn.0043645f
mov edi, dword [ebp + 0x10]
push esi
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 8]
call dword [eax + 8]
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp + 0x10]
push eax
call fcn.004363fb
lea ecx, [ebp - 0x1c]
call fcn.0043ff50
cmp eax, 0x7d1
jge 0x43d93d
lea ecx, [ebp - 0x1c]
call fcn.0043645f
mov esi, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.004880ef
mov ecx, dword [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push ebx
call fcn.0043fdec
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x43d851
test eax, eax
jne 0x43d8cf
push 3
pop ebx
push eax
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0x7d0
push eax
lea ecx, [ebp - 0x58]
call fcn.004363fb
lea ecx, [ebp - 0x44]
jmp 0x43d8e9
push 0xc
pop ebx
push 0
push eax
lea eax, [ebp - 0x1c]
push str.RegQueryValueEx
push eax
call fcn.00436b55
add esp, 0xc
lea ecx, [ebp - 0x30]
push eax
call fcn.0043641b
mov ecx, dword [ebp + 8]
push 0
push eax
call fcn.0043641b
test bl, 8
je 0x43d90a
lea ecx, [ebp - 0x30]
and ebx, 0xfffffff7
call fcn.0043645f
test bl, 4
je 0x43d91a
lea ecx, [ebp - 0x1c]
and ebx, 0xfffffffb
call fcn.0043645f
test bl, 2
je 0x43d92a
lea ecx, [ebp - 0x44]
and ebx, 0xfffffffd
call fcn.0043645f
test bl, 1
je 0x43d937
lea ecx, [ebp - 0x58]
call fcn.0043645f
cmp dword [ebp - 4], 0
jmp 0x43d975
push ebx
push ebx
push 0x182
push str.....RegistryWin32ECClearEntry.cpp
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00406ae7
mov ecx, dword [ebp + 8]
add esp, 0x14
push eax
call fcn.0043641b
lea ecx, [ebp - 0x58]
call fcn.0043645f
lea ecx, [ebp - 0x1c]
call fcn.0043645f
cmp dword [ebp - 4], ebx
je 0x43d980
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov eax, dword [ebp + 8]
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43dd8a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push edi
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
push 1
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 4], edi
call fcn.0043c858
push eax
lea ecx, [ebp - 0x18]
call fcn.0043641b
lea ecx, [ebp - 0x2c]
call fcn.0043645f
lea ecx, [ebp - 0x18]
call fcn.0043ff50
cmp eax, 0x7d1
jl 0x43ddfe
push edi
push edi
push 0x197
push str.....RegistryWin32ECClearEntry.cpp
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00406ae7
mov ecx, dword [ebp + 8]
add esp, 0x14
push eax
call fcn.0043641b
lea ecx, [ebp - 0x2c]
call fcn.0043645f
lea ecx, [ebp - 0x18]
jmp 0x43dea7
push ebx
push esi
lea ecx, [ebp - 0x18]
call fcn.0043645f
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
mov esi, dword [ebp - 4]
push 4
push eax
push 4
push edi
call fcn.0043fdec
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43de44
push 3
pop ebx
push edi
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x7d0
push eax
lea ecx, [ebp - 0x54]
call fcn.004363fb
lea ecx, [ebp - 0x40]
jmp 0x43de5d
push 0xc
pop ebx
push edi
push eax
lea eax, [ebp - 0x18]
push str.RegSetValueEx
push eax
call fcn.00436b55
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.0043641b
mov ecx, dword [ebp + 8]
push edi
push eax
call fcn.0043641b
test bl, 8
je 0x43de7d
lea ecx, [ebp - 0x2c]
and ebx, 0xfffffff7
call fcn.0043645f
test bl, 4
je 0x43de8d
lea ecx, [ebp - 0x18]
and ebx, 0xfffffffb
call fcn.0043645f
test bl, 2
je 0x43de9d
lea ecx, [ebp - 0x40]
and ebx, 0xfffffffd
call fcn.0043645f
pop esi
test bl, 1
pop ebx
je 0x43deac
lea ecx, [ebp - 0x54]
call fcn.0043645f
cmp dword [ebp - 4], edi
je 0x43deba
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43ea71
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x28
call fcn.0043af83
push 0
cmp eax, 0x3e8
je 0x43eab5
push 0
push 0x29
push str.......SharedFileCommonECDirectory.cpp
lea eax, [ebp - 0x14]
push 0x4aa658
push eax
call fcn.00407235
add esp, 0x14
mov ecx, dword [ebp + 8]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x14]
call fcn.0043645f
jmp 0x43eb21
mov ecx, dword [ebp + 0xc]
call fcn.0043fdec
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x43eb14
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x28]
push str.CreateDirectory__
push eax
call fcn.00436b55
add esp, 0xc
lea ecx, [ebp - 0x14]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x28]
call fcn.0043645f
mov ecx, dword [ebp + 0xc]
call fcn.0043fdec
push eax
lea eax, [ebp - 0x14]
push str.Unable_to_create_directory___s_
push eax
call fcn.0043678d
add esp, 0xc
lea eax, [ebp - 0x14]
push 0
jmp 0x43eaa2
mov ecx, dword [ebp + 8]
push 0x4a46ac
call fcn.004363fb
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x43ed14
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
mov edi, dword [ebp + 8]
call fcn.0043af83
cmp eax, 0x3e8
je 0x43ed78
xor ebx, ebx
lea eax, [ebp - 0x2e4]
push ebx
push ebx
push 0xe7
push str.......SharedFileCommonECDirectory.cpp
push 0x4aa658
push eax
call fcn.00407235
add esp, 0x14
mov ecx, edi
push eax
call fcn.0043641b
lea ecx, [ebp - 0x2e4]
call fcn.0043645f
jmp 0x43ef04
push esi
lea ecx, [ebp - 0x18]
call fcn.00438559
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.00440d59
pop ecx
pop ecx
lea ecx, [ebp - 0x2e4]
call fcn.0043645f
mov esi, 0x2b4
lea eax, [ebp - 0x2cc]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.0046e6d0
add esp, 0xc
lea eax, [ebp - 0x18]
push ebx
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.00441385
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x2e4]
call fcn.0043641b
lea ecx, [ebp - 0x2f8]
call fcn.0043645f
lea ecx, [ebp - 0x2e4]
call fcn.0043ff50
cmp eax, 0x7d1
jl 0x43ee37
push ebx
push ebx
push 0xf1
push str.......SharedFileCommonECDirectory.cpp
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.00406ae7
add esp, 0x14
mov ecx, edi
push eax
call fcn.0043641b
lea ecx, [ebp - 0x2f8]
call fcn.0043645f
lea ecx, [ebp - 0x2e4]
call fcn.0043645f
jmp 0x43eefc
lea ecx, [ebp - 0x2e4]
call fcn.0043645f
push 0x800
push esi
lea eax, [ebp - 0x2cc]
push eax
push ebx
lea ecx, [ebp - 0x18]
call fcn.0043fdec
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test esi, esi
jne 0x43eed7
mov esi, eax
test esi, esi
je 0x43eed7
push ebx
lea ecx, [ebp - 0x2e4]
call fcn.00436442
cmp esi, 3
je 0x43eeb3
cmp esi, 2
je 0x43eeb3
push esi
lea eax, [ebp - 0x2f8]
push str.SHGetFileInfo
push eax
call fcn.00436b55
add esp, 0xc
lea ecx, [ebp - 0x2e4]
push eax
call fcn.00436492
lea ecx, [ebp - 0x2f8]
call fcn.0043645f
push 0x4a7e84
lea ecx, [ebp - 0x2e4]
call fcn.00436ec3
push ebx
lea eax, [ebp - 0x2e4]
mov ecx, edi
push eax
call fcn.0043641b
jmp 0x43ee27
mov eax, dword [ebp - 0x2c4]
mov ecx, edi
shr eax, 0x1d
and eax, 1
or eax, 0x3e8
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.004363fb
lea ecx, [ebp - 0x18]
call fcn.00438dea
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret
Function at 0x43ef17
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
mov edi, dword [ebp + 0xc]
push eax
push 0x105
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
test eax, eax
jne 0x43ef7a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x224]
push str.GetCurrentDirectory__
push eax
call fcn.00436b55
add esp, 0xc
mov ecx, esi
push eax
call fcn.0043641b
lea ecx, [ebp - 0x224]
call fcn.0043645f
jmp 0x43efae
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.00438e7a
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.00441385
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
call fcn.0043645f
push 0x4a46ac
mov ecx, esi
call fcn.004363fb
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret

Function at 0x43efc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
mov edi, dword [ebp + 0xc]
push 0x105
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
jne 0x43f023
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x224]
push str.GetSystemDirectory
push eax
call fcn.00436b55
add esp, 0xc
mov ecx, esi
push eax
call fcn.0043641b
lea ecx, [ebp - 0x224]
call fcn.0043645f
jmp 0x43f057
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.00438e7a
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.00441385
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
call fcn.0043645f
push 0x4a46ac
mov ecx, esi
call fcn.004363fb
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret

Function at 0x43f069
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
mov edi, dword [ebp + 0xc]
push eax
push 0x105
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x43f0cc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x224]
push str.GetTempPath__
push eax
call fcn.00436b55
add esp, 0xc
mov ecx, esi
push eax
call fcn.0043641b
lea ecx, [ebp - 0x224]
call fcn.0043645f
jmp 0x43f100
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.00438e7a
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.00441385
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
call fcn.0043645f
push 0x4a46ac
mov ecx, esi
call fcn.004363fb
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret
Function at 0x43f1e2
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x28
call fcn.0043af83
cmp eax, 0x3e8
je 0x43f226
push 0
push 0
push 0x64
push str.......SharedFileCommonECDirectory.cpp
lea eax, [ebp - 0x14]
push 0x4aa658
push eax
call fcn.00407235
add esp, 0x14
mov ecx, dword [ebp + 8]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x14]
call fcn.0043645f
jmp 0x43f292
mov ecx, dword [ebp + 0xc]
call fcn.0043fdec
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
jne 0x43f285
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x28]
push str.RemoveDirectory__
push eax
call fcn.00436b55
add esp, 0xc
lea ecx, [ebp - 0x14]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x28]
call fcn.0043645f
mov ecx, dword [ebp + 0xc]
call fcn.0043fdec
push eax
lea eax, [ebp - 0x14]
push str.Unable_to_remove_directory___s_
push eax
call fcn.0043678d
add esp, 0xc
lea eax, [ebp - 0x14]
push 0
jmp 0x43f213
mov ecx, dword [ebp + 8]
push 0x4a46ac
call fcn.004363fb
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x43f716
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x14
call fcn.0043fdec
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
test eax, eax
jne 0x43f75c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x14]
push str.SetCurrentDirectory__
push eax
call fcn.00436b55
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.0043641b
lea ecx, [ebp - 0x14]
call fcn.0043645f
jmp 0x43f769
mov ecx, dword [ebp + 8]
push 0x4a46ac
call fcn.004363fb
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x442787
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x4427e9
push edi
lea ecx, [ebp - 0x2c]
call fcn.00438ae2
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call dword [eax + 8]
lea ecx, [ebp - 0x2c]
call fcn.00438dea
push edi
lea ecx, [ebp - 0x18]
call fcn.00438ae2
push 0x498630
lea ecx, [ebp - 0x18]
call fcn.00439083
lea ecx, [esi + 0x64]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
call dword [eax + 8]
lea ecx, [ebp - 0x18]
call fcn.00438dea
lea eax, [esi + 0xc]
push eax
push 4
push esi
push 0x442551
push 0
push 0
call fcn.0046f157
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x44286a
call fcn.0046dfd4
cmp dword [eax], 0xb
jne 0x442818
mov edi, str.__too_many_threads_
jmp 0x44282d
call fcn.0046dfd4
mov edi, str.__invalid_parameter_
mov ecx, 0x4a3dbc
cmp dword [eax], 0x16
cmovne edi, ecx
call fcn.0046dfd4
push edi
push dword [eax]
lea eax, [ebp - 0x10]
push 0xa8
push str.......SharedThreadsWin32ECThread.cpp
push 0
push eax
call fcn.0042c09a
add esp, 0x10
mov ecx, eax
call fcn.0043fdec
push eax
push str.Thread_was_not_created__errno___d_s.
call fcn.00441458
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0044156c
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 4], ebx
xor ecx, ebp
pop esi
pop ebx
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret 4
Function at 0x442cf7
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x64]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00442318
cmp dword [ebp - 8], 0
pop ecx
pop ecx
je 0x442e84
mov ecx, esi
call fcn.004426f4
cmp eax, 1
je 0x442d82
push eax
push dword [esi + 8]
lea eax, [ebp - 0x14]
push 0x142
push str.......SharedThreadsWin32ECThread.cpp
push 0
push eax
call fcn.0042c09a
add esp, 0x10
mov ecx, eax
call fcn.0043fdec
push eax
push str.Thread___s__was_not_ready_to_run__state_d
call fcn.00441458
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.0044156c
mov ecx, dword [ebp + 8]
push 0x4985fc
call fcn.004363fb
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x442e9d
call fcn.004075fc
jmp 0x442e9d
xor edi, edi
mov ebx, str.......SharedThreadsWin32ECThread.cpp
cmp dword [esi + 4], edi
jne 0x442df5
push dword [esi + 8]
lea eax, [ebp - 0x14]
push 0x147
push ebx
push edi
push eax
call fcn.0042c09a
add esp, 0x10
mov ecx, eax
call fcn.0043fdec
push eax
push str.Thread___s__handle_is_NULL
call fcn.00441458
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0044156c
cmp dword [esi + 4], edi
jne 0x442df5
push edi
push edi
push 0x149
push ebx
push 0x4985f4
lea eax, [ebp - 0x1c]
push eax
call fcn.00407235
add esp, 0x14
mov ecx, dword [ebp + 8]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x1c]
call fcn.0043645f
jmp 0x442d6d
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
test eax, eax
jne 0x442e11
push edi
push edi
push 0x14f
push ebx
push 0x4985f8
jmp 0x442dd3
cmp eax, 0xffffffff
jne 0x442e7d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push edi
push eax
lea eax, [ebp - 0x30]
push 0x498910
push eax
call fcn.00436b55
add esp, 0xc
lea ecx, [ebp - 0x1c]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x30]
call fcn.0043645f
lea ecx, [ebp - 0x1c]
call fcn.0043ff50
cmp eax, 0x7d1
lea eax, [ebp - 0x1c]
push edi
jl 0x442ddf
push edi
push 0x151
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00406ae7
mov ecx, dword [ebp + 8]
add esp, 0x14
push eax
call fcn.0043641b
lea ecx, [ebp - 0x30]
call fcn.0043645f
jmp 0x442de8
mov dword [esi + 0x18], 2
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x442e90
call fcn.004075fc
mov ecx, dword [ebp + 8]
push 0x4a46ac
call fcn.004363fb
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4