joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3000d6bd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 4

Function at 0x3000d6d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x3000d6e7
xor eax, eax
jmp 0x3000d6ea
and eax, 0x10
ret 4

Function at 0x3000d705
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x3000d7d5
push dword [ebp + 8]
call fcn.300254f8
mov ecx, 0x104
cmp eax, ecx
jge 0x3000d7d5
lea eax, [ebp - 0x104]
push ecx
push eax
push dword [ebp + 8]
call fcn.300254dd
lea eax, [ebp - 0x104]
push eax
call fcn.300254f8
lea esi, [ebp + eax - 0x104]
lea eax, [ebp - 0x104]
push eax
call fcn.3000d6d4
test eax, eax
jne 0x3000d7d0
lea eax, [ebp - 0x104]
mov ebx, esi
push eax
call fcn.3000ea49
test edi, edi
mov esi, eax
je 0x3000d77b
mov byte [ebx], 0x5c
lea eax, [ebp - 0x104]
cmp esi, eax
jbe 0x3000d7d5
and byte [esi], 0
push 1
pop edi
lea eax, [ebp - 0x104]
push eax
call fcn.3000d6d4
test eax, eax
je 0x3000d764
mov byte [esi], 0x5c
inc esi
xor edi, edi
mov al, byte [esi]
cmp al, 0x5c
je 0x3000d7ae
test al, al
je 0x3000d7ae
inc esi
jmp 0x3000d7a1
cmp byte [esi], 0x5c
jne 0x3000d7b9
and byte [esi], 0
push 1
pop edi
lea eax, [ebp - 0x104]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
je 0x3000d7d5
test edi, edi
jne 0x3000d79b
push 1
pop eax
jmp 0x3000d7d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x3000dc66
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
mov byte [ebp - 0x134], bl
mov byte [ebp - 8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 7]
stosd dword es:[edi], eax
lea edi, [ebp - 0x1b]
mov byte [ebp - 0x1c], bl
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x2f]
mov byte [ebp - 0x30], bl
push 0x4f
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
xor eax, eax
cmp dword [ebp + 0xc], 0x36
lea edi, [ebp - 0x270]
mov dword [ebp - 0x274], ebx
rep stosd dword es:[edi], eax
jle 0x3000dd97
push 0x3000dc08
push 0x3000dc24
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, 0x104
cmp eax, ebx
push esi
je 0x3000dcf2
lea ecx, [ebp - 0x134]
push ecx
call eax
jmp 0x3000dcff
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
test eax, eax
je 0x3000dd97
lea eax, [ebp - 0x134]
push esi
push eax
push 0x3000dc34
call fcn.3000f1e5
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x3000dd97
mov esi, dword [sym.imp.KERNEL32.DLL_FindClose]
lea eax, [ebp - 0x248]
test eax, eax
je 0x3000dd7a
lea eax, [ebp - 8]
push 5
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.3000dbab
cmp eax, ebx
je 0x3000dd7a
lea ecx, [ebp - 0x1c]
push 0x11
push ecx
push eax
call fcn.3000dbab
cmp eax, ebx
je 0x3000dd7a
lea ecx, [ebp - 0x30]
push 0x11
push ecx
push eax
call fcn.3000dbab
test eax, eax
jne 0x3000dda0
lea eax, [ebp - 0x274]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x3000dd92
push edi
call esi
or edi, 0xffffffff
cmp edi, 0xffffffff
jne 0x3000dd3a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push 0x3000dc50
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.DLL_wnsprintfA]
add esp, 0x18
push edi
call esi
push 1
pop eax
jmp 0x3000dd99
Function at 0x3000e431
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
push edi
push 0x80
push 4
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x3000e486
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x20
mov dword [ebp - 4], eax
je 0x3000e473
cmp eax, 0x21
je 0x3000e473
cmp eax, 0x36
jne 0x3000e4b0
inc ebx
cmp ebx, 5
jge 0x3000e4b0
push 0xfa
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x3000e43c
push 2
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
lea eax, [ebp - 4]
push edi
push eax
push dword [ebp + 8]
call fcn.300254f8
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x3000e96d
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x3002eaf4], esi
je 0x3000e989
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
jmp 0x3000e9d1
push esi
push esi
push esi
mov ebx, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
push esi
push esi
call ebx
mov edi, eax
lea eax, [ebp - 4]
inc edi
push edi
push eax
call fcn.300242f3
test eax, eax
je 0x3000e9d1
push esi
push esi
push edi
push dword [ebp - 4]
push 0xffffffffffffffff
push dword [ebp + 8]
push esi
push esi
call ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
push dword [ebp - 4]
mov esi, eax
call fcn.300243f5
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x3000f271
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
cmp dword [0x3002eaf4], ecx
mov dword [ebp - 4], ecx
je 0x3000f299
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_LoadStringW]
jmp 0x3000f33c
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, eax
push esi
shr eax, 4
and ebx, 0xf
inc eax
movzx eax, ax
push edi
push ecx
push eax
push 6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceExA]
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
call esi
test edi, edi
je 0x3000f32f
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
call esi
test edi, edi
je 0x3000f32f
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
call esi
test edi, edi
je 0x3000f32f
test ebx, ebx
jle 0x3000f2f5
movzx eax, word [edi]
dec ebx
lea edi, [edi + eax*2 + 2]
jne 0x3000f2eb
movzx eax, word [edi]
mov edx, dword [ebp + 0x14]
lea ecx, [eax + 1]
cmp edx, ecx
jge 0x3000f305
dec edx
jmp 0x3000f307
mov edx, eax
lea eax, [edx + edx]
lea esi, [edi + 2]
mov edi, dword [ebp + 0x10]
mov ecx, eax
mov ebx, ecx
mov dword [ebp - 4], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x10]
and word [eax + ecx], 0
test edx, edx
jne 0x3000f336
mov eax, dword [ebp + 0x10]
and word [eax], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x3000f454
Capabilities:
Get common file path
Query or enumerate registry value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push edi
lea eax, [ebp - 0x10c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov edi, dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableA]
test eax, eax
je 0x3000f489
lea eax, [ebp - 0x10c]
push eax
push 0x3000f3b2
call edi
push 0x3000f3be
call fcn.3000fe48
xor ebx, ebx
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x3000f541
push esi
push 0x3000f3ce
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x3000f537
lea eax, [ebp - 0x10c]
push eax
push ebx
push ebx
push 0x26
push ebx
call esi
test eax, eax
jne 0x3000f4d7
lea eax, [ebp - 0x10c]
push eax
push 0x3000f3e2
call edi
lea eax, [ebp - 0x10c]
push eax
push ebx
push ebx
push 0x2b
push ebx
call esi
test eax, eax
jne 0x3000f4f7
lea eax, [ebp - 0x10c]
push eax
push 0x3000f3ee
call edi
lea eax, [ebp - 0x10c]
push eax
push ebx
push ebx
push 0x1a
push ebx
call esi
test eax, eax
jne 0x3000f517
lea eax, [ebp - 0x10c]
push eax
push 0x3000f3fa
call edi
lea eax, [ebp - 0x10c]
push eax
push ebx
push ebx
push 5
push ebx
call esi
test eax, eax
jne 0x3000f537
lea eax, [ebp - 0x10c]
push eax
push 0x3000f402
call edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
pop esi
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push 0x3000f40e
push reloc.OLEAUT32.DLL_SysReAllocString
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
test eax, eax
jne 0x3000f5cf
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x10c]
push eax
push ebx
push ebx
push 0x3000f442
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExA]
test eax, eax
jne 0x3000f5c6
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x10c], bl
lea eax, [ebp - 0x10c]
push eax
call fcn.300254f8
cmp byte [ebp + eax - 0x10d], 0x5c
jne 0x3000f5b8
lea eax, [ebp - 0x10c]
push eax
call fcn.300254f8
mov byte [ebp + eax - 0x10d], bl
lea eax, [ebp - 0x10c]
push eax
push 0x3000f44a
call edi
push dword [ebp - 8]
call dword [entry0]
pop edi
pop ebx
leave
ret
Function at 0x3000f6ac
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
mov dword [ebp - 8], ebx
je 0x3000f791
cmp dword [ebp + 8], ebx
je 0x3000f791
mov esi, 0x8000
lea eax, [ebp - 4]
push esi
push eax
call fcn.300242f3
test eax, eax
je 0x3000f791
push edi
mov edi, dword [ebp - 4]
mov ecx, 0x2000
xor eax, eax
push esi
rep stosd dword es:[edi], eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.3000f65d
test eax, eax
pop edi
je 0x3000f785
push ebx
push ebx
push 4
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call fcn.3000e6be
mov esi, eax
cmp esi, 0xffffffff
jne 0x3000f752
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x20
mov dword [ebp - 0xc], eax
je 0x3000f736
cmp eax, 0x21
je 0x3000f736
cmp eax, 0x36
jne 0x3000f785
inc dword [ebp - 8]
cmp dword [ebp - 8], 5
jge 0x3000f74a
push 0xfa
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [ebp - 8], 0x32
jl 0x3000f704
jmp 0x3000f785
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
lea eax, [ebp - 0xc]
push ebx
push eax
push dword [ebp - 4]
call fcn.300254f8
push eax
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 1
pop ebx
push dword [ebp - 4]
call fcn.300243f5
mov eax, ebx
jmp 0x3000f793
xor eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x3000fd6a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 1
pop esi
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
mov dword [ebp - 4], 4
push dword [ebp + 0xc]
push SysReAllocString
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
test eax, eax
je 0x3000fd9a
xor eax, eax
jmp 0x3000fdc2
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExA]
test eax, eax
je 0x3000fdb7
xor esi, esi
push dword [ebp + 0xc]
call dword [entry0]
mov eax, esi
pop esi
leave
ret 0x10

