joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001da30
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2a90
call fcn.100284f0
mov eax, dword [0x10077154]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x2888], 0x2880
lea eax, [ebp - 0x2888]
push eax
lea ecx, [ebp - 0x2884]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x288c], eax
cmp dword [ebp - 0x288c], 0
jne 0x1001db67
push 0x12
call fcn.1004823c
add esp, 4
mov dword [ebp - 0x2890], eax
mov eax, 0x288
imul ecx, eax, 0
lea edx, [ebp + ecx - 0x2884]
mov eax, 1
imul ecx, eax, 5
movzx edx, byte [edx + ecx + 0x194]
push edx
mov eax, 0x288
imul ecx, eax, 0
lea edx, [ebp + ecx - 0x2884]
mov eax, 1
shl eax, 2
movzx ecx, byte [edx + eax + 0x194]
push ecx
mov edx, 0x288
imul eax, edx, 0
lea ecx, [ebp + eax - 0x2884]
mov edx, 1
imul eax, edx, 3
movzx ecx, byte [ecx + eax + 0x194]
push ecx
mov edx, 0x288
imul eax, edx, 0
lea ecx, [ebp + eax - 0x2884]
mov edx, 1
shl edx, 1
movzx eax, byte [ecx + edx + 0x194]
push eax
mov ecx, 0x288
imul edx, ecx, 0
lea eax, [ebp + edx - 0x2884]
mov ecx, 1
shl ecx, 0
movzx edx, byte [eax + ecx + 0x194]
push edx
mov eax, 0x288
imul ecx, eax, 0
lea edx, [ebp + ecx - 0x2884]
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [edx + ecx + 0x194]
push edx
push str._02X_02X_02X_02X_02X_02X
push 0x12
mov eax, dword [ebp - 0x2890]
push eax
call fcn.1001dbe0
add esp, 0x24
mov eax, dword [ebp - 0x2890]
jmp 0x1001db6c
mov eax, 0x1005f4e0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027fbe
mov esp, ebp
pop ebp
ret
Function at 0x1001dc90
Capabilities:
Create thread
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005da98
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10077154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.1001ddd0
call fcn.1001eb10
call fcn.1000a7b0
call fcn.1000a6d0
call fcn.1000abd0
call fcn.100092c0
call fcn.1000a5b0
call fcn.1000acf0
call fcn.10001dc0
push 0
push 0
push 0
push 0x10020e40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
push 0x10061318
lea ecx, [ebp - 0x30]
call fcn.10003b10
mov dword [ebp - 4], 0
push str.xxxxxxxxxxxxxxxx
push str.C238xs65pjy7HU9Q
call fcn.1000a310
add esp, 8
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x30]
call fcn.100083d0
push eax
lea ecx, [ebp - 0x30]
call fcn.100023b0
push eax
mov eax, dword [ebp - 0x34]
push eax
call fcn.1000a670
add esp, 0xc
push str..._Settings.ini
push 0
push 0x10061354
push str.Screen
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [ebp - 0x38], ax
movsx eax, word [ebp - 0x38]
test eax, eax
jl 0x1001dd9c
mov byte [ebp - 0x3c], 0xeb
mov byte [ebp - 0x3b], 0xd
push str.xxxxxxxxx____
push 0x10061368
call fcn.1000a310
add esp, 8
mov dword [ebp - 0x40], eax
push 2
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.1000a670
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10001cf0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10027fbe
mov esp, ebp
pop ebp
ret

