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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x470cb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
lea edx, [ebp - 0x210]
push edx
push 1
push 0
push ecx
push eax
call dword [0x456028]
mov edi, eax
test edi, edi
jne 0x40cf91
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x104
call dword [0x45602c]
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [0x456318]
push dword [ebp - 0x210]
call dword [0x456030]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00436c7d
leave
ret 0xc

Function at 0x40cfa3
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3f0]
sub esp, 0x470
mov eax, dword [0x470cb8]
xor eax, ebp
mov dword [ebp + 0x3ec], eax
mov eax, dword [ebp + 0x3f8]
push ebx
push esi
push edi
push dword [ebp + 0x3fc]
xor edi, edi
push edi
push edi
push eax
push str.open
push edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
call dword [0x456420]
cmp eax, 0x20
ja 0x40d0b6
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push str..htm
mov ebx, 0x80000000
push ebx
call fcn.0040cf1b
test eax, eax
jne 0x40d0b6
mov esi, dword [0x45630c]
push str._shellopencommand
lea eax, [ebp - 0x24]
push eax
call esi
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push eax
push ebx
call fcn.0040cf1b
test eax, eax
jne 0x40d0b6
lea eax, [ebp - 0x24]
push str.__1_
push eax
call fcn.00437cc9
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
jne 0x40d06f
lea eax, [ebp - 0x24]
push 0x458eac
push eax
call fcn.00437cc9
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
jne 0x40d06f
lea eax, [ebp - 0x24]
push eax
call dword [0x456310]
lea ebx, [ebp + eax*2 - 0x26]
jmp 0x40d074
xor eax, eax
mov word [ebx], ax
push 0x458ea8
push ebx
call esi
push dword [ebp - 0x2c]
push ebx
call esi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x24]
push eax
push edi
mov dword [ebp - 0x80], 0x44
call dword [0x456314]
test eax, eax
je 0x40d0b9
push dword [ebp - 0x38]
mov esi, dword [0x456350]
call esi
push dword [ebp - 0x3c]
call esi
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x3ec]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436c7d
add ebp, 0x3f0
leave
ret 8