Function at 0x3000fdc7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x3000fded
cmp dword [ebp + 0x10], esi
je 0x3000fe0d
push 0x106
push dword [ebp + 0x10]
call fcn.30024069
mov ebx, eax
cmp ebx, esi
jne 0x3000fdf1
xor eax, eax
jmp 0x3000fe40
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov eax, ecx
push edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
pop edi
jmp 0x3000fe10
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push esi
push ebx
push dword [ebp + 8]
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x3000fe2e
push ebx
call dword [ebp + 8]
jmp 0x3000fe3d
lea eax, [ebp - 4]
push eax
push dword [0x3002a66c]
call fcn.300270d3
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc
Function at 0x3000fe48
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
cmp dword [0x3002eaec], 0
push esi
je 0x3000fe66
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
jmp 0x3000feca
mov esi, 0x104
lea eax, [ebp - 0x104]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
je 0x3000fec8
push edi
push dword [ebp + 8]
call fcn.300254f8
mov edi, eax
lea eax, [ebp - 0x104]
push eax
call fcn.300254f8
lea eax, [edi + eax + 2]
pop edi
cmp eax, esi
jg 0x3000fec8
lea eax, [ebp - 0x104]
push esi
push eax
push 0x3000fe46
call fcn.3000f1e5
lea eax, [ebp - 0x104]
push esi
push eax
push dword [ebp + 8]
call fcn.3000f1e5
lea eax, [ebp - 0x104]
push eax
jmp 0x3000fe5e
xor eax, eax
pop esi
leave
ret 4

