joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455475
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45558d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45558d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004739d3
mov esi, eax
test esi, esi
je 0x45558d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45558d
mov ecx, esi
call fcn.004553e0
cmp edi, eax
jge 0x45558d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x455513
mov dword [esp + 0x34], 1
jmp 0x45556e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45558d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004549a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x474377
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4743af
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.0047242e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00472406
jmp 0x4743bb
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x475a69
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 0x475aab
call fcn.0047b753
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x475aab
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x475aa2
xor eax, eax
jmp 0x475ab3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00475ab9
pop edi
pop esi
pop ebx
ret 4
Function at 0x47bc83
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 0x47bcb1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47bccf
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047bbe9
jmp 0x47bccf
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47bccf
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047bbe9
test edi, edi
mov eax, edi
jne 0x47bcb9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x59964f8c
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
mov eax, section..text
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x68603625
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4010de
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x48b990]
xor eax, esp
mov dword [esp + 0x20], eax
and dword [esp], 0
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
mov esi, edx
je 0x4011d5
test esi, esi
je 0x4011d5
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x401120
push 3
jmp 0x4011d7
push 0
push edi
push 0x20
pop ecx
call fcn.0040199e
mov ebx, eax
cmp ebx, 0xffffffff
pop ecx
pop ecx
jne 0x40113b
push 4
jmp 0x4011d7
push 0x1c
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00401a54
add esp, 0xc
cmp eax, 0x1c
jne 0x40115a
cmp dword [esp + 0x10], 0xfe4d5953
je 0x40115e
push 5
jmp 0x4011ad
push dword [esi + 0x10]
lea eax, [esp + 0x10]
push dword [esi + 0xc]
push eax
call fcn.00401a9f
add esp, 0xc
test eax, eax
jne 0x401179
push 8
jmp 0x4011ad
mov ecx, dword [esp + 0xc]
push 0x10
pop eax
lea edx, [esp + 0x1c]
call fcn.00401bd5
test ecx, ecx
je 0x401194
push ecx
call sub.MSVCR80.dll_free
pop ecx
cmp dword [ebp + 8], 0
je 0x4011b0
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.004014b6
test eax, eax
pop ecx
jne 0x4011b0
push 6
pop edi
jmp 0x4011ca
call fcn.004016d0
mov eax, dword [esp + 0x18]
push ebx
mov edi, esi
mov dword [esi], eax
call fcn.004015bd
and dword [esi + 4], 0
pop ecx
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x4011d8
push 2
pop eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045ce96
mov esp, ebp
pop ebp
ret
Function at 0x4014b6
Capabilities:
Get file size
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x48b990]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
push edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x1c
jae 0x4014f3
xor eax, eax
jmp 0x4015ae
lea ebx, [eax - 0x1c]
push ebx
call sub.MSVCR80.dll_malloc
cmp eax, esi
pop ecx
mov dword [ebp - 0x78], eax
je 0x4014ec
push 1
push esi
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
call edi
push ebx
push dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
push dword [ebp - 0x80]
call fcn.00401a54
add esp, 0xc
cmp eax, ebx
jne 0x401595
push dword [ebp - 0x84]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], esi
push 0xc
pop eax
lea esi, [ebp - 0x74]
mov dword [ebp - 0x74], 0x67452301
mov dword [ebp - 0x70], 0xefcdab89
mov dword [ebp - 0x6c], 0x98badcfe
mov dword [ebp - 0x68], 0x10325476
call fcn.00401cbc
push dword [ebp - 0x78]
mov eax, ebx
call fcn.00401cbc
mov ecx, esi
lea ebx, [ebp - 0x18]
call fcn.00401d52
mov eax, dword [ebp - 0x84]
add eax, 0xc
push 0x10
push eax
mov eax, ebx
push eax
call sub.MSVCR80.dll_memcmp
add esp, 0x14
xor esi, esi
test eax, eax
jne 0x401595
mov dword [ebp - 0x7c], 1
push esi
push esi
push dword [ebp - 0x88]
push dword [ebp - 0x80]
call edi
push dword [ebp - 0x78]
call sub.MSVCR80.dll_free
mov eax, dword [ebp - 0x7c]
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045ce96
leave
ret
Function at 0x4016ec
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x48b990]
xor eax, esp
mov dword [esp + 0x74], eax
and dword [esp + 8], 0
push ebx
push esi
push dword [edi + 0x10]
lea eax, [esp + 0x10]
push dword [edi + 0xc]
mov esi, ecx
mov ebx, edx
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
call fcn.00401a9f
add esp, 0xc
test eax, eax
jne 0x401732
push 8
pop eax
jmp 0x4018b3
push 0
push 0
push 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
and dword [esp + 0x34], 0
and dword [esp + 0x30], 0
push ebx
push 0xc
pop eax
lea esi, [esp + 0x24]
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
call fcn.00401cbc
mov dword [esp], 0x830
call sub.MSVCR80.dll_malloc
test eax, eax
pop ecx
mov dword [esp + 0x14], eax
je 0x401842
mov ebx, dword [edi + 8]
jmp 0x401801
test byte [ebx + 0x2c], 1
jne 0x4017ff
mov esi, dword [ebx + 0x28]
push 0x28
lea eax, [ebx + 4]
push eax
push dword [esp + 0x1c]
add esi, 0x28
call sub.MSVCR80.dll_memcpy
push dword [ebx + 0x28]
lea eax, [ebx + 0x30]
push eax
mov eax, dword [esp + 0x28]
add eax, 0x28
push eax
call sub.MSVCR80.dll_memcpy
push dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov eax, esi
call fcn.00401baf
push esi
push dword [esp + 0x34]
push dword [esp + 0x3c]
call fcn.00401a7d
add esp, 0x28
cmp eax, esi
jne 0x40188c
push dword [esp + 0x14]
mov eax, esi
lea esi, [esp + 0x24]
call fcn.00401cbc
and dword [ebx + 0x2c], 0
pop ecx
mov ebx, dword [ebx]
test ebx, ebx
jne 0x401794
mov esi, dword [esp + 0x1c]
lea ebx, [esi + 0xc]
lea ecx, [esp + 0x20]
call fcn.00401d52
cmp dword [esp + 0xc], 0
je 0x401826
push dword [esp + 0xc]
call sub.MSVCR80.dll_free
pop ecx
push dword [edi + 0x10]
and dword [esp + 0x10], 0
push dword [edi + 0xc]
lea eax, [esp + 0x14]
push eax
call fcn.00401a9f
add esp, 0xc
test eax, eax
jne 0x40184c
mov dword [esp + 0x10], 8
jmp 0x401894
push dword [esp + 0xc]
mov ecx, ebx
push 0x10
pop eax
call fcn.00401baf
pop ecx
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x40188c
xor eax, eax
push eax
push eax
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x1c
push esi
push dword [esp + 0x20]
call fcn.00401a7d
add esp, 0xc
cmp eax, 0x1c
je 0x401894
mov dword [esp + 0x10], 9
push dword [esp + 0x14]
call sub.MSVCR80.dll_free
cmp dword [esp + 0x10], 0
pop ecx
je 0x4018af
push dword [esp + 0xc]
call sub.MSVCR80.dll_free
pop ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x7c]
pop esi
pop ebx
xor ecx, esp
call fcn.0045ce96
mov esp, ebp
pop ebp
ret
Function at 0x40199e
Capabilities:
Check if file exists
Clear file content
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push 3
pop edi
mov eax, ecx
and eax, edi
push 2
pop esi
jne 0x4019bd
mov dword [ebp - 4], SysStringLen
jmp 0x4019d6
cmp eax, 1
jne 0x4019cb
mov dword [ebp - 4], 0x40000000
jmp 0x4019d6
cmp eax, esi
jne 0x4019d6
mov dword [ebp - 4], 0xc0000000
and ecx, 0x70
je 0x4019f2
cmp ecx, 0x20
je 0x4019f2
cmp ecx, 0x30
je 0x4019f5
cmp ecx, 0x40
je 0x4019ee
xor esi, esi
jmp 0x4019f5
mov esi, edi
jmp 0x4019f5
xor esi, esi
inc esi
cmp dword [ebp + 0xc], 0
je 0x401a0c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x401a0c
xor edi, edi
inc edi
push 0
push 0x80
push edi
push 0
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401a2f
or eax, 0xffffffff
jmp 0x401a50
cmp dword [ebp + 0xc], 0
je 0x401a4e
cmp edi, 3
jne 0x401a4e
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x401a4e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401a2a
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x401a9f
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov edi, 0x1048
push edi
call sub.MSVCR80.dll_malloc
mov esi, eax
test esi, esi
pop ecx
je 0x401bab
push edi
push 0
push esi
call sub.MSVCR80.dll_memset
mov eax, dword [ebp + 8]
mov dword [eax], esi
add esp, 0xc
mov eax, 0x475bf8
lea ecx, [esi + 0x48]
mov edx, 0x100
mov edi, dword [eax]
mov dword [ecx], edi
add eax, 4
add ecx, 4
dec edx
jne 0x401adb
cmp eax, 0x476bf8
jl 0x401ad6
mov edx, 0x475bb0
xor ecx, ecx
mov eax, esi
sub edx, esi
mov dword [ebp - 8], 0x12
push ebx
xor edi, edi
mov dword [ebp - 0xc], 4
mov ebx, dword [ebp + 0xc]
movzx ebx, byte [ecx + ebx]
shl edi, 8
or edi, ebx
inc ecx
cmp ecx, dword [ebp + 0x10]
jl 0x401b1f
xor ecx, ecx
dec dword [ebp - 0xc]
jne 0x401b0b
mov ebx, dword [edx + eax]
xor ebx, edi
mov dword [eax], ebx
add eax, 4
dec dword [ebp - 8]
jne 0x401b02
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
lea edi, [ebp - 0xc]
lea ebx, [ebp - 8]
mov ecx, esi
call fcn.00401c39
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add dword [ebp - 4], 2
shl eax, 2
cmp dword [ebp - 4], 0x12
mov dword [eax + esi], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + esi + 4], ecx
jl 0x401b3e
lea eax, [esi + 0x4c]
mov dword [ebp - 0x14], 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x80
lea edi, [ebp - 0xc]
lea ebx, [ebp - 8]
mov ecx, esi
call fcn.00401c39
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
add eax, 8
dec dword [ebp - 0x10]
mov dword [ebp - 4], eax
jne 0x401b7c
dec dword [ebp - 0x14]
jne 0x401b72
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret
Function at 0x401bd5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, eax
test edi, edi
jbe 0x401c36
push ebx
push esi
mov esi, edx
add esi, 4
dec edi
shr edi, 3
inc edi
mov eax, dword [esi - 4]
mov ebx, dword [esi]
lea edx, [ecx + 0x44]
mov dword [ebp - 4], edx
mov dword [ebp - 8], 0x10
mov edx, dword [ebp - 4]
xor eax, dword [edx]
mov dword [ebp - 0xc], eax
call fcn.00401c7c
sub dword [ebp - 4], 4
xor eax, ebx
dec dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
jne 0x401c00
mov edx, eax
mov eax, dword [ecx + 4]
xor eax, edx
mov edx, dword [ecx]
xor edx, ebx
mov dword [esi - 4], edx
mov dword [esi], eax
add esi, 8
dec edi
mov dword [ebp - 0xc], ebx
jne 0x401bee
pop esi
pop ebx
pop edi
leave
ret