Function at 0x40ef66
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
push 0x40
lea esi, [ecx + 0x5c]
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.00437730
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret
Function at 0x4132e8
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x5d0
mov eax, 0x45355e
call fcn.00436cf5
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x5c4]
call fcn.0040f678
and dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x528]
push eax
call dword [0x456374]
lea eax, [ebp - 0x5dc]
push eax
push dword [ebp - 0x528]
call fcn.0044dd10
cmp dword [ebp - 0x5d8], 1
jne 0x4133f3
lea eax, [ebp - 0x220]
push eax
call fcn.0044ded0
push esi
lea eax, [ebp - 0x220]
push 0x100
push eax
call fcn.00437d7c
lea eax, [ebp - 0x220]
push eax
call fcn.00437158
add esp, 0x10
add eax, eax
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x5c4]
call fcn.0040f68a
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x5c4]
call fcn.0040f72f
movzx eax, byte [ebp - 0x11]
push eax
movzx eax, byte [ebp - 0x12]
push eax
movzx eax, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x14]
push eax
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
movzx eax, byte [ebp - 0x1c]
push eax
movzx eax, byte [ebp - 0x1d]
push eax
movzx eax, byte [ebp - 0x1e]
push eax
movzx eax, byte [ebp - 0x1f]
push eax
movzx eax, byte [ebp - 0x20]
push eax
push str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x
push 0x40
push edi
call fcn.00437f1b
xor esi, esi
add esp, 0x4c
inc esi
jmp 0x413458
push 0x457da4
push 0x457d58
lea eax, [ebp - 0x320]
push 0x80
push eax
mov dword [ebp - 0x5c8], 0x200
call fcn.00437f1b
add esp, 0x10
lea eax, [ebp - 0x5c8]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x5cc]
push eax
push 0x457d4c
lea eax, [ebp - 0x320]
push eax
push 0x80000002
call dword [0x456430]
test eax, eax
je 0x413349
push eax
call dword [0x456330]
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c4]
call fcn.0040ee9b
mov eax, esi
call fcn.00436d78
ret
Function at 0x41357f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x10c
lea ebp, [esp - 4]
mov eax, dword [0x470cb8]
xor eax, ebp
mov dword [ebp + 0x10c], eax
push 0x3c
mov eax, 0x45358e
call fcn.00436cbf
mov eax, dword [ebp + 0x118]
mov ebx, dword [ebp + 0x11c]
push 0x19
push eax
push 0x20
pop esi
push esi
lea eax, [ebp + 0x9c]
push eax
call fcn.00437b85
xor eax, eax
mov word [ebp + 0xce], ax
push esi
lea eax, [ebp + 0x9c]
push eax
call fcn.00438744
lea eax, [ebp + 0x9c]
push eax
call fcn.00437158
add esp, 0x1c
xor edi, edi
cmp eax, 0x19
jne 0x413696
push edi
push edi
push esi
lea eax, [ebp + 0xdc]
push eax
push 0xffffffffffffffff
lea eax, [ebp + 0x9c]
push eax
push 0x200
push edi
call dword [0x4562a4]
push str.V100
push esi
lea eax, [ebp + 0xdc]
push eax
call fcn.004384eb
add esp, 0xc
lea ecx, [ebp]
call fcn.0040f678
mov dword [ebp - 4], edi
lea eax, [ebp + 0xdc]
push eax
call fcn.00438460
pop ecx
sub eax, 0x10
push eax
lea eax, [ebp + 0xec]
push eax
lea ecx, [ebp]
call fcn.0040f68a
lea eax, [ebp + 0xfc]
push eax
lea ecx, [ebp]
call fcn.0040f72f
xor esi, esi
movzx eax, byte [ebp + esi + 0xfc]
push eax
call fcn.0041346f
pop ecx
cmp ax, word [ebp + esi*2 + 0x9c]
jne 0x413681
inc esi
cmp esi, 0x10
jl 0x413662
cmp esi, 0x10
jge 0x41376b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0040ee9b
cmp ebx, edi
je 0x41375d
mov dword [ebx], edi
mov dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x4569b0
push str.CLSID78C3F4BC_C7BC_48E4_AD72_2DD16F6704A9
push 0x80000000
call dword [0x456430]
test eax, eax
jne 0x41375d
mov dword [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
call dword [0x4562a8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
mov esi, dword [0x4562ac]
call esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
call esi
push edi
mov esi, 0x989680
push esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004383f0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push edi
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.004383f0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x14]
jb 0x413759
ja 0x413732
cmp eax, dword [ebp - 0x18]
jbe 0x413759
sub eax, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x14]
cmp edx, edi
ja 0x413759
jb 0x413745
cmp eax, 0x278d00
jae 0x413759
push edi
push 0x15180
push edx
push eax
call fcn.004383f0
push 0x1e
pop ecx
sub ecx, eax
mov dword [ebx], ecx
or dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x41377a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0040ee9b
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x10c]
xor ecx, ebp
call fcn.00436c7d
add ebp, 0x110
leave
ret
Function at 0x415f55
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x470cb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [0x456020]
test eax, eax
jne 0x41602a
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [0x456024]
test eax, eax
jne 0x416019
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x416003
push edi
push dword [ebp - 0x110]
push eax
call dword [0x45629c]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x416019
push eax
push edi
push dword [ebp - 0x110]
call fcn.00415ef2
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [0x456030]
mov eax, esi
pop edi
jmp 0x41602c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00436c7d
leave
ret 4

