joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c7750
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x101136b3
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10158df0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, dword [esp + 0x7c]
xor ebp, ebp
push ebp
push ebp
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push edi
call ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.100c76e0
mov esi, dword [esp + 0x28]
sub esi, dword [esp + 0x24]
mov dword [esp + 0x70], 1
sar esi, 1
je 0x100c77ee
cmp esi, ebp
ja 0x100c77b3
call fcn.100d459d
mov eax, dword [esp + 0x24]
push esi
push eax
push edi
call ebx
test eax, eax
je 0x100c77ee
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
sar ecx, 1
jne 0x100c77d1
call fcn.100d459d
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x50]
call fcn.1007b070
mov ebx, 1
mov byte [esp + 0x70], 2
lea edi, [ebx + 6]
jmp 0x100c7813
mov edi, 7
xor eax, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x70], 3
mov ebx, 2
mov esi, dword [esp + 0x78]
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebp
push ebp
mov word [esi + 4], cx
push eax
mov ecx, esi
mov dword [esp + 0x20], ebx
call fcn.1003d2a0
or ebx, 4
test bl, 2
je 0x100c7860
and ebx, 0xfffffffd
cmp dword [esp + 0x48], 8
jb 0x100c7851
mov edx, dword [esp + 0x34]
push edx
call fcn.100d4a7a
add esp, 4
xor eax, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], ax
test bl, 1
je 0x100c7888
cmp dword [esp + 0x64], 8
jb 0x100c7879
mov ecx, dword [esp + 0x50]
push ecx
call fcn.100d4a7a
add esp, 4
xor edx, edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], dx
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x100c7899
push eax
call fcn.100d4a7a
add esp, 4
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.100d4a7a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x100c81d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10113818
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x10158df0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0
mov dword [esp + 0x14], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x100c8213
mov esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10070ad0
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
push edi
push esi
mov dword [esp + 0x24], 0
call ebp
test eax, eax
jne 0x100c824c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100c824e
xor eax, eax
mov ecx, dword [esp + 0x28]
push str.boost::filesystem::current_path
push ecx
push eax
call fcn.100c7a70
mov esi, dword [esp + 0x30]
add esp, 0xc
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov eax, edi
mov word [esi + 4], dx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100c8280
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, esi
call fcn.1007a730
push edi
call fcn.100d4a11
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x100c91f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x101139f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10158df0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x48]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x100c9227
mov eax, dword [esi]
jmp 0x100c9229
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100c925f
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
push eax
push edi
push esi
call fcn.100c7db0
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret
test ebx, 0x400
je 0x100c9340
cmp dword [edi + 0x18], 8
jb 0x100c9273
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x1c]
call fcn.100c2ba0
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], 0
jae 0x100c9294
lea eax, [esp + 0x1c]
push 0
push 0x2000000
push 3
push 0
push 7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x48], esi
cmp dword [esp + 0x30], 8
mov byte [esp + 0x3c], 2
jb 0x100c92c9
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.100d4a7a
add esp, 4
xor edx, edx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], dx
cmp esi, 0xffffffff
je 0x100c9237
push edi
call fcn.100c6820
add esp, 4
test al, al
jne 0x100c9331
push ebx
push edi
call fcn.100c6c80
mov edi, dword [esp + 0x4c]
add esp, 8
push esi
mov dword [edi], 9
mov dword [edi + 4], eax
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret
push esi
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x100c9356
mov dword [esi], 0
call fcn.100c0650
mov dword [esi + 4], eax
push ebx
push edi
mov dword [esp + 0x18], 3
test bl, 0x10
jne 0x100c936d
mov dword [esp + 0x18], 2
call fcn.100c6c80
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
mov eax, dword [esp + 0x4c]
mov ecx, dword [ecx + 4]
add esp, 8
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x100c93a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x18], 8
jb 0x100c93b4
mov eax, dword [esi + 4]
jmp 0x100c93b7
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100c93e0
mov eax, dword [esp + 0x1c]
push eax
push esi
mov esi, dword [esp + 0x1c]
push esi
call fcn.100c7db0
add esp, 0xc
mov eax, esi
pop esi
pop ebx
add esp, 8
ret
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x100c93f7
mov dword [edi], 0
call fcn.100c0650
mov dword [edi + 4], eax
pop edi
test ebx, 0x400
je 0x100c9421
push esi
call fcn.100c6820
add esp, 4
push ebx
push esi
mov dword [esp + 0x10], 4
test al, al
jne 0x100c9438
mov dword [esp + 0x10], 9
jmp 0x100c9438
push ebx
push esi
mov dword [esp + 0x10], 3
test bl, 0x10
jne 0x100c9438
mov dword [esp + 0x10], 2
call fcn.100c6c80
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
add esp, 8
pop esi
mov dword [eax + 4], ecx
mov dword [eax], edx
pop ebx
add esp, 8
ret
Function at 0x100ca9d0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x10113cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x10158df0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa0]
cmp dword [esi + 0x18], 8
jb 0x100caa0e
mov eax, dword [esi + 4]
jmp 0x100caa11
lea eax, [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x100caa3e
mov esi, dword [esp + 0xa4]
test esi, esi
je 0x100caa37
mov dword [esi], 0
call fcn.100c0650
mov dword [esi + 4], eax
mov al, 1
jmp 0x100caad1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.100c0650
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.100c91f0
add esp, 0xc
cmp dword [esp + 0x10], 3
jne 0x100caa80
mov esi, dword [esp + 0xa4]
test esi, esi
je 0x100caacf
mov dword [esi], 0
call fcn.100c0650
mov dword [esi + 4], eax
jmp 0x100caacf
mov edi, dword [esp + 0xa4]
test edi, edi
jne 0x100caac5
push str.boost::filesystem::create_directory
lea ecx, [esp + 0x24]
call fcn.10006340
mov dword [esp + 0x98], edi
call fcn.100c0650
push eax
push ebx
push esi
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x4c]
call fcn.100b1530
push 0x101444b0
lea eax, [esp + 0x40]
push eax
call fcn.100d6eac
call fcn.100c0650
mov dword [edi], ebx
mov dword [edi + 4], eax
xor al, al
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x8c
ret