Function at 0x401c39
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
push esi
mov esi, dword [edi]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x10
mov edx, dword [ebp - 4]
xor eax, dword [edx]
mov dword [ebp - 0xc], eax
call fcn.00401c7c
add dword [ebp - 4], 4
xor eax, esi
dec dword [ebp - 8]
mov esi, dword [ebp - 0xc]
jne 0x401c4e
mov edx, eax
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
xor eax, edx
xor ecx, esi
mov dword [ebx], ecx
mov dword [edi], eax
pop esi
leave
ret

Function at 0x402eae
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x402f04
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x402f1a
push 0x80004005
call fcn.0040249c
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x402f1d
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x40343a
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x48b990]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.00402e79
mov edi, eax
cmp edi, esi
je 0x4034a2
lea ecx, [ebp - 0x70]
call fcn.00402e14
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045ce96
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4034ba
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040343a
cmp eax, esi
jne 0x4034ed
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x4034aa
lea ecx, [ebp - 0x70]
call fcn.00402e14
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00402e14
mov eax, esi
jmp 0x403488
Function at 0x419f6a
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x419fba
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x419faf
test byte [eax + 0x1c], 1
je 0x419faf
cmp byte [eax + 0x19], 4
jb 0x419faf
push 0x46ba6c
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
mov eax, dword [ebp - 4]
shr eax, 2
and eax, 1
leave
ret
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x419fe7
test byte [eax + 0x1c], 1
je 0x419fe7
cmp byte [eax + 0x19], 4
jb 0x419fe7
push 0x46ba6c
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
mov al, 1
leave
ret

