joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411ba6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push str.SOFTWAREkingsoftAntivirus
push 0x80000002
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [0x49603c]
test eax, eax
jne 0x411c2f
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push edi
push 0x49d124
push dword [ebp - 4]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 0x204
call dword [0x496030]
test eax, eax
jne 0x411c2f
cmp dword [ebp - 8], 1
jne 0x411c2f
cmp dword [ebp - 0xc], 6
jb 0x411c2f
push esi
call dword [0x496688]
movzx eax, word [esi + eax*2 - 2]
cmp ax, 0x5c
pop ecx
je 0x411c2c
cmp ax, 0x2f
je 0x411c2c
push 0x49d120
push esi
call dword [0x4964bc]
pop ecx
pop ecx
xor ebx, ebx
inc ebx
cmp dword [ebp - 4], edi
je 0x411c3d
push dword [ebp - 4]
call dword [0x496034]
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x4122a1
Capabilities:
Acquire debug privileges

Disassembly:
push 0x28
push 0x4b1928
call fcn.00486824
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], esi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
mov dword [ebp - 0x38], esi
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1c]
push eax
push 0x28
call dword [0x4962c0]
push eax
call dword [0x49602c]
cmp eax, esi
je 0x412326
lea eax, [ebp - 0x28]
push eax
push str.SeDebugPrivilege
push esi
call dword [0x496028]
cmp eax, esi
je 0x412326
xor edi, edi
inc edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 2
push esi
push esi
push esi
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp - 0x1c]
call dword [0x496038]
cmp eax, esi
je 0x412326
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.0041233d
mov eax, dword [ebp - 0x20]
call fcn.00486869
ret
Function at 0x414347
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
sub esp, 0x324
lea ebp, [esp - 4]
mov eax, dword [0x4c002c]
xor eax, ebp
mov dword [ebp + 0x324], eax
push 8
mov eax, 0x4922f1
call fcn.004869c2
xor edi, edi
call fcn.00412fea
cmp eax, 6
jne 0x414441
push 0x11c
lea eax, [ebp]
push edi
push eax
call fcn.0048635c
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], 0x11c
call dword [0x4962b4]
test eax, eax
je 0x414441
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040f0b9
mov dword [ebp - 4], edi
push str.service_pack_2
push dword [ebp - 0x14]
call dword [0x4964f4]
test eax, eax
pop ecx
pop ecx
jne 0x414436
push 0x206
lea eax, [ebp + 0x11e]
push edi
push eax
mov word [ebp + 0x11c], di
call fcn.0048635c
add esp, 0xc
push edi
push 0x25
lea eax, [ebp + 0x11c]
push eax
push edi
call dword [0x496724]
test eax, eax
je 0x414436
lea eax, [ebp + 0x11c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040f0b9
push str.wlanapi.dll
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00411618
push dword [ebp - 0x10]
call dword [0x49674c]
test eax, eax
jne 0x41442b
inc edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401a1d
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401a1d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x324]
xor ecx, ebp
call fcn.004862e5
add ebp, 0x328
leave
ret

