joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10020f50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1005ee6c
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x10078c14]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x30]
push eax
call fcn.1000d1c0
mov dword [esp + 0x54], 0
lea ecx, [esp + 0x18]
push ecx
call fcn.1000d1c0
mov byte [esp + 0x54], 1
push str.OPA_API0002
lea ecx, [esp + 0x18]
call fcn.10002310
mov byte [esp + 0x54], 2
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x18]
push eax
lea ebx, [esp + 0x20]
call fcn.10020d10
mov edi, eax
mov byte [esp + 0x54], 1
lea ecx, [esp + 0x14]
call fcn.10002690
lea ecx, [esp + 0x10]
call fcn.100026f0
mov bl, 3
mov byte [esp + 0x54], bl
test edi, edi
jne 0x10021042
lea ecx, [esp + 0x10]
push ecx
call fcn.1002fb80
add esp, 4
test eax, eax
je 0x10020ffa
mov edi, 0x22008013
jmp 0x10021042
mov edx, dword [esi + 0xc68]
mov eax, dword [edx + 0x308]
push eax
lea ecx, [esp + 0x18]
call fcn.10002310
mov byte [esp + 0x54], 4
mov edi, dword [esp + 0x5c]
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
call fcn.10021380
mov edi, eax
mov byte [esp + 0x54], bl
lea ecx, [esp + 0x14]
call fcn.10002690
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push edi
mov ecx, esi
call edx
mov esi, eax
mov byte [esp + 0x54], 1
lea ecx, [esp + 0x10]
call fcn.10002690
mov byte [esp + 0x54], 0
lea eax, [esp + 0x18]
push eax
call fcn.1000e4f0
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x30]
push ecx
call fcn.1000e4f0
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x48
ret 4
Function at 0x100224f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [0x10078c14]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
mov ebp, dword [esp + 0x224]
push esi
push 0
mov esi, ecx
push 0x1006402c
mov ecx, edi
call fcn.100027e0
test esi, esi
je 0x10022600
push 0x208
lea eax, [esp + 0x1a]
push 0
push eax
mov word [esp + 0x20], 0
call fcn.10043430
add esp, 0xc
lea ecx, [esp + 8]
push ecx
xor eax, eax
push 0x20019
push eax
push esi
push ebx
mov dword [esp + 0x24], 0x105
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10022602
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x100225b4
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.100407ea
add esp, 0x21c
ret
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x100225e9
cmp eax, 2
je 0x100225e9
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 0xb
pop ebp
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.100407ea
add esp, 0x21c
ret
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.10002760
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x220]
pop esi
pop ebp
xor ecx, esp
call fcn.100407ea
add esp, 0x21c
ret

Function at 0x10022620
Capabilities:
Set registry value

Disassembly:
push ecx
test eax, eax
push esi
mov esi, ecx
jne 0x1002262b
pop esi
pop ecx
ret
mov ecx, dword [esi]
push edi
mov edi, dword [ecx - 0xc]
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push SysReAllocString
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100226d6
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
jne 0x10022675
jmp fcn.1000cc90
lea edx, [eax + 2]
jmp 0x10022680
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10022680
sub eax, edx
sar eax, 1
cmp eax, edi
jne 0x10022695
add edi, edi
mov eax, dword [esp + 8]
push edi
push esi
push 1
push 0
push str.CiGLoginName
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x100226c9
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ecx
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ecx
ret
Function at 0x100226e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
test eax, eax
mov dword [ebx], 0
jne 0x100226f1
add esp, 0x10
ret
lea ecx, [esp]
push ecx
push 0x20019
push 0
push eax
push SysReAllocString
mov dword [esp + 0x1c], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002278e
push esi
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x1002275e
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret
cmp dword [esp + 8], 4
je 0x1002277a
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xb
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x10]
push ecx
mov dword [ebx], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 0x10
ret

Function at 0x100227a0
Capabilities:
Set registry value