Function at 0x419feb
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x194
mov eax, dword [0x48b990]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0x101
xor bl, bl
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
mov edi, 0x46ba6c
mov esi, 0x488018
jne 0x41a06b
push 0x46ba7c
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call dword [sym.imp.WS2_32.dll_WSACleanup]
test eax, eax
je 0x41a093
mov eax, dword [0x488018]
cmp eax, esi
je 0x41a093
test byte [eax + 0x1c], 1
je 0x41a093
cmp byte [eax + 0x19], 2
jb 0x41a093
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov eax, dword [0x488018]
push edi
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
jmp 0x41a08b
mov ecx, dword [0x488018]
cmp ecx, esi
je 0x41a097
test byte [ecx + 0x1c], 1
je 0x41a097
cmp byte [ecx + 0x19], 2
jb 0x41a097
push eax
push edi
push 0x13
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.004213e2
add esp, 0x14
test bl, bl
jne 0x41a0f0
call fcn.00419f6a
test al, al
jne 0x41a0ca
mov eax, dword [0x488018]
cmp eax, esi
je 0x41a0c6
test byte [eax + 0x1c], 1
je 0x41a0c6
cmp byte [eax + 0x19], 4
jb 0x41a0c6
push edi
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
mov al, 1
jmp 0x41a0f2
mov eax, dword [0x488018]
cmp eax, esi
je 0x41a0f0
test byte [eax + 0x1c], 1
je 0x41a0f0
cmp byte [eax + 0x19], 4
jb 0x41a0f0
push edi
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
xor al, al
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045ce96
add esp, 0x194
ret
Function at 0x41c692
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x18
mov eax, 0x45eb8b
call fcn.0045cea5
mov dword [ebp - 0x14], ecx
mov eax, dword [0x488018]
mov esi, 0x488018
cmp eax, esi
mov edi, str.c_ed_d
je 0x41c6d1
test byte [eax + 0x1c], 1
je 0x41c6d1
cmp byte [eax + 0x19], 4
jb 0x41c6d1
push edi
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
call sub.ccL80U.dll_Ordinal_1911
push eax
lea ecx, [ebp - 0x10]
call fcn.004081a9
mov eax, dword [ebp - 0x10]
and dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jne 0x41c6fb
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.00452d0b
pop ecx
pop ecx
jmp 0x41c708
push 0x46beb4
lea ecx, [ebp - 0x10]
call fcn.0040811d
cmp byte [ebp + 8], 0
lea ecx, [ebp - 0x10]
je 0x41c718
push str.Module9000.txt
jmp 0x41c71d
push str.Module9100.txt
call fcn.0040811d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x24]
setne bl
call sub.ccL80U.dll_Ordinal_1660
xor eax, eax
push eax
push eax
push 4
push eax
push 1
push 0x40000000
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call sub.ccL80U.dll_Ordinal_1664
test eax, eax
jne 0x41c7b5
mov eax, dword [0x488018]
cmp eax, esi
je 0x41c81f
test byte [eax + 0x1c], 1
je 0x41c81f
cmp byte [eax + 0x19], 2
jb 0x41c81f
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call sub.ccL80U.dll_Ordinal_1951
push eax
push esi
push edi
push 0x11
jmp 0x41c80c
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x24]
call sub.ccL80U.dll_Ordinal_1662
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402703
mov eax, esi
call fcn.0045cf7d
ret 4
test bl, bl
lea ecx, [ebp - 0x24]
jne 0x41c834
push 2
lea eax, [ebp + 8]
push eax
mov byte [ebp + 8], 0xff
mov byte [ebp + 9], 0xfe
call sub.ccL80U.dll_Ordinal_1671
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
lea ecx, [ebp - 0x24]
call sub.ccL80U.dll_Ordinal_1671
test eax, eax
jne 0x41c864
mov eax, dword [0x488018]
cmp eax, esi
je 0x41c81f
test byte [eax + 0x1c], 1
je 0x41c81f
cmp byte [eax + 0x19], 2
jb 0x41c81f
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call sub.ccL80U.dll_Ordinal_1951
push eax
push esi
push edi
push 0x13
mov eax, dword [0x488018]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00426ba7
add esp, 0x18
lea ecx, [ebp - 0x24]
call sub.ccL80U.dll_Ordinal_1951
test eax, eax
jg 0x41c78c
jmp 0x41c796
call sub.ccL80U.dll_Ordinal_1668
test eax, eax
jne 0x41c7cf
mov eax, dword [0x488018]
cmp eax, esi
je 0x41c81f
test byte [eax + 0x1c], 1
je 0x41c81f
cmp byte [eax + 0x19], 2
jb 0x41c81f
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call sub.ccL80U.dll_Ordinal_1951
push eax
push esi
push edi
push 0x12
jmp 0x41c80c
push dword [0x48906c]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
add eax, eax
push eax
push dword [0x48906c]
lea ecx, [ebp - 0x24]
call sub.ccL80U.dll_Ordinal_1671
xor esi, esi
jmp 0x41c798