joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100fb470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
cmp byte [esi + 0xd4], 0
je 0x100fb4cb
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x100fb4bf
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp + 8]
push edx
mov edx, dword [esi + 0xd8]
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0xdc]
push ecx
push edx
call eax
add esp, 0x14
test eax, eax
je 0x100fb555
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 8]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100fb51a
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi]
test eax, eax
je 0x100fb544
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10111bb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [ebx + 0xc], 0
mov dword [ebp - 0x10], eax
jne 0x10111bd1
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
push edi
lea edi, [ebx + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebx + 0x14]
call fcn.101116d0
mov esi, dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, ebx
cmp dword [edx + 0x18], esi
jne 0x10111c81
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x19], 0
jne 0x10111c39
lea esp, [esp]
mov dx, word [eax + 0xc]
cmp dx, word [ebp + 8]
jae 0x10111c2f
mov eax, dword [eax + 8]
jmp 0x10111c33
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x19], 0
je 0x10111c20
mov eax, dword [ebx + 0x18]
mov dword [ebp - 8], ecx
cmp ecx, eax
je 0x10111c52
mov dx, word [ebp + 8]
cmp dx, word [ecx + 0xc]
jb 0x10111c52
lea eax, [ebp - 8]
jmp 0x10111c58
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
mov esi, dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
cmp ax, word [ebp + 0xc]
je 0x10111c7a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, word [ebp + 0xc]
sub eax, dword [ebp - 0x10]
cmp eax, ecx
ja 0x10111c9b
mov edx, ebx
cmp dword [edx + 0x18], esi
je 0x10111c01
movzx ecx, word [esi + 0x10]
mov eax, dword [ebp + 0x14]
cmp word [eax], cx
jae 0x10111ca6
pop edi
pop esi
mov word [eax], cx
mov al, 3
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
pop esi
mov al, 2
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov cx, word [esi + 0x10]
mov word [eax], cx
movzx edx, word [esi + 0x10]
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
call sub.MSVCR100.dll_memcpy
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 0x14]
call fcn.10111980
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10115ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
xor eax, eax
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x42413938
mov dword [ebp - 8], 0x46454443
test edx, edx
jle 0x10115d6a
push edi
mov edi, dword [ebp + 0xc]
push ebx
cmp eax, 0x2e7c
jge 0x10115d53
movzx ebx, byte [ecx + edi]
shr ebx, 4
movzx ebx, byte [ebp + ebx - 0x14]
mov byte [esi + eax], bl
movzx ebx, byte [ecx + edi]
and ebx, 0xf
movzx ebx, byte [ebp + ebx - 0x14]
mov byte [esi + eax + 1], bl
mov byte [esi + eax + 2], 0x20
inc ecx
add eax, 3
cmp ecx, edx
jl 0x10115d20
pop ebx
pop edi
mov byte [esi + eax], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov byte [esi + eax], al
xor ecx, ebp
pop esi
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10116750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor bl, bl
cmp byte [esi + 0x1fc], bl
je 0x101167a7
cmp dword [esi + 0x1f8], 0
jne 0x10116774
cmp byte [esi + 4], bl
je 0x10116774
call fcn.10116710
mov eax, dword [esi + 0x1f8]
test eax, eax
je 0x101167a7
push eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
push 1
push ecx
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
mov edx, dword [esi + 0x1f8]
push edx
call dword [sym.imp.MSVCR100.dll_fflush]
add esp, 0x14
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
pop esi
mov al, bl
pop ebx
pop ebp
ret 4
Function at 0x10116cb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x18]
mov eax, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xa0], ecx
xor ecx, ecx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
cmp byte [eax + 0x1fc], cl
je 0x10116de4
mov ax, word [ebp + 8]
mov dx, word [ebp + 0xc]
mov word [ebp - 0x9c], ax
xor eax, eax
push ebx
mov dword [ebp - 0x50], eax
mov word [ebp - 0x4c], ax
mov eax, edi
push esi
mov word [ebp - 0x9a], dx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x81], 0x562d3237
mov dword [ebp - 0x7d], 0x32363837
mov word [ebp - 0x79], 0x312d
mov byte [ebp - 0x77], cl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, cl
jne 0x10116d32
sub eax, esi
cmp eax, 7
jb 0x10116d43
mov byte [edi + 7], cl
mov ebx, dword [ebp - 0xa0]
mov eax, ebx
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, cl
jne 0x10116d50
sub eax, esi
cmp eax, 0x10
jb 0x10116d61
mov byte [ebx + 0x10], cl
mov ebx, dword [ebp - 0xa4]
mov eax, ebx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, cl
jne 0x10116d70
sub eax, esi
cmp eax, 0x12
jb 0x10116d81
mov byte [ebx + 0x12], cl
lea esi, [ebp - 0x98]
mov eax, edi
sub esi, edi
jmp 0x10116d90
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
cmp dl, cl
jne 0x10116d90
mov eax, dword [ebp - 0xa0]
lea esi, [ebp - 0x91]
sub esi, eax
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
cmp dl, cl
jne 0x10116da8
lea esi, [ebp - 0x69]
mov eax, ebx
sub esi, ebx
lea esp, [esp]
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
cmp dl, cl
jne 0x10116dc0
push 0x98
lea edx, [ebp - 0x9c]
push edx
push ecx
mov ecx, dword [ebp - 0xa8]
call fcn.10116930
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 0x14