Disassembly:
push ecx
test eax, eax
je 0x10022806
push 0
lea ecx, [esp + 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10022808
mov ecx, dword [esp]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100227fc
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ecx
ret
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ecx
ret
Function at 0x10022810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058830
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10078c14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], ebx
mov edx, dword [ebp + 0x10]
mov dword [edx], ebx
cmp eax, ebx
je 0x100228ee
mov dword [ebp - 0x14], ebx
mov dword [ebp + 8], ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp + 8]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10022998
lea edx, [ebp - 0x14]
push edx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push str.CiGLoginPassword
mov ecx, dword [ebp + 8]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call edi
mov esi, eax
cmp esi, ebx
je 0x100228b8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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
cmp dword [ebp - 0x18], 3
je 0x100228df
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x14], ebx
jne 0x10022902
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x14]
push edx
call fcn.100324d6
add esp, 4
mov esi, eax
cmp esi, ebx
jne 0x10022931
mov eax, 0xe
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push esi
lea ecx, [ebp - 0x18]
push ecx
push ebx
push str.CiGLoginPassword
mov edx, dword [ebp + 8]
push edx
call edi
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, ebx
je 0x1002295e
push esi
call fcn.100324db
add esp, 4
mov eax, dword [ebp + 8]
push eax
jmp 0x10022990
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
jmp 0x1002298c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
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 0x100229b0
Capabilities:
Set registry value