Function at 0x414466
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push esi
push edi
mov edi, dword [0x496778]
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call edi
push 1
mov esi, eax
call edi
push 0
push str.Shell_TrayWnd
mov edi, eax
call dword [0x496788]
test eax, eax
je 0x4144e2
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [0x49678c]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
sub ecx, eax
cmp ecx, esi
jl 0x4144cf
mov eax, dword [ebp + 8]
sub esi, dword [eax]
sub esi, 0xa
cmp dword [ebp - 8], edi
mov dword [ebx], esi
jl 0x4144ec
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
jmp 0x4144f2
test eax, eax
jle 0x4144e2
mov ecx, dword [ebp + 8]
sub eax, dword [ecx]
sub eax, 0xa
mov dword [ebx], eax
sub edi, dword [ecx + 4]
jmp 0x4144ef
mov eax, dword [ebp + 8]
sub esi, dword [eax]
sub esi, 0xa
mov dword [ebx], esi
sub edi, dword [eax + 4]
mov dword [ebx + 4], edi
pop edi
pop esi
leave
ret
Function at 0x414d3f
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x48fbbb
call fcn.004869c2
mov eax, dword [0x4c4f6c]
mov ecx, 0x4c4f6c
xor edi, edi
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallkwifi
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004115b6
test eax, eax
je 0x414db2
lea eax, [ebp - 0x14]
push eax
push str.DisplayIcon
mov ebx, esi
call fcn.00411506
test eax, eax
mov ebx, dword [ebp - 0x14]
je 0x414db2
cmp dword [ebx - 0xc], edi
je 0x414db2
push ebx
call dword [0x49674c]
test eax, eax
je 0x414db2
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
call fcn.00401ce5
xor edi, edi
inc edi
cmp dword [ebp - 0x10], 0
je 0x414dc1
push dword [ebp - 0x10]
call dword [0x496034]
and dword [ebp - 0x10], 0
lea eax, [ebx - 0x10]
call fcn.00401a1d
mov eax, edi
call fcn.00486a9a
ret

Function at 0x414dd5
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x493d61
call fcn.004869c2
xor ebx, ebx
lea ecx, [ebp - 0x14]
xor esi, esi
call fcn.00411286
lea ecx, [ebp - 0x10]
push str.liebaowifisetup.exe
push ecx
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00411d12
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401a1d
push dword [ebp - 0x10]
call dword [0x49674c]
test eax, eax
je 0x414e27
lea eax, [ebp - 0x10]
inc esi
call fcn.00401ce5
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401a1d
mov eax, esi
call fcn.00486a9a
ret
Function at 0x4158df
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x492267
call fcn.004869c2
cmp dword [ebp + 8], 1
jle 0x4158f8
xor eax, eax
jmp 0x415a51
mov eax, dword [0x4c4f6c]
mov esi, 0x4c4f6c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
mov eax, dword [0x4c4f6c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4c4f6c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4c4f6c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], 0
mov byte [ebp - 4], 3
mov ebx, dword [0x496688]
je 0x415971
push dword [ebp + 0xc]
call ebx
test eax, eax
pop ecx
je 0x415971
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.00401e07
jmp 0x415986
lea edi, [ebp - 0x14]
call fcn.00415a57
push 0x49dadc
mov eax, edi
push eax
call fcn.00411618
cmp dword [ebp + 0x10], 0
je 0x4159a4
push dword [ebp + 0x10]
call ebx
test eax, eax
pop ecx
je 0x4159a4
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
call fcn.00401e07
jmp 0x4159b9
lea edi, [ebp - 0x10]
call fcn.00415a57
push str.dataweiboweibo.ini
mov eax, edi
push eax
call fcn.00411618
xor eax, eax
mov esi, str.usbguard
cmp eax, esi
je 0x4159cf
push esi
call ebx
test eax, eax
pop ecx
je 0x4159cf
push esi
jmp 0x4159d4
push str.duba_unknow
lea eax, [ebp - 0x1c]
push eax
call fcn.00401e07
cmp dword [ebp + 8], 0
mov edi, dword [ebp - 0x10]
jne 0x4159ef
push edi
push esi
push str._t__c_s__nduba_weibo__d_s
jmp 0x4159fc
cmp dword [ebp + 8], 1
jne 0x415a07
push edi
push esi
push str._s__c_s__nduba_weibo__d_s
lea ecx, [ebp - 0x18]
call fcn.004019c8
add esp, 0xc
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
push 1
push 0
push ebx
push esi
push 0x49d1a4
push 0
call dword [0x496728]
xor ecx, ecx
cmp eax, 0x20
setg cl
lea eax, [edi - 0x10]
mov dword [ebp + 8], ecx
call fcn.00401a1d
lea eax, [esi - 0x10]
call fcn.00401a1d
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00401a1d
lea eax, [ebx - 0x10]
call fcn.00401a1d
mov eax, dword [ebp + 8]
call fcn.00486a9a
ret
Function at 0x415e06
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push str.DISPLAY
mov esi, eax
call dword [0x496094]
push eax
mov dword [ebp - 0x10], eax
call dword [0x4960b0]
mov edi, dword [0x496778]
push 0x3b
mov dword [ebp - 4], eax
call edi
push 0x3c
mov dword [ebp - 8], eax
call edi
push esi
mov dword [ebp - 0xc], eax
call dword [0x496790]
test eax, eax
je 0x415e54
mov ecx, dword [ebp - 8]
xor edi, edi
jmp 0x415e78
mov edi, dword [esi]
test edi, edi
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
jge 0x415e65
xor edi, edi
test ebx, ebx
jge 0x415e6b
xor ebx, ebx
cmp ecx, dword [ebp - 8]
jle 0x415e73
mov ecx, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jle 0x415e7b
mov eax, dword [ebp - 0xc]
sub eax, ebx
sub ecx, edi
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
call dword [0x496090]
mov esi, dword [0x49612c]
push eax
push dword [ebp - 4]
call esi
push 0xcc0020
push ebx
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0
push 0
push dword [ebp - 4]
call dword [0x49608c]
push dword [ebp - 0x14]
push dword [ebp - 4]
call esi
push dword [ebp - 0x10]
mov esi, dword [0x4960b8]
mov edi, eax
call esi
push dword [ebp - 4]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x416c4e
Capabilities:
Read file on windows

