joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413ef5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x413f23
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x413f41
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00413e5b
jmp 0x413f41
mov eax, dword [esi + 0x14]
test eax, eax
je 0x413f41
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00413e5b
test edi, edi
mov eax, edi
jne 0x413f2b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1006a7e0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x220], ecx
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 4
call fcn.10083bc0
mov ecx, 0x101dafb0
call fcn.1006a990
movzx eax, al
test eax, eax
je 0x1006a86a
mov dword [ebp - 0x20c], 1
jmp 0x1006a835
mov ecx, dword [ebp - 0x20c]
add ecx, 1
mov dword [ebp - 0x20c], ecx
cmp dword [ebp - 0x20c], 0x40
jg 0x1006a86a
mov edx, dword [ebp - 0x20c]
push edx
push str._PAD_d
lea eax, [ebp - 0x208]
push eax
call fcn.1014ea28
add esp, 0xc
lea ecx, [ebp - 0x208]
push ecx
call fcn.1014f1ca
add esp, 4
jmp 0x1006a826
mov edx, dword [ebp - 0x220]
mov eax, dword [edx]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1006a965
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x1006a895
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x224], eax
jmp 0x1006a89f
mov dword [ebp - 0x224], 0
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x1006a8c9
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x228], eax
jmp 0x1006a8d3
mov dword [ebp - 0x228], 0
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, 0x101dafb0
call fcn.1006a990
movzx ecx, al
test ecx, ecx
je 0x1006a957
movzx edx, byte [ebp + 8]
test edx, edx
je 0x1006a916
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1006a916
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x22c], edx
jmp 0x1006a920
mov dword [ebp - 0x22c], 0x101a0fc1
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
push 0x101a1008
lea eax, [ebp - 0x208]
push eax
call fcn.1014ea28
add esp, 0x10
lea ecx, [ebp - 0x208]
push ecx
call fcn.1014f1ca
add esp, 4
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
mov dword [ebp - 4], eax
jmp 0x1006a875
mov ecx, dword [ebp - 0x220]
add ecx, 4
call fcn.10083b70
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret 4
Function at 0x100711b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10188b9e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x101d8724]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], 0
je 0x100711e6
cmp dword [ebp + 8], 1
jne 0x1007127a
mov eax, dword [0x101dac34]
and eax, 1
jne 0x10071218
mov ecx, dword [0x101dac34]
or ecx, 1
mov dword [0x101dac34], ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101dac30], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101dac30]
cmp eax, 0x3a98
jbe 0x10071264
push 0
push 2
mov ecx, dword [ebp - 0x10]
call fcn.100711b0
push eax
push 2
mov ecx, dword [ebp - 0x10]
call fcn.100712b0
push 0
push 3
mov ecx, dword [ebp - 0x10]
call fcn.100711b0
push eax
push 3
mov ecx, dword [ebp - 0x10]
call fcn.100712b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101dac30], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + edx*4 + 0x1acc]
xor eax, 0x802370b7
jmp 0x1007129e
cmp dword [ebp + 8], 2
je 0x10071286
cmp dword [ebp + 8], 3
jne 0x1007129c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4 + 0x1acc]
xor eax, 0x802370b7
jmp 0x1007129e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10073e90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov ecx, 0x101db658
call fcn.10072a50
mov dword [ebp - 8], eax
mov eax, dword [0x101dd1c4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x5dc]
cmp edx, dword [ebp - 0xc]
jbe 0x10073ed5
mov eax, dword [0x101dd1c4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x5dc]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
jmp 0x10073edc
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x14]
sub eax, dword [ecx + 0x5e0]
cmp eax, 0x3a98
jbe 0x10073f11
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10073fc0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x5e0], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jbe 0x10073f24
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
jmp 0x10073f2b
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret

Function at 0x10073f40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov ecx, 0x101db658
call fcn.10072b10
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 8]
sub eax, dword [ecx + 0x5e0]
cmp eax, 0x3a98
jbe 0x10073f85
push 0
mov ecx, dword [ebp - 8]
call fcn.10073fc0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 8]
mov dword [edx + 0x5e0], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x5e4]
cmp ecx, dword [ebp - 4]
jbe 0x10073fa4
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x5e4]
sub eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
jmp 0x10073fab
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10074b00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10188ef3
mov eax, dword fs:[0]
push eax
sub esp, 0x754
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x750], ecx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd8], 0
jmp 0x10074b56
mov eax, dword [ebp - 0xd8]
add eax, 1
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx*4 + 0x101d4228]
mov dword [ebp - 0x6e8], edx
cmp dword [ebp - 0x6e8], 0
je 0x10074ca2
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax*4 + 0x101d4228]
mov dword [ebp - 0x6ec], ecx
mov edx, dword [ebp - 0x6ec]
push edx
mov ecx, 0x101dafb0
call fcn.1007ebf0
mov dword [ebp - 0x6e4], eax
cmp dword [ebp - 0x6e4], 0
je 0x10074c9d
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax*4 + 0x101d4228]
mov dword [ebp - 0x6f0], ecx
mov edx, dword [ebp - 0x6f0]
push edx
lea eax, [ebp - 0x6dc]
push eax
call fcn.1014eafb
add esp, 8
push 0x101a1280
lea ecx, [ebp - 0x6dc]
push ecx
call fcn.1014eaca
add esp, 8
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx*4 + 0x101d4228]
mov dword [ebp - 0x6f4], eax
mov ecx, dword [ebp - 0x6f4]
push ecx
mov ecx, 0x101dafb0
call fcn.1007ebf0
push eax
lea edx, [ebp - 0x6dc]
push edx
call fcn.1014eaca
add esp, 8
lea eax, [ebp - 0x6dc]
push eax
lea ecx, [ebp - 0x74]
call fcn.100e1330
mov dword [ebp - 0x754], eax
mov ecx, dword [ebp - 0x754]
mov dword [ebp - 0x758], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x758]
call fcn.100e1870
push eax
lea edx, [ebp - 0x2dc]
push edx
call fcn.1014e930
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.10063f10
push 0
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0x2dc]
push ecx
call fcn.1014e8a0
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x2dc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x10074b47
mov dword [ebp - 0xd8], 0
jmp 0x10074cbd
mov ecx, dword [ebp - 0xd8]
add ecx, 1
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0x750]
mov eax, dword [edx + 0x590]
mov dword [ebp - 0x710], eax
mov ecx, dword [ebp - 0xd8]
cmp ecx, dword [ebp - 0x710]
jge 0x10074d86
mov edx, dword [ebp - 0x750]
mov eax, dword [edx + 0x568]
mov ecx, dword [ebp - 0xd8]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x714], edx
mov eax, dword [ebp - 0x714]
push eax
lea ecx, [ebp - 0xd4]
call fcn.100e1330
mov dword [ebp - 0x75c], eax
mov ecx, dword [ebp - 0x75c]
mov dword [ebp - 0x760], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x760]
call fcn.100e1870
push eax
lea edx, [ebp - 0x2dc]
push edx
call fcn.1014e930
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.10063f10
push 0
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0x2dc]
push ecx
call fcn.1014e8a0
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x2dc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x10074cae
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret 4
Function at 0x1007dda0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], ecx
mov eax, dword [ebp - 0x220]
movsx ecx, byte [eax + 0x10c]
test ecx, ecx
jne 0x1007df14
mov dl, byte [0x101a0fc1]
mov byte [ebp - 0x218], dl
push 0x103
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.1014e270
add esp, 0xc
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 0x670]
mov dword [ebp - 0x21c], edx
push 0x104
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x2e
lea edx, [ebp - 0x218]
push edx
call fcn.1014f580
add esp, 8
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x1007de50
push 0x5c
mov eax, dword [ebp - 0x10c]
push eax
call fcn.1014f220
add esp, 8
test eax, eax
je 0x1007de66
push str..INI
lea ecx, [ebp - 0x218]
push ecx
call fcn.1014e940
add esp, 8
jmp 0x1007de7a
push str..INI
mov edx, dword [ebp - 0x10c]
push edx
call fcn.1014e930
add esp, 8
mov al, byte [0x101a0fc1]
mov byte [ebp - 0x108], al
push 0xff
push 0
lea ecx, [ebp - 0x107]
push ecx
call fcn.1014e270
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
push 0x101a189c
push str.REDIRECT
push str.LICENSE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x101a189c
lea ecx, [ebp - 0x108]
push ecx
call fcn.1014f3a0
add esp, 8
test eax, eax
je 0x1007def8
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x220]
add eax, 0x10c
push eax
call fcn.1014e930
add esp, 8
jmp 0x1007df14
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x220]
add edx, 0x10c
push edx
call fcn.1014e930
add esp, 8
mov eax, dword [ebp - 0x220]
add eax, 0x10c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret
Function at 0x10083bc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], 0
je 0x10083c07
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10083bc0
movzx eax, al
test eax, eax
je 0x10083bed
mov al, 1
jmp 0x10083c57
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jb 0x10083bd8
xor al, al
jmp 0x10083c57
mov ecx, dword [ebp - 0x10]
call fcn.10083c60
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x10]
call fcn.10083cb0
movzx edx, al
test edx, edx
je 0x10083c47
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 1
mov ecx, dword [ebp - 0x10]
call fcn.10083d20
mov byte [ebp - 1], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 4