Function at 0x41ea6d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x453d4c
call fcn.00436c8c
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41ea92
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [0x4564d0]
jmp 0x41ead8
lea ecx, [ebp - 0x10]
call fcn.0040163e
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004162b6
add esp, 0x10
push dword [ebp + 8]
call dword [0x456310]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040119a
mov eax, esi
call fcn.00436d64
ret 8
Function at 0x44b700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
add ecx, 8
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
jmp 0x44b732
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x10]
jge 0x44b7a4
mov ecx, dword [ebp - 0xc]
add ecx, 1
movzx edx, cl
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
movzx ecx, al
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
movzx eax, dl
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
mov ecx, dword [ebp - 0x18]
xor edx, dword [ecx + eax*4]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x10]
mov byte [eax], dl
jmp 0x44b729
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov esp, ebp
pop ebp
ret
Function at 0x44bcc0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x4625b8]
mov dword [ebp - 0x2b0], eax
mov ecx, dword [0x4625bc]
mov dword [ebp - 0x2ac], ecx
push 0x200
push 0
lea edx, [ebp - 0x2a8]
push edx
call fcn.00437730
add esp, 0xc
push 0x104
lea eax, [ebp - 0x2b0]
push eax
call dword [0x456374]
movzx ecx, word [ebp + 8]
cmp ecx, 0x61
jl 0x44bd25
movzx edx, word [ebp + 8]
cmp edx, 0x7a
jg 0x44bd25
movzx eax, word [ebp + 8]
sub eax, 0x20
mov word [ebp + 8], ax
movzx ecx, word [ebp - 0x2b0]
cmp ecx, 0x61
jl 0x44bd4e
movzx edx, word [ebp - 0x2b0]
cmp edx, 0x7a
jg 0x44bd4e
movzx eax, word [ebp - 0x2b0]
sub eax, 0x20
mov word [ebp - 0x2b0], ax
movzx ecx, word [ebp - 0x2b0]
movzx edx, word [ebp + 8]
cmp ecx, edx
jne 0x44be2e
lea eax, [ebp - 0x2c4]
push eax
push 0x28
call dword [0x45633c]
push eax
call dword [0x456034]
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x2c8], 0
je 0x44bdf7
lea ecx, [ebp - 0x2d0]
push ecx
push str.SeBackupPrivilege
push 0
call dword [0x456038]
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x2c8], 0
je 0x44bdf7
mov dword [ebp - 0x2c0], 1
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2bc], edx
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2b4], 2
push 0
push 0
push 0
lea ecx, [ebp - 0x2c0]
push ecx
push 0
mov edx, dword [ebp - 0x2c4]
push edx
call dword [0x456004]
mov dword [ebp - 0x2c8], eax
push 0x80000002
call dword [0x45601c]
push 0x80000001
call dword [0x45601c]
push 0x80000005
call dword [0x45601c]
push 0x80000000
call dword [0x45601c]
push 0x80000003
call dword [0x45601c]
mov eax, dword [0x4625e4]
mov dword [ebp - 0x98], eax
mov ecx, dword [0x4625e8]
mov dword [ebp - 0x94], ecx
mov edx, dword [0x4625ec]
mov dword [ebp - 0x90], edx
mov ax, word [0x4625f0]
mov word [ebp - 0x8c], ax
mov cx, word [ebp + 8]
mov word [ebp - 0x90], cx
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea edx, [ebp - 0x98]
push edx
call dword [0x456334]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xffffffff
jne 0x44be9e
xor eax, eax
jmp 0x44bf82
jmp 0x4bf80e
mov esp, ebp
pop ebp
ret 4
Function at 0x44dd10
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x463034]
mov dword [ebp - 0x98], eax
mov ecx, dword [0x463038]
mov dword [ebp - 0x94], ecx
mov edx, dword [0x46303c]
mov dword [ebp - 0x90], edx
mov ax, word [0x463040]
mov word [ebp - 0x8c], ax
mov cx, word [ebp + 8]
mov word [ebp - 0x90], cx
push 0
push 0x80
push 3
push 0
push 3
push 0x80
lea edx, [ebp - 0x98]
push edx
call dword [0x456334]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xffffffff
jne 0x44dd89
xor eax, eax
jmp 0x44debd
jmp fcn.004bf82c
mov esp, ebp
pop ebp
ret 8

Function at 0x44e3f0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push 0
push 0x80
push 3
push 0
push 3
push 0x80
push 0x463130
call dword [0x456334]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xffffffff
jne 0x44e42c
xor eax, eax
jmp 0x44e4fa
jmp fcn.004bf84a
mov esp, ebp
pop ebp
ret

Function at 0x44e630
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push 0
push 0x80
push 3
push 0
push 3
push 0x80
push 0x4631c0
call dword [0x456334]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xffffffff
jne 0x44e66c
xor eax, eax
jmp 0x44e73a
jmp fcn.004bf854
mov esp, ebp
pop ebp
ret
Function at 0x44f260
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
xor eax, eax
mov word [ebp - 0x208], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.00437730
add esp, 0xc
lea edx, [ebp - 0x208]
push edx
call fcn.0044ded0
test eax, eax
jne 0x44f303
mov dword [ebp - 8], 0x200
push str.diskpt
push str.SYSTEMCurrentControlSetServices_s
push 0x80
lea eax, [ebp - 0x310]
push eax
call fcn.00437f1b
add esp, 0x10
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 4]
push eax
push str.GUID
lea ecx, [ebp - 0x310]
push ecx
push 0x80000002
call dword [0x456430]
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
je 0x44f303
mov edx, dword [ebp - 0x314]
push edx
call dword [0x456330]
xor eax, eax
jmp 0x44f364
jmp fcn.004b84cf
mov esp, ebp
pop ebp
ret

Function at 0x44f370
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [str.._:]
mov dword [ebp - 0x98], eax
mov ecx, dword [0x46340c]
mov dword [ebp - 0x94], ecx
mov edx, dword [0x463410]
mov dword [ebp - 0x90], edx
mov ax, word [0x463414]
mov word [ebp - 0x8c], ax
mov cx, word [ebp + 8]
mov word [ebp - 0x90], cx
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea edx, [ebp - 0x98]
push edx
call dword [0x456334]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xffffffff
jne 0x44f3e9
xor eax, eax
jmp 0x44f4c6
jmp fcn.004bf872
mov esp, ebp
pop ebp
ret 4

