joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4662d0
Capabilities:
Write clipboard data

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 8]
dec eax
cmp eax, 4
ja case.default.0x4662e0
jmp dword [eax*4 + 0x466378]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push edi
call fcn.00411d40
pop esi
ret
mov eax, dword [esi + 4]
test eax, eax
je case.default.0x4662e0
mov ecx, dword [esi]
cmp byte [ecx], 0x30
je 0x466313
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push edi
call fcn.00411d40
pop esi
ret
push edi
or eax, 0xffffffff
call fcn.004011f0
test eax, eax
jne 0x466322
pop esi
ret
mov esi, dword [esi + 4]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push 0x10
push ecx
push edx
mov eax, edi
call fcn.004010d0
mov eax, 1
pop esi
ret
mov eax, dword [esi]
mov ecx, edi
pop esi
jmp fcn.00466190
fld qword [esi]
sub esp, 8
fstp qword [esp]
push edi
call fcn.00411d70
pop esi
ret
mov esi, dword [esi]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
push esi
mov eax, edi
call fcn.0044a870
pop esi
ret
mov ecx, dword [esi]
push edi
or eax, 0xffffffff
call fcn.004011f0
pop esi
ret
Function at 0x466bf0
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
mov ebx, ecx
movzx eax, byte [ebx + 0x17]
push esi
push edi
cmp eax, 3
ja case.default.0x466c03
jmp dword [eax*4 + 0x466d58]
mov eax, ebx
call fcn.00401150
cmp dword [0x4a0b8c], 0
jne 0x466c93
cmp dword [ebx + 0xc], 0
jne 0x466c93
mov edi, dword [esp + 0x14]
cmp dword [0x4a3b6c], ebx
jne 0x466c30
test edi, edi
jne 0x466c6e
mov ecx, dword [ebx + 0x18]
push 0
lea eax, [esp + 0x13]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x466c6a
mov dword [0x4a3b6c], 0
test edi, edi
je 0x466c62
mov ecx, dword [ebx + 0x18]
call fcn.00465330
pop edi
pop esi
pop ebx
pop ecx
ret 4
dec eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
test edi, edi
je 0x466c84
mov byte [edi], 0
mov dword [0x4a3b6c], 0
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov dword [0x4a3b6c], ebx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov esi, dword [esp + 0x14]
mov edi, dword [ebx + 0xc]
test esi, esi
je 0x466ce8
test edi, edi
jne 0x466cae
mov byte [esi], 0
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [ebx + 8]
cmp esi, ecx
je 0x466ce8
cmp edi, 0x186a0
jae 0x466cd9
mov al, byte [ecx]
test al, al
je 0x466ccd
inc ecx
mov byte [esi], al
mov al, byte [ecx]
inc esi
test al, al
jne 0x466cc3
mov byte [esi], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 4
push edi
push ecx
push esi
call fcn.0047b470
add esp, 0xc
mov byte [edi + esi], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xc]
push edx
call fcn.00466bf0
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov esi, dword [esp + 0x14]
push esi
mov ecx, 0x4a2bfc
call fcn.004039a0
cmp eax, 0xffffffff
jne 0x466d1b
xor eax, eax
test esi, esi
je 0x466d4f
mov byte [eax + esi], 0
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x466d35
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x10]
push eax
push ecx
call edx
Function at 0x467900
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [esp + 8], 0
je 0x467910
mov eax, esi
call fcn.0044a470
jmp 0x46791d
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 4]
test eax, eax
js 0x467978
je 0x467978
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebp
push 1
push 0x8000012f
mov edi, eax
call fcn.00401340
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call ebx
test eax, eax
je 0x467975
add edi, dword [esp + 0x10]
call ebp
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x467975
push 1
push 0x8000012f
call fcn.00401340
add esp, 8
push esi
call ebx
test eax, eax
jne 0x467954
pop edi
pop ebp
pop ebx
mov eax, esi
ret