Function at 0x1008b100
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1008b20f
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
push 0
push 0
push 0
push 0
push str.Application
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1008b167
mov dword [ebp - 8], 0
jmp 0x1008b1df
push 1
push 0
push 3
push 0
push 0
push 0x50
push str.www.google.com
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1008b192
mov dword [ebp - 8], 0
push 0
push 0
push 0
push 0
push 0
push str._index.html
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1008b1bd
mov dword [ebp - 8], 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1008b1df
mov dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x1008b1ef
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x18], 0
je 0x1008b1ff
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x10], 0
je 0x1008b20f
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 8], 0
setne al
mov esp, ebp
pop ebp
ret
Function at 0x1008b220
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.100e2060
movzx eax, al
test eax, eax
jne 0x1008b23e
mov byte [0x101daf98], 0
jmp 0x1008b2d3
call fcn.100e2110
movzx ecx, al
test ecx, ecx
setne dl
mov byte [ebp - 1], dl
cmp dword [ebp + 8], 0
je 0x1008b25f
mov byte [0x101daf98], 1
jmp 0x1008b2d3
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x1008b2e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x1008b2b9
push 0x1388
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x102
je 0x1008b2a0
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1008b2af
movzx edx, byte [ebp - 1]
test edx, edx
je 0x1008b2af
mov byte [0x101daf98], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x1008b2d3
movzx edx, byte [0x101daf99]
test edx, edx
je 0x1008b2d3
mov byte [0x101daf98], 1
mov esp, ebp
pop ebp
ret