Function at 0x44ff20
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push 0
push 0x80
push 3
push 0
push 3
push 0x80
push str..DpControl
call dword [0x456334]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xffffffff
jne 0x44ff5c
xor eax, eax
jmp 0x450055
jmp fcn.004bf8a4
mov esp, ebp
pop ebp
ret 8
Function at 0x4010dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4010f2
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x401104
xor eax, eax
jmp 0x401136
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x401128
cmp esi, eax
jae 0x401100
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40111a
cmp esi, eax
jae 0x401100
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret
Function at 0x40246f
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
mov eax, 0x414bd0
call fcn.0040c7c8
sub esp, 0x808
mov eax, dword [0x41c120]
push esi
push edi
mov dword [ebp - 0x10], eax
mov edi, ecx
xor esi, esi
push 0x50
push esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
mov dword [ebp - 0x814], esi
call fcn.00401774
push eax
mov ecx, edi
call fcn.00401d67
test eax, eax
je 0x40255f
cmp dword [ebp + 0x10], esi
lea eax, [ebp - 0x810]
je 0x4024d6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.GET___s_HTTP_1.1_r_n_s_r_n
push eax
call fcn.0040cbc6
add esp, 0x10
jmp 0x4024e7
push dword [ebp + 0xc]
push str.GET___s_HTTP_1.1_r_n_r_n
push eax
call fcn.0040cbc6
add esp, 0xc
push ebx
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
jmp 0x402523
mov eax, 0x1000
cmp ebx, eax
jg 0x402504
mov eax, ebx
push 0
push eax
lea eax, [ebp + esi - 0x810]
push eax
push dword [edi + 0xe4]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jl 0x402529
add esi, eax
sub ebx, eax
test ebx, ebx
jg 0x4024f9
jmp 0x402535
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xfc], eax
test ebx, ebx
pop ebx
jne 0x402559
mov ecx, edi
call fcn.00401f93
cmp eax, 0x64
mov dword [ebp - 0x814], eax
jne 0x402559
mov ecx, edi
call fcn.00401f93
mov dword [ebp - 0x814], eax
mov esi, dword [ebp - 0x814]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012f9
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004012f9
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
call fcn.0040bd6e
leave
ret 0xc
Function at 0x4030b2
Capabilities:
Delete file
Move file
Set file attributes
Write file on windows

Disassembly:
mov eax, 0x414c04
call fcn.0040c7c8
push ecx
push ecx
cmp dword [ebp + 0x10], 0
mov dword [ebp - 4], 1
jne 0x4030e6
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012f9
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004012f9
jmp 0x4031b1
push esi
push edi
lea ecx, [ebp - 0x10]
call fcn.00401722
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
push str._s_s
push eax
call fcn.00402ffc
mov edi, dword [ebp - 0x10]
add esp, 0x10
mov esi, 0x80
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 4
push edi
call fcn.0040cfbd
test eax, eax
pop ecx
pop ecx
jne 0x40315b
push str..bak
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040300f
add esp, 0xc
push 1
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004012f9
push 0
push esi
push 2
push 0
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x403191
push 0
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi - 0x10]
call fcn.004012f9
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012f9
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004012f9
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x4031bf
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x414c3a
call fcn.0040c7c8
sub esp, 0x22c
mov eax, dword [0x41c120]
push ebx
push esi
push edi
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x22c], 1
call fcn.00401722
xor ebx, ebx
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], ebx
call fcn.00401722
mov esi, 0x104
push esi
lea eax, [ebp - 0x218]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.0040c8b0
add esp, 0xc
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push 0x416768
push eax
call fcn.00402ffc
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.00401722
lea ecx, [ebp - 0x228]
call fcn.00401722
push 0x40
pop ecx
mov word [ebp - 0x114], bx
xor eax, eax
lea edi, [ebp - 0x112]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
inc edi
push 0x82
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x238], esi
call fcn.00401bfa
mov esi, dword [ebp - 0x230]
push esi
lea eax, [ebp - 0x228]
push str.SYSTEMCurrentControlSetServices_s_
push eax
call fcn.00402ffc
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push edi
mov edi, dword [ebp - 0x228]
push ebx
push edi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40334d
cmp dword [ebp - 0x21c], ebx
je 0x40334d
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x234]
push eax
push ebx
push str.ImagePath
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40333b
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x220]
push 0x416768
push eax
call fcn.00402ffc
push dword [ebp - 0x224]
push dword [ebp - 0x220]
call fcn.0040c07f
add esp, 0x14
test eax, eax
je 0x40333b
mov dword [ebp - 0x22c], ebx
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x21c], ebx
lea ecx, [edi - 0x10]
call fcn.004012f9
lea ecx, [esi - 0x10]
call fcn.004012f9
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004012f9
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004012f9
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x22c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0040bd6e
leave
ret