Function at 0x100cc650
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x100cc676
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
add esp, 0x10
ret
cmp dword [esp + 4], 0
jg 0x100cc685
jl 0x100cc661
cmp dword [esp], 0
jbe 0x100cc661
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x10]
push ecx
xor esi, esi
call edi
test eax, eax
jne 0x100cc6b1
lea ebx, [ebx]
inc esi
cmp esi, 3
ja 0x100cc6d7
lea edx, [esp + 0x10]
push edx
call edi
test eax, eax
je 0x100cc6a0
fild qword [esp + 0x10]
fmul qword [0x101289b0]
fild qword [esp + 8]
fdivp st(1)
call fcn.100dcf26
mov ecx, dword [esp + 0x1c]
pop edi
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, ecx
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], 0
mov dword [eax + 4], 0
pop esi
add esp, 0x10
ret
Function at 0x100d1150
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x10158834]
sub esp, 8
push esi
push edi
cmp eax, 0xffffffff
je 0x100d11be
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100d11be
lea esi, [eax + 0x14]
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.100d1000
mov edi, dword [esp + 0xc]
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x100d1190
cmp edi, esi
je 0x100d1195
call fcn.100d459d
mov esi, dword [esp + 0x10]
cmp esi, ebx
pop ebx
je 0x100d11be
test edi, edi
jne 0x100d11ba
call fcn.100d459d
cmp esi, dword [edi + 0x18]
jne 0x100d11b1
call fcn.100d459d
pop edi
lea eax, [esi + 0x10]
pop esi
add esp, 8
ret
mov edi, dword [edi]
jmp 0x100d11a7
pop edi
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x100d1a30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10114858
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10158df0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x10158834]
cmp eax, 0xffffffff
jne 0x100d1a6b
xor ebx, ebx
jmp 0x100d1a74
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x100d1ab5
cmp dword [ebx + 0x30], 0
jne 0x100d1afc
cmp dword [ebx + 0xc], 0
jne 0x100d1b02
push 0x100cc770
push 0x1015dc08
call fcn.100cdfd0
mov eax, dword [0x10158834]
add esp, 8
cmp eax, 0xffffffff
je 0x100d1ab5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x30], 0xffffffff
test ebx, ebx
je 0x100d1ae8
lea ecx, [ebx + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100d1ae8
mov edx, dword [ebx]
push eax
mov eax, dword [edx]
mov ecx, ebx
call eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0xc], 0
je 0x100d1b4a
mov edi, dword [ebx + 0xc]
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x100d1b34
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, dword [edi]
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebx + 0xc], 0
jne 0x100d1b02
cmp dword [ebx + 0x30], 0
je 0x100d1a8a
lea esi, [ebx + 0x14]
mov ecx, dword [esi + 0x18]
mov esi, dword [esi]
mov edi, dword [ecx]
test esi, esi
jne 0x100d1bf3
call fcn.100d459d
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100d1b77
call fcn.100d459d
cmp dword [edi + 0x10], 0
je 0x100d1bd3
test esi, esi
jne 0x100d1bfa
call fcn.100d459d
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100d1b92
call fcn.100d459d
cmp dword [edi + 0x18], 0
je 0x100d1bd3
test esi, esi
jne 0x100d1bfe
call fcn.100d459d
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100d1bad
call fcn.100d459d
mov ebp, dword [edi + 0x10]
test esi, esi
jne 0x100d1c02
call fcn.100d459d
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100d1bc5
call fcn.100d459d
mov edx, dword [ebp]
mov eax, dword [edi + 0x18]
mov edx, dword [edx + 4]
push eax
mov ecx, ebp
call edx
push edi
push esi
lea eax, [esp + 0x24]
lea esi, [ebx + 0x14]
push eax
mov ecx, esi
call fcn.100d11f0
cmp dword [ebx + 0x30], 0
jne 0x100d1b57
jmp 0x100d1a84
mov eax, dword [esi]
jmp 0x100d1b6d
mov eax, dword [esi]
jmp 0x100d1b88
mov eax, dword [esi]
jmp 0x100d1ba3
mov eax, dword [esi]
jmp 0x100d1bbb
Function at 0x100d3670
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10114af0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10158df0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.100d35c0
mov esi, eax
push 0x100cc770
push 0x1015dc08
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.100cdfd0
mov eax, dword [0x10158834]
add esp, 8
cmp eax, 0xffffffff
je 0x100d36d0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100d3730
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x10158834]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
je 0x100d3748
push eax
call esi
test eax, eax
jne 0x100d3771
call fcn.100d3670
mov eax, dword [0x10158834]
cmp eax, 0xffffffff
jne 0x100d376e
xor eax, eax
lea esi, [eax + 0xc]
lea eax, [esp + 8]
push esi
push eax
call fcn.100d1a00
add esp, 8
mov dword [esi], eax
pop esi
ret
push eax
call esi
lea esi, [eax + 0xc]
lea eax, [esp + 8]
push esi
push eax
call fcn.100d1a00
add esp, 8
mov dword [esi], eax
pop esi
ret
Function at 0x100d3ba1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10158df0]
jne 0x100d3bab
repz ret
jmp fcn.100dd14c