Function at 0x101173b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1020e5ec
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x105520d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 4], eax
lea ecx, [esi + 0x14]
mov dword [esi], vtable.EFS.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov word [esi + 0x10], ax
mov byte [esi + 0x12], al
mov edx, 0xf
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x10], eax
mov byte [ecx], al
mov dword [esi + 0x44], edx
mov dword [esi + 0x40], eax
mov byte [esi + 0x30], al
mov dword [esi + 0x60], edx
mov dword [esi + 0x5c], eax
mov byte [esi + 0x4c], al
mov dword [esi + 0x68], eax
push 0xffffffffffffffff
push eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 5
call fcn.10003140
call fcn.100e7e40
cmp dword [ebp + 0x1c], 0x10
mov dword [esi + 0xc], eax
jb 0x1011744c
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1011bae0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0
push 0x102e2da0
push 0x200
push esi
call sym.QMSL_MSVC10R.dll_QLIB_AddUserMessageToTextLog
push esi
call fcn.10136300
add esp, 0x14
pop esi
test eax, eax
jne 0x1011bb0b
xor al, al
pop ebp
ret
mov ecx, eax
pop ebp
jmp fcn.100ac230
Function at 0x101348c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x124
mov esi, eax
lea eax, [ebp - 0x128]
push 0
push eax
xor bl, bl
mov dword [ebp - 0x130], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
push esi
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.dll_Process32First
mov edi, dword [sym.imp.MSVCR100.dll__stricmp]
lea edx, [ebp - 0x108]
push str.QPSTServer.exe
push edx
call edi
add esp, 8
test eax, eax
je 0x10134948
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10134920
jmp 0x1013494a
mov bl, 1
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
test bl, bl
je 0x1013498c
mov ecx, dword [ebp - 0x124]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea edx, [ebp - 0x130]
mov esi, eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10203cc8
mov esp, ebp
pop ebp
ret
Function at 0x10134da0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x813c
call fcn.10203e10
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call sub.MSVCR100.dll_memset
mov ecx, dword [0x108f6180]
add esp, 0xc
mov dword [ebp - 0x811c], 0x104
mov dword [ebp - 0x8114], 0x3fff
cmp ecx, dword [0x108f6184]
je 0x10134dfd
mov dword [0x108f6184], ecx
lea ecx, [ebp - 0x8118]
push ecx
push 0x20019
push ebx
push str.HARDWAREDEVICEMAPSERIALCOMM
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10134e2f
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x813c]
push edx
lea eax, [ebp - 0x8128]
push eax
lea ecx, [ebp - 0x8124]
push ecx
lea edx, [ebp - 0x8130]
push edx
lea eax, [ebp - 0x8110]
push eax
lea ecx, [ebp - 0x8134]
push ecx
lea edx, [ebp - 0x812c]
push edx
mov edx, dword [ebp - 0x8118]
push ebx
push ebx
lea eax, [ebp - 0x811c]
push eax
lea ecx, [ebp - 0x108]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x8110]
cmp eax, ebx
je 0x10134f21
push esi
xor esi, esi
cmp eax, ebx
jbe 0x10134f20
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea ecx, [ecx]
mov eax, 0x3fff
mov dword [ebp - 0x8114], eax
mov dword [ebp - 0x8120], eax
lea eax, [ebp - 0x8120]
push eax
lea ecx, [ebp - 0x4108]
push ecx
mov ecx, dword [ebp - 0x8118]
push ebx
push ebx
lea edx, [ebp - 0x8114]
push edx
lea eax, [ebp - 0x8108]
push eax
push esi
push ecx
mov byte [ebp - 0x8108], bl
mov byte [ebp - 0x4108], bl
call edi
test eax, eax
jne 0x10134f16
lea edx, [ebp - 0x4105]
push edx
call dword [sym.imp.MSVCR100.dll_atoi]
mov byte [ebp - 0x810c], al
add esp, 4
lea eax, [ebp - 0x810c]
push eax
mov ecx, 0x108f6180
mov byte [ebp - 0x810b], bl
call fcn.10141cb0
inc esi
cmp esi, dword [ebp - 0x8110]
jb 0x10134ea0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10203cc8
mov esp, ebp
pop ebp
ret
Function at 0x10144240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x1c], 0
jne 0x1014427b
push esi
push 0
push 0x10144050
mov byte [esi + 0x1c], 1
call dword [sym.imp.MSVCR100.dll__beginthread]
mov eax, dword [esi + 0x14]
add esp, 0xc
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 8]
mov dword [ebp - 8], ecx
push eax
lea ecx, [esi + 0x50]
mov dword [ebp - 4], edx
call fcn.100f3610
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x101464b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1020f990
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x105520d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp byte [esi + 0x145], 0
mov byte [esi + 0x164], 0
jne 0x10146623
cmp byte [esi + 0x13c], 0
jne 0x101465b2
mov eax, dword [ebp + 8]
cmp eax, 0xfffe
sete cl
mov dword [ebp - 4], 0
mov dword [esi + 0x140], eax
mov byte [esi + 0x165], cl
test eax, eax
je 0x1014653f
cmp dword [ebp + 0x14], 0
jne 0x1014653f
mov ecx, esi
call fcn.10146320
mov byte [esi + 0x13c], al
mov dword [ebp - 4], 0xffffffff
jmp 0x101465b2
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
mov edx, dword [edx + 4]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x2c]
push ecx
push eax
mov ecx, edi
call edx
push edi
lea ecx, [esi + 0x18]
call fcn.100fa5a0
mov eax, dword [esi + 0x18]
mov edx, dword [eax + 0xc]
xor ecx, ecx
cmp byte [ebp + 0x20], cl
setne cl
dec ecx
and ecx, 2
push ecx
lea ecx, [esi + 0x18]
call edx
mov al, 1
mov byte [esi + 0x164], al
mov byte [esi + 0x13c], al
mov dword [ebp - 4], 0xffffffff
jmp 0x101465b2
lea ecx, [esi + 0x14]
push ecx
push 0
push esi
push 0x10145170
push 0
push 0
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.10145aa0
cmp byte [esi + 0x13c], 0
mov ecx, esi
jne 0x10146602
call fcn.10144dd0
mov al, 1
mov byte [esi + 0x145], 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 0x20
call fcn.10144ea0
mov al, 1
mov byte [esi + 0x145], 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 0x20
call fcn.10146320
mov byte [esi + 0x13c], al
mov ecx, esi
test al, al
jne 0x1014663b
call fcn.10144dd0
jmp 0x10146640
call fcn.10144ea0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10149640
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xff
push 0xffffffffffffffff
mov dword [ebp - 4], eax
push 0
lea eax, [ebp + 8]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
je 0x10149720
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
cmp eax, 1
jne 0x10149720
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
call esi
test eax, eax
je 0x101496be
mov edi, edi
lea edx, [ebp - 0x24]
push edx
call edi
lea eax, [ebp - 0x24]
push eax
call ebx
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
call esi
test eax, eax
jne 0x101496a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
ja 0x101496ee
push 0xff
push 0xffffffffffffffff
push 0
lea edx, [ebp + 8]
push edx
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
jne 0x10149684
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x3b
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.SoftwareDownload::waitWithMessageLoop______Timeout_exceeded
mov byte [ecx], 0
call fcn.10003320
mov ecx, dword [ebp - 8]
call fcn.10149500
mov eax, 0x102
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10173870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10212ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x105520d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0x34
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
xor eax, eax
add esp, 4
mov dword [ebp - 0x14], esi
cmp esi, eax
je 0x10173909
mov ecx, dword [edi + 4]
mov dword [esi], ecx
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov ecx, dword [edi + 4]
mov edx, dword [ebp + 8]
mov word [esi + 0x30], ax
mov dword [ebp - 4], eax
push edx
lea eax, [esi + 0xc]
push eax
add edi, 0xd
push edi
mov dword [esi + 8], ecx
call fcn.1016e430
add esp, 0xc
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 4
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp + 8], eax
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x1042a490
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x101d8450
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push esi
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x101d8484
test al, 1
je 0x101d847d
and eax, 0xfffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop ebp
ret 8
Function at 0x101f6b00
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 8], eax
mov byte [esi + 0xc], al
mov dword [esi + 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
mov dword [esi], vtable.CDemandPagedMemory.0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
mov dword [esi + 4], ecx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x101f98d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, dword [esi + 0x14]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 0x10]
push edx
call edi
mov eax, dword [esi + 0x1c]
push eax
call edi
lea ecx, [ebp + 8]
push ecx
push 0
push esi
push 0x101f98c0
push 0
push 0
mov dword [ebp + 8], 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x18], eax
test eax, eax
je 0x101f9944
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x101f9936
pop edi
mov al, 1
pop esi
pop ebp
ret 8
push str.timeout_waiting_for_response_thread_to_start_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
pop edi
xor al, al
pop esi
pop ebp
ret 8

Function at 0x101fa340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10219d03
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x105520d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
push eax
call fcn.101f9c40
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.PhoneImageDPaged.0
call fcn.101f6b00
mov ecx, dword [ebp + 8]
shl ecx, 0xa
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
push ecx
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.101f6b70
mov edx, dword [ebp + 0xc]
push edx
mov ecx, esi
call fcn.101f9c60
call fcn.101f9c80
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 8
Function at 0x101fbc50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], ecx
call edi
mov dword [ebp - 8], eax
call edi
movzx esi, word [ebp + 8]
xor bl, bl
imul esi, esi, 0x3e8
mov byte [ebp - 1], 0
lea esp, [esp]
sub eax, dword [ebp - 8]
cmp eax, esi
jae 0x101fbca5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
push eax
call fcn.101fb880
mov bl, al
test bl, bl
je 0x101fbc9d
mov byte [ebp - 1], 1
call edi
cmp byte [ebp - 1], 0
je 0x101fbc80
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8