Function at 0x1008baa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x101a0fc1]
mov byte [ebp - 0x408], al
push 0x3ff
push 0
lea ecx, [ebp - 0x407]
push ecx
call fcn.1014e270
add esp, 0xc
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
cmp eax, 0x22
jne 0x1008bb68
mov ecx, dword [ebp + 0xc]
add ecx, 1
push ecx
lea edx, [ebp - 0x848]
push edx
call fcn.1014e930
add esp, 8
push 0x22
lea eax, [ebp - 0x848]
push eax
call fcn.1014f220
add esp, 8
mov dword [ebp - 0x84c], eax
cmp dword [ebp - 0x84c], 0
je 0x1008bb66
mov ecx, dword [ebp - 0x84c]
mov byte [ecx], 0
mov edx, dword [ebp - 0x84c]
add edx, 1
mov dword [ebp - 0x84c], edx
mov eax, dword [ebp - 0x84c]
movsx ecx, byte [eax]
cmp ecx, 0x20
jne 0x1008bb50
mov edx, dword [ebp - 0x84c]
add edx, 1
mov dword [ebp - 0x84c], edx
jmp 0x1008bb31
mov eax, dword [ebp - 0x84c]
push eax
lea ecx, [ebp - 0x408]
push ecx
call fcn.1014e930
add esp, 8
jmp 0x1008bb7b
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x848]
push eax
call fcn.1014e930
add esp, 8
push 0x3c
push 0
lea ecx, [ebp - 0x444]
push ecx
call fcn.1014e270
add esp, 0xc
mov dword [ebp - 0x444], 0x3c
mov dword [ebp - 0x440], 0x140
mov edx, dword [ebp + 8]
mov dword [ebp - 0x43c], edx
lea eax, [ebp - 0x848]
mov dword [ebp - 0x434], eax
movsx ecx, byte [ebp - 0x408]
test ecx, ecx
je 0x1008bbce
lea edx, [ebp - 0x408]
mov dword [ebp - 0x430], edx
mov dword [ebp - 0x428], 5
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp dword [ebp - 0x424], 0x20
jae 0x1008bbf4
xor al, al
jmp 0x1008bc13
push 0x3e8
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret
Function at 0x1008d170
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1008d1df
push 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1008d1a3
push 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [str._EndDialogRetCode]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetPropA]
push 1
mov eax, dword [str._EndDialog]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetPropA]
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
jmp 0x1008d1e1
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1008d300
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
cmp dword [ebp + 8], 0
je 0x1008d323
mov eax, dword [ebp + 8]
jmp 0x1008d3a9
mov eax, 0x12
shl eax, 2
mov ecx, dword [0x101db5fc]
mov edx, dword [0x101db5fc]
mov esi, dword [0x101db5fc]
mov ebx, dword [esi + 0x6c]
xor ebx, dword [edx + 0x64]
xor ebx, dword [ecx + eax]
and ebx, 0x80
neg ebx
sbb ebx, ebx
neg ebx
movzx eax, bl
test eax, eax
je 0x1008d3a7
mov cl, byte [0x101a0fc1]
mov byte [ebp - 0x108], cl
push 0xff
push 0
lea edx, [ebp - 0x107]
push edx
call fcn.1014e270
add esp, 0xc
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
push str.PARENTHWND
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1008d3a7
lea ecx, [ebp - 0x108]
push ecx
call fcn.1008dbf0
add esp, 4
jmp 0x1008d3a9
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret
Function at 0x100a2f50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
movzx eax, byte [0x101d4f6d]
test eax, eax
jne 0x100a2f6d
mov eax, 0x101de2e0
jmp 0x100a305c
mov ecx, 0x12
shl ecx, 2
mov edx, dword [0x101db5fc]
mov eax, dword [0x101db5fc]
mov esi, dword [0x101db5fc]
mov ebx, dword [esi + 0x6c]
xor ebx, dword [eax + 0x64]
xor ebx, dword [edx + ecx]
and ebx, 0x80
neg ebx
sbb ebx, ebx
neg ebx
movzx ecx, bl
test ecx, ecx
je 0x100a2fae
mov eax, 0x101de2e0
jmp 0x100a305c
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0x100a2db0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x100a2ff5
push 0x1388
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100a2feb
mov byte [0x101d4f6d], 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx edx, byte [0x101d4f6d]
test edx, edx
je 0x100a3057
cmp dword [0x101de250], 0
je 0x100a3015
mov eax, dword [0x101de250]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
jmp 0x100a301c
mov dword [ebp - 0xc], 0
cmp dword [0x101de250], 0
je 0x100a3032
mov edx, dword [0x101de250]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
jmp 0x100a3039
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1014eb1c
add esp, 4
push eax
mov edx, dword [ebp - 0x10]
push edx
push 0x101de2e0
call fcn.1014efb3
add esp, 0xc
mov eax, 0x101de2e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100a3b00
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 9], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100a3b5c
push str.GetComputerNameExA
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100a3b52
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
push 4
call dword [ebp - 0x10]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx edx, byte [ebp - 9]
test edx, edx
jne 0x100a3b81
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 9], al
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret