joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001d30
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x41c
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x420]
push ebx
push ebp
mov ebp, dword [esp + 0x42c]
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov esi, edx
cmp ebp, ebx
je 0x10001e36
push edi
push ebx
push ebp
call fcn.10116880
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push esi
push edi
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov edx, eax
mov dword [esp + 0x14], edx
cmp edx, ebx
je 0x10001e36
cmp byte [ebp], bl
je 0x10001e36
xor ecx, ecx
xor edi, edi
mov byte [esp + 0x220], bl
mov byte [esp + 0x18], bl
cmp edx, ebx
jbe 0x10001e2f
nop
mov al, byte [edi + ebp]
cmp al, bl
jne 0x10001e25
lea edx, [esp + 0x18]
push 0x3d
push edx
mov byte [esp + ecx + 0x20], bl
call fcn.1010d780
add esp, 8
cmp eax, ebx
je 0x10001e1d
lea ecx, [eax + 1]
lea esi, [esp + 0x220]
sub esi, ecx
lea ebx, [ebx]
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
cmp dl, bl
jne 0x10001de0
mov byte [eax], bl
lea eax, [esp + 0x18]
push str.launcher.exe
push eax
call fcn.1011c280
add esp, 8
test eax, eax
je 0x10001e1d
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ecx
lea edx, [esp + 0x230]
lea ecx, [esp + 0x28]
call fcn.10001950
add esp, 0x10
mov edx, dword [esp + 0x14]
xor ecx, ecx
jmp 0x10001e2a
mov byte [esp + ecx + 0x18], al
inc ecx
inc edi
cmp edi, edx
jb 0x10001db0
mov eax, 1
jmp 0x10001e38
xor eax, eax
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010d699
add esp, 0x41c
ret
Function at 0x10001e60
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x318
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x314], eax
push edi
mov edi, ecx
mov dword [esp + 4], edi
test edi, edi
je 0x10001e8d
cmp byte [edi], 0
je 0x10001e8d
call fcn.100447d0
test eax, eax
jne 0x10001ea5
xor eax, eax
pop edi
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.1010d699
add esp, 0x318
ret
push ebx
push esi
lea esi, [eax + 1]
push esi
mov dword [esp + 0x14], esi
call fcn.1010ccc2
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10001ed5
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.1010d699
add esp, 0x318
ret
push ebp
push esi
push 0
push ebx
call fcn.10116880
add esp, 0xc
push edi
push esi
push ebx
push str.GROUPS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov ebp, eax
test ebp, ebp
je 0x10001f08
lea esi, [ebp + 1]
push esi
call fcn.1010ccc2
mov edi, eax
add esp, 4
test edi, edi
jne 0x10001f18
push ebx
call fcn.1010d9f8
add esp, 4
xor eax, eax
jmp 0x10001fb5
push esi
push 0
push edi
call fcn.10116880
push ebp
push ebx
push edi
call fcn.101162d0
xor eax, eax
add esp, 0x18
xor esi, esi
mov byte [esp + 0x18], al
mov byte [esp + 0x11c], al
test ebp, ebp
jbe 0x10001fa1
nop
mov cl, byte [esi + edi]
test cl, cl
jne 0x10001f94
mov byte [esp + eax + 0x11c], cl
lea eax, [esp + 0x11c]
push 0x3d
push eax
call fcn.1010d780
add esp, 8
test eax, eax
je 0x10001f90
inc eax
lea edx, [esp + 0x18]
sub edx, eax
jmp 0x10001f70
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10001f70
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ebx
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.10001d30
add esp, 8
xor eax, eax
jmp 0x10001f9c
mov byte [esp + eax + 0x11c], cl
inc eax
inc esi
cmp esi, ebp
jb 0x10001f40
push edi
call fcn.1010d9f8
push ebx
call fcn.1010d9f8
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0x324]
pop ebp
pop esi
pop ebx
pop edi
xor ecx, esp
call fcn.1010d699
add esp, 0x318
ret
Function at 0x10002ca0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x10], 0
call fcn.10116880
add esp, 0xc
push esi
push 0x104
lea ecx, [esp + 0xc]
push ecx
push 0x1013f817
push str.launcher.exe
push str.Computer_Games
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 4], 0
je 0x10002d0d
push ebx
push str.Computer_Games
xor eax, eax
mov ebx, str.launcher.exe
call fcn.10042d90
add esp, 4
pop ebx
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.1010d699
add esp, 0x108
ret
Function at 0x100055a0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101361eb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x1017455c]
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 edi, ecx
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x470]
inc eax
push eax
call fcn.1010ccc2
mov ebx, eax
add esp, 4
mov dword [ebp - 0x21c], ebx
test ebx, ebx
je 0x10005743
mov ecx, dword [edi + 0x470]
inc ecx
push ecx
push 0
push ebx
call fcn.10116880
mov edx, dword [edi + 0x470]
inc edx
add esp, 0xc
push edx
lea esi, [edi + 0x480]
push str.WinHttpReadData___u_
mov edx, esi
call fcn.10002e50
add esp, 8
cmp dword [0x1018fe68], 0
je 0x10005643
push esi
push 0x10146158
push 0
call fcn.10053700
add esp, 0xc
mov eax, dword [edi + 0x470]
lea ecx, [eax + 1]
add dword [edi + 0x454], ecx
mov ecx, dword [edi + 0x454]
push ecx
inc eax
push eax
lea edx, [edi + 0x350]
push str.HttpReadData___u___Total:__u_
push edx
call fcn.10053700
add esp, 0x10
call fcn.1006ea70
mov eax, dword [edi + 0x470]
mov ecx, dword [edi + 0x46c]
push 0
push eax
push ebx
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x1000575c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
push esi
push str._s:_Error__d_encountered.
lea edx, [ebp - 0x218]
call fcn.10002e50
add esp, 0xc
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x234], dx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100056d6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x238]
call fcn.10009510
push 0xffffffffffffffff
mov byte [ebp - 4], 1
push 0
lea ecx, [edi + 0x230]
mov eax, esi
mov dword [edi + 0x22c], 1
call fcn.10009210
cmp dword [ebp - 0x220], 8
mov dword [edi + 0x228], ebx
jb 0x10005734
mov eax, dword [ebp - 0x234]
push eax
call fcn.1010e8a3
add esp, 4
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.1010d9f8
add esp, 4
xor al, al
jmp 0x1000575e
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.1010d699
mov esp, ebp
pop ebp
ret
Function at 0x10007af0
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xfffffffffffffffe
push 0x1016f638
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp + 0x30c], bl
push 0x103
push ebx
lea eax, [ebp + 0x30d]
push eax
call fcn.10116880
mov byte [ebp], bl
push 0x103
push ebx
lea ecx, [ebp + 1]
push ecx
call fcn.10116880
mov byte [ebp + 0x208], bl
push 0x103
push ebx
lea edx, [ebp + 0x209]
push edx
call fcn.10116880
mov dword [ebp - 0x1c], ebx
push 0x104
lea eax, [ebp + 0x30c]
push eax
push 0x1013f817
mov edx, str.Version
mov ecx, str.eScan
call fcn.100436c0
add esp, 0x30
cmp byte [ebp + 0x30c], bl
je 0x10007bd6
mov al, 0x2e
lea edx, [ebp + 0x30c]
call fcn.1005a900
cmp eax, 3
jne 0x10007bd6
push 0x2e
lea ecx, [ebp + 0x30c]
push ecx
call fcn.1010e930
inc eax
push eax
call fcn.1010dc05
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x10007c7d
lea edi, [ebp]
call fcn.10039e30
cmp eax, 1
jne 0x10007c7a
mov edx, edi
push edx
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp + 0x208]
call fcn.10049c40
push str.verinfo.ini
lea ecx, [ebp + 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp + 0x208]
push edx
push 0x104
lea eax, [ebp + 0x30c]
push eax
push 0x1013f817
push str.Version
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp + 0x30c], bl
je 0x10007c7a
mov al, 0x2e
lea edx, [ebp + 0x30c]
call fcn.1005a900
cmp eax, 3
jne 0x10007c7a
push 0x2e
lea ecx, [ebp + 0x30c]
push ecx
call fcn.1010e930
inc eax
push eax
call fcn.1010dc05
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jbe 0x10007d42
mov byte [ebp + 0x104], bl
push 0x103
push ebx
lea edx, [ebp + 0x105]
push edx
call fcn.10116880
xor edi, edi
mov dword [ebp - 0x20], edi
push ebx
push ebx
push 0x104
push str.http:__db.escanav.com_mwscnew_escan_hotfix.asp
xor ecx, ecx
lea edx, [ebp + 0x104]
call fcn.100078a0
add esp, 0x1c
cmp byte [ebp + 0x104], bl
je 0x10007d17
push 0x101484bc
lea eax, [ebp + 0x104]
push eax
call fcn.1010ddc0
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x10007d17
add esi, 2
push 0x5d
push esi
call fcn.1010d780
add esp, 8
cmp eax, ebx
je 0x10007d17
mov byte [eax], bl
mov al, 0x2e
mov edx, esi
call fcn.1005a900
cmp eax, 3
jne 0x10007d17
push 0x2e
push esi
call fcn.1010e930
inc eax
push eax
call fcn.1010dc05
add esp, 0xc
mov edi, eax
mov dword [ebp - 0x20], edi
cmp edi, dword [ebp - 0x1c]
jbe 0x10007d42
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x10007d4b
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.1010d699
add ebp, 0x414
mov esp, ebp
pop ebp
ret
Function at 0x1000b8b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call fcn.1000b9b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 1
push ebp
push str.SOFTWAREMicroWorld
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, eax
push esi
call ebx
cmp esi, ebp
jne 0x1000b99a
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push ebp
push str.MWTSP_Reorder_Enabled
push ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1000b970
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebp
push str.SOFTWAREMicroWorld
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebp
call edi
mov esi, eax
push esi
call ebx
cmp esi, ebp
jne 0x1000b970
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push ebp
push str.MWTSP_Reorder_Enabled
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [esp + 0x14], 2
je 0x1000b987
cmp dword [esp + 0x1c], ebp
je 0x1000b98b
mov dword [esp + 0x14], 1
jmp 0x1000b98b
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x1000b99a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp eax, dword [esp + 0x14]
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x14
ret
Function at 0x1000bf70
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x24
push ebp
push esi
push edi
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
push 0
push 5
push ebx
mov dword [esp + 0x1c], eax
call ebp
mov esi, eax
mov edi, 1
cmp esi, 0x102
jne 0x1000c023
cmp edi, 0x14
jl 0x1000bfbb
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x34]
ja 0x1000c023
cmp dword [esp + 0xc], 0
jne 0x1000c011
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1000c011
cmp dword [esp + 0x18], 0x12
je 0x1000c009
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x1000bfc2
mov dword [esp + 0xc], 1
push 0
push 5
push ebx
call ebp
mov esi, eax
inc edi
cmp esi, 0x102
je 0x1000bfa4
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x24
ret