Function at 0x100f1fde
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100dc156
and dword [ebp - 4], 0
cmp dword [0x1015e750], 0
mov ebx, eax
jne 0x100f208f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100f2140
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100f2140
push eax
call fcn.100dc0e4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1015e750], eax
call esi
push eax
call fcn.100dc0e4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1015e754], eax
call esi
push eax
call fcn.100dc0e4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1015e758], eax
call esi
push eax
call fcn.100dc0e4
pop ecx
mov dword [0x1015e760], eax
test eax, eax
je 0x100f208f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100dc0e4
pop ecx
mov dword [0x1015e75c], eax
mov eax, dword [0x1015e75c]
cmp eax, ebx
je 0x100f20e7
cmp dword [0x1015e760], ebx
je 0x100f20e7
push eax
call fcn.100dc15f
push dword [0x1015e760]
mov esi, eax
call fcn.100dc15f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100f20e7
test edi, edi
je 0x100f20e7
call esi
test eax, eax
je 0x100f20de
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100f20de
test byte [ebp - 0xc], 1
jne 0x100f20e7
or dword [ebp + 0x10], 0x200000
jmp 0x100f2120
mov eax, dword [0x1015e754]
cmp eax, ebx
je 0x100f2120
push eax
call fcn.100dc15f
pop ecx
test eax, eax
je 0x100f2120
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100f2120
mov eax, dword [0x1015e758]
cmp eax, ebx
je 0x100f2120
push eax
call fcn.100dc15f
pop ecx
test eax, eax
je 0x100f2120
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1015e750]
call fcn.100dc15f
pop ecx
test eax, eax
je 0x100f2140
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100f2142
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xa08000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab5e3b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0xad9f24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0xaf4280], eax
mov dword [0xaf4140], 1
mov eax, dword [ebp + 0x14]
mov dword [0xaf4144], eax
mov ecx, dword [ebp + 0x10]
mov dword [0xaf4148], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0xaf414c], eax
mov edx, dword [ebp + 8]
mov dword [0xaf4150], edx
push 0x250
call fcn.00a74a31
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0
je 0xa0809c
push 0
mov eax, dword [0xaf4280]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.00a4c9a0
mov dword [ebp - 0xc8], eax
jmp 0xa080a6
mov dword [ebp - 0xc8], 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x6c]
mov dword [0xaf4168], edx
call fcn.00a26360
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0xa081bd
call fcn.00a24630
push eax
lea ecx, [ebp - 0x68]
call fcn.00a08390
mov dword [ebp - 4], 1
call fcn.00a24650
push eax
lea ecx, [ebp - 0x4c]
call fcn.00a08390
mov byte [ebp - 4], 2
xor eax, eax
cmp dword [ebp - 0x3c], 0
sete al
movzx ecx, al
test ecx, ecx
jne 0xa0815f
lea edx, [ebp - 0x4c]
push edx
push 0xadbef0
lea eax, [ebp - 0x2c]
push eax
call fcn.00a081e0
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 3
mov edx, dword [0xadbeec]
push edx
push 0
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00a085f0
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00a08540
mov byte [ebp - 4], 2
cmp dword [ebp - 0x54], 0x10
jb 0xa08170
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0xd0], ecx
jmp 0xa08179
lea edx, [ebp - 0x68]
mov dword [ebp - 0xd0], edx
push 0x40010
push 0
mov eax, dword [ebp - 0xd0]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.00a08540
mov byte [ebp - 4], 1
mov dword [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.00a08540
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0xaf40cc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00a74f2e
mov esp, ebp
pop ebp
ret 0x10
Function at 0xa0fa70
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0xad9f24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00a0c730
add esp, 4
movzx edx, al
test edx, edx
je 0xa0fb01
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.00a75ec0
add esp, 0xc
mov dword [ebp - 0x2d8], 0x10001
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0xa0faff
mov edx, dword [ebp - 0x220]
cmp edx, dword [ebp + 0xc]
jne 0xa0faff
jmp 0xa0fb01
jmp 0xa0fa83
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a74f2e
mov esp, ebp
pop ebp
ret
Function at 0xa25980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
jmp 0xa259ec
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0xa25a33
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00a79e88
add esp, 8
test eax, eax
jne 0xa25a31
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0xa25a35
jmp 0xa259e3
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0xa4abd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0xa4ac30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0xa4ac27
mov edx, dword [0xaf47e8]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0xa4ac1b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0xa4ac00
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0xa4ac29
xor al, al
mov esp, ebp
pop ebp
ret