joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419408
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x480dd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 0x30]
lea ecx, [esi + 0x3c]
push eax
mov dword [esp + 0x18], 0
call fcn.0047161f
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Html_Open
call fcn.00471554
mov ecx, 0x4a37ec
call fcn.0042a8c0
mov ecx, dword [0x49f598]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x14]
push str._d:_d____d:_d_n
push eax
mov byte [esp + 0x2c], 1
call fcn.0046f370
mov eax, dword [0x4a37dc]
mov ecx, dword [esp + 0x44]
sub eax, 3
add esp, 0x18
neg eax
mov edx, dword [esi]
push 0
sbb eax, eax
push 0x69930
and eax, 0x8000000
push ecx
lea ecx, [esp + 0x28]
add eax, 0x50000000
push ecx
push eax
push str.HtmlWnd
push 0
mov ecx, esi
call dword [edx + 0x54]
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x14], 0
call fcn.004714e6
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0xffffffff
call fcn.004714e6
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0x18
Function at 0x425570
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x481383
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CWnd.virtual_0
mov eax, dword [esi + 0x50]
lea edi, [esi + 0x50]
push eax
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, edi
call fcn.004714e6
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 0
call fcn.004714e6
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00472ed8
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x426c00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x481559
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov eax, dword [0x49f598]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 8], eax
mov eax, 0x4855f8
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], 0x485624
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
push 0x1c
mov byte [esp + 0x1c], 5
mov dword [esi], 0x4866d8
call fcn.004704db
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, edi
mov byte [esp + 0x18], 6
je 0x426ca0
push 0xa
mov ecx, eax
call fcn.0046f97e
jmp 0x426ca2
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 4], eax
mov dword [esi + 0x5c], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4296a0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x481a33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x486864
mov dword [esp + 0x14], 1
call fcn.004297d0
mov ecx, esi
call fcn.00429770
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, edi
mov byte [esp + 0x14], 0
call fcn.004714e6
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004252b0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x429af8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x481ad4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
push fcn.00401ad0
push 0x42a550
lea edi, [esi + 8]
push 2
xor ebx, ebx
push 8
push edi
mov dword [esp + 0x30], ebx
call fcn.0045c966
lea ebp, [esi + 0x18]
mov dword [ebp + 4], ebx
mov dword [ebp], vtable.CFont.0
mov eax, dword [0x49f598]
mov dword [esi + 0x70], eax
push ebx
push str.Verdana
push 0xfa
mov ecx, edi
mov byte [esp + 0x28], 3
mov dword [esi], 0x4869a0
mov byte [esi + 4], 1
call fcn.004794d9
test eax, eax
jne 0x429b5a
mov byte [esi + 4], bl
push ebx
push str.Verdana
push 0xc8
lea ecx, [esi + 0x10]
call fcn.004794d9
test eax, eax
jne 0x429b74
mov byte [esi + 4], bl
push ebx
push str.Arial
push 0x96
mov ecx, ebp
call fcn.004794d9
test eax, eax
jne 0x429b8d
mov byte [esi + 4], bl
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call edi
push ebx
mov ebp, eax
call edi
mov dword [esi + 0x20], eax
mov eax, 0x258
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x28], eax
lea ebx, [esi + 0x50]
mov ecx, 0x28
xor eax, eax
mov dword [esi + 0x2c], ecx
mov dword [ebx], eax
xor ecx, ecx
xor edx, edx
mov dword [ebx + 4], ecx
xor edi, edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov dword [ebx + 8], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x24], ebp
mov dword [ebx + 0xc], edi
lea ebx, [esi + 0x40]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x429cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x481b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov al, byte [edi + 4]
test al, al
jne 0x429d41
push str.Failed_to_initialize_GDI_objects_
lea ecx, [esp + 0xc]
call fcn.00471554
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov edx, dword [eax - 8]
mov esi, dword [ecx]
push edx
push eax
push 0
push 0
call dword [esi + 0x5c]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004714e6
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov esi, dword [esp + 0x1c]
push 1
mov ecx, esi
call fcn.0047704c
mov eax, dword [esi]
push 0x32ffff
mov ecx, esi
call dword [eax + 0x30]
push esi
mov ecx, edi
call fcn.00429da0
push esi
mov ecx, edi
call fcn.00429f30
push esi
mov ecx, edi
call fcn.0042a2c0
push 2
mov ecx, esi
call fcn.0047704c
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x30]
push esi
mov ecx, edi
call fcn.0042a120
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x42a2c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x481ba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x49f598]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x38]
xor ebp, ebp
lea ebx, [edi + 0x50]
push ebp
push ebx
mov ecx, esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.00479463
mov eax, dword [edi + 0x74]
cmp eax, ebp
je 0x42a49b
jge 0x42a3fa
add eax, 0x64
cmp eax, 0x63
ja case.0x42a332.93
xor ecx, ecx
mov cl, byte [eax + 0x42a4e4]
jmp dword [ecx*4 + 0x42a4c4]
push str.Failed_to_download_script_file__check_remote_files
lea ecx, [esp + 0x14]
call fcn.0047166f
jmp case.0x42a332.93
push str.Script_tags_are_missing
lea ecx, [esp + 0x14]
call fcn.0047166f
jmp case.0x42a332.93
push str.Script_parsing_failed
lea ecx, [esp + 0x14]
call fcn.0047166f
jmp case.0x42a332.93
push str.Error_in_script
lea ecx, [esp + 0x14]
call fcn.0047166f
jmp case.0x42a332.93
push str.Warning__Do_not_check_for_updates_option_enabled__check_SCR_settings_dialog_._No_new_data_will_be_downloaded.
lea ecx, [esp + 0x14]
call fcn.0047166f
jmp case.0x42a332.93
push str.Warning__Update_file_is_missing__will_use_default.
lea ecx, [esp + 0x14]
call fcn.0047166f
jmp case.0x42a332.93
lea edx, [edi + 0x70]
lea eax, [esp + 0x14]
push edx
push str.Redirecting_to:
push eax
call fcn.004717ef
push str.__please_wait...
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x3c], 1
call fcn.0047177b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.0047161f
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call fcn.004714e6
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.004714e6
jmp case.0x42a332.93
mov edx, dword [edi + 0x70]
push eax
push edx
lea eax, [esp + 0x18]
push str.File:__s_does_not_exist_on_server___d_
push eax
call fcn.0046f370
add esp, 0x10
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
lea ebp, [esp + 0x18]
push 0x400
mov ecx, dword [eax - 8]
push ebp
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [edi + 0x20]
push 0xff
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [edi + 0x24]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x24]
cdq
sub eax, edx
sar ebp, 1
sar eax, 1
sub ebp, eax
mov eax, dword [esp + 0x24]
mov dword [ebx], ebp
add ebp, eax
mov dword [edi + 0x58], ebp
mov ebp, dword [esp + 0x28]
mov eax, ebp
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
lea eax, [ecx + 0xe6]
mov ecx, esi
mov dword [edi + 0x54], eax
add eax, ebp
mov dword [edi + 0x5c], eax
mov edx, dword [esi]
call dword [edx + 0x30]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push 0
push ebx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [esi]
push 0x32ffff
mov ecx, esi
call dword [eax + 0x30]
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.004714e6
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x42a900
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
xor esi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x42a98c
mov eax, dword [esp + 0x18]
cmp eax, 2
jne 0x42a958
mov eax, dword [esp + 0xc]
cmp eax, 4
ja 0x42a945
mov esi, 3
cmp eax, 5
jne 0x42a98c
pop edi
mov eax, 4
pop esi
add esp, 0x9c
ret
cmp eax, 1
jne 0x42a98c
mov eax, dword [esp + 0xc]
cmp eax, 4
ja 0x42a97e
jne 0x42a970
mov eax, dword [esp + 0x10]
test eax, eax
ja 0x42a97e
pop edi
mov eax, 1
pop esi
add esp, 0x9c
ret
pop edi
mov eax, 2
pop esi
add esp, 0x9c
ret
mov eax, esi
pop edi
pop esi
add esp, 0x9c
ret