Function at 0x1000c030
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1016dbd0
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x1000c0c5
jle 0x1000c086
cmp byte [esi + edi - 1], 0x2e
je 0x1000c0c5
push 0x2e
push edi
call fcn.1010d780
add esp, 8
test eax, eax
je 0x1000c0c5
add esi, 2
push esi
call fcn.1010dced
add esp, 4
mov esi, eax
test esi, esi
je 0x1000c0c5
mov ebx, 1
mov dword [ebp - 0x20], ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10148b60
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x1000c0c7
mov esi, edi
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
test ebx, ebx
je 0x1000c0e6
push esi
call fcn.1010dc10
add esp, 4
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x1000c107
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000c130
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1016dbb0
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
push ebx
push esi
push edi
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, 1
xor esi, esi
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
xor edi, edi
mov ecx, dword [0x10192410]
mov dword [ebp - 0x30], edi
mov edx, 1
cmp edi, edx
jge 0x1000c23b
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x13c], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x20], 4
cmp ecx, esi
je 0x1000c1e5
or eax, 0xffffffff
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], 5
lea ecx, [ebp - 0x2c]
push ecx
push esi
push esi
lea edx, [ebp - 0x13c]
push edx
push esi
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 6
mov ecx, dword [0x10192410]
cmp ecx, esi
jne 0x1000c1c6
mov dword [ebp - 0x20], 7
cmp eax, esi
jne 0x1000c234
add edi, ebx
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x20], 0xa
jmp 0x1000c186
mov dword [ebp - 0x20], 9
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010750
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x1016b438
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov byte [ebp], bl
xor eax, eax
mov word [ebp + 1], ax
push 0x205
push ebx
lea ecx, [ebp + 3]
push ecx
call fcn.10116880
add esp, 0xc
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
push 0x48
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x100107d9
push 0x1e7
jmp 0x100108ce
cmp dword [esi + 0x40], ebx
je 0x100107e5
push 0x57
jmp 0x100108ce
mov edx, dword [esi]
mov eax, edx
call fcn.1004cb20
test eax, eax
jne 0x100107f9
push 6
jmp 0x100108ce
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
xor eax, eax
mov dword [ebp - 0x28], eax
xor ecx, ecx
push ebx
push ebx
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp eax, ebx
je 0x100108d0
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x208
lea eax, [ebp]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x100108d0
cmp dword [ebp - 0x20], 0x208
jne 0x100108d0
mov edx, 0xaa55
cmp word [ebp + 0x204], dx
jne 0x100108cc
mov al, byte [ebp]
cmp al, 0xeb
jne 0x10010860
cmp byte [ebp + 2], 0x90
je 0x10010864
cmp al, 0xe9
jne 0x100108cc
movzx ecx, word [ebp + 0xc]
movzx eax, word [ebp + 0x14]
shl eax, 5
lea eax, [eax + ecx - 1]
cdq
idiv ecx
movzx edx, word [ebp + 0x1a]
cmp edx, ebx
jne 0x10010885
mov edx, dword [ebp + 0x28]
cmp edx, ebx
je 0x100108cc
movzx edi, byte [ebp + 0x12]
imul edi, edx
movzx edx, word [ebp + 0x10]
add edi, eax
add edx, edi
imul ecx, edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ebx
mov eax, dword [esi + 0x34]
cmp eax, 0xff5
jae 0x100108b0
mov dword [esi + 0x40], 3
jmp 0x100108bd
cmp eax, 0xfff5
sbb ecx, ecx
add ecx, 5
mov dword [esi + 0x40], ecx
mov dword [ebp - 0x1c], 1
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100108d0
push 0xd
call edi
mov dword [ebp - 4], 0xfffffffe
call fcn.1001090b
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1010d699
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x10012e00
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1048
call fcn.10126240
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x1044], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1054]
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0xc55]
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0xc5c], bl
call fcn.10116880
push 0x40f
lea ecx, [esp + 0x851]
push ebx
push ecx
mov byte [esp + 0x858], bl
call fcn.10116880
add esp, 0x18
lea edx, [esp + 0x14]
push edx
push 1
push ebx
push str.SoftwareMicroWorldFBackupExclude
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 0x400
mov dword [esp + 0x30], 0x410
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
jne 0x10013050
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x844]
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xc64]
push eax
push ebx
push ecx
xor edi, edi
mov byte [esp + 0xc70], bl
mov byte [esp + 0x860], bl
mov dword [esp + 0x38], 0x400
mov dword [esp + 0x3c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x10013050
lea ecx, [ecx]
push 0x40f
lea edx, [esp + 0x435]
push ebx
push edx
mov byte [esp + 0x43c], bl
call fcn.10116880
push 0x40f
lea eax, [esp + 0x31]
push ebx
push eax
mov byte [esp + 0x38], bl
call fcn.10116880
add esp, 0x18
xor eax, eax
jmp 0x10012f30
mov cl, byte [esp + eax + 0x840]
mov byte [esp + eax + 0x430], cl
inc eax
cmp cl, bl
jne 0x10012f30
lea ecx, [esp + 0x430]
push ecx
call fcn.100454f0
add esp, 4
cmp byte [esp + 0x430], bl
je 0x10012ff5
push 1
lea edx, [esp + 0x434]
push edx
call sym.EncDec.dll_IsItEnvStringType
push 0x410
lea ebx, [esp + 0x24]
lea esi, [esp + 0x434]
call fcn.10042910
add esp, 4
cmp byte [esp + 0x20], 0
jne 0x10012fa0
xor eax, eax
mov cl, byte [esp + eax + 0x430]
mov byte [esp + eax + 0x20], cl
inc eax
test cl, cl
jne 0x10012f90
cmp byte [esp + 0x21], 0x3a
je 0x10012fce
cmp byte [esp + 0x22], 0x5c
je 0x10012fce
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
jne 0x10013046
push ebp
lea ecx, [esp + 0x24]
push ecx
jmp 0x10012fe6
lea edx, [esp + 0x20]
push ebp
push edx
call fcn.1010fbae
add esp, 8
test eax, eax
je 0x10013046
push ebp
lea eax, [esp + 0x24]
push eax
call fcn.10045210
add esp, 8
xor ebx, ebx
cmp eax, 1
je 0x10013048
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x844]
push edx
mov edx, dword [esp + 0x1c]
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xc64]
push ecx
inc edi
push edi
push edx
mov byte [esp + 0xc70], bl
mov byte [esp + 0x860], bl
mov dword [esp + 0x38], 0x400
mov dword [esp + 0x3c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x10012ef0
jmp 0x10013050
xor ebx, ebx
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1001305f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1054]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010d699
add esp, 0x1048
ret
Function at 0x100144f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x824
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x81c], eax
push ebx
push edi
push 0x5c
push esi
xor ebx, ebx
call fcn.1010d780
add esp, 8
test eax, eax
jne 0x100145e1
push 0x3a
push esi
call fcn.1010d780
add esp, 8
test eax, eax
jne 0x100145e1
push esi
lea eax, [esp + 0x424]
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_s
push eax
call fcn.1010d6a8
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x424]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100145c8
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push ebx
push edx
mov byte [esp + 0x28], bl
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100145bd
lea edi, [esp + 0x10]
call fcn.10014390
test eax, eax
jne 0x100145b8
mov eax, edi
push eax
lea ecx, [esp + 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor edx, edx
lea ecx, [esp + 0x218]
call fcn.10014600
test eax, eax
je 0x100145bd
mov ebx, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop ebx
mov ecx, dword [esp + 0x81c]
xor ecx, esp
call fcn.1010d699
add esp, 0x824
ret
mov ecx, dword [esp + 0x824]
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1010d699
add esp, 0x824
ret