Disassembly:
push 8
mov eax, 0x48fb6d
call fcn.004869c2
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x416c77
mov edi, dword [ebp + 8]
push esi
push esi
push 2
pop eax
xor ecx, ecx
call fcn.00417dfd
xor al, al
jmp 0x416de3
mov ebx, dword [ebp + 8]
mov edi, ebx
call fcn.0041660c
mov edi, dword [0x496518]
or dword [ebx + 8], 0xffffffff
or dword [ebx + 4], 0xffffffff
push 2
push esi
push dword [ebp + 0xc]
call edi
push dword [ebp + 0xc]
call dword [0x496514]
push 0
push 0
push dword [ebp + 0xc]
mov esi, eax
call edi
xor eax, eax
add esp, 0x1c
cmp esi, eax
jg 0x416cbc
push eax
push eax
push 0xd
mov edi, ebx
jmp 0x416c68
mov dword [ebp - 0x10], 0x4f5f8c
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.004160e5
lea eax, [esi + 1]
push eax
call fcn.00486362
push dword [ebp + 0xc]
mov edi, eax
push 1
push esi
push edi
mov dword [ebp - 0x14], edi
mov byte [edi], 0
call dword [0x496500]
add esp, 0x14
cmp eax, 1
je 0x416d29
push edi
call fcn.00486228
pop ecx
push 0
push 0
push 2
xor ecx, ecx
pop eax
mov edi, ebx
call fcn.00417dfd
cmp dword [ebp - 0x10], 0x4f5f8c
je 0x416c70
push dword [ebp - 0x10]
call fcn.00486368
pop ecx
jmp 0x416c70
mov ebx, edi
mov eax, ebx
mov byte [eax + esi], 0
cmp byte [eax], 0
je 0x416d8e
mov al, byte [ebx]
cmp al, 0xa
jne 0x416d4e
mov eax, ebx
sub eax, edi
inc eax
push eax
push edi
lea edi, [ebp - 0x10]
call fcn.004161d6
inc ebx
jmp 0x416d84
cmp al, 0xd
jne 0x416d88
mov eax, ebx
sub eax, edi
test eax, eax
jle 0x416d64
push eax
push edi
lea edi, [ebp - 0x10]
call fcn.004161d6
push 1
lea eax, [ebp + 0xc]
push eax
lea edi, [ebp - 0x10]
mov byte [ebp + 0xc], 0xa
call fcn.004161d6
lea eax, [ebx + 1]
cmp byte [eax], 0xa
jne 0x416d82
inc ebx
inc ebx
jmp 0x416d84
mov ebx, eax
mov edi, ebx
jmp 0x416d89
inc ebx
cmp byte [ebx], 0
jne 0x416d36
sub ebx, edi
je 0x416d9c
push ebx
push edi
lea edi, [ebp - 0x10]
call fcn.004161d6
push dword [ebp - 0x14]
call fcn.00486228
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
pop ecx
push 1
push 0
lea ecx, [edi + 8]
push ecx
mov ecx, esi
call dword [eax + 8]
cmp byte [esi + 0x2c], 0
je 0x416dd2
cmp edi, 0x4f5f8c
je 0x416c70
push edi
jmp 0x416d1e
cmp edi, 0x4f5f8c
je 0x416de1
push edi
call fcn.00486368
pop ecx
mov al, 1
call fcn.00486a9a
ret 8
Function at 0x41a265
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
mov esi, edx
jne 0x41a270
xor eax, eax
pop esi
ret
cmp eax, 8
push ebx
not esi
mov edx, 0xff
jb 0x41a322
push edi
mov edi, eax
shr edi, 3
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x499688]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x499688]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x499688]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x499688]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x499688]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x499688]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x499688]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x499688]
inc ecx
sub eax, 8
dec edi
jne 0x41a287
pop edi
test eax, eax
je 0x41a33b
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x499688]
inc ecx
dec eax
jne 0x41a326
mov eax, esi
pop ebx
not eax
pop esi
ret