Function at 0x467b50
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8960
call fcn.00488480
mov al, byte [ecx]
push ebx
push ebp
mov ebp, dword [esp + 0x896c]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x8974]
cmp al, 0x41
je 0x467b77
cmp al, 0x61
jne 0x467bc8
cmp byte [ecx + 1], bl
jne 0x467bc8
cmp byte [edi], bl
jne 0x467bc8
cmp byte [esi], bl
jne 0x467bc8
cmp byte [edx], bl
jne 0x467bc8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x467ba9
cmp byte [ebp + 0xc2], bl
jne 0x467ba9
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x467ba9
xor esi, esi
cmp byte [esp + 0x897c], bl
je 0x467bbc
cmp esi, ebx
je 0x467bbc
mov dword [ebp + 0xa0], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x8960
ret
cmp al, bl
jne 0x467be9
cmp byte [edi], bl
jne 0x467be9
cmp byte [esi], bl
jne 0x467be9
cmp byte [edx], bl
jne 0x467be9
mov eax, ebp
call fcn.00467d40
pop esi
pop ebp
pop ebx
add esp, 0x8960
ret
push edx
push esi
push edi
push ecx
push ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x830], 0x49588a
mov byte [esp + 0x84c], bl
mov dword [esp + 0x850], ebx
mov dword [esp + 0x854], ebx
mov dword [esp + 0x858], ebx
mov dword [esp + 0x85c], ebx
mov dword [esp + 0x860], ebx
mov dword [esp + 0x864], ebx
mov dword [esp + 0x870], ebx
mov dword [esp + 0x874], ebx
call fcn.00468780
test eax, eax
je 0x467cfa
test byte [esp + 0x10], 2
mov al, byte [esp + 0x8978]
mov ecx, dword [esp + 0x8980]
mov edx, dword [esp + 0x8984]
mov byte [esp + 0x838], al
mov dword [esp + 0x848], ecx
mov dword [esp + 0x84c], edx
je 0x467d06
mov eax, dword [esp + 0x82c]
cmp eax, 0xffff
je 0x467cd3
push eax
call dword [sym.imp.USER32.dll_IsWindow]
adc eax, sym.imp.USER32.dll_IsWindow
lea edx, [esp + 0x10]
push edx
push 0x467db0
call dword [sym.imp.USER32.dll_EnumWindows]
Function at 0x10007ca0
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
mov dword [esp + 0x14], ebp
xor esi, esi
mov eax, dword [ebp + 0x7f0]
shr eax, 7
test al, 1
jne 0x10007cce
push 0x32
call edi
inc esi
cmp esi, 0x64
jl 0x10007cb7
mov al, byte [ebp + 0xa4]
lea esi, [ebp + 0x98]
cmp al, bl
je 0x10007cf2
mov byte [esi + 0xc], bl
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x10007cf2
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x10007d83
push 0x64
push eax
call ebp
cmp eax, 0x102
jne 0x10007d83
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
mov byte [esi + 0xc], bl
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0x103
jne 0x10007d83
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call edi
mov al, byte [esi + 0xd]
mov dword [esi + 4], ebx
cmp al, bl
je 0x10007d83
cmp esi, ebx
je 0x10007d83
mov ecx, esi
mov dword [esi], 0x1004968c
mov byte [esi + 0xc], bl
call fcn.10009aa0
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x10007d74
push eax
call edi
push esi
mov dword [esi + 0x90], ebx
call fcn.10047cb0
add esp, 4
mov edx, dword [esp + 0x14]
mov al, byte [edx + 0x2d4]
lea esi, [edx + 0x2c8]
cmp al, bl
je 0x10007dab
mov byte [esi + 0xc], bl
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x10007dab
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x10007e30
push 0x64
push eax
call ebp
cmp eax, 0x102
jne 0x10007e30
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
mov byte [esi + 0xc], bl
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0x103
jne 0x10007e30
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call edi
mov al, byte [esi + 0xd]
mov dword [esi + 4], ebx
cmp al, bl
je 0x10007e30
cmp esi, ebx
je 0x10007e30
mov ecx, esi
mov dword [esi], 0x1004968c
mov byte [esi + 0xc], bl
call fcn.10009aa0
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x10007e21
push eax
call edi
push esi
mov dword [esi + 0x90], ebx
call fcn.10047cb0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10008430
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047f6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
lea ebx, [edi + 4]
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x10008475
mov dword [ebp - 0x24], ebx
push 0xffffffffffffffff
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x20], eax
lea esi, [edi + 0x98]
mov dword [ebp - 0x34], esi
mov al, byte [esi + 0xc]
test al, al
jne 0x100084de
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push ecx
push 0
push esi
push 0x10009b60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
mov edx, dword [ebp - 0x28]
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
test eax, eax
jne 0x100084f4
push 0
call fcn.1002f6e0
add esp, 4
push eax
add esi, 0xe
push esi
push str._comm__create_thread__s__failed:__s
push 0x10050794
lea ecx, [ebp - 0x2c]
call fcn.10030b00
push eax
call fcn.10030b10
add esp, 0x10
jmp 0x100084f4
lea eax, [esi + 0x90]
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
test eax, eax
je 0x100084f4
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [edi + 0x2c8]
call fcn.1000ff00
test al, al
jne 0x10008550
push str.fakelogin:_connect_to_service_failed
mov eax, dword [0x10056984]
push eax
call fcn.10028f60
add esp, 8
push 0xa95f74
mov ecx, edi
call fcn.100093d0
mov byte [ebp - 0x18], 0
test ebx, ebx
je 0x10008536
mov dword [ebp - 0x38], ebx
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 0x14], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.fakelogin:_connect_to_service_succeed.
mov edx, dword [0x10056984]
push edx
call fcn.10028ea0
add esp, 8
lea esi, [edi + 8]
mov dword [ebp - 0x3c], esi
push esi
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov dword [esi + 0x80], eax
test eax, eax
jne 0x100085bc
push esi
push 1
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi + 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100085bc
mov eax, dword [esi + 0x80]
test eax, eax
je 0x100085bc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x80], 0
mov dword [edi], 2
mov byte [ebp - 0x1c], 1
test ebx, ebx
je 0x100085d6
mov dword [ebp - 0x40], ebx
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 0x14], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10009aa0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0xc], bl
je 0x10009ac1
mov byte [esi + 0xc], bl
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x10009ac1
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x10009b54
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10009b54
mov ecx, dword [esi + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov byte [esi + 0xc], bl
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0xc], 0x103
jne 0x10009b54
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov al, byte [esi + 0xd]
mov dword [esi + 4], ebx
cmp al, bl
je 0x10009b54
cmp esi, ebx
je 0x10009b54
mov ecx, esi
mov dword [esi], 0x1004968c
mov byte [esi + 0xc], bl
call fcn.10009aa0
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x10009b45
push eax
call edi
push esi
mov dword [esi + 0x90], ebx
call fcn.10047cb0
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10009d80
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
mov dword [esi], 0x1004968c
cmp eax, ebx
mov byte [esi + 0xc], bl
je 0x10009df7
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10009df7
mov ecx, dword [esi + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov byte [esi + 0xc], bl
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0xc], 0x103
jne 0x10009df7
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call edi
mov al, byte [esi + 0xd]
mov dword [esi + 4], ebx
cmp al, bl
je 0x10009df7
cmp esi, ebx
je 0x10009df7
push 1
mov ecx, esi
call fcn.10009d80
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x10009e0a
push eax
call edi
mov al, byte [esp + 0x14]
mov dword [esi + 0x90], ebx
test al, 1
je 0x10009e21
push esi
call fcn.10047cb0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x1000fbf0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi], 0x100496b8
call fcn.10010020
mov al, byte [esi + 0xc]
xor ebx, ebx
cmp al, bl
je 0x1000fc1e
mov byte [esi + 0xc], bl
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x1000fc1e
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x1000fcb0
push 0x64
push eax
call ebp
cmp eax, 0x102
jne 0x1000fcb0
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
mov byte [esi + 0xc], bl
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0x103
jne 0x1000fcb0
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call edi
mov al, byte [esi + 0xd]
mov dword [esi + 4], ebx
cmp al, bl
je 0x1000fcb0
cmp esi, ebx
je 0x1000fcb0
mov ecx, esi
mov dword [esi], 0x1004968c
mov byte [esi + 0xc], bl
call fcn.10009aa0
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x1000fca1
push eax
call edi
push esi
mov dword [esi + 0x90], ebx
call fcn.10047cb0
add esp, 4
lea ecx, [esi + 0x94]
call fcn.10035fe0
mov eax, dword [esi + 8]
mov dword [esi], 0x1004968c
cmp eax, ebx
mov byte [esi + 0xc], bl
je 0x1000fd27
push 0x64
push eax
call ebp
cmp eax, 0x102
jne 0x1000fd27
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
mov byte [esi + 0xc], bl
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0x103
jne 0x1000fd27
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call edi
mov al, byte [esi + 0xd]
mov dword [esi + 4], ebx
cmp al, bl
je 0x1000fd27
cmp esi, ebx
je 0x1000fd27
mov ecx, esi
call fcn.100100f0
push esi
call fcn.10047cb0
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x90]
pop ebp
cmp eax, ebx
je 0x1000fd3b
push eax
call edi
mov dword [esi + 0x90], ebx
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1000ff00
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
call fcn.10010020
mov eax, dword [0x10056984]
push str.Starting_session_connection
push eax
call fcn.10028ea0
call fcn.1000f850
mov ecx, dword [0x10056984]
push str.connect_begin
push ecx
mov edi, eax
call fcn.10028ea0
add esp, 0x10
lea ecx, [esi + 0x94]
push edi
push 0x10050afc
call fcn.100358d0
mov edx, dword [0x10056984]
push str.connect_end
push edx
mov bl, al
call fcn.10028ea0
add esp, 8
test edi, edi
jle 0x10010003
test bl, bl
je 0x10010003
mov eax, dword [0x10056984]
push str.session_connection_succeed
push eax
call fcn.10028ea0
mov al, byte [esi + 0xc]
add esp, 8
test al, al
jne 0x1000ffe9
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0
push esi
push 0x10009b60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esp + 0xc]
mov dword [esi + 8], eax
test eax, eax
mov dword [esi + 4], edx
jne 0x1000fffa
push eax
call fcn.1002f6e0
add esp, 4
add esi, 0xe
lea ecx, [esp + 0x10]
push eax
push esi
push str._comm__create_thread__s__failed:__s
push 0x10050794
call fcn.10030b00
push eax
call fcn.10030b10
add esp, 0x10
mov al, 1
pop edi
pop esi
pop ebx
add esp, 8
ret
mov esi, dword [esi + 0x90]
test esi, esi
je 0x1000fffa
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov al, 1
pop ebx
add esp, 8
ret
mov eax, dword [0x10056984]
push str.session_connection_failed
push eax
call fcn.10028ea0
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x100100f0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
mov dword [esi], 0x1004968c
cmp eax, ebx
mov byte [esi + 0xc], bl
je 0x1001016e
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1001016e
mov ecx, dword [esi + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov byte [esi + 0xc], bl
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0xc], 0x103
jne 0x1001016e
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call edi
mov al, byte [esi + 0xd]
mov dword [esi + 4], ebx
cmp al, bl
je 0x1001016e
cmp esi, ebx
je 0x1001016e
mov ecx, esi
call fcn.100100f0
push esi
call fcn.10047cb0
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x10010181
push eax
call edi
mov dword [esi + 0x90], ebx
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10012320
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047fa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x244], esi
xor ebx, ebx
mov byte [ebp - 0x114], bl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x218], bl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x217]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x114]
push eax
push str.ALLUSERSPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea ecx, [ebp - 0x114]
push ecx
push str._s_allservices.txt
push 0x104
lea edx, [ebp - 0x218]
push edx
call fcn.1002a490
add esp, 0x10
mov dword [ebp - 4], ebx
push 0x10050ee8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov edi, eax
mov dword [ebp - 0x21c], edi
cmp edi, ebx
je 0x100124b6
mov esi, dword [esi + 0x14]
mov dword [ebp - 0x220], esi
mov ecx, dword [ebp - 0x244]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x238], eax
cmp esi, eax
je 0x100124b6
mov dword [ebp - 0x234], esi
cmp dword [esi + 0x2c], 1
mov eax, 0x10050eec
je 0x10012413
mov eax, str.Proxy
lea edx, [esi + 0x73c]
push edx
lea ecx, [esi + 0x23c]
push ecx
lea edx, [esi + 0x1bc]
push edx
push eax
lea eax, [esi + 0x13c]
push eax
push str.name:_s_ntype:_s_naddress:_s_nip:_s_nport:_s_n_n
lea ecx, [ebp - 0x230]
push ecx
call fcn.100027d0
add esp, 0x1c
mov eax, dword [ebp - 0x22c]
cmp eax, ebx
jne 0x10012453
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_fputs]
add esp, 8
mov eax, dword [ebp - 0x22c]
cmp eax, ebx
je 0x10012499
lea ecx, [eax - 1]
mov al, byte [ecx]
cmp al, bl
je 0x1001247b
cmp al, 0xff
je 0x1001247b
dec al
mov byte [ecx], al
jmp 0x10012499
mov edx, dword [ebp - 0x224]
add edx, 2
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x23c], ecx
push ecx
call fcn.10047cb0
add esp, 4
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
add esi, 0x1f80
jmp 0x100123e0
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x218]
push eax
push str.Save_Service_List_File_Path:__s_
mov ecx, dword [0x10056984]
push ecx
call fcn.10028ee0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100127f0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
mov esi, dword [esp + 0x124]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x10012851
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
lea eax, [esp + 0x1c]
push ecx
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x1b], bl
push 0x104
lea ecx, [esp + 0x20]
push esi
push ecx
call fcn.1002f1b0
add esp, 0xc
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], ebx
push edx
push eax
mov dword [esp + 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov dword [esp + 0x10], eax
jle 0x100128ef
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x14]
add esp, 4
mov ebp, eax
lea edx, [esp + 0x1c]
push ebp
push ecx
push ebx
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x100128c0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0x10050fb0
push ebp
mov dword [esp + 0x20], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x100128c6
cmp ebp, ebx
je 0x100128ef
jmp 0x100128e6
mov esi, dword [esp + 0x14]
mov ecx, 0xd
mov edi, ebp
cmp ebp, ebx
rep movsd dword es:[edi], dword [esi]
je 0x100128ef
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x128]
shr edx, 0x10
mov dword [eax], edx
push ebp
call fcn.10047cb0
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x110
ret 8