Function at 0x42a9a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x481c98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x49f598]
mov dword [esp + 4], 0x1e
mov dword [esp], eax
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42aa5c
mov eax, dword [esp + 4]
lea edx, [esp + 4]
push esi
push edx
push eax
lea ecx, [esp + 0xc]
call fcn.00471916
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push str.Version
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [esp + 8]
mov esi, eax
call fcn.00471965
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x42aa5c
lea ecx, [esp]
mov dword [esp + 0x18], 0xffffffff
call fcn.004714e6
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp]
mov dword [esp + 0x18], 0xffffffff
call fcn.004714e6
mov ecx, dword [esp + 0x10]
xor al, al
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x42b8e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x481e28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x38]
call fcn.00476da2
xor ebx, ebx
mov dword [esp + 0x18], 0x48476c
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ebx
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 1
call fcn.0047744f
lea eax, [esp + 0x10]
mov byte [esp + 0x64], 2
push eax
call fcn.0042ab00
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
push 1
mov dword [esp + 0x38], edx
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [esp + 0x4c]
mov esi, eax
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
and eax, edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x3c]
call fcn.00476e59
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x1c]
call fcn.004776f7
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.00476f84
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x34]
sub ecx, edx
lea edx, [esp + 0x20]
sub eax, edi
push edx
push eax
mov eax, dword [esp + 0x24]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SetBitmapDimensionEx]
push esi
lea ecx, [esp + 0x24]
call fcn.004777b4
cmp eax, ebx
jne 0x42b9eb
xor eax, eax
jmp 0x42b9ee
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x28]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x20], vtable.CGdiObject.0
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 3
call fcn.0047774e
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 2
call fcn.0047701d
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x10]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x14]
push ecx
push edx
push ebx
push ebx
push eax
call fcn.0042c8f9
mov esi, eax
mov eax, dword [esp + 0x80]
push eax
call fcn.0042cbce
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ebx
push 0x18
push 1
push 0x64
push ecx
mov edi, eax
push edx
push esi
push edi
call fcn.0042d42c
push edi
call fcn.0042cc33
add esp, 0x3c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp ebp, ebx
je 0x42ba84
mov ebx, dword [ebp + 4]
mov eax, dword [esp + 0x3c]
push ebx
push eax
call fcn.00476f84
lea ecx, [esp + 0x18]
call fcn.0047774e
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 1
call fcn.004774c1
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 4
call fcn.0047774e
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], 0xffffffff
call fcn.00476ec1
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 4
Function at 0x42bf75
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, 0x481eae
call fcn.0045d0f8
sub esp, 0xc
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x42c01f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x42c01f
push 0x2b8
call fcn.004704db
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x42bfcc
call fcn.0042c05c
mov ebx, eax
jmp 0x42bfce
xor ebx, ebx
and byte [ebp - 4], 0
push ebx
push dword [esi]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x42bff9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x492d30
push eax
call fcn.0045c7bc
push 8
call fcn.004704db
mov edi, eax
pop ecx
mov dword [edi], ebx
lea ebx, [esi + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
push ebx
mov dword [edi + 4], eax
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x42db79
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, 0x486a88
push 0x12
mov eax, esi
sub ecx, esi
pop edx
mov edi, dword [ecx + eax]
mov dword [eax], edi
add eax, 4
dec edx
jne 0x42db89
mov eax, 0x486ad0
lea ecx, [esi + 0x48]
mov edx, 0x100
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
dec edx
jne 0x42dba1
cmp eax, 0x487ad0
jl 0x42db9c
push dword [esp + 0x10]
mov ecx, esi
push dword [esp + 0x10]
call fcn.0042dbcb
mov eax, esi
pop edi
pop esi
ret 8
Function at 0x42dbcb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
movsx ebx, word [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ecx
xor edx, edx
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], 0x12
movsx esi, dx
xor ecx, ecx
lea eax, [esi + 1]
cdq
idiv ebx
lea eax, [esi + 2]
mov cl, byte [edx + edi]
cdq
idiv ebx
mov ch, byte [esi + edi]
shl ecx, 8
movzx eax, byte [edx + edi]
or ecx, eax
lea eax, [esi + 3]
cdq
idiv ebx
shl ecx, 8
movzx eax, byte [edx + edi]
or ecx, eax
mov eax, ecx
mov ecx, dword [ebp + 0xc]
xor dword [ecx], eax
lea eax, [esi + 4]
cdq
idiv ebx
add ecx, 4
dec dword [ebp - 4]
mov dword [ebp + 0xc], ecx
jne 0x42dbe9
mov edi, dword [ebp - 8]
and dword [ebp + 0xc], 0
and dword [ebp + 8], 0
push 9
mov esi, edi
pop ebx
lea eax, [ebp + 8]
mov ecx, edi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0042dcdd
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
add esi, 8
dec ebx
jne 0x42dc40
lea esi, [edi + 0x4c]
mov dword [ebp - 4], 4
mov ebx, 0x80
lea eax, [ebp + 8]
mov ecx, edi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0042dcdd
mov eax, dword [ebp + 0xc]
mov dword [esi - 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], eax
add esi, 8
dec ebx
jne 0x42dc6f
dec dword [ebp - 4]
jne 0x42dc6a
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x43dae3
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x43db10
push esi
call fcn.0043bab5
cmp byte [esi + 0x40], 0
pop ecx
je 0x43db09
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x43db7f
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x43db74
mov eax, dword [esi + 8]
test eax, eax
je 0x43db31
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x190]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x43db70
cmp eax, 2
je 0x43db74
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43db26
cmp eax, 3
je 0x43db55
cmp eax, 1
jne 0x43db26
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x43db26
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43db26
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x43db9d
cmp eax, 0xcc
je 0x43db9d
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x14
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
call dword [eax]
pop ecx
push esi
call fcn.0043dba6
pop ecx
pop esi
ret

