joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006130
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004af3b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1005d500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10034453
push 4
mov dword [ebp - 4], 0
call fcn.10032d50
mov edi, eax
add esp, 4
test edi, edi
je 0x100061b0
call fcn.10034801
mov dword [edi], eax
call fcn.100345c0
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.100344f5
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x100061a6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1003451d
jmp 0x100061b2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10009980
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c958
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x84], edx
jb 0x100099c5
mov eax, dword [eax]
push 0x10053448
push eax
call fcn.10035645
mov esi, eax
xor ebx, ebx
add esp, 8
mov dword [ebp - 0x88], esi
cmp esi, ebx
jne 0x100099e8
xor al, al
jmp 0x10009ae4
push esi
call fcn.100364c4
add esp, 4
test eax, eax
jne 0x10009ad9
lea esp, [esp]
push esi
push 1
lea eax, [ebp - 0x7c]
push 4
push eax
mov byte [ebp - 0x76], bl
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x75], bl
mov dword [ebp - 0x80], ebx
call fcn.1003556c
push esi
push 1
lea ecx, [ebp - 0x75]
push 1
push ecx
call fcn.1003556c
push esi
push 1
lea edx, [ebp - 0x80]
push 2
push edx
call fcn.1003556c
push esi
push 1
lea eax, [ebp - 0x76]
push 1
push eax
call fcn.1003556c
mov edi, dword [ebp - 0x7c]
movzx ecx, byte [ebp - 0x76]
add esp, 0x40
cmp edi, ebx
jle 0x10009ac8
mov dl, byte [ebp - 0x75]
cmp dl, bl
je 0x10009a5e
cmp dl, 1
jne 0x10009ac8
movzx eax, word [ebp - 0x80]
movzx edx, dl
cmp edx, ebx
je 0x10009ac8
mov edx, dword [ebp - 0x84]
push edx
push ecx
push eax
mov eax, dword [ebp + 0xc]
push edi
push eax
mov eax, dword [ebp + 8]
call fcn.10009c50
cmp al, bl
je 0x10009ac8
mov ecx, dword [ebp - 0x84]
lea ebx, [ebp - 0x7c]
call fcn.1000b290
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
call fcn.10008a60
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
call fcn.10008b50
lea esi, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.100089f0
mov esi, dword [ebp - 0x88]
xor ebx, ebx
push esi
call fcn.100364c4
add esp, 4
test eax, eax
je 0x10009a00
push esi
call fcn.100352ae
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000bc20
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.10037e20
push 0x17
lea ecx, [ebp - 0x404]
push 0x100539c4
push ecx
call fcn.10037f30
add esp, 0x18
xor eax, eax
mov edx, eax
and edx, 0x8000000f
jns 0x1000bc74
dec edx
or edx, 0xfffffff0
inc edx
mov cl, byte [ebp + eax - 0x404]
sub cl, al
xor cl, byte [edx + str.3b7e555a765536a7]
inc eax
mov byte [ebp + eax - 0x405], cl
cmp eax, 0x17
jl 0x1000bc65
mov eax, dword [0x10061aa0]
test eax, eax
jne 0x1000bcd1
lea edx, [ebp - 0x404]
push edx
push eax
push 2
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [0x10061aa0], eax
test eax, eax
jne 0x1000bcd1
lea eax, [ebp - 0x404]
push eax
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x10061aa0], eax
cmp dword [0x10061aa4], 0
jne 0x1000bcee
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10061aa4], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret
Function at 0x1000e6c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004ae88
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1005d500]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
mov eax, dword [0x1005d500]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x20]
push eax
call esi
mov dword [esp + 0xc], vtable.SysService.0
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0
call fcn.1002fec0
cmp eax, dword [0x100a1d9c]
je 0x1000e789
cmp dword [0x100a1d98], 0
jne 0x1000e7a7
mov eax, 1
cmp word [esp + 0x28], ax
jae 0x1000e78b
lea ecx, [esp + 0x10]
push ecx
call esi
movzx eax, word [esp + 0x18]
mov edx, eax
shl edx, 4
sub edx, eax
movzx eax, word [esp + 0x1a]
lea eax, [eax + edx*4]
movzx edx, word [esp + 0x1c]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea esi, [edx + ecx*4]
call fcn.10026410
call fcn.10036f93
cdq
xor eax, edx
sub eax, edx
cdq
mov ecx, 0x3840
idiv ecx
cmp edx, 0xe10
jl 0x1000e767
add edx, esi
mov dword [0x100a1d98], edx
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x10]
push edx
call esi
movzx eax, word [esp + 0x18]
movzx edx, word [esp + 0x1a]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea eax, [edx + ecx*4]
movzx edx, word [esp + 0x1c]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea eax, [edx + ecx*4]
cmp eax, dword [0x100a1d98]
jbe 0x1000e789
mov al, 1
jmp 0x1000e78b
Function at 0x1000efb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b21a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1005d500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], vtable.FileService.0
mov byte [ebp - 4], 1
mov eax, dword [0x100a1fd8]
mov esi, 0x10
cmp dword [0x100a1fec], esi
jae 0x1000efff
mov eax, 0x100a1fd8
push eax
lea ecx, [ebp - 0x10]
call fcn.100205b0
mov eax, dword [0x100a1fd8]
cmp dword [0x100a1fec], esi
jae 0x1000f01a
mov eax, 0x100a1fd8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x10], vtable.FileService.0
mov dword [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
push ecx
lea esi, [ebp - 0x14]
lea eax, [ebp + 8]
call fcn.10006360
mov eax, dword [ebp + 0xc]
push eax
call fcn.10032d80
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1000f3a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebx], 0
jne 0x1000f3ae
xor al, al
pop ebp
ret 4
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000f3b3
sub eax, edx
xor ecx, ecx
push esi
mov esi, eax
cmp dword [ebp + 8], ecx
jle 0x1000f3dd
mov eax, ecx
cdq
idiv esi
mov al, byte [ecx + edi]
sub al, cl
inc ecx
xor al, byte [edx + ebx]
mov byte [ecx + edi - 1], al
cmp ecx, dword [ebp + 8]
jl 0x1000f3c6
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x1000fb80
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi + 0x5c], 0
jne 0x1000fcf9
mov ecx, dword [esi + 0x58]
lea eax, [ecx*8]
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
add ecx, ecx
add ecx, ecx
add ecx, ecx
cmp eax, ecx
jae 0x1000fbb7
inc dword [esi + 0x14]
movzx ecx, byte [esi + 0x11]
movzx edx, byte [esi + 0x10]
mov byte [ebp - 0xb], cl
movzx ecx, byte [esi + 0x13]
mov byte [ebp - 0xc], dl
movzx edx, byte [esi + 0x12]
mov byte [ebp - 9], cl
movzx ecx, byte [esi + 0x15]
mov byte [ebp - 0xa], dl
movzx edx, byte [esi + 0x14]
mov byte [ebp - 7], cl
movzx ecx, byte [esi + 0x17]
shr eax, 3
mov byte [ebp - 8], dl
movzx edx, byte [esi + 0x16]
and eax, 0x3f
mov byte [ebp - 5], cl
mov byte [ebp - 6], dl
mov ecx, 0x38
cmp eax, 0x38
jb 0x1000fc04
mov ecx, 0x78
sub ecx, eax
push ebx
push edi
test ecx, ecx
je 0x1000fc31
mov ebx, ecx
mov edi, 0x1005eae0
mov al, byte [edi]
mov edx, dword [esi + 0x58]
mov byte [esi + edx + 0x18], al
inc dword [esi + 0x58]
dec ebx
inc edi
cmp dword [esi + 0x58], 0x40
jb 0x1000fc2d
push esi
call fcn.1000f3f0
test ebx, ebx
jne 0x1000fc13
mov ebx, 8
lea edi, [ebp - 0xc]
lea esp, [esp]
mov ecx, dword [esi + 0x58]
mov dl, byte [edi]
mov byte [esi + ecx + 0x18], dl
inc dword [esi + 0x58]
dec ebx
inc edi
cmp dword [esi + 0x58], 0x40
jb 0x1000fc5a
push esi
call fcn.1000f3f0
xor eax, eax
cmp ebx, eax
jne 0x1000fc40
movzx ecx, byte [esi]
movzx edx, byte [esi + 1]
mov byte [esi + 0x5d], cl
movzx ecx, byte [esi + 2]
mov byte [esi + 0x5e], dl
movzx edx, byte [esi + 3]
mov byte [esi + 0x5f], cl
movzx ecx, byte [esi + 4]
mov byte [esi + 0x60], dl
movzx edx, byte [esi + 5]
mov byte [esi + 0x61], cl
movzx ecx, byte [esi + 6]
mov byte [esi + 0x62], dl
movzx edx, byte [esi + 7]
mov byte [esi + 0x63], cl
movzx ecx, byte [esi + 8]
mov byte [esi + 0x64], dl
movzx edx, byte [esi + 9]
mov byte [esi + 0x65], cl
movzx ecx, byte [esi + 0xa]
mov byte [esi + 0x66], dl
movzx edx, byte [esi + 0xb]
mov byte [esi + 0x67], cl
movzx ecx, byte [esi + 0xc]
mov byte [esi + 0x68], dl
movzx edx, byte [esi + 0xd]
mov byte [esi + 0x69], cl
movzx ecx, byte [esi + 0xe]
mov byte [esi + 0x6a], dl
movzx edx, byte [esi + 0xf]
mov byte [esi + 0x6b], cl
mov byte [esi + 0x6c], dl
pop edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x58], eax
mov byte [esi + 0x5c], 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret
Function at 0x1000fdd0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x1005d500]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
mov dword [esp + 0x70], ebx
mov byte [esp + 0x74], bl
mov esi, edx
cmp edi, ebx
je 0x1000fe5a
mov cl, byte [esi]
mov edx, dword [esp + 0x70]
mov byte [esp + edx + 0x30], cl
mov eax, dword [esp + 0x70]
inc eax
dec edi
inc esi
mov dword [esp + 0x70], eax
cmp eax, 0x40
jb 0x1000fe56
lea eax, [esp + 0x18]
push eax
call fcn.1000f3f0
cmp edi, ebx
jne 0x1000fe32
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
call fcn.1000fd10
mov ecx, dword [esp + 0x8c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret 4
Function at 0x100115b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [edx]
push ebx
push esi
push edi
mov esi, 0x1005eba4
mov dword [ebp - 4], 0x10
nop
xor ecx, dword [esi]
sub esi, 4
mov eax, ecx
mov dword [ebp - 8], ecx
movzx edi, cl
shr eax, 8
movzx ebx, al
shr eax, 8
mov ecx, eax
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1005ebb0]
movzx eax, al
add ecx, dword [eax*4 + 0x1005efb0]
xor ecx, dword [ebx*4 + 0x1005f3b0]
add ecx, dword [edi*4 + 0x1005f7b0]
xor ecx, edx
dec dword [ebp - 4]
mov edx, dword [ebp - 8]
jne 0x100115d0
mov eax, dword [0x1005eb64]
xor eax, ecx
mov ecx, dword [0x1005eb60]
xor ecx, edx
mov edx, dword [ebp + 8]
pop edi
mov dword [edx], ecx
mov ecx, dword [ebp + 0xc]
pop esi
mov dword [ecx], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10011640
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004ec06
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x10061c90]
xor ebx, ebx
cmp eax, ebx
je 0x10011784
mov dword [ebp - 0x11c], eax
lea edx, [ebp - 0x11c]
mov eax, 0x1005fbb4
call fcn.10032740
mov edi, dword [eax]
cmp edi, ebx
je 0x10011784
cmp dword [edi + 0xc], 7
jne 0x100116b3
call fcn.1000d650
lea eax, [ebx + 0x13]
jmp 0x10011789
mov dword [ebp - method.FileService.virtual_0], vtable.FileService.0
mov dword [ebp - 4], ebx
cmp dword [0x100a1fec], 0x10
mov esi, dword [0x100a1fd8]
jae 0x100116d4
mov esi, 0x100a1fd8
mov eax, dword [0x10061c90]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
lea ecx, [ebp - 0x118]
push str._sd_x_x_
push ecx
call fcn.100366bd
add esp, 0x14
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x124]
call fcn.100205b0
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10011720
sub eax, edx
push eax
lea ecx, [ebp - 0x118]
push ecx
mov ecx, 0x10061d28
call fcn.100028b0
mov dword [ebp - method._7zService.virtual_0], vtable._7zService.0
mov dword [ebp - 0x11c], ebx
add edi, 0x8c
push edi
lea esi, [ebp - 0x120]
mov byte [ebp - 4], 2
call fcn.100010d0
cmp al, bl
jne 0x100117a5
push ebx
push 0x10053520
mov ecx, 0x10061d28
call fcn.100028b0
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.10001070
mov eax, 9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret
push 0x10061d28
lea ecx, [ebp - 0x120]
call fcn.100011d0
cmp al, bl
jne 0x100117ca
push 0x10061d28
mov edx, 0x10053520
call fcn.10002150
jmp 0x10011775
call fcn.1000d650
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.10001070
mov eax, 0x13
jmp 0x10011789
Function at 0x10012730
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x10012743
lea eax, [esi + 0xd]
pop esi
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
xor edi, edi
lea ecx, [ecx]
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10012750
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x10012780
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov eax, ecx
mov esi, dword [eax + 4]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x120]
push edx
xor edi, edi
or esi, 0x2001f
push esi
push edi
mov dword [ebp - 0x124], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x120], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x118]
mov ebx, eax
cmp ebx, edi
jne 0x10012814
xor eax, eax
cmp ecx, edi
je 0x100127f6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x120]
and esi, 0x300
mov ebx, eax
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], esi
cmp eax, edi
je 0x10012834
cmp ecx, edi
je 0x1001281f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x130]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x10c]
push eax
push edi
push ecx
mov dword [ebp - 0x11c], 0x100
call esi
test eax, eax
jne 0x100128bc
jmp 0x10012870
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x118]
call fcn.10012780
mov ebx, eax
cmp ebx, edi
jne 0x10012912
lea edx, [ebp - 0x130]
push edx
mov edx, dword [ebp - 0x118]
push edi
push edi
push edi
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push edi
push edx
mov dword [ebp - 0x11c], 0x100
call esi
test eax, eax
je 0x10012870
mov eax, dword [ebp - 0x118]
cmp eax, edi
je 0x100128d3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x118], edi
mov ebx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x114], edi
call fcn.10012590
mov esi, eax
mov eax, dword [ebp - 0x118]
cmp eax, edi
je 0x100128fd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x118]
cmp eax, edi
je 0x10012923
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10034d1a
mov esp, ebp
pop ebp
ret 4
Function at 0x100154b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
push 0
push str.efbg
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push 3
push 0x10053ed8
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 0xf
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x20], 0
call fcn.100028b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp + 0xc]
dec eax
jne 0x1001550a
mov eax, dword [ebp + 8]
mov dword [0x10061bcc], eax
cmp dword [ebp - 0xc], 0x10
jb 0x1001551c
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.10032d80
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.10034d1a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10019bb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004ea98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1005d500]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x1005d500]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
cmp byte [0x100a20a0], bl
je 0x10019c37
cmp dword [0x100a1fd0], 0x10
mov eax, dword [0x100a1fbc]
jae 0x10019c06
mov eax, 0x100a1fbc
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
push eax
call esi
cmp dword [0x100a1fec], 0x10
mov eax, dword [0x100a1fd8]
jae 0x10019c23
mov eax, 0x100a1fd8
push ebx
push eax
call esi
push edi
call fcn.10019d10
test al, al
jne 0x10019c41
inc dword [0x100a1ddc]
mov eax, 2
jmp 0x10019cea
call fcn.1001c710
test al, al
je 0x10019c31
call fcn.1001ca00
test al, al
je 0x10019c31
call fcn.1001cb30
test al, al
je 0x10019c31
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov dword [esp + 0x14], vtable.SysService.0
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x18]
mov dword [0x100a1db4], ebx
mov dword [0x100a1db8], ebx
mov dword [0x100a1da4], ebx
mov dword [0x100a1da8], ebx
mov dword [0x100a1dac], ebx
mov dword [0x100a1db0], ebx
mov dword [0x100a1ddc], ebx
call fcn.1002fec0
mov dword [0x100a1d9c], eax
call fcn.10003c40
push 0x100a202c
mov ebx, 0x100a1d90
call fcn.10024f30
push 0x100a2010
call fcn.100039d0
mov dword [0x100a1ddc], 0
mov eax, 0xa
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret
Function at 0x1001ca00
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e92b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x78]
push 0x10053b68
push eax
call fcn.100366bd
add esp, 0xc
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push 0x100a1e8c
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
call fcn.10002da0
push 1
mov eax, 0x1005465c
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], ebx
call fcn.10002620
lea eax, [ebp - 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001ca88
sub eax, edx
push eax
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x94]
call fcn.10002620
mov ecx, dword [0x100a1ff4]
mov esi, 0x10
cmp dword [0x100a2008], esi
jae 0x1001cab8
mov ecx, 0x100a1ff4
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x1001cac9
lea eax, [ebp - 0x94]
push ebx
push ebx
push ecx
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x1001caf0
cmp dword [ebp - 0x80], esi
jb 0x1001caec
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.10032d80
add esp, 4
xor al, al
jmp 0x1001cb12
push 0x100a1ff4
call fcn.1000de20
mov bl, al
cmp dword [ebp - 0x80], esi
jb 0x1001cb10
mov edx, dword [ebp - 0x94]
push edx
call fcn.10032d80
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret
Function at 0x1001cb30
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e92b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x100a1eb8], ebx
je 0x1001cc5a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x78]
push 0x10053b68
push eax
call fcn.100366bd
add esp, 0xc
push 0xffffffffffffffff
push ebx
push 0x100a1ea8
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
call fcn.10002da0
push 1
mov eax, 0x1005465c
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], ebx
call fcn.10002620
lea eax, [ebp - 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001cbc4
sub eax, edx
push eax
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x94]
call fcn.10002620
mov ecx, dword [0x100a2048]
mov esi, 0x10
cmp dword [0x100a205c], esi
jae 0x1001cbf4
mov ecx, 0x100a2048
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x1001cc05
lea eax, [ebp - 0x94]
push ebx
push ebx
push ecx
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x1001cc2c
cmp dword [ebp - 0x80], esi
jb 0x1001cc28
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.10032d80
add esp, 4
xor al, al
jmp 0x1001cc64
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x80], esi
jb 0x1001cc47
mov edx, dword [ebp - 0x94]
push edx
call fcn.10032d80
add esp, 4
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
mov ecx, 0x100a2048
call fcn.10021920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret