joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005b70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x1000b898]
mov dword [ebp - 4], eax
jmp 0x10005b97
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10005bb0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10005bae
mov eax, dword [ebp - 4]
jmp 0x10005c34
jmp 0x10005b8f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.10007a51
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10005c31
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x10005bf3
mov edx, dword [ebp - 4]
mov eax, dword [0x1000b898]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1000b898], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.10007a51
mov esp, ebp
pop ebp
ret

Function at 0x10006120
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x10006169
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x10006169
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x10006169
xor eax, eax
jmp 0x100061aa
mov dword [ebp - 4], 1
jmp 0x1000617b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100061a5
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x100061a3
xor eax, eax
jmp 0x100061aa
jmp 0x10006172
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x401308
Capabilities:
Execute anti-debugging instructions

Disassembly:
push eax
mov edi, eax
mov esi, 0x402097
mov ecx, dword [0x4012ef]
dec ecx
mov bl, byte [0x4012f3]
rdtsc
push eax
mov bh, byte [esi]
mov byte [edi], bh
inc edi
inc esi
inc esi
push eax
mov al, byte [esi]
stosb byte es:[edi], al
add byte [edi - 1], bl
pop eax
loop 0x401325
rdtsc
pop edx
sub eax, edx
sub esp, 0x18
push 0
push dword [0x40204f]
call dword [sym.imp.Msacm32.dll_acmStreamOpen]
pop edx
sub edx, eax
push edx
push 0
push 2
push 0x402062
push 0x402053
call dword [sym.imp.Winmm.dll_mciSendStringA]
pop edx
sub edx, eax
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x407530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x433028
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 0x4076b7
cmp byte [edi + 0x45], 0
je 0x4076b7
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x407590
xor al, al
jmp 0x4076b9
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.004073f0
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 0x4075ef
dec eax
je 0x4075f3
sub eax, 2
je 0x40769d
xor bl, bl
jmp 0x40769f
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 0x40762b
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 0x4075e8
cmp byte [edi + 0x45], 0
je 0x40769d
test esi, esi
jne 0x4075a4
mov ecx, dword [esp + 0x28]
or eax, 0xffffffff
sub eax, ecx
cmp eax, 8
jbe 0x407692
lea esi, [ecx + 8]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.004049e0
test al, al
je 0x4075a4
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 0x4075a4
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 0x4076b3
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x4076b9
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.00431ce8
mov esp, ebp
pop ebp
ret
Function at 0x407f20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433078
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 0x408098
test eax, eax
je 0x408098
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 0x408098
lea esi, [edi + 0xf]
and esi, 0xfffffff0
cmp esi, edi
jne 0x407fb3
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 0x407fda
mov dword [ebp - 0x28], esi
mov byte [ebp + esi - 0x38], 0
jmp 0x407fe5
push 0
push esi
lea ecx, [ebp - 0x38]
call fcn.004074c0
mov ecx, dword [ebx + 0x10]
cmp esi, ecx
ja 0x408005
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x407ffd
mov eax, dword [ebx]
mov byte [eax + esi], 0
jmp 0x408013
mov eax, ebx
mov byte [eax + esi], 0
jmp 0x408013
mov eax, esi
sub eax, ecx
mov ecx, ebx
push 0
push eax
call fcn.004074c0
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 0x408053
jmp 0x408040
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 0x408040
cmp dword [ebx + 0x14], 0x10
jb 0x40805b
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 0x408091
push dword [ebp - 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 1
jmp 0x40809a
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.00431ce8
mov esp, ebp
pop ebp
ret
Function at 0x4080c0
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 0x408201
test eax, eax
je 0x408201
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 0x40814e
push 0x438b1c
push 0x35
push str.AESUtils::aes_decrypt
call fcn.00423230
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00431ce8
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x10]
cmp edi, ecx
ja 0x40816e
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x408166
mov eax, dword [esi]
mov byte [eax + edi], 0
jmp 0x40817c
mov eax, esi
mov byte [eax + edi], 0
jmp 0x40817c
mov eax, edi
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.004074c0
cmp dword [esi + 0x14], 0x10
jb 0x408186
mov eax, dword [esi]
jmp 0x408188
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 0x4081ad
mov eax, dword [esi]
jmp 0x4081af
mov eax, esi
movsx ecx, byte [eax + edi - 1]
mov dword [ebp - 0x10c], ecx
lea eax, [ecx - 1]
cmp eax, 0xf
ja 0x40823f
mov edx, edi
sub edx, ecx
mov ecx, edx
cmp edx, edi
jge 0x4081ec
lea esp, [esp]
cmp ebx, 0x10
jb 0x4081d9
mov eax, dword [esi]
jmp 0x4081db
mov eax, esi
movsx eax, byte [eax + ecx]
cmp eax, dword [ebp - 0x10c]
jne 0x408214
inc ecx
cmp ecx, edi
jl 0x4081d0
mov eax, dword [esi + 0x10]
cmp edx, eax
ja 0x408220
mov dword [esi + 0x10], edx
cmp ebx, 0x10
jb 0x4081fd
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.00431ce8
mov esp, ebp
pop ebp
ret
push str.bad_padding
push 0x46
jmp 0x40812d
push 0
sub edx, eax
mov ecx, esi
push edx
call fcn.004074c0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00431ce8
mov esp, ebp
pop ebp
ret
push str.bad_padding_byte
push 0x3f
jmp 0x40812d
Function at 0x417220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4347f8
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 0x44df34
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.00431ce8
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434ab3
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.0041d060
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.00409390
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.00409390
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 0x4217c0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435d16
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.0040d660
push str.leidian9_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x45512c
call fcn.0041e620
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x421891
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x45512c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00431ce8
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435d7b
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], 0x455148
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 [0x45515c], 7
mov dword [0x455158], 0
mov word [0x455148], ax
mov dword [ebp - 4], eax
mov ecx, 0x455148
lea eax, [ebp - 0x21c]
push eax
call fcn.0040d660
mov eax, 0x455148
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00431ce8
mov esp, ebp
pop ebp
ret 4