Function at 0x442a5c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x442a6a
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x442b4b
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x4882cc]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4882cc]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4882cc]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4882cc]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4882cc]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4882cc]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4882cc]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4882cc]
xor eax, esi
inc edx
dec edi
jne 0x442a87
pop ebx
cmp dword [ebp + 0x10], 0
je 0x442b6c
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4882cc]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x442b51
pop edi
pop esi
not eax
pop ebp
ret
Function at 0x4518e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48257c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
lea eax, [esp + 0xc]
push edi
push eax
xor ebx, ebx
push 0x20019
push ebx
push str.http_shellopencommand
push SysReAllocStringLen
mov dword [esp + 0x28], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x451940
pop edi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x414]
mov dword fs:[0], ecx
add esp, 0x420
ret
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
push ebx
push 0x4a3634
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x451989
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x414]
mov dword fs:[0], ecx
add esp, 0x420
ret
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xc]
call fcn.00471554
push 0x49b214
lea ecx, [esp + 0xc]
mov dword [esp + 0x428], ebx
call fcn.0046efea
or edi, 0xffffffff
cmp eax, edi
je 0x4519ef
lea edx, [esp + 0xc]
push eax
push edx
lea ecx, [esp + 0x10]
call fcn.0046ef50
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x428], 1
call fcn.0047161f
lea ecx, [esp + 0xc]
mov byte [esp + 0x424], bl
call fcn.004714e6
push esi
push 0x5c
lea ecx, [esp + 0x10]
call fcn.0046efc8
mov esi, eax
cmp esi, edi
je 0x451a67
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x14]
call fcn.0046ef50
mov ecx, dword [esp + 0x430]
push eax
mov byte [esp + 0x42c], 2
call fcn.0047161f
lea ecx, [esp + 0x10]
mov byte [esp + 0x428], bl
call fcn.004714e6
inc esi
lea ecx, [esp + 0x10]
push esi
push ecx
lea ecx, [esp + 0x14]
call fcn.0046ee1b
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x42c], 3
call fcn.0047161f
lea ecx, [esp + 0x10]
mov byte [esp + 0x428], bl
call fcn.004714e6
lea ecx, [esp + 0xc]
call fcn.004719fa
mov edx, dword [esp + 0xc]
push str.netscp6.exe
push edx
call fcn.0045e665
add esp, 8
test eax, eax
pop esi
jne 0x451ab3
lea ecx, [esp + 8]
mov dword [esp + 0x424], edi
call fcn.004714e6
pop edi
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x414]
mov dword fs:[0], ecx
add esp, 0x420
ret
mov eax, dword [esp + 8]
push str.netscape.exe
push eax
call fcn.0045e665
add esp, 8
test eax, eax
jne 0x451af5
lea ecx, [esp + 8]
mov dword [esp + 0x424], edi
call fcn.004714e6
pop edi
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x414]
mov dword fs:[0], ecx
add esp, 0x420
ret
mov ecx, dword [esp + 8]
push str.iexplore.exe
push ecx
call fcn.0045e665
add esp, 8
mov dword [esp + 0x424], edi
test eax, eax
lea ecx, [esp + 8]
jne 0x451b37
call fcn.004714e6
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x414]
mov dword fs:[0], ecx
add esp, 0x420
ret
call fcn.004714e6
mov ecx, dword [esp + 0x41c]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x420
ret