Function at 0x1001e300
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x10077154]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
push 0
call dword [sym.imp.USER32.dll_GetTopWindow]
mov dword [ebp - 0xc], eax
jmp 0x1001e339
push 2
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1001e3b8
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1001e34f
jmp 0x1001e32a
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1001e364
jmp 0x1001e32a
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jne 0x1001e3b3
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x100
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1004975f
add esp, 0xc
mov dword [ebp - 8], 1
jmp 0x1001e3b8
jmp 0x1001e32a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027fbe
mov esp, ebp
pop ebp
ret
Function at 0x1001e3d0
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x568
mov eax, dword [0x10077154]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 1
push 0
push 0
call sub.WTSAPI32.dll_WTSEnumerateProcessesW
test eax, eax
je 0x1001e5d2
mov dword [ebp - 0x10], 0
jmp 0x1001e421
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
ja 0x1001e5d2
push 0x100
mov eax, dword [ebp - 0x10]
shl eax, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax + 8]
push edx
lea eax, [ebp - 0x310]
push eax
call fcn.1004975f
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x10]
shl ecx, 4
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 4]
push eax
call fcn.1001e300
add esp, 8
test eax, eax
je 0x1001e48d
lea eax, [ebp - 0x210]
push eax
push str.W_s
lea ecx, [ebp - 0x110]
push ecx
call fcn.100090d0
add esp, 0xc
jmp 0x1001e4a8
lea eax, [ebp - 0x310]
push eax
push str.B_s
lea ecx, [ebp - 0x110]
push ecx
call fcn.100090d0
add esp, 0xc
cmp dword [ebp - 0x10], 0
jne 0x1001e504
lea ecx, [ebp - 0x398]
call fcn.1001e2d0
mov eax, 0x6e
mov word [ebp - 0x394], ax
xor eax, eax
mov word [ebp - 0x392], ax
push 0x10061388
call fcn.100437f0
add esp, 4
push eax
push 0x10061388
lea eax, [ebp - 0x390]
push eax
call fcn.1003f2a0
add esp, 0xc
lea eax, [ebp - 0x398]
push eax
call fcn.1000a060
add esp, 4
jmp 0x1001e5cd
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jne 0x1001e55f
lea ecx, [ebp - 0x420]
call fcn.1001e2d0
mov eax, 0x14a
mov word [ebp - 0x41c], ax
xor eax, eax
mov word [ebp - 0x41a], ax
push 0x10061388
call fcn.100437f0
add esp, 4
push eax
push 0x10061388
lea eax, [ebp - 0x418]
push eax
call fcn.1003f2a0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
call fcn.1000a060
add esp, 4
jmp 0x1001e5cd
cmp dword [ebp - 0x10], 1
jb 0x1001e5cd
mov eax, dword [ebp - 8]
add eax, 1
cmp dword [ebp - 0x10], eax
jae 0x1001e5cd
lea ecx, [ebp - 0x4a8]
call fcn.1001e2d0
mov eax, 0xdc
mov word [ebp - 0x4a4], ax
lea eax, [ebp - 0x110]
push eax
call fcn.100437f0
add esp, 4
add eax, 1
mov word [ebp - 0x4a2], ax
movsx eax, word [ebp - 0x4a2]
push eax
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x4a0]
push edx
call fcn.1003f2a0
add esp, 0xc
lea eax, [ebp - 0x4a8]
push eax
call fcn.1000a060
add esp, 4
jmp 0x1001e418
cmp dword [ebp - 0xc], 0
je 0x1001e5e8
mov eax, dword [ebp - 0xc]
push eax
call sub.WTSAPI32.dll_WTSFreeMemory
mov dword [ebp - 0xc], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027fbe
mov esp, ebp
pop ebp
ret
Function at 0x1001e910
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0x270
jne 0x1001e931
mov ecx, dword [ebp - 4]
call fcn.1001ef30
jmp 0x1001e944
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4e0
jb 0x1001e944
mov ecx, dword [ebp - 4]
call fcn.1001edb0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax], edx
mov eax, dword [ebp - 8]
shr eax, 0xb
mov ecx, dword [ebp - 4]
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 7
and eax, 0x9d2c5680
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0x12
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001eb10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10077154]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x100affe4
call fcn.10007360
movzx eax, al
test eax, eax
je 0x1001eb96
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SoftwareZFPro
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001eb96
mov dword [ebp - 0x1c], 0xd
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.ZFPro
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1001eb8c
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x100affe4
call fcn.1001e820
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x100affe4
call fcn.10007360
movzx eax, al
test eax, eax
je 0x1001ebac
call fcn.1001ebc0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027fbe
mov esp, ebp
pop ebp
ret
Function at 0x1001ebc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x10077154]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareZFPro
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1001ec73
cmp dword [ebp - 0xc], 1
jne 0x1001ec69
push 0xc
lea eax, [ebp - 0x7c]
push eax
call fcn.1001ea00
add esp, 8
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
mov ecx, 0x100affe4
call fcn.10004ad0
lea ecx, [ebp - 0x7c]
call fcn.10001cf0
push 0x100affe4
lea ecx, [ebp - 0x24]
call fcn.10003a10
lea ecx, [ebp - 0x24]
call fcn.100083d0
add eax, 1
push eax
lea ecx, [ebp - 0x24]
call fcn.100023b0
push eax
push 1
push 0
push str.ZFPro
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x24]
call fcn.10001cf0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027fbe
mov esp, ebp
pop ebp
ret
Function at 0x1001edb0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
jmp 0x1001edce
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xe3
jge 0x1001ee3a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 + 0x9c4]
and edx, 0x80000000
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 0x9c8]
and eax, 0x7fffffff
or edx, eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x1001ee12
mov dword [ebp - 0x58], 0x9908b0df
jmp 0x1001ee19
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0xc]
shr ecx, 1
xor ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
xor ecx, dword [eax + edx*4 + 0xff8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [eax + edx*4 + 4], ecx
jmp 0x1001edc5
jmp 0x1001ee45
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x26f
jge 0x1001eeb1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 + 0x9c4]
and edx, 0x80000000
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 0x9c8]
and eax, 0x7fffffff
or edx, eax
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
and eax, 1
je 0x1001ee89
mov dword [ebp - 0x58], 0x9908b0df
jmp 0x1001ee90
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x10]
shr ecx, 1
xor ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
xor ecx, dword [eax + edx*4 - 0x388]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [eax + edx*4 + 4], ecx
jmp 0x1001ee3c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 + 0x9c4]
and edx, 0x80000000
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + ecx + 4]
and ecx, 0x7fffffff
or edx, ecx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x1001eeef
mov dword [ebp - 0x58], 0x9908b0df
jmp 0x1001eef6
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x14]
shr ecx, 1
xor ecx, dword [ebp - 0x58]
mov edx, 4
imul eax, edx, 0x18c
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax + 4]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + eax*4 + 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001ef30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x270
jmp 0x1001ef4e
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x4e0
jge 0x1001efba
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 - 0x9bc]
and edx, 0x80000000
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 - 0x9b8]
and eax, 0x7fffffff
or edx, eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x1001ef92
mov dword [ebp - 0x50], 0x9908b0df
jmp 0x1001ef99
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0xc]
shr ecx, 1
xor ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
xor ecx, dword [eax + edx*4 - 0x388]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [eax + edx*4 + 4], ecx
jmp 0x1001ef45
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001f540
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x61]
call fcn.10001c50
push eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x6c]
call fcn.10004110
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x10]
call fcn.1001f460
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call fcn.1001fa40
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
call fcn.1001fa60
mov dword [ebp - 0x1c], eax
jmp 0x1001f5ad
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
je 0x1001f5db
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x1001f5d9
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001f5a4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x70], eax
push 0x10
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.10027fb0
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.1001f4f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001f600
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1001f657
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x1001f64d
cmp dword [ebp - 0xc], 0
jbe 0x1001f64d
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1001f659
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1001f670
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10077154]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x1001f6f5
mov dword [ebp - 0x28], 0x1c
xor eax, 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
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1001f6eb
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jne 0x1001f6da
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1001f6fa
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1001f6c4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027fbe
mov esp, ebp
pop ebp
ret 4