Function at 0x3000ff68
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
xor esi, esi
xor eax, eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], esi
push 0xfa0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x3002ac18]
mov dword [ebp - 4], esi
push dword [eax + 0x24]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp dword [0x3002eaf4], esi
je 0x3001002f
push 0x10
xor eax, eax
cmp dword [ebp + 8], esi
pop ecx
lea edi, [ebp - 0x58]
mov dword [ebp - 0x5c], 0x44
rep stosd dword es:[edi], eax
je 0x3000fff6
push esi
push esi
push 0xffffffffffffffff
mov ebx, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push dword [ebp + 8]
push esi
push dword [0x3002eacc]
call ebx
mov edi, eax
inc edi
lea eax, [edi + edi]
push eax
lea eax, [ebp - 4]
push eax
call fcn.300242f3
test eax, eax
je 0x300100c9
push edi
push dword [ebp - 4]
push 0xffffffffffffffff
push dword [ebp + 8]
push esi
push dword [0x3002eacc]
call ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [0x3002ac18]
push esi
push esi
push 0x4000000
push esi
push esi
push esi
push dword [ebp - 4]
add eax, 0xb8
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
cmp dword [ebp - 4], esi
mov edi, eax
je 0x300100b5
push dword [ebp - 4]
jmp 0x300100b0
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x58]
mov dword [ebp - 0x5c], 0x44
push esi
rep stosd dword es:[edi], eax
mov eax, dword [0x3002ac18]
push esi
mov ebx, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push esi
push esi
add eax, 0xb8
push 0xffffffffffffffff
push eax
push esi
push dword [0x3002eacc]
call ebx
mov edi, eax
lea eax, [ebp - 8]
inc edi
push edi
push eax
call fcn.300242f3
test eax, eax
je 0x300100c9
mov eax, dword [0x3002ac18]
push esi
push esi
push edi
push dword [ebp - 8]
add eax, 0xb8
push 0xffffffffffffffff
push eax
push esi
push dword [0x3002eacc]
call ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push 0x4000000
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
push dword [ebp - 8]
mov edi, eax
call fcn.300243f5
cmp edi, esi
je 0x300100c9
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x18]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x30010ce5
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp byte [eax], bl
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
je 0x30010d2d
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.3000b769
test eax, eax
je 0x30010d2d
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
test eax, eax
je 0x30010d34
xor eax, eax
jmp 0x30010eb4
push ebx
lea eax, [ebp - 0x28]
push ebx
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.DLL_RegQueryInfoKeyA]
test eax, eax
jne 0x30010ea9
push 0xa
pop eax
cmp dword [ebp - 4], eax
ja 0x30010d64
mov dword [ebp - 4], eax
inc dword [ebp - 4]
push edi
mov edi, 0x106
push edi
push dword [ebp - 0x28]
call fcn.30024069
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x30010e98
push esi
push edi
push dword [ebp - 4]
call fcn.30024069
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x30010e7d
mov esi, 0x8000
push edi
push esi
call fcn.30024069
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x30010e7d
push dword [ebp + 8]
mov dword [ebp - 0x34], esi
push 0x30010cde
push esi
push eax
call dword [sym.imp.SHLWAPI.DLL_wnsprintfA]
add esp, 0x10
push dword [ebp - 8]
call fcn.300254f8
cmp dword [ebp - 0x30], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp + 8], ebx
jbe 0x30010e4b
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x3c]
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push ebx
push eax
push esi
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.DLL_RegEnumValueA]
test eax, eax
jne 0x30010e40
cmp dword [ebp - 0xc], ebx
jne 0x30010e22
push dword [ebp - 4]
push esi
push 0x3000185c
call fcn.300254dd
push esi
call fcn.300254f8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x2c]
push esi
push dword [ebp - 0xc]
push dword [ebp - 0x3c]
call fcn.300108fd
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x30]
jb 0x30010dd6
mov esi, dword [ebp + 0xc]
cmp dword [esi], ebx
jne 0x30010e66
push edi
push 0x400
push 0xa
push 4
push esi
call fcn.30026f3f
test eax, eax
je 0x30010e7d
lea eax, [ebp - 8]
push eax
push dword [esi]
call fcn.300270d3
cmp eax, 0xffffffff
je 0x30010e7d
mov dword [ebp - 0x18], 1
push dword [ebp - 0x10]
call fcn.300240a4
cmp dword [ebp - 0x14], ebx
pop esi
je 0x30010e93
push dword [ebp - 0x14]
call fcn.300240a4
cmp dword [ebp - 0x18], ebx
jne 0x30010ea5
cmp dword [ebp - 8], ebx
je 0x30010ea5
push dword [ebp - 8]
call fcn.300240a4
mov ebx, dword [ebp - 0x18]
pop edi
push dword [ebp - 0x1c]
call dword [entry0]
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x300118a4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x30011984
mov eax, dword [edi]
test eax, eax
je 0x30011984
push ebx
push esi
push eax
call fcn.3002557f
mov esi, eax
push 0x106
inc esi
lea eax, [esi + esi]
push eax
call fcn.30024069
mov ebx, eax
push esi
push ebx
mov dword [ebp - 8], ebx
push dword [edi]
call fcn.300254c0
mov eax, ebx
mov dword [ebp - 4], ebx
mov ebx, dword [edi]
test eax, eax
je 0x3001196b
jmp 0x300118f6
mov eax, dword [ebp + 8]
mov cx, word [eax]
xor edx, edx
cmp cx, dx
je 0x3001190d
cmp cx, 0x3b
je 0x3001190d
inc eax
inc eax
mov cx, word [eax]
jmp 0x300118fb
cmp word [eax], dx
je 0x3001191c
mov word [eax], dx
inc eax
inc eax
mov dword [ebp + 8], eax
jmp 0x3001191f
mov dword [ebp + 8], edx
push dword [ebp - 4]
call fcn.3000e96d
cmp eax, 0xffffffff
jne 0x30011937
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x30011961
mov eax, dword [edi]
cmp ebx, eax
je 0x30011944
mov word [ebx], 0x3b
inc ebx
inc ebx
mov ecx, ebx
sub ecx, eax
mov eax, esi
sar ecx, 1
sub eax, ecx
push eax
push ebx
push dword [ebp - 4]
call fcn.300254c0
push ebx
call fcn.3002557f
lea ebx, [ebx + eax*2]
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 4], eax
jne 0x300118f3
mov eax, dword [edi]
pop esi
cmp ebx, eax
pop ebx
jne 0x3001197c
push eax
call fcn.300240a4
and dword [edi], 0
push dword [ebp - 8]
call fcn.300240a4
pop edi
leave
ret 4
Function at 0x300122f5
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
call dword [sym.imp.WININET.DLL_InternetGetConnectedState]
test eax, eax
je 0x30012312
push 1
pop eax
leave
ret
mov eax, dword [ebp - 4]
and eax, 0x10
sub al, 0x10
neg al
sbb eax, eax
inc eax
leave
ret

