joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476780
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4767c9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x476c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49c2c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004767f0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00476870
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00476870
lea ecx, [esi + 0xc]
call fcn.0048af7a
lea ecx, [esi + 0x10]
call fcn.0048af7a
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00477e00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00477e00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00477e00
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0048afef
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048afef
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x48d3a8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48d3e0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048b44a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048b422
jmp 0x48d3ec
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48eba8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48ebea
call fcn.00495091
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48ebea
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48ebe1
xor eax, eax
jmp 0x48ebf2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048ebf8
pop edi
pop esi
pop ebx
ret 4

Function at 0x4955c1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4955ef
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49560d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00495527
jmp 0x49560d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49560d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00495527
test edi, edi
mov eax, edi
jne 0x4955f7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x407580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4333e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x407707
cmp byte [edi + 0x45], 0
je 0x407707
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4075e0
xor al, al
jmp 0x407709
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.00407440
mov dword [esp + 0x40], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp ebx, 0x10
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x40]
lea eax, [edi + 0x48]
push eax
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x40763f
dec eax
je 0x407643
sub eax, 2
je 0x4076ed
xor bl, bl
jmp 0x4076ef
mov byte [edi + 0x45], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, ecx
sub esi, eax
je 0x40767b
push dword [edi + 0x50]
cmp ebx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x407638
cmp byte [edi + 0x45], 0
je 0x4076ed
test esi, esi
jne 0x4075f4
mov ecx, dword [esp + 0x28]
or eax, 0xffffffff
sub eax, ecx
cmp eax, 8
jbe 0x4076e2
lea esi, [ecx + 8]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00404a30
test al, al
je 0x4075f4
cmp dword [esp + 0x2c], 0x10
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
cmovae ecx, dword [esp + 0x18]
movq qword [ecx + eax], xmm0
lea eax, [esp + 0x18]
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x28], esi
cmovae eax, dword [esp + 0x18]
mov byte [eax + esi], 0
jmp 0x4075f4
push str.string_too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x407703
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x407709
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004320a8
mov esp, ebp
pop ebp
ret
Function at 0x407f70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433438
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test ecx, ecx
je 0x4080e8
test eax, eax
je 0x4080e8
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x20], 0x39363231
push ecx
push 0x80
push eax
mov dword [ebp - 0x1c], 0x35313735
mov dword [ebp - 0x18], 0x32333936
mov dword [ebp - 0x14], 0x31323031
call dword [sym.imp.LIBEAY32.dll_Ordinal_3024]
add esp, 0xc
test eax, eax
js 0x4080e8
lea esi, [edi + 0xf]
and esi, 0xfffffff0
cmp esi, edi
jne 0x408003
add esi, 0x10
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0
test esi, esi
jne 0x40802a
mov dword [ebp - 0x28], esi
mov byte [ebp + esi - 0x38], 0
jmp 0x408035
push 0
push esi
lea ecx, [ebp - 0x38]
call fcn.00407510
mov ecx, dword [ebx + 0x10]
cmp esi, ecx
ja 0x408055
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x40804d
mov eax, dword [ebx]
mov byte [eax + esi], 0
jmp 0x408063
mov eax, ebx
mov byte [eax + esi], 0
jmp 0x408063
mov eax, esi
sub eax, ecx
mov ecx, ebx
push 0
push eax
call fcn.00407510
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
push edi
cmovae eax, dword [ebp - 0x38]
push dword [ebp - 0x134]
push eax
call sub.MSVCR120.dll_memcpy
mov ecx, esi
add esp, 0xc
sub ecx, edi
cmp edi, esi
jge 0x4080a3
jmp 0x408090
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
mov byte [eax + edi], cl
inc edi
cmp edi, esi
jl 0x408090
cmp dword [ebx + 0x14], 0x10
jb 0x4080ab
mov ebx, dword [ebx]
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x20]
push 1
push ecx
lea ecx, [ebp - 0x130]
push ecx
push esi
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push ebx
push eax
call dword [sym.imp.LIBEAY32.dll_Ordinal_3171]
add esp, 0x18
cmp dword [ebp - 0x24], 0x10
jb 0x4080e1
push dword [ebp - 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 1
jmp 0x4080ea
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004320a8
mov esp, ebp
pop ebp
ret
Function at 0x408110
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x408251
test eax, eax
je 0x408251
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x14], 0x39363231
push ecx
push 0x80
push eax
mov dword [ebp - 0x10], 0x35313735
mov dword [ebp - 0xc], 0x32333936
mov dword [ebp - 8], 0x31323031
call dword [sym.imp.LIBEAY32.dll_Ordinal_3106]
add esp, 0xc
test eax, eax
jns 0x40819e
push 0x438b1c
push 0x35
push str.AESUtils::aes_decrypt
call fcn.00423690
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004320a8
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x10]
cmp edi, ecx
ja 0x4081be
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x4081b6
mov eax, dword [esi]
mov byte [eax + edi], 0
jmp 0x4081cc
mov eax, esi
mov byte [eax + edi], 0
jmp 0x4081cc
mov eax, edi
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00407510
cmp dword [esi + 0x14], 0x10
jb 0x4081d6
mov eax, dword [esi]
jmp 0x4081d8
mov eax, esi
push 0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x108]
push ecx
push edi
push eax
push ebx
call dword [sym.imp.LIBEAY32.dll_Ordinal_3171]
mov ebx, dword [esi + 0x14]
add esp, 0x18
cmp ebx, 0x10
jb 0x4081fd
mov eax, dword [esi]
jmp 0x4081ff
mov eax, esi
movsx ecx, byte [eax + edi - 1]
mov dword [ebp - 0x10c], ecx
lea eax, [ecx - 1]
cmp eax, 0xf
ja 0x40828f
mov edx, edi
sub edx, ecx
mov ecx, edx
cmp edx, edi
jge 0x40823c
lea esp, [esp]
cmp ebx, 0x10
jb 0x408229
mov eax, dword [esi]
jmp 0x40822b
mov eax, esi
movsx eax, byte [eax + ecx]
cmp eax, dword [ebp - 0x10c]
jne 0x408264
inc ecx
cmp ecx, edi
jl 0x408220
mov eax, dword [esi + 0x10]
cmp edx, eax
ja 0x408270
mov dword [esi + 0x10], edx
cmp ebx, 0x10
jb 0x40824d
mov esi, dword [esi]
mov byte [esi + edx], 0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004320a8
mov esp, ebp
pop ebp
ret
push str.bad_padding
push 0x46
jmp 0x40817d
push 0
sub edx, eax
mov ecx, esi
push edx
call fcn.00407510
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004320a8
mov esp, ebp
pop ebp
ret
push str.bad_padding_byte
push 0x3f
jmp 0x40817d
Function at 0x4176c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x434ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
xorps xmm0, xmm0
push eax
movq qword [esp + 0x14], xmm0
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCreate_void__]
push 0x44e154
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0
push esi
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCopyException_void___void_const___void_const__]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCopy_void___void_const__]
lea eax, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrDestroy_void__]
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004320a8
mov esp, ebp
pop ebp
ret