Function at 0x42a8a0
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 0x42a8b4
xor al, al
jmp 0x42a8f9
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 0x42a9c0
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 0x42a900
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 0x42a955
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 0x42a93e
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 0x42a976
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 0x42a996
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 0x42a9f0
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.004046e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x42aa24
xor al, al
jmp 0x42aa5e
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x42aa52
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 0x42aa5e
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 0x42ad80
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.004046e0
push eax
mov ecx, dword [ebp + 8]
call fcn.004046e0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x42ada8
mov al, 1
jmp 0x42ade4
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.004046e0
push eax
mov ecx, dword [ebp + 8]
call fcn.004046e0
push eax
push str.move_file_from____s___to____s___flag___d_failed__error___d.
push 0xf9
push str.utility::ufile::moveFile
call fcn.00423230
add esp, 0x1c
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x42adf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.004046e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42ae0b
mov al, 1
jmp 0x42ae3a
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.004046e0
push eax
push str.removeFile_file_from____s___error___d.
push 0x15e
push str.utility::ufile::removeFile
call fcn.00423230
add esp, 0x14
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x42b050
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 0x42b08f
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jne 0x42b08f
mov al, 1
jmp 0x42b091
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x42b1e0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x42b1f7
mov dword [ebp - 8], 1
jmp 0x42b1fe
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
call fcn.004046e0
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 0x42b23f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42b23f
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x42b23f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x42b242
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42b710
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436608
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 0x439b6f
lea ecx, [ebp - 0x28]
call fcn.00404680
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x34
push 0
mov ecx, dword [ebp + 8]
call fcn.004046e0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x42b844
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
jne 0x42b795
mov eax, dword [ebp - 0x34]
push eax
call fcn.00431cc0
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
jmp 0x42b778
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.004046e0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42b831
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x43afe8
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x42b831
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.0041a4d0
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.0042a720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404700
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00431ce8
mov esp, ebp
pop ebp
ret