Function at 0x1001f810
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 0x1001d840
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
push 0
push 0x10005af0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10020ce0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005dd41
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x10077154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x100
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x10020e1c
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.10020810
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2e8]
push ecx
lea edx, [ebp - 0x228]
push edx
call fcn.10021f30
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e8]
call fcn.10020a80
mov dword [ebp - 0x22c], 0x100afffc
mov ecx, dword [ebp - 0x22c]
call fcn.1001fa40
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x22c]
call fcn.1001fa60
mov dword [ebp - 0x234], eax
jmp 0x10020da7
mov eax, dword [ebp - 0x230]
add eax, 0x18
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x234]
je 0x10020e0a
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.10021f30
add esp, 8
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x228]
call fcn.10021a10
cmp eax, 0xffffffff
je 0x10020df9
call fcn.10009280
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
call fcn.10020a80
jmp 0x10020d98
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.10020a80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10027fbe
mov esp, ebp
pop ebp
ret
Function at 0x10024560
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x100b0530], 0
je 0x10024576
xor eax, eax
jmp 0x10024792
cmp dword [0x100b052c], 0
je 0x10024589
mov eax, dword [0x100b052c]
jmp 0x10024792
push 0x24
push 0
push 0x100b0508
call fcn.10040310
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x100b0508], eax
push 0
push 0
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x100b050c], eax
cmp dword [0x100b050c], 0
jne 0x1002462e
mov dword [0x100b0530], 1
cmp dword [0x100b050c], 0
je 0x100245e1
mov eax, dword [0x100b050c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x100b0510], 0
mov dword [0x100b0514], 0
mov dword [0x100b0518], 0
mov dword [0x100b051c], 0
mov dword [0x100b0520], 0
mov dword [0x100b0524], 0
mov dword [0x100b0528], 0
xor eax, eax
jmp 0x10024792
push str.ImagehlpApiVersionEx
mov ecx, dword [0x100b050c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b0510], eax
push str.SymInitialize
mov edx, dword [0x100b050c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b0514], eax
push str.SymSetOptions
mov eax, dword [0x100b050c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b0518], eax
push str.SymGetOptions
mov ecx, dword [0x100b050c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b051c], eax
push str.SymLoadModule64
mov edx, dword [0x100b050c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b0520], eax
push str.SymGetModuleInfo64
mov eax, dword [0x100b050c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b0524], eax
push str.SymFromName
mov ecx, dword [0x100b050c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b0528], eax
push 8
push 0
lea edx, [ebp - 0xc]
push edx
call fcn.10040310
add esp, 0xc
mov eax, 0xc
mov word [ebp - 0xc], ax
cmp dword [0x100b0510], 0
je 0x10024713
cmp dword [0x100b0514], 0
je 0x10024713
cmp dword [0x100b0520], 0
je 0x10024713
cmp dword [0x100b0524], 0
je 0x10024713
cmp dword [0x100b0528], 0
jne 0x10024718
jmp 0x100245c2
lea ecx, [ebp - 0xc]
push ecx
call dword [0x100b0510]
movzx edx, word [ebp - 0xc]
cmp edx, 0xc
jge 0x10024730
jmp 0x100245c2
push 0
push 0
mov eax, dword [0x100b0508]
push eax
call dword [0x100b0514]
test eax, eax
jne 0x10024749
jmp 0x100245c2
cmp dword [0x100b051c], 0
je 0x10024783
cmp dword [0x100b0518], 0
je 0x10024783
call dword [0x100b051c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xfffffff8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, 0x2704
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
call dword [0x100b0518]
mov dword [0x100b052c], 0x100b0508
mov eax, dword [0x100b052c]
mov esp, ebp
pop ebp
ret