Function at 0x41a342
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x499688]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x499688]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x41c831
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x497e98]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x497e98]
pop esi
mov dword [ecx + 8], eax
ret

Function at 0x41d82b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x9c
lea ebp, [esp - 4]
mov eax, dword [0x4c002c]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0xc
mov eax, 0x48d892
call fcn.004869c2
lea ecx, [ebp]
call dword [0x496390]
xor esi, esi
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp]
mov dword [ebp - 4], esi
call dword [0x4963a0]
push str.9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0
lea ecx, [ebp]
call dword [0x49639c]
push str.Implemented_Categories_
lea ecx, [ebp]
call dword [0x49639c]
push str.A5F7140E_4311_4ef9_AABC_F55941B5EBE5
lea ecx, [ebp]
call dword [0x49639c]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
mov dword [ebp - 0x10], esi
jae 0x41d8a4
lea eax, [ebp + 4]
lea ecx, [ebp - 0x10]
push ecx
push 1
push esi
push eax
push 0x80000002
call dword [0x49603c]
cmp eax, esi
je 0x41d8ed
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call dword [0x496378]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.004862e5
add ebp, 0xa0
leave
ret
push 0x7e
lea eax, [ebp + 0x1e]
push esi
push eax
mov word [ebp + 0x1c], si
call fcn.0048635c
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push str.idex
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 0x80
mov dword [ebp - 0x14], esi
call dword [0x496030]
cmp eax, esi
jne 0x41d938
lea eax, [ebp + 0x1c]
push eax
mov ecx, edi
call dword [0x4963a0]
xor esi, esi
inc esi
push dword [ebp - 0x10]
call dword [0x496034]
jmp 0x41d8bb

Function at 0x41d9b1
Capabilities:
Create thread

Disassembly:
push ebx
push str.kdump.dll
or ebx, 0xffffffff
call dword [0x4962d8]
test eax, eax
je 0x41da04
push str.KxEOpenDumpMonitorEx2
push eax
call dword [0x496298]
test eax, eax
je 0x41da04
push esi
push 0
push 0
push eax
push 0x41d946
push 0
push 0
call dword [0x4964e8]
add esp, 0x18
push 0xa
mov esi, eax
call dword [0x4961f0]
test esi, esi
je 0x41da03
push esi
xor ebx, ebx
call dword [0x4961d4]
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x41da08
Capabilities:
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x4c002c]
xor eax, ebp
mov dword [ebp - 8], eax
and word [ebp - 0x19c], 0
push 0x18e
lea eax, [ebp - 0x19a]
push 0
push eax
call fcn.0048635c
add esp, 0xc
lea eax, [ebp - 0x19c]
push eax
push 0x202
call dword [0x4969c4]
test eax, eax
jne 0x41da6d
push 6
push 1
push 2
call dword [0x4969bc]
push eax
call dword [0x496998]
push str.localhost
call dword [0x496964]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
xor ecx, ebp
call fcn.004862e5
leave
ret 4

