joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473825
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47393d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47393d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004897ab
mov esi, eax
test esi, esi
je 0x47393d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x47393d
mov ecx, esi
call fcn.004737b0
cmp edi, eax
jge 0x47393d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4738c3
mov dword [esp + 0x34], 1
jmp 0x47391e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47393d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00472010
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x48a14f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48a187
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00488206
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004881de
jmp 0x48a193
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48b841
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48b883
call fcn.004912f9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48b883
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48b87a
xor eax, eax
jmp 0x48b88b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048b891
pop edi
pop esi
pop ebx
ret 4
Function at 0x491829
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 0x491857
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x491875
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049178f
jmp 0x491875
mov eax, dword [esi + 0x14]
test eax, eax
je 0x491875
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049178f
test edi, edi
mov eax, edi
jne 0x49185f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1008665
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
cmp dword [ebp + 0xc], esi
je 0x100870e
cmp dword [ebp + 8], esi
je 0x100870e
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push 0x1001690
mov ebx, 0x80000001
push ebx
call edi
mov dword [ebp + 8], eax
cmp eax, esi
jne 0x1008715
cmp dword [ebp - 4], esi
je 0x10086be
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push 1
push esi
push esi
push 0x1001618
push ebx
call edi
mov dword [ebp + 8], eax
cmp eax, esi
jne 0x1008715
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0x10086e2
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0xc]
push 1
push esi
push 0x10015ec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp + 8], eax
jmp 0x1008715
mov dword [ebp + 8], 0x57
cmp dword [ebp - 4], esi
pop edi
pop esi
pop ebx
je 0x1008726
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
leave
ret 8

Function at 0x1008960
Capabilities:
Listen for remote procedure calls

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1028004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
or dword [ebp - 0x21c], 0xffffffff
xor ebx, ebx
mov esi, ecx
lea eax, [esi + 4]
push eax
push ebx
push ebx
push 0x932f1d58
push 0x36c5ce3f
push 0xe553e9d8
push 0x62bffacd
push 0x7814c1fa
push 0x50
push 6
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x218], ebx
mov byte [ebp - 0x214], bl
mov byte [ebp - 0x213], bl
mov byte [ebp - 0x212], bl
mov byte [ebp - 0x211], bl
mov byte [ebp - 0x210], bl
mov byte [ebp - 0x20f], 5
mov dword [0x1028144], esi
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1008a83
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push dword [ebp - 0x21c]
lea eax, [ebp - 0x20c]
push 0x1001748
push 0x104
push eax
call fcn.01008857
add esp, 0x10
push ebx
lea eax, [ebp - 0x20c]
push eax
xor edi, edi
inc edi
push edi
push 0x1001738
call dword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
test eax, eax
jne 0x1008a82
push 0x1008901
push 0x4d2
push ebx
push ebx
push ebx
push dword [section..data]
call dword [sym.imp.RPCRT4.dll_RpcServerRegisterIfEx]
test eax, eax
jne 0x1008a82
push edi
push edi
push edi
call dword [sym.imp.RPCRT4.dll_RpcServerListen]
cmp eax, ebx
je 0x1008a6b
cmp eax, 0x6b1
jne 0x1008a82
push 0x10016fc
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov dword [ebp - 0x218], edi
pop edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x218]
pop esi
xor ecx, ebp
pop ebx
call fcn.0100a18b
leave
ret
Function at 0x1008a9c
Capabilities:
Connect network resource

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ecx
jne 0x1008abd
mov dword [ebp - 4], 0x57
jmp 0x1008b95
mov eax, dword [esi + 8]
cmp eax, ecx
je 0x1008ae3
cmp dword [esi + 0xc], ecx
jne 0x1008ae3
push 0x7530
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1008ae3
mov dword [esi + 0xc], 1
push ebx
lea eax, [esi + 0x14]
push edi
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 0x2c]
mov ebx, dword [edi]
jmp 0x1008b0e
push dword [ebp + 8]
lea eax, [ebx + 8]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x1008b5e
mov ebx, dword [ebx]
cmp ebx, dword [esi + 0x30]
jne 0x1008af9
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1008b19
sub eax, edx
sar eax, 1
lea ebx, [eax + 1]
lea eax, [ebx + ebx + 0xc]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
test esi, esi
jne 0x1008b44
mov dword [ebp - 4], 8
jmp 0x1008b5e
push dword [ebp + 8]
lea eax, [esi + 8]
push ebx
push eax
call fcn.010087e8
mov eax, dword [edi + 4]
mov dword [esi], edi
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [edi + 4], esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edx, edx
cmp dword [ebp - 4], edx
jne 0x1008b93
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push edx
mov dword [ebp - 0xc], eax
push edx
lea eax, [ebp - 0x28]
push eax
call sub.MPR.dll_WNetAddConnection2W
mov dword [ebp - 4], eax
pop edi
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
Function at 0x1008cc3
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1028004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], 8
cmp dword [ebp + 8], edi
jne 0x1008d13
call fcn.01008795
test eax, eax
je 0x1008d13
xor ebx, ebx
jmp 0x1008dc5
push esi
lea eax, [ebp - 0x210]
push eax
push 0x2001f
push edi
mov esi, 0x1001618
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, edi
jne 0x1008dc4
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push 2
push 0x10015ec
push edi
push dword [ebp - 0x210]
mov dword [ebp - 0x218], 0x208
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
cmp ebx, edi
jne 0x1008dc4
cmp word [ebp - 0x20c], di
je 0x1008db7
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.WINSPOOL.DRV_OpenPrinterW
test eax, eax
jne 0x1008da0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1008dc4
push dword [ebp - 0x214]
call sub.WINSPOOL.DRV_ClosePrinter
lea eax, [ebp - 0x20c]
push eax
call sub.WINSPOOL.DRV_Ordinal_204
push esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
pop esi
cmp dword [ebp - 0x210], edi
je 0x1008dd9
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0100a18b
leave
ret 4
Function at 0x100a0dd
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1026050
call fcn.0100a0ec
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x102a968
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1009e94
cmp eax, esi
jne 0x1009e87
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1009e97
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1009e6e
xor esi, esi
inc esi
mov eax, dword [0x102a964]
cmp eax, esi
jne 0x1009eaa
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1009ed9
mov eax, dword [0x102a964]
test eax, eax
jne 0x1009ed3
mov dword [0x102a964], esi
push 0x100135c
push 0x1001350
call fcn.01009dd3
pop ecx
pop ecx
test eax, eax
je 0x1009ed9
jmp 0x100a001
mov dword [0x1028164], esi
mov eax, dword [0x102a964]
cmp eax, esi
jne 0x1009efd
push 0x100134c
push 0x1001340
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x102a964], 2
test ebx, ebx
jne 0x1009f09
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x102a96c], 0
je 0x1009f2d
push 0x102a96c
call fcn.0100a2a9
pop ecx
test eax, eax
je 0x1009f2d
push 0
push 2
push 0
call dword [0x102a96c]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1009f89
test al, al
je 0x1009f47
cmp dword [ebp - 0x1c], 0
jne 0x1009f89
mov al, byte [esi]
test al, al
je 0x1009f57
cmp al, 0x20
ja 0x1009f57
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1009f47
test byte [ebp - 0x3c], 1
je 0x1009f63
movzx eax, word [ebp - 0x38]
jmp 0x1009f66
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1028160], eax
cmp dword [0x1028154], 0
jne 0x1009fdd
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x1009f98
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x1009fab
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1009f34
cmp dword [0x1028164], 0
jne 0x1009fec
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1028160]
jmp 0x100a00d
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0100a131
ret
call fcn.0100a494
jmp 0x1009e34
Function at 0x100a996
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp + 8], eax
je 0x100ab72
mov edi, dword [ebp + 0x1c]
cmp edi, eax
je 0x100ab72
cmp dword [ebp + 0xc], eax
je 0x100ab72
cmp dword [ebp + 0x14], eax
je 0x100a9df
mov dword [edi], eax
cmp dword [ebp + 0x18], eax
je 0x100a9f9
push esi
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
jmp 0x100aaf8
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
mov edi, 0xc0
xor ebx, ebx
push 1
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x28]
push eax
inc ebx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x100aa31
cmp dword [ebp - 0x24], 0x12
je 0x100aa8e
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp ebx, 0x64
jb 0x100aa06
mov ebx, dword [ebp + 0xc]
push 6
push 0
push 0
push dword [ebp + 8]
push ebx
call esi
test eax, eax
je 0x100aa46
jbe 0x100aa4f
dec ebx
cmp eax, ebx
jbe 0x100aaf5
cmp eax, edi
je 0x100aa04
push 6
push 0x4ff
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call esi
cmp eax, edi
je 0x100aa04
cmp eax, dword [ebp + 0xc]
jne 0x100aaf5
cmp dword [ebp - 4], 0xffffffff
je 0x100aa04
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jae 0x100aabf
sub dword [ebp - 4], eax
jmp 0x100aa04
mov eax, dword [0x1028018]
cmp eax, 0x1028018
je 0x100aab5
test byte [eax + 0x1c], 2
je 0x100aab5
push dword [ebp - 0xc]
push 0x10019a0
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100bf8e
mov eax, 0x83450068
jmp 0x100ab77
mov ecx, dword [0x1028018]
cmp ecx, 0x1028018
je 0x100aaeb
test byte [ecx + 0x1c], 4
je 0x100aaeb
push 0x10019a0
push 0x14
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100a63f
mov ecx, dword [0x1028018]
mov edi, dword [ebp + 0x1c]
mov eax, 0x102
jmp 0x100aafe
mov edi, dword [ebp + 0x1c]
mov ecx, dword [0x1028018]
xor edx, edx
cmp eax, edx
je 0x100ab06
jbe 0x100ab19
mov esi, dword [ebp + 0xc]
dec esi
cmp eax, esi
ja 0x100ab19
cmp dword [ebp + 0x14], edx
jne 0x100ab15
mov dword [edi], eax
xor eax, eax
jmp 0x100ab77
cmp eax, 0x80
jb 0x100ab3b
mov esi, dword [ebp + 0xc]
add esi, 0x7f
cmp eax, esi
ja 0x100ab3b
cmp dword [ebp + 0x14], edx
jne 0x100ab34
add eax, 0xffffff80
mov dword [edi], eax
mov eax, 0x83450066
jmp 0x100ab77
cmp eax, 0x102
jne 0x100ab4b
mov dword [edi], edx
mov eax, 0x83450067
jmp 0x100ab77
cmp ecx, 0x1028018
je 0x100ab6b
test byte [ecx + 0x1c], 4
je 0x100ab6b
push 0x10019a0
push 0x15
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100a63f
mov eax, 0x80004005
jmp 0x100ab77
mov eax, 0x80070057
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x100ac63
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
cmp edi, esi
je 0x100ad37
mov ebx, dword [ebp + 0x10]
cmp ebx, esi
je 0x100ad37
push 0xc
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x100aca5
mov edi, 0x8007000e
jmp 0x100ad60
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
lea eax, [ebp - 4]
push eax
push 0x10287fc
push 4
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x100acf9
mov eax, dword [0x1028018]
cmp eax, 0x1028018
je 0x100acf2
test byte [eax + 0x1c], 4
je 0x100acf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1028018]
push 0x10019a0
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100bf8e
mov edi, 0x80004005
jmp 0x100ad60
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
lea eax, [ebp - 8]
push eax
xor edi, edi
push edi
push esi
push 0x100b42f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
jne 0x100ad2b
cmp dword [ebp - 4], edi
je 0x100acf2
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], edi
jmp 0x100acf2
mov ecx, dword [ebp - 8]
mov dword [ebx], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x100ad6a
mov eax, dword [0x1028018]
cmp eax, 0x1028018
je 0x100ad5b
test byte [eax + 0x1c], 4
je 0x100ad5b
push 0x10019a0
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a63f
mov edi, 0x80070057
test esi, esi
je 0x100ad6a
push esi
call fcn.0100a752
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x100adfd
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x102801c], 2
push esi
mov esi, 0x80004005
je 0x100ae18
mov esi, 0x83450065
jmp 0x100ae2d
push dword [ebp + 8]
push dword [0x10287cc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x100ae2d
xor esi, esi
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100ae39
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x100ae71
mov esi, 0x80070057
mov eax, dword [0x1028018]
cmp eax, 0x1028018
je 0x100aeaa
test byte [eax + 0x1c], 4
je 0x100aeaa
push 0x10019a0
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a63f
jmp 0x100aeaa
cmp dword [0x102801c], 2
je 0x100ae9a
mov esi, 0x83450065
mov eax, dword [0x1028018]
cmp eax, 0x1028018
je 0x100aeaa
test byte [eax + 0x1c], 4
je 0x100aeaa
push 0x10019a0
push 0x2b
jmp 0x100ae64
push dword [0x10287cc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi], eax
xor esi, esi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100b33f
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x102801c]
push ebx
push esi
mov esi, 0x80004005
mov ebx, 0x10019a0
cmp eax, 1
je 0x100b35e
cmp eax, 3
jne 0x100b400
mov esi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call esi
mov dword [0x10287cc], eax
call esi
push 0x10287f8
mov dword [0x10287d0], eax
call fcn.0100a763
mov esi, eax
test esi, esi
jge 0x100b3aa
mov eax, dword [0x1028018]
cmp eax, 0x1028018
je 0x100b3fa
test byte [eax + 0x1c], 4
je 0x100b3fa
push esi
push 0x1001b70
push ebx
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a697
jmp 0x100b3f5
push 0x10287ec
call fcn.0100b48e
mov esi, eax
test esi, esi
jge 0x100b3d7
mov eax, dword [0x1028018]
cmp eax, 0x1028018
je 0x100b3fa
test byte [eax + 0x1c], 4
je 0x100b3fa
push esi
push 0x1001b28
push ebx
push 0xb
jmp 0x100b39d
push edi
xor eax, eax
mov edi, 0x10287d4
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
mov dword [0x10287e0], esi
mov dword [0x102801c], 2
pop edi
mov eax, dword [0x1028018]
test esi, esi
jge 0x100b425
jmp 0x100b405
mov eax, dword [0x1028018]
cmp eax, 0x1028018
je 0x100b420
test byte [eax + 0x1c], 4
je 0x100b420
push ebx
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a63f
call fcn.0100b203
mov eax, esi
pop esi
pop ebx
ret
Function at 0x100df7a
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x100df9e
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.0100c8a7
jmp 0x100dfbb
lea esi, [edi + 0x5c]
mov ecx, esi
call fcn.0100c105
lea eax, [ebp - 4]
push eax
lea ecx, [edi + 0x7c]
call fcn.0100db7a
mov ecx, esi
call fcn.0100c18c
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x74], 1
call ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov ecx, edi
call fcn.0100c7ca
mov dword [ebp + 8], eax
test eax, eax
jl 0x100e025
mov esi, dword [ebp - 8]
test esi, esi
je 0x100e094
push esi
mov ecx, edi
call fcn.0100dec7
lea ecx, [esi + 8]
mov dword [ebp + 8], eax
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp dword [ebp + 8], 0
jl 0x100e060
mov eax, dword [esi]
push esi
call dword [eax + 8]
call ebx
mov dword [ebp - 0xc], eax
sub eax, dword [ebp - 0x10]
cmp eax, 0x14
jb 0x100dfd0
jmp 0x100e0bc
mov eax, dword [0x1028018]
cmp eax, 0x1028018
je 0x100e051
test byte [eax + 0x1c], 4
je 0x100e051
push dword [ebp + 8]
push 0x10022f8
push 0x1001e38
push 0x3c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a697
mov eax, dword [ebp - 8]
test eax, eax
je 0x100e0bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100e0bc
mov eax, dword [0x1028018]
cmp eax, 0x1028018
je 0x100e08c
test byte [eax + 0x1c], 4
je 0x100e08c
push dword [ebp + 8]
push 0x10022c8
push 0x1001e38
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a697
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x100e0bc
mov eax, dword [0x1028018]
cmp eax, 0x1028018
je 0x100e0b8
test byte [eax + 0x1c], 1
je 0x100e0b8
push 0x1001e38
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a63f
and dword [ebp + 8], 0
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
and dword [edi + 0x74], 0
cmp eax, 0x14
jb 0x100e0d2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x64]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
test eax, eax
je 0x100e0e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
leave
ret 4
Function at 0x1016087
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
mov edx, ecx
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [edx + 0x224]
mov dword [ebp - 0x14], eax
mov eax, 0x750
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
add edx, 0x434
push eax
mov ebx, 0x80004005
mov dword [ebp - 0x1c], 2
mov dword [ebp - 6], edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x10160de
xor ebx, ebx
jmp 0x1016147
mov eax, dword [0x1028018]
mov edi, 0x1028018
cmp eax, edi
je 0x1016147
test byte [eax + 0x1c], 4
push esi
mov esi, 0x1003bcc
je 0x101610b
push esi
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a63f
mov eax, dword [0x1028018]
cmp eax, edi
je 0x1016146
test byte [eax + 0x1c], 4
je 0x101612b
push dword [ebp - 0x18]
push esi
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100bfba
mov eax, dword [0x1028018]
cmp eax, edi
je 0x1016146
test byte [eax + 0x1c], 4
je 0x1016146
push dword [ebp - 0x14]
push esi
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100bfba
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret 4