Disassembly:
push ecx
test eax, eax
jne 0x100229b7
pop ecx
ret
push 0
lea ecx, [esp + 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10022a25
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [esp]
push esi
push edx
push eax
push 3
push 0
push str.CiGLoginPassword
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x10022a17
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ecx
ret
Function at 0x1002a680
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10059ad7
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10078c14]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.100026f0
xor edi, edi
mov dword [esp + 0x1c], edi
lea ebp, [esi + 8]
mov ecx, ebp
call fcn.100026f0
mov byte [esp + 0x1c], 1
lea ecx, [esi + 0x18]
call fcn.100026f0
mov byte [esp + 0x1c], 2
lea ecx, [esi + 0x28]
call fcn.100026f0
mov byte [esp + 0x1c], 3
lea ecx, [esi + 0x38]
call fcn.100026f0
mov byte [esp + 0x1c], 4
mov ecx, ebx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi], edi
call fcn.10002880
mov ecx, ebp
call fcn.10002880
lea ecx, [esi + 0x18]
call fcn.10002880
lea ecx, [esi + 0x28]
call fcn.10002880
lea ecx, [esi + 0x38]
call fcn.10002880
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x1002a820
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100587f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10078c14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
jne 0x1002a86c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x1002a88c
push eax
call fcn.10041647
add esp, 4
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov eax, dword [edi]
mov ecx, edi
mov edx, dword [eax + 0x30]
call edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov ecx, edi
call fcn.100359be
mov dword [esi + 0xc], eax
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1002a960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10059a7e
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x10078c14]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.100026f0
mov dword [esp + 0x18], 0
lea ebp, [esi + 8]
mov ecx, ebp
call fcn.100026f0
mov byte [esp + 0x18], 1
push 0xa
lea ecx, [esi + 0x18]
call fcn.10035dc6
mov byte [esp + 0x18], 2
test edi, edi
jne 0x1002a9be
xor eax, eax
jmp 0x1002a9d2
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002a9c3
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, esi
call fcn.100027e0
mov edx, dword [esp + 0x28]
test edx, edx
mov eax, dword [esp + 0x24]
mov dword [esi + 4], eax
jne 0x1002a9ee
xor eax, eax
jmp 0x1002aa02
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002a9f3
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, ebp
call fcn.100027e0
mov cl, byte [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov byte [esi + 0xc], cl
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
mov byte [esi + 0x34], 0
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 0x18
Function at 0x1002ead0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1005b6a4
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10078c14]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
push str.http:__sxg.ibiztb.com_capi_getConstantList
mov ecx, esi
call fcn.10002310
mov dword [esp + 0x10], 0
lea ecx, [esi + 4]
call fcn.100026f0
mov byte [esp + 0x10], 1
lea ecx, [esi + 8]
call fcn.100026f0
mov byte [esp + 0x10], 2
lea ecx, [esi + 0xc]
call fcn.100026f0
mov byte [esp + 0x10], 3
lea ecx, [esi + 0x10]
call fcn.100026f0
mov byte [esp + 0x10], 4
lea eax, [esi + 0x14]
push eax
call fcn.10010af0
mov byte [esp + 0x10], 5
lea ecx, [esi + 0x20]
push ecx
call fcn.10010af0
mov byte [esp + 0x10], 6
lea ecx, [esi + 0x2c]
call fcn.100026f0
mov byte [esp + 0x10], 7
lea ecx, [esi + 0x30]
call fcn.100026f0
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x1002eb90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1005b624
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10078c14]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], 8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1002ebef
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
lea edi, [esi + 0x14]
push ecx
mov ecx, edi
call fcn.1000f110
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], 0
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
cmp dword [esi + 0x28], 0
je 0x1002ec1e
mov edx, dword [esi + 0x24]
mov eax, dword [edx + 4]
lea edi, [esi + 0x20]
push eax
mov ecx, edi
call fcn.1000f110
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], 0
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
mov byte [esp + 0x18], 7
lea ecx, [esi + 0x30]
call fcn.10002690
mov byte [esp + 0x18], 6
lea ecx, [esi + 0x2c]
call fcn.10002690
mov cl, 5
mov byte [esp + 0x18], cl
lea eax, [esi + 0x20]
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], cl
call fcn.10010f20
mov cl, 4
mov byte [esp + 0x18], cl
lea eax, [esi + 0x14]
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], cl
call fcn.10010f20
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x10]
call fcn.10002690
mov byte [esp + 0x18], 2
lea ecx, [esi + 0xc]
call fcn.10002690
mov byte [esp + 0x18], 1
lea ecx, [esi + 8]
call fcn.10002690
mov byte [esp + 0x18], 0
lea ecx, [esi + 4]
call fcn.10002690
mov dword [esp + 0x18], 0xffffffff
mov ecx, esi
call fcn.10002690
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x1002fd00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100598d0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x10078c14]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [ecx]
xor edi, edi
cmp dword [eax - 0xc], edi
je 0x1002fe4c
mov edx, dword [esi]
cmp dword [edx - 0xc], edi
je 0x1002fe4c
lea eax, [esp + 0x18]
push eax
mov ebx, str._url
call fcn.1000eec0
mov dword [esp + 0x84], edi
push 0x44
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.10043430
add esp, 0x10
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0x44
call fcn.1000d140
mov ebx, 1
mov byte [esp + 0x80], bl
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], ebx
jle 0x1002fdb0
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.10002200
mov eax, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], ebx
jle 0x1002fdcc
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.10002200
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0x20
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1002fdf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1002fe07
push eax
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1002fe12
push eax
call esi
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x14]
call fcn.10002690
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.10002690
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x74
ret
mov eax, 0x80004005
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x74
ret
Function at 0x10030110
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1005a578
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10078c14]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, edx
lea ecx, [ebp - 0x14]
call fcn.100026f0
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x18]
call fcn.100026f0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x100301c3
lea esi, [ebp - 0x1c]
call fcn.100306b0
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x18]
call fcn.10003c80
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.10002690
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
jne 0x100301a0
mov byte [ebp - 4], bl
jmp 0x100302a8
lea ecx, [ebp]
push ecx
push ebx
push 0x10067a8c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x10030198
lea edx, [ebp]
push edx
lea ecx, [ebp - 0x14]
call fcn.10002760
jmp 0x100301cc
push esi
lea ecx, [ebp - 0x14]
call fcn.10003c80
lea ecx, [ebp - 0x2c]
call fcn.10033c42
mov byte [ebp - 4], 3
push ebx
or esi, 0xffffffff
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.1001d290
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x44]
push eax
push 0x1000
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10034015
test eax, eax
jne 0x10030232
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.1001d1d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10033d16
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.10002690
mov dword [ebp - 4], esi
jmp 0x100302b7
lea ecx, [ebp - 0x2c]
call fcn.10033be0
mov dword [ebp - 4], 4
lea edx, [ebp - 0x14]
push edx
mov ecx, edi
call fcn.10003c80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.1001d1d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10033d16
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.10002690
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x14]
call fcn.10002690
mov al, 1
jmp 0x100302c1
lea ecx, [ebp - 0x18]
call fcn.10002690
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10002690
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.100407ea
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x100306b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1005a4e2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x10078c14]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [0x10078c14]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov dword [esp + 0x220], 0
push 0x1006402c
mov ecx, esi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
call fcn.10002310
mov dword [esp + 0x220], 0
push 0
push 0x1a
lea eax, [esp + 0x14]
push eax
push 0
mov dword [esp + 0x14], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0xc]
push ecx
push str._scanonccl
push esi
call fcn.100022f0
push esi
call fcn.10030770
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.100407ea
add esp, 0x220
ret