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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004aecb
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.100343e3
push 4
mov dword [ebp - 4], 0
call fcn.10032ce0
mov edi, eax
add esp, 4
test edi, edi
je 0x10006220
call fcn.10034791
mov dword [edi], eax
call fcn.10034550
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.10034485
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10006216
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.100344ad
jmp 0x10006222
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 0x10009b80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c8e8
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 0x10009bc5
mov eax, dword [eax]
push 0x10053440
push eax
call fcn.100355d5
mov esi, eax
xor ebx, ebx
add esp, 8
mov dword [ebp - 0x88], esi
cmp esi, ebx
jne 0x10009be8
xor al, al
jmp 0x10009ce4
push esi
call fcn.10036454
add esp, 4
test eax, eax
jne 0x10009cd9
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.100354fc
push esi
push 1
lea ecx, [ebp - 0x75]
push 1
push ecx
call fcn.100354fc
push esi
push 1
lea edx, [ebp - 0x80]
push 2
push edx
call fcn.100354fc
push esi
push 1
lea eax, [ebp - 0x76]
push 1
push eax
call fcn.100354fc
mov edi, dword [ebp - 0x7c]
movzx ecx, byte [ebp - 0x76]
add esp, 0x40
cmp edi, ebx
jle 0x10009cc8
mov dl, byte [ebp - 0x75]
cmp dl, bl
je 0x10009c5e
cmp dl, 1
jne 0x10009cc8
movzx eax, word [ebp - 0x80]
movzx edx, dl
cmp edx, ebx
je 0x10009cc8
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.10009e50
cmp al, bl
je 0x10009cc8
mov ecx, dword [ebp - 0x84]
lea ebx, [ebp - 0x7c]
call fcn.1000b490
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
call fcn.10008b20
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
call fcn.10008c10
lea esi, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.10008ab0
mov esi, dword [ebp - 0x88]
xor ebx, ebx
push esi
call fcn.10036454
add esp, 4
test eax, eax
je 0x10009c00
push esi
call fcn.1003523e
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.10034caa
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000be20
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.10037db0
push 0x17
lea ecx, [ebp - 0x404]
push 0x100539b4
push ecx
call fcn.10037ec0
add esp, 0x18
xor eax, eax
mov edx, eax
and edx, 0x8000000f
jns 0x1000be74
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 0x1000be65
mov eax, dword [0x10061aa0]
test eax, eax
jne 0x1000bed1
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 0x1000bed1
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 0x1000beee
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.10034caa
mov esp, ebp
pop ebp
ret
Function at 0x1000e8a0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004ae18
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.1002fee0
cmp eax, dword [0x100a1d9c]
je 0x1000e969
cmp dword [0x100a1d98], 0
jne 0x1000e987
mov eax, 1
cmp word [esp + 0x28], ax
jae 0x1000e96b
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.10026420
call fcn.10036f23
cdq
xor eax, edx
sub eax, edx
cdq
mov ecx, 0x3840
idiv ecx
cmp edx, 0xe10
jl 0x1000e947
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.10034caa
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 0x1000e969
mov al, 1
jmp 0x1000e96b
Function at 0x1000f010
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b17a
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 0x1000f05f
mov eax, 0x100a1fd8
push eax
lea ecx, [ebp - 0x10]
call fcn.10020600
mov eax, dword [0x100a1fd8]
cmp dword [0x100a1fec], esi
jae 0x1000f07a
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.100063d0
mov eax, dword [ebp + 0xc]
push eax
call fcn.10032d10
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 0x1000f400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebx], 0
jne 0x1000f40e
xor al, al
pop ebp
ret 4
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000f413
sub eax, edx
xor ecx, ecx
push esi
mov esi, eax
cmp dword [ebp + 8], ecx
jle 0x1000f43d
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 0x1000f426
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x1000fbe0
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 0x1000fd59
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 0x1000fc17
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 0x1000fc64
mov ecx, 0x78
sub ecx, eax
push ebx
push edi
test ecx, ecx
je 0x1000fc91
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 0x1000fc8d
push esi
call fcn.1000f450
test ebx, ebx
jne 0x1000fc73
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 0x1000fcba
push esi
call fcn.1000f450
xor eax, eax
cmp ebx, eax
jne 0x1000fca0
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.10034caa
mov esp, ebp
pop ebp
ret
Function at 0x1000fe30
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 0x1000feba
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 0x1000feb6
lea eax, [esp + 0x18]
push eax
call fcn.1000f450
cmp edi, ebx
jne 0x1000fe92
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
call fcn.1000fd70
mov ecx, dword [esp + 0x8c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10034caa
mov esp, ebp
pop ebp
ret 4
Function at 0x10011610
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 0x10011630
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 0x100116a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004eb96
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 0x100117e4
mov dword [ebp - 0x11c], eax
lea edx, [ebp - 0x11c]
mov eax, 0x1005fbb4
call fcn.10032780
mov edi, dword [eax]
cmp edi, ebx
je 0x100117e4
cmp dword [edi + 0xc], 7
jne 0x10011713
call fcn.10002860
lea eax, [ebx + 0x13]
jmp 0x100117e9
mov dword [ebp - method.FileService.virtual_0], vtable.FileService.0
mov dword [ebp - 4], ebx
cmp dword [0x100a1fec], 0x10
mov esi, dword [0x100a1fd8]
jae 0x10011734
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.1003664d
add esp, 0x14
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x124]
call fcn.10020600
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 0x10011780
sub eax, edx
push eax
lea ecx, [ebp - 0x118]
push ecx
mov ecx, 0x10061d28
call fcn.100028f0
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 0x10011805
push ebx
push 0x10053510
mov ecx, 0x10061d28
call fcn.100028f0
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.10034caa
mov esp, ebp
pop ebp
ret
push 0x10061d28
lea ecx, [ebp - 0x120]
call fcn.100011d0
cmp al, bl
jne 0x1001182a
push 0x10061d28
mov edx, 0x10053510
call fcn.10002180
jmp 0x100117d5
call fcn.10002860
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.10001070
mov eax, 0x13
jmp 0x100117e9
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.10034caa
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.10034caa
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.10034caa
mov esp, ebp
pop ebp
ret 4
Function at 0x10015510
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.100028f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp + 0xc]
dec eax
jne 0x1001556a
mov eax, dword [ebp + 8]
mov dword [0x10061bcc], eax
cmp dword [ebp - 0xc], 0x10
jb 0x1001557c
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.10032d10
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.10034caa
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10019c00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004ea58
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 0x10019c87
cmp dword [0x100a1fd0], 0x10
mov eax, dword [0x100a1fbc]
jae 0x10019c56
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 0x10019c73
mov eax, 0x100a1fd8
push ebx
push eax
call esi
push edi
call fcn.10019d60
test al, al
jne 0x10019c91
inc dword [0x100a1ddc]
mov eax, 2
jmp 0x10019d3a
call fcn.1001c760
test al, al
je 0x10019c81
call fcn.1001ca50
test al, al
je 0x10019c81
call fcn.1001cb80
test al, al
je 0x10019c81
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.1002fee0
mov dword [0x100a1d9c], eax
call fcn.10003c80
push 0x100a202c
mov ebx, 0x100a1d90
call fcn.10024f50
push 0x100a2010
call fcn.10003a10
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.10034caa
mov esp, ebp
pop ebp
ret
Function at 0x1001ca50
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e8eb
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.1003664d
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.10002de0
push 1
mov eax, 0x10054614
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], ebx
call fcn.10002650
lea eax, [ebp - 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001cad8
sub eax, edx
push eax
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x94]
call fcn.10002650
mov ecx, dword [0x100a1ff4]
mov esi, 0x10
cmp dword [0x100a2008], esi
jae 0x1001cb08
mov ecx, 0x100a1ff4
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x1001cb19
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 0x1001cb40
cmp dword [ebp - 0x80], esi
jb 0x1001cb3c
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.10032d10
add esp, 4
xor al, al
jmp 0x1001cb62
push 0x100a1ff4
call fcn.1000e000
mov bl, al
cmp dword [ebp - 0x80], esi
jb 0x1001cb60
mov edx, dword [ebp - 0x94]
push edx
call fcn.10032d10
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.10034caa
mov esp, ebp
pop ebp
ret
Function at 0x1001cb80
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e8eb
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 0x1001ccaa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x78]
push 0x10053b58
push eax
call fcn.1003664d
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.10002de0
push 1
mov eax, 0x10054614
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], ebx
call fcn.10002650
lea eax, [ebp - 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001cc14
sub eax, edx
push eax
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x94]
call fcn.10002650
mov ecx, dword [0x100a2048]
mov esi, 0x10
cmp dword [0x100a205c], esi
jae 0x1001cc44
mov ecx, 0x100a2048
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x1001cc55
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 0x1001cc7c
cmp dword [ebp - 0x80], esi
jb 0x1001cc78
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.10032d10
add esp, 4
xor al, al
jmp 0x1001ccb4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x80], esi
jb 0x1001cc97
mov edx, dword [ebp - 0x94]
push edx
call fcn.10032d10
add esp, 4
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
mov ecx, 0x100a2048
call fcn.10021960
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.10034caa
mov esp, ebp
pop ebp
ret