Function at 0x30012321
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
call dword [sym.imp.WININET.DLL_InternetGetConnectedState]
neg eax
sbb eax, eax
inc eax
leave
ret

Function at 0x3001233c
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
mov esi, dword [sym.imp.WININET.DLL_InternetGetConnectedState]
lea eax, [ebp - 4]
push ebx
push eax
call esi
test eax, eax
je 0x3001235f
push 1
pop eax
jmp 0x30012404
cmp dword [0x3002eab0], ebx
je 0x3001236e
xor eax, eax
jmp 0x30012404
push edi
xor eax, eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test byte [ebp - 4], 0x40
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
je 0x300123a6
push ebx
push 1
pop edi
push edi
call dword [sym.imp.WININET.DLL_InternetAutodial]
test eax, eax
je 0x30012399
mov dword [0x3002d820], edi
jmp 0x300123f2
lea eax, [ebp - 4]
push ebx
push eax
call esi
test eax, eax
je 0x300123f2
jmp 0x30012391
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x82
push eax
push 0x30007dbb
push ebx
push 0x70
push dword [0x3002eae4]
mov dword [ebp - 0x14], 0x83
mov dword [ebp - 0xc], 0x14
mov dword [ebp - 0x10], 0x80
call fcn.30007b69
test eax, eax
je 0x300123f2
lea eax, [ebp - 4]
push ebx
push eax
call esi
test eax, eax
je 0x300123f2
mov dword [0x3002d820], 1
mov eax, dword [0x3002d820]
mov edx, dword [ebp + 8]
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [edx], ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x3001240a
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 0x1c], 0
push edi
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push 0
push eax
call dword [sym.imp.WININET.DLL_InternetGetConnectedState]
test eax, eax
pop edi
je 0x30012469
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], 0x7f
neg eax
sbb eax, eax
mov dword [ebp - 0x10], 0x80
and eax, 0x10
add eax, 0x7e
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x30007dbb
push 0
push 0x90
push dword [0x3002eae4]
call fcn.30007b69
leave
ret 4