Function at 0x41edd9
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
xor eax, eax
cmp dword [esp + 8], eax
je 0x41ee31
push edi
movzx ecx, byte [esi]
mov dx, ax
dec dword [esp + 0xc]
shr dx, 0xc
movzx edx, dl
shl eax, 4
mov edi, ecx
shr edi, 4
xor edx, edi
xor ax, word [edx*2 + 0x497c90]
and ecx, 0xf
movzx eax, ax
mov dx, ax
shr dx, 0xc
movzx edx, dl
shl eax, 4
xor edx, ecx
xor ax, word [edx*2 + 0x497c90]
inc esi
cmp dword [esp + 0xc], 0
movzx eax, ax
jne 0x41ede5
pop edi
pop esi
ret
Function at 0x41ee33
Capabilities:
Encode data using xor

Disassembly:
push 0xc4
mov eax, 0x48f9fd
call fcn.00486a2b
lea eax, [ebp - 0xac]
push eax
call fcn.0041ecfd
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x94], 8
mov eax, dword [ebp - 0xa8]
jae 0x41ee68
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x90]
call dword [0x496374]
push 7
pop ecx
mov byte [ebp - 4], 1
push str.NtQuerySystemInformation
xor eax, eax
mov dword [ebp - 0xd0], ebx
lea edi, [ebp - 0xcc]
push str.ntdll
rep stosd dword es:[edi], eax
call dword [0x49629c]
push eax
call dword [0x496298]
cmp eax, ebx
je 0x41eeb5
push ebx
push 0x20
lea ecx, [ebp - 0xd0]
push ecx
push 3
call eax
push ebx
lea ecx, [ebp - 0x90]
call dword [0x496398]
push ebx
lea ecx, [ebp - 0x90]
mov esi, eax
call dword [0x496398]
cmp eax, ebx
je 0x41eef3
jmp 0x41eeee
movzx ecx, word [eax]
cmp cx, 0x41
jb 0x41eeec
cmp cx, 0x5a
ja 0x41eeec
add ecx, 0x20
mov word [eax], cx
inc eax
inc eax
cmp word [eax], bx
jne 0x41eed7
mov ecx, dword [ebp - 0x7c]
xor eax, eax
cmp ecx, ebx
mov dword [ebp - 0x14], ecx
jbe 0x41ef15
mov edx, eax
and edx, 3
mov dx, word [ebp + edx*2 - 0xd0]
xor word [esi + eax*2], dx
inc eax
cmp eax, ecx
jb 0x41eeff
xor eax, eax
mov word [ebp - 0x28], bx
lea edi, [ebp - 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [ecx + ecx]
cmp edi, 0x10
mov dword [ebp - 0xb0], edi
jae 0x41ef41
push edi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00486306
add esp, 0xc
jmp 0x41ef7f
shr edi, 3
cmp ebx, 7
jne 0x41ef64
mov ecx, dword [ebp - 0xb0]
mov eax, edi
imul eax, eax, 7
sub ecx, eax
push ecx
add eax, esi
call fcn.0041edd9
mov word [ebp - 0x1a], ax
jmp 0x41ef76
mov eax, ebx
imul eax, edi
push edi
add eax, esi
call fcn.0041edd9
mov word [ebp + ebx*2 - 0x28], ax
inc ebx
cmp ebx, 8
pop ecx
jb 0x41ef44
xor ebx, ebx
push 0x48
lea eax, [ebp - 0x72]
push ebx
push eax
mov word [ebp - 0x74], bx
call fcn.0048635c
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x28]
call fcn.0041ed84
add esp, 0x10
lea eax, [ebp - 0x74]
mov ebx, 0x4f7724
push eax
mov ecx, ebx
call dword [0x4963a0]
cmp dword [ebp - 0x14], 3
jb 0x41eff5
xor eax, eax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx eax, word [esi]
cdq
push 0x1a
pop ecx
idiv ecx
movzx eax, word [esi + 2]
add edx, 0x61
mov word [ebp - 0x18], dx
cdq
idiv ecx
movzx eax, word [esi + 4]
add edx, 0x61
mov word [ebp - 0x16], dx
cdq
idiv ecx
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
add edx, 0x61
mov word [ebp - 0x14], dx
call dword [0x49639c]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0
call dword [0x496378]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call dword [0x496378]
xor eax, eax
inc eax
call fcn.00486aae
ret
Function at 0x41f024
Capabilities:
Encode data using xor

