joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006170
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 0x100061f0
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 0x100061e6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1003451d
jmp 0x100061f2
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 0x10009c00
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 0x10009c45
mov eax, dword [eax]
push 0x10053438
push eax
call fcn.10035645
mov esi, eax
xor ebx, ebx
add esp, 8
mov dword [ebp - 0x88], esi
cmp esi, ebx
jne 0x10009c68
xor al, al
jmp 0x10009d64
push esi
call fcn.100364c4
add esp, 4
test eax, eax
jne 0x10009d59
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 0x10009d48
mov dl, byte [ebp - 0x75]
cmp dl, bl
je 0x10009cde
cmp dl, 1
jne 0x10009d48
movzx eax, word [ebp - 0x80]
movzx edx, dl
cmp edx, ebx
je 0x10009d48
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.10009ed0
cmp al, bl
je 0x10009d48
mov ecx, dword [ebp - 0x84]
lea ebx, [ebp - 0x7c]
call fcn.1000b510
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
call fcn.10008cb0
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
call fcn.10008dd0
lea esi, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.10008c40
mov esi, dword [ebp - 0x88]
xor ebx, ebx
push esi
call fcn.100364c4
add esp, 4
test eax, eax
je 0x10009c80
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 0x1000bea0
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 0x100539b4
push ecx
call fcn.10037f30
add esp, 0x18
xor eax, eax
mov edx, eax
and edx, 0x8000000f
jns 0x1000bef4
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 0x1000bee5
mov eax, dword [0x10061aa0]
test eax, eax
jne 0x1000bf51
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 0x1000bf51
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 0x1000bf6e
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 0x1000e930
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.100300b0
cmp eax, dword [0x100a1d9c]
je 0x1000e9f9
cmp dword [0x100a1d98], 0
jne 0x1000ea17
mov eax, 1
cmp word [esp + 0x28], ax
jae 0x1000e9fb
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.10026590
call fcn.10036f93
cdq
xor eax, edx
sub eax, edx
cdq
mov ecx, 0x3840
idiv ecx
cmp edx, 0xe10
jl 0x1000e9d7
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 0x1000e9f9
mov al, 1
jmp 0x1000e9fb
Function at 0x1000f1b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b24a
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 0x1000f1ff
mov eax, 0x100a1fd8
push eax
lea ecx, [ebp - 0x10]
call fcn.10020740
mov eax, dword [0x100a1fd8]
cmp dword [0x100a1fec], esi
jae 0x1000f21a
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.100329a0
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 0x1000f530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebx], 0
jne 0x1000f53e
xor al, al
pop ebp
ret 4
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000f543
sub eax, edx
xor ecx, ecx
push esi
mov esi, eax
cmp dword [ebp + 8], ecx
jle 0x1000f56d
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 0x1000f556
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x1000fd10
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 0x1000fe89
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 0x1000fd47
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 0x1000fd94
mov ecx, 0x78
sub ecx, eax
push ebx
push edi
test ecx, ecx
je 0x1000fdc1
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 0x1000fdbd
push esi
call fcn.1000f580
test ebx, ebx
jne 0x1000fda3
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 0x1000fdea
push esi
call fcn.1000f580
xor eax, eax
cmp ebx, eax
jne 0x1000fdd0
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 0x1000ff60
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 0x1000ffea
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 0x1000ffe6
lea eax, [esp + 0x18]
push eax
call fcn.1000f580
cmp edi, ebx
jne 0x1000ffc2
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
call fcn.1000fea0
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 0x10011740
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 0x10011760
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 0x100117d0
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 0x10011914
mov dword [ebp - 0x11c], eax
lea edx, [ebp - 0x11c]
mov eax, 0x1005fbb4
call fcn.10004c60
mov edi, dword [eax]
cmp edi, ebx
je 0x10011914
cmp dword [edi + 0xc], 7
jne 0x10011843
call fcn.1002cc10
lea eax, [ebx + 0x13]
jmp 0x10011919
mov dword [ebp - method.FileService.virtual_0], vtable.FileService.0
mov dword [ebp - 4], ebx
cmp dword [0x100a1fec], 0x10
mov esi, dword [0x100a1fd8]
jae 0x10011864
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.10020740
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 0x100118b0
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 0x10011935
push ebx
push 0x10053510
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 0x1001195a
push 0x10061d28
mov edx, 0x10053510
call fcn.10002150
jmp 0x10011905
call fcn.1002cc10
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.10001070
mov eax, 0x13
jmp 0x10011919
Function at 0x10012860
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x10012873
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 0x10012880
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 0x100128b0
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 0x10012944
xor eax, eax
cmp ecx, edi
je 0x10012926
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 0x10012964
cmp ecx, edi
je 0x1001294f
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 0x100129ec
jmp 0x100129a0
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x118]
call fcn.100128b0
mov ebx, eax
cmp ebx, edi
jne 0x10012a42
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 0x100129a0
mov eax, dword [ebp - 0x118]
cmp eax, edi
je 0x10012a03
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.100126c0
mov esi, eax
mov eax, dword [ebp - 0x118]
cmp eax, edi
je 0x10012a2d
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 0x10012a53
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 0x10015650
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 0x10053ec8
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 0x100156aa
mov eax, dword [ebp + 8]
mov dword [0x10061bcc], eax
cmp dword [ebp - 0xc], 0x10
jb 0x100156bc
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 0x10019d40
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 0x10019dc7
cmp dword [0x100a1fd0], 0x10
mov eax, dword [0x100a1fbc]
jae 0x10019d96
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 0x10019db3
mov eax, 0x100a1fd8
push ebx
push eax
call esi
push edi
call fcn.10019ea0
test al, al
jne 0x10019dd1
inc dword [0x100a1ddc]
mov eax, 2
jmp 0x10019e7a
call fcn.1001c8a0
test al, al
je 0x10019dc1
call fcn.1001cb90
test al, al
je 0x10019dc1
call fcn.1001ccc0
test al, al
je 0x10019dc1
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.100300b0
mov dword [0x100a1d9c], eax
call fcn.10003c50
push 0x100a202c
mov ebx, 0x100a1d90
call fcn.100250b0
push 0x100a2010
call fcn.100039e0
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 0x1001cb90
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 0x10053b58
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, 0x1005463c
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 0x1001cc18
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 0x1001cc48
mov ecx, 0x100a1ff4
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x1001cc59
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 0x1001cc80
cmp dword [ebp - 0x80], esi
jb 0x1001cc7c
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.10032d80
add esp, 4
xor al, al
jmp 0x1001cca2
push 0x100a1ff4
call fcn.1000e090
mov bl, al
cmp dword [ebp - 0x80], esi
jb 0x1001cca0
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 0x1001ccc0
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 0x1001cdea
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x78]
push 0x10053b58
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, 0x1005463c
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 0x1001cd54
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 0x1001cd84
mov ecx, 0x100a2048
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x1001cd95
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 0x1001cdbc
cmp dword [ebp - 0x80], esi
jb 0x1001cdb8
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.10032d80
add esp, 4
xor al, al
jmp 0x1001cdf4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x80], esi
jb 0x1001cdd7
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.10021ab0
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