joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11724
Capabilities:
Find process by pid

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor esi, esi
push 0x10
mov dword [ebp - 4], esi
pop edi
lea eax, [ebp + esi - 0x10]
push eax
push edi
call dword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jl 0x1174d
mov dword [ebp + esi - 0x1c], edi
add esi, 4
add edi, 4
cmp esi, 0xc
jl 0x11736
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
push 0x20
sub esi, ecx
pop edi
lea eax, [ecx + 0x20]
sub edx, ecx
mov ecx, dword [esi + eax]
cmp ecx, dword [ebp - 0x1c]
jne 0x1177f
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x18]
jne 0x1177f
mov ecx, dword [edx + eax]
cmp ecx, dword [ebp - 0x14]
je 0x1178f
add edi, 4
add eax, 4
cmp edi, 0x200
jl 0x11768
jmp 0x11792
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x10]
mov esi, dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
call esi
mov ecx, dword [ebp - 0xc]
call esi
mov ecx, dword [ebp - 8]
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x10001120
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
mov dl, byte [eax + 1]
sub esp, 8
push ebx
mov ebx, ecx
mov cl, byte [eax]
push ebp
mov ebp, dword [esp + 0x14]
test ebx, ebx
jle 0x100011b6
sub ebp, dword [0x10028080]
push esi
push edi
movzx esi, cl
mov ecx, dword [0x10028c4c]
movzx edi, dl
mov dword [esp + 0x14], ebx
lea eax, [esi + 1]
cdq
mov esi, 0x20b
idiv esi
mov ebx, 0x20b
inc ebp
movzx esi, dl
movzx eax, byte [esi + ecx]
add eax, edi
mov byte [esp + 0x12], dl
cdq
mov edi, 0x20b
idiv edi
mov al, byte [esi + ecx]
movzx edi, dl
mov byte [esp + 0x13], dl
movzx edx, byte [edi + ecx]
mov byte [esi + ecx], dl
mov byte [edi + ecx], al
movzx edx, byte [edi + ecx]
movzx eax, byte [esi + ecx]
add eax, edx
cdq
idiv ebx
movzx eax, dl
movzx edx, byte [eax + ecx]
xor byte [ebp - 1], dl
sub dword [esp + 0x14], 1
jne 0x10001150
mov cl, byte [esp + 0x12]
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x13]
pop edi
pop esi
pop ebp
mov byte [eax + 1], dl
mov byte [eax], cl
pop ebx
add esp, 8
ret
Function at 0x10002790
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx]
movzx ecx, word [eax + 0x14]
push ebp
mov ebp, dword [ebx + 4]
push esi
xor edx, edx
push edi
mov dword [esp + 0x14], ebp
lea esi, [ecx + eax + 0x18]
mov dword [esp + 0x10], 0
cmp dx, word [eax + 6]
jae 0x10002880
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x1000280e
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x38]
test edi, edi
jle 0x10002866
mov ecx, dword [esi - 4]
push 4
push 0x1000
push edi
add ecx, ebp
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10002897
mov eax, dword [esi - 4]
add eax, ebp
mov dword [esi - 8], eax
test edi, edi
je 0x10002866
push edi
push 0
push eax
call fcn.100094b0
add esp, 0xc
jmp 0x10002866
mov edx, dword [esi + 4]
add edx, eax
cmp dword [esp + 0x20], edx
jb 0x1000288f
push 4
push 0x1000
push eax
mov eax, dword [esi - 4]
add eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10002897
mov eax, dword [esi - 4]
mov edx, dword [esi + 4]
mov ebx, dword [esi]
add edx, dword [esp + 0x1c]
add eax, ebp
test ebx, ebx
jbe 0x1000285f
mov edi, edx
mov ecx, eax
sub edi, eax
mov ebp, ebx
jmp 0x10002850
mov dl, byte [edi + ecx]
mov byte [ecx], dl
inc ecx
sub ebp, 1
jne 0x10002850
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov dword [esi - 8], eax
mov ecx, dword [ebx]
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 6]
inc eax
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x100027c3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0x10
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x10
Function at 0x10002950
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x30]
mov esi, dword [ecx + eax + 0x20]
dec edx
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [esp + 0x14], esi
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x18], edx
test esi, esi
jne 0x10002994
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x1000298d
mov esi, dword [eax + 0x20]
jmp 0x10002994
test bl, bl
jns 0x10002994
mov esi, dword [eax + 0x24]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + 0x24]
mov dword [esp + 0x20], esi
mov esi, 1
add ecx, 0x28
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 1
cmp si, word [eax + 6]
jae 0x10002a74
lea ebx, [ecx + 0x24]
mov esi, dword [edi + 0x30]
mov ebp, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
dec esi
not esi
and esi, ebp
test edi, edi
jne 0x100029e9
mov ecx, dword [ebx]
test cl, 0x40
je 0x100029e2
mov edi, dword [eax + 0x20]
jmp 0x100029e9
test cl, cl
jns 0x100029e9
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x10002a22
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add eax, ecx
cmp eax, esi
ja 0x10002a22
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.100028b0
test eax, eax
je 0x10002a97
mov eax, dword [ebx]
mov edx, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
jmp 0x10002a4e
mov eax, dword [ebx]
test eax, 0x2000000
je 0x10002a3b
test dword [esp + 0x20], 0x2000000
je 0x10002a3b
or dword [esp + 0x20], eax
jmp 0x10002a48
or eax, dword [esp + 0x20]
and eax, 0xfdffffff
mov dword [esp + 0x20], eax
sub edi, dword [esp + 0x14]
add edi, ebp
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
movzx esi, word [eax + 6]
inc ecx
add ebx, 0x28
cmp ecx, esi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
jl 0x100029c4
lea ecx, [esp + 0x14]
mov edx, edi
mov dword [esp + 0x24], 1
call fcn.100028b0
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x18
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 4
Function at 0x10003730
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10027330]
jne 0x1000373a
repz ret
jmp fcn.100079b0
Function at 0x66d6e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e8000]
push edi
jmp 0x66d6fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x66d701
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66d6f0
mov eax, 1
add ebx, ebx
jne 0x66d713
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x66d724
jne 0x66d743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66d743
dec eax
add ebx, ebx
jne 0x66d730
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x66d708
add ebx, ebx
jne 0x66d73f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x66d795
xor ecx, ecx
sub eax, 3
jb 0x66d75b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x66d7ca
sar eax, 1
mov ebp, eax
jmp 0x66d766
add ebx, ebx
jne 0x66d766
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66d734
inc ecx
add ebx, ebx
jne 0x66d774
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66d734
add ebx, ebx
jne 0x66d781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x66d776
jne 0x66d792
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x66d776
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x66d7b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x66d7a6
jmp 0x66d6f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x66d7b4
add edi, ecx
jmp 0x66d6f6
pop esi
mov edi, esi
mov ecx, 0x3715
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x66d7d2
cmp byte [edi], 0x1e
jne 0x66d7d2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x66d7d7
lea edi, [esi + 0x26a000]
mov eax, dword [edi]
or eax, eax
je 0x66d84f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x273e10]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x273f34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x66d804
mov ecx, edi
jns 0x66d833
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x273f3c]
or eax, eax
je 0x66d849
mov dword [ebx], eax
add ebx, 4
jmp 0x66d821
call dword [esi + 0x273f38]
mov ebp, dword [esi + 0x273f40]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x66d883
sub esp, 0xffffff80
jmp 0x47f484
Function at 0x401cd0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xb0], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
cmp dword [0x4ad190], 0
je 0x401d3d
cmp dword [0x4ad188], 0
je 0x401d3d
mov dword [ebp - 0x14], 3
mov eax, dword [0x4ad188]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4ad18c]
mov dword [ebp - 0x2c], eax
mov esi, esp
push 0x10000000
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
cmp esi, esp
call fcn.004744d2
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xa4
call fcn.00401df0
mov ecx, dword [ebp - 8]
add ecx, 0xa4
call fcn.00412e10
movzx eax, al
test eax, eax
je 0x401d87
xor al, al
jmp 0x401dd5
call fcn.00401e40
test eax, eax
je 0x401dc9
mov ecx, 0x4ad164
call fcn.00403630
add eax, 1
mov esi, esp
push eax
mov ecx, 0x4ad164
call fcn.00403a00
push eax
push 0x29
mov ecx, dword [ebp - 8]
add ecx, 0xa4
call fcn.00431080
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp esi, esp
call fcn.004744d2
mov eax, dword [ebp - 8]
mov dword [eax + 0x68], 0
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret 4
Function at 0x402c70
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xd8]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x98]
push ecx
call fcn.004748eb
add esp, 4
mov dword [ebp - 0x14], eax
mov esi, esp
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x98]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0xac
call fcn.00431080
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
cmp esi, esp
call fcn.004744d2
test eax, eax
jne 0x402d46
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004744d2
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 8]
add ecx, 0x40
call fcn.00403a00
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x6c]
push ecx
push 0x3c51
push 0x7aa9
push str.puwvg5ZBlf0v3ZZAhvshlZYgkKkridVqgec6gsRgkKlmwuUs_g
push 0x11b0
push 0x1b0e
call fcn.004565f0
add esp, 0x14
push eax
call fcn.00454e30
add esp, 0xc
mov eax, dword [ebp - 8]
mov dword [eax + 0x68], 3
mov eax, dword [ebp - 0x14]
push eax
call fcn.004748b1
add esp, 4
xor al, al
jmp 0x402d48
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret
Function at 0x402d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x2ec]
mov ecx, 0xbb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4abc14]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x98], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xb4], 0
jne 0x402e02
mov esi, esp
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x4957b4
mov ecx, 0x4ad148
call fcn.00403a00
push eax
push 0x1b
call fcn.00470330
add esp, 4
call eax
cmp esi, esp
call fcn.004744d2
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x24
call fcn.004035e0
push 0x4957ac
lea eax, [ebp - 0x21c]
push eax
call fcn.00474c0e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xb4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xb4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.00474ad6
add esp, 0x10
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004748b1
add esp, 4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x9c]
add ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x9c], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xa0], 0
je 0x402e6c
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x94]
test ecx, ecx
je 0x402e6c
mov eax, dword [0x4ad144]
add eax, dword [ebp + 0xc]
mov dword [0x4ad144], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x68], 3
je 0x402e7f
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x68], 2
push edx
mov ecx, ebp
push eax
lea edx, [0x402eb0]
call fcn.004744f5
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004744c3
add esp, 0x2ec
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret 8
Function at 0x40dcf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
push ebx
push esi
push edi
lea edi, [ebp - 0x514]
mov ecx, 0x145
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4abc14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov esi, esp
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp esi, esp
call fcn.004744d2
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x234]
call fcn.004038c0
push str._bitsadmin.exe
lea ecx, [ebp - 0x234]
call fcn.00411f00
lea ecx, [ebp - 0x234]
call fcn.00403a00
mov esi, esp
push eax
push 0x7430
push 0x1230
push str.pOg6j_BsmOwLn992gPoZ
push 0x6225
push 0x7687
call fcn.004565f0
add esp, 0x14
push eax
push str.shlwapi.dll
call fcn.00466180
add esp, 8
call eax
cmp esi, esp
call fcn.004744d2
test eax, eax
je 0x40ddb6
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x40de68
mov esi, esp
push 0
push 0x26
lea eax, [ebp - 0x444]
push eax
push 0
push str.p8EJgsJWhOwtjtdpsuYig9N3pOg6jE
push 0x4db2
push 0x1745
call fcn.004565f0
add esp, 0xc
push eax
push str.shell32.dll
call fcn.00466180
add esp, 8
call eax
cmp esi, esp
call fcn.004744d2
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x234]
call fcn.004035e0
push str.Support_Tools_bitsadmin.exe
lea ecx, [ebp - 0x234]
call fcn.00411f00
lea ecx, [ebp - 0x234]
call fcn.00403a00
mov esi, esp
push eax
push 0x3366
push 0x51b0
push str.pOg6j_BsmOwLn992gPoZ
push 0x4c35
push 0x39c2
call fcn.004565f0
add esp, 0x14
push eax
push str.shlwapi.dll
call fcn.00466180
add esp, 8
call eax
cmp esi, esp
call fcn.004744d2
test eax, eax
je 0x40de68
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
mov dword [ebp - 0x510], 0
lea ecx, [ebp - 0x234]
call fcn.00403970
mov eax, dword [ebp - 0x510]
push edx
mov ecx, ebp
push eax
lea edx, [0x40deb4]
call fcn.004744f5
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004744c3
add esp, 0x514
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret 8
Function at 0x416b40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x378
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x378]
mov ecx, 0xde
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4abc14]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], 1
mov ecx, 0x4ad6fc
call fcn.004127a0
mov dword [ebp - 0x24], eax
mov esi, esp
push 0xf0
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp esi, esp
call fcn.004744d2
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x416d1c
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.004744d2
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x416d1c
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.004744d2
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x416d1c
cmp dword [ebp - 0x18], 0
je 0x416d1c
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
test ecx, ecx
je 0x416d1c
mov eax, dword [ebp - 0x48]
mov cx, word [eax]
mov word [ebp - 0x54], cx
mov edx, dword [ebp - 0x48]
add edx, 2
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov cx, word [eax]
mov word [ebp - 0x60], cx
mov edx, dword [ebp - 0x48]
add edx, 2
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x48]
add edx, 4
mov dword [ebp - 0x48], edx
movzx eax, word [ebp - 0x60]
cmp eax, 0x403
jne 0x416c94
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x178]
call fcn.0041d4d0
lea ecx, [ebp - 0x178]
call fcn.00431080
push eax
push 0
push 0x143
movzx eax, word [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00424eb0
cmp eax, 0xffffffff
jne 0x416c87
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x178]
call fcn.0041d530
jmp 0x416d0e
movzx eax, word [ebp - 0x60]
cmp eax, 0x1234
jne 0x416d0e
mov dword [ebp - 0x1a4], 1
mov dword [ebp - 0x1a0], 0xffffffff
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x370]
call fcn.0041d4d0
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x378]
call fcn.00431080
mov dword [ebp - 0x19c], eax
lea ecx, [ebp - 0x370]
call fcn.0041d530
lea eax, [ebp - 0x1a4]
push eax
push 0
push 0x40b
movzx ecx, word [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00424eb0
cmp eax, 0xffffffff
jne 0x416d0e
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x48], eax
jmp 0x416bef
mov eax, dword [ebp - 0x18]
push edx
mov ecx, ebp
push eax
lea edx, [0x416d50]
call fcn.004744f5
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004744c3
add esp, 0x378
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret 4
Function at 0x41a470
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xd8]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x41a493
xor eax, eax
jne 0x41a493
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
je 0x41a4be
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
call fcn.0041a570
jmp 0x41a550
movzx eax, byte [0x4ad2c8]
test eax, eax
jne 0x41a50a
mov esi, esp
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp esi, esp
call fcn.004744d2
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41a503
mov esi, esp
push str.RegDeleteKeyExW
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004744d2
mov dword [0x4ad2c4], eax
mov byte [0x4ad2c8], 1
cmp dword [0x4ad2c4], 0
je 0x41a537
mov esi, esp
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [0x4ad2c4]
cmp esi, esp
call fcn.004744d2
jmp 0x41a550
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp esi, esp
call fcn.004744d2
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret 4

Function at 0x41a570
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x41a604
mov esi, esp
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp esi, esp
call fcn.004744d2
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41a5bf
mov eax, 1
jmp 0x41a62b
mov esi, esp
push str.RegDeleteKeyTransactedW
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004744d2
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x41a602
mov esi, esp
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x20]
cmp esi, esp
call fcn.004744d2
jmp 0x41a62b
jmp 0x41a626
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x41a626
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp esi, esp
call fcn.004744d2
jmp 0x41a62b
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret 8
Function at 0x41a650
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x41a673
xor eax, eax
jne 0x41a673
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, esp
call fcn.004744d2
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret 4

Function at 0x41ab60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x338]
mov ecx, 0xce
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4abc14]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
push 0
lea ecx, [ebp - 0x20]
call fcn.0041a330
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0041a970
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x41abdb
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x334], eax
lea ecx, [ebp - 0x20]
call fcn.0041a380
mov eax, dword [ebp - 0x334]
jmp 0x41ac72
mov dword [ebp - 0x48], 0x100
mov esi, esp
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x250]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp esi, esp
call fcn.004744d2
test eax, eax
jne 0x41ac4a
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041ab60
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x41ac41
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x328], eax
lea ecx, [ebp - 0x20]
call fcn.0041a380
mov eax, dword [ebp - 0x328]
jmp 0x41ac72
mov dword [ebp - 0x48], 0x100
jmp 0x41abe2
lea ecx, [ebp - 0x20]
call fcn.0041a6b0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.0041a470
mov dword [ebp - 0x31c], eax
lea ecx, [ebp - 0x20]
call fcn.0041a380
mov eax, dword [ebp - 0x31c]
push edx
mov ecx, ebp
push eax
lea edx, [0x41aca4]
call fcn.004744f5
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004744c3
add esp, 0x338
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret 4