Disassembly:
push 0x24
mov eax, 0x490a4e
call fcn.00486a2b
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
jne 0x41f03f
xor eax, eax
jmp 0x41f0f2
push 0x28
push ebx
push esi
call fcn.0048635c
add esp, 0xc
push edi
lea ecx, [ebp - 0x2c]
call dword [0x496380]
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call dword [0x4963d8]
cmp eax, ebx
je 0x41f081
cmp byte [eax], 0
mov ecx, eax
je 0x41f081
mov al, byte [ecx]
cmp al, 0x41
jl 0x41f07b
cmp al, 0x5a
jg 0x41f07b
add al, 0x20
mov byte [ecx], al
inc ecx
cmp byte [ecx], 0
jne 0x41f06d
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
push ebx
call dword [0x4963d8]
call fcn.0041edd9
mov edi, dword [ebp - 0x18]
cmp edi, 0x25
movzx eax, ax
pop ecx
mov dword [ebp - 0x30], eax
jbe 0x41f0a5
push 0x25
pop edi
push edi
push 0
lea ecx, [ebp - 0x2c]
lea ebx, [esi + 3]
call dword [0x4963d8]
push eax
push ebx
call fcn.00486306
lea eax, [edi + 2]
mov byte [esi], al
mov ax, word [ebp - 0x30]
add esp, 0xc
test ebx, ebx
mov word [esi + 1], ax
je 0x41f0e2
test edi, edi
je 0x41f0e2
xor eax, eax
test edi, edi
jbe 0x41f0e2
xor byte [eax + ebx], 0x5a
inc eax
cmp eax, edi
jb 0x41f0d9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [0x496384]
xor eax, eax
inc eax
call fcn.00486aae
ret

Function at 0x41f321
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4c002c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
push esi
jne 0x41f340
xor esi, esi
jmp 0x41f3b3
and dword [ebp - 0x74], 0
and dword [ebp - 0x70], 0
lea edx, [ebp - 0x74]
push edx
lea esi, [eax + 0x20]
lea edx, [ebp - 0x70]
call fcn.0041f210
mov esi, dword [ebp - 0x74]
test esi, esi
pop ecx
je 0x41f3b3
mov eax, dword [ebp - 0x70]
add eax, 0x2c
push 0x10
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00486306
add esp, 0xc
xor eax, eax
xor byte [ebp + eax - 0x6c], 0x7a
inc eax
cmp eax, 0x10
jb 0x41f376
test esi, esi
je 0x41f3b3
and word [ebp - 0x5c], 0
push 0x48
lea eax, [ebp - 0x5a]
push 0
push eax
call fcn.0048635c
lea eax, [ebp - 0x5c]
add esp, 0xc
push eax
lea eax, [ebp - 0x6c]
call fcn.0041ed84
pop ecx
lea eax, [ebp - 0x5c]
push eax
mov ecx, ebx
call dword [0x4963a0]
mov ecx, dword [ebp - 8]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004862e5
leave
ret 4