Function at 0x41b0d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434e63
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0041d4c0
mov dword [edi], eax
push 0
mov dword [ebp - 4], 0
push 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00409380
mov dword [edi + 8], eax
push 0
mov byte [ebp - 4], 1
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00409380
mov dword [edi + 0x10], eax
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x5c], 7
xor eax, eax
mov dword [edi + 0x58], 0
mov word [edi + 0x48], ax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], 7
mov word [edi + 0x60], ax
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], 7
mov word [edi + 0x78], ax
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], 7
mov word [edi + 0x90], ax
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], 7
mov word [edi + 0xac], ax
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc8], 0xffffffff
mov dword [edi + 0xcc], eax
mov eax, edi
mov dword [edi + 0xd0], 2
mov dword [edi + 0xd4], 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x421c20
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4360c6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.0040db00
push str.leidian9_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x45613c
call fcn.0041ea80
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x421cf1
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x45613c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004320a8
mov esp, ebp
pop ebp
ret 4

Function at 0x421dc0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43612b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 0x456158
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x45616c], 7
mov dword [0x456168], 0
mov word [0x456158], ax
mov dword [ebp - 4], eax
mov ecx, 0x456158
lea eax, [ebp - 0x21c]
push eax
call fcn.0040db00
mov eax, 0x456158
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004320a8
mov esp, ebp
pop ebp
ret 4

Function at 0x42ad00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x42ad14
xor al, al
jmp 0x42ad59
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xc], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x42ae20
push 0
push 0
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x42ad60
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x42adb5
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x102
jne 0x42ad9e
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x42add6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x42adf6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov esp, ebp
pop ebp
ret 4

Function at 0x42ae50
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push closesocket
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x42ae84
xor al, al
jmp 0x42aebe
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x42aeb2
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x42aebe
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x42b1e0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404730
push eax
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x42b208
mov al, 1
jmp 0x42b244
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00404730
push eax
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
push str.move_file_from____s___to____s___flag___d_failed__error___d.
push 0x106
push str.utility::ufile::moveFile
call fcn.00423690
add esp, 0x1c
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x42b250
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42b26b
mov al, 1
jmp 0x42b29a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
push str.removeFile_file_from____s___error___d.
push 0x16b
push str.utility::ufile::removeFile
call fcn.00423690
add esp, 0x14
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x42b4b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42b4ef
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jne 0x42b4ef
mov al, 1
jmp 0x42b4f1
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x42b640
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x42b657
mov dword [ebp - 8], 1
jmp 0x42b65e
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42b69f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42b69f
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x42b69f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x42b6a2
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42bb70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4369b8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x439c8f
lea ecx, [ebp - 0x28]
call fcn.004046d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x34
push 0
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x42bca4
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
jne 0x42bbf5
mov eax, dword [ebp - 0x34]
push eax
call fcn.00432080
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
jmp 0x42bbd8
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42bc91
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x43b170
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x42bc91
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push str._d._d._d._d
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x18
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
call fcn.0041a970
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0042ab80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004320a8
mov esp, ebp
pop ebp
ret