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

Disassembly:
push 4
mov eax, 0x100da5f0
call fcn.100157c2
mov ebx, ecx
mov eax, dword [ebx + 0xc]
push dword [eax + 0x70]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x1007103b
push 0
pop edi
and eax, 3
je 0x10070fc4
cmp eax, 1
jne 0x10070fcd
and esi, 0xfffffffe
mov esi, dword [esi + 0x10]
add esi, 8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10070fc4
mov al, byte [eax + 0x44]
test al, al
jne 0x1007103b
mov ecx, esi
call fcn.10068350
jmp 0x10071002
and esi, 0xfffffffd
lea ecx, [esi + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x10], ecx
call dword [eax + 0x10]
mov esi, dword [esi + 0x20]
mov eax, dword [esi + 0x2c]
add esi, 0x10
test eax, eax
je 0x10070ff3
mov al, byte [eax + 0x44]
test al, al
je 0x10070ff3
mov esi, edi
jmp 0x10070ffa
mov ecx, esi
call fcn.10068350
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x14]
test esi, esi
je 0x1007103b
cmp dword [esi + 0x14], ebx
je 0x10071035
push 0x3c
call fcn.100d5ec7
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x10071028
push esi
push ebx
mov ecx, eax
call fcn.100d5ec7
mov edi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.10068350
jmp 0x10071037
mov edi, esi
mov eax, edi
jmp 0x1007103d
xor eax, eax
call fcn.100157f5
ret

Function at 0x10073f6d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 4
mov eax, 0x100db7e8
call fcn.100157c2
mov edi, ecx
mov dword [ebp - 0x10], edi
or dword [edi + 4], 0xfffffff
lea ecx, [edi + 0x3c]
xor esi, esi
mov dword [edi + 8], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 0x80000000
mov dword [edi + 0x18], esi
mov dword [edi + 0x38], esi
call sym.MSVCR120.dll_public:_void___thiscall_Concurrency::event::constructor_void_
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
xor eax, eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
call fcn.100d5ec7
mov dword [edi + 0xc], eax
mov eax, dword [eax + 0x34]
mov dword [edi], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
test eax, eax
je 0x10073fe8
cmp eax, 2
je 0x10073fe8
xor edx, edx
add eax, 4
inc edx
lock xadd dword [eax], edx
mov ecx, edi
call fcn.10074d68
lea ecx, [edi + 0x3c]
call sym.MSVCR120.dll_public:_void___thiscall_Concurrency::event::set_void_
cmp byte [ebp + 0xc], 0
je 0x10074029
mov edx, dword [edi + 0x64]
mov ecx, edi
add edx, 0x68
mov esi, dword [edx]
mov eax, esi
mov dword [edi + 0x68], esi
lock cmpxchg dword [edx], ecx
jmp 0x10074023
mov dword [edi + 0x68], eax
mov esi, eax
mov ecx, dword [edi + 0x64]
mov edx, edi
add ecx, 0x68
lock cmpxchg dword [ecx], edx
cmp eax, esi
je 0x10074031
jmp 0x10074012
or dword [edi + 0x78], 1
and dword [edi + 0x68], 0
call fcn.1001ffa7
mov esi, eax
cmp dword [esi + 0x20], 0
jne 0x10074045
mov ecx, esi
call fcn.10065b8a
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x40]
and dword [edi + 4], 0xfffffff
mov dword [edi + 0x80], eax
mov eax, edi
call fcn.100157f5
ret 8
Function at 0x10075d62
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100de7b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100e3510]
test dword [ebp + 8], eax
je 0x10075dfc
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x808]
call fcn.100d5ec7
xor eax, eax
mov word [ebp - 8], ax
mov eax, dword [0x100dfd60]
pop ecx
test eax, eax
je 0x10075def
push esi
push edi
lea ecx, [ebp - 0x808]
push ecx
push eax
call sym.MSVCR120.dll_fwprintf
mov edi, dword [0x100e3524]
mov esi, dword [0x100e3520]
pop ecx
pop ecx
push 0
push 0x32
push edi
push esi
call fcn.10032225
add esi, 1
mov dword [0x100e3520], esi
adc edi, 0
or eax, edx
mov dword [0x100e3524], edi
pop edi
pop esi
jne 0x10075dfc
push dword [0x100dfd60]
call sym.MSVCR120.dll_fflush
pop ecx
jmp 0x10075dfc
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010cbc
mov esp, ebp
pop ebp
ret

Function at 0x100d5ec7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x100d5ed6
pop dword [ebp - 0x28]
mov eax, 0x9d1de94f
add eax, 0x72ef7587
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x5c405
push 0
mov eax, 0x6fb7252d
sub eax, 0x5fa8e38d
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0xa2a75276
sub ecx, 0xa2a70ebe
mov esi, eax
mov edx, 0xb1159b49
sub edx, 0xa106cd49
add edx, dword [ebp - 0x28]
mov ebx, 0x9d77db46
mov dword [ebp - 0x20], 0xf39bf4f4
mov edi, dword [edx]
xor dword [ebp - 4], esi
sub edi, ebx
sub dword [ebp - 0x24], 0x543674cb
mov dword [esi], edi
xor dword [ebp - 0x10], 0x6465df43
add esi, 0x4fcce77b
add esi, 0xb0331889
add edx, 4
loop 0x100d5f2f
add eax, 0x101b3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x989f3bb
add ecx, 0x6760c45
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x4013ef
Capabilities:
Terminate process

Disassembly:
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
jmp 0x4012c6
mov dword [0x404144], esi
jmp 0x401271
push 0x58
push 0x4012f8
call fcn.00401124
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, 0x404038
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x402342
xor esi, esi
inc esi
mov eax, dword [0x404034]
cmp eax, esi
je 0x402360
mov eax, dword [0x404034]
test eax, eax
jne 0x4011e2
mov dword [0x404034], esi
push 0x4012f0
push 0x4012e8
call fcn.00572000
pop ecx
pop ecx
test eax, eax
jne 0x4023f6
mov eax, dword [0x404034]
cmp eax, esi
jne 0x401295
push 0x4012e4
push 0x4012dc
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x404034], 2
test ebx, ebx
jne 0x4012a1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x404044], 0
jne 0x40236d
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
jbe 0x401320
cmp al, 0x22
je 0x4011d2
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
jne 0x40239a
inc esi
jmp 0x4012b5
test al, al
je 0x40132a
cmp dword [ebp - 0x1c], 0
jne 0x4012be
mov al, byte [esi]
test al, al
je 0x4018ee
cmp al, 0x20
ja 0x4018ee
inc esi
mov dword [ebp - 0x20], esi
jmp 0x40132a
call fcn.004013f9
jmp 0x4011ed
test byte [ebp - 0x3c], 1
jne 0x402391
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call 0x401922
mov dword [0x404058], eax
cmp dword [0x404054], 0
jne 0x4023d2
push eax
call dword [sym.imp.MSVCR80.dll_exit]
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.00401342
push eax
call fcn.00401a08
pop ebp
ret 0x10
cmp eax, esi
jne 0x402350
xor esi, esi
inc esi
mov ebx, esi
jmp 0x40123c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401227
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x401271
push 0x404044
call fcn.00402be3
pop ecx
test eax, eax
je 0x4012ae
push 0
push 2
push 0
call dword [0x404044]
jmp 0x4012ae
movzx eax, word [ebp - 0x38]
jmp 0x4018fb
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4012d9
cmp dword [0x404144], 0
jne 0x4023e1
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x404058]
jmp 0x402402
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00401674
ret
Function at 0x416e2c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x59b710]
cmp eax, 0x270
jl 0x416efa
xor edx, edx
mov eax, dword [edx*4 + 0x5ce6c0]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5ce6c4]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5cecf4]
xor ecx, dword [eax*4 + 0x577558]
mov dword [edx*4 + 0x5ce6c0], ecx
inc edx
cmp edx, 0xe3
jl 0x416e3e
cmp edx, 0x26f
jge 0x416ec6
mov eax, dword [edx*4 + 0x5ce6c0]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5ce6c4]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5ce334]
xor ecx, dword [eax*4 + 0x577558]
mov dword [edx*4 + 0x5ce6c0], ecx
inc edx
cmp edx, 0x26f
jl 0x416e86
mov edx, dword [0x5cf07c]
and edx, 0x80000000
mov eax, dword [0x5ce6c0]
and eax, 0x7fffffff
or edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, dword [0x5cecf0]
and edx, 1
xor ecx, dword [edx*4 + 0x577558]
mov dword [0x5cf07c], ecx
xor eax, eax
lea edx, [eax + 1]
mov dword [0x59b710], edx
mov eax, dword [eax*4 + 0x5ce6c0]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
ret
Function at 0x45c310
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 4
push edx
push dword [eax]
call fcn.00470e3e
mov eax, dword [esp + 0xc]
add esp, 0x10
ret
Function at 0x464a3c
Capabilities:
Read file on windows

Disassembly:
push edi
push ebx
sub esp, 0x24
mov edi, eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x464a55
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x464a4d
mov ebx, eax
inc ebx
push ebx
call fcn.0046f20c
pop ecx
mov ecx, dword [0x8725b0]
mov edx, dword [0x8725ac]
mov dword [edx + ecx*4], eax
mov edx, dword [0x8725ac]
mov ecx, dword [0x8725b0]
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x464bb1
push ebx
push edi
push edx
call dword [0x5b85ac]
add esp, 0xc
mov ebx, dword [0x8725b0]
mov ecx, dword [0x8725ac]
lea eax, [esp + 8]
mov edx, dword [ecx + ebx*4]
call fcn.00464c24
movsx eax, byte [esp + 0x10]
test eax, eax
je 0x464b8c
lea eax, [esp + 0x20]
push 4
push eax
push dword [esp + 0x10]
call fcn.00470e3e
add esp, 0xc
lea eax, [esp + 8]
call fcn.0045c310
mov edi, eax
lea eax, [esp + 8]
call fcn.0045c310
mov ebx, eax
lea eax, [esp + 8]
call fcn.00464cb4
mov edx, dword [esp + 0x20]
cmp edx, 0x465059
jne 0x464b2a
cmp edi, 0x22b
je 0x464b04
cmp edi, 0xea
jl 0x464b67
mov edx, dword [0x8725b4]
add edx, ebx
mov dword [0x8725b4], edx
cmp edx, 0x30d40
jge 0x464b4b
mov eax, dword [0x8725b0]
inc eax
mov dword [0x8725b0], eax
cmp eax, 0x64
jge 0x464b32
xor eax, eax
add esp, 0x24
pop ebx
pop edi
ret
push 0x64
push 1
push 0x196c2
call fcn.0046c28c
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
push 0x30d40
push 1
push 0x196cc
call fcn.0046c28c
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x8725b0]
mov eax, dword [0x8725ac]
push dword [eax + edx*4]
push 1
push 0x196b8
call fcn.0046c28c
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x8725b0]
mov eax, dword [0x8725ac]
push dword [eax + edx*4]
push 1
push 0xdbfb0
call fcn.0046c28c
mov eax, 0xfffffffe
add esp, 0x30
pop ebx
pop edi
ret
push 1
push 0x186aa
call fcn.0046c2e8
mov eax, 0xffffffff
add esp, 0x2c
pop ebx
pop edi
ret

Function at 0x464ca0
Capabilities:
Read file on windows

Disassembly:
push ecx
push edx
push dword [eax]
call fcn.00470e3e
add esp, 0xc
ret

Function at 0x4653fc
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push 0x41c494
call fcn.00472336
add esp, 0xc
test eax, eax
je 0x465422
movsx edx, byte [0x59b734]
dec edx
push edx
push eax
call dword [0x5770bc]
ret
push 0x878de0
push 0
call fcn.00409070
add esp, 8
ret
Function at 0x46a798
Capabilities:
Create thread

Disassembly:
movsx eax, byte [0x872314]
test eax, eax
je 0x46a7b4
xor eax, eax
push eax
push eax
push 0x4209f8
call fcn.00472336
add esp, 0xc
ret

Function at 0x46a7b8
Capabilities:
Create thread

Disassembly:
push edi
push esi
push ebx
push esi
movsx edx, byte [0x59b730]
test edx, edx
jle 0x46a853
xor eax, eax
xor ecx, ecx
xor edx, edx
mov edi, eax
mov ebx, edx
mov esi, ecx
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x5770dc]
mov dword [esi*4 + 0x7db680], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x5770dc]
mov dword [ebx + 0x7db780], eax
xor eax, eax
push eax
push 1
push eax
push eax
call dword [0x5770dc]
mov dword [ebx + 0x7db880], eax
cmp dword [esi*4 + 0x7db680], 0
je 0x46a919
cmp dword [esi*4 + 0x7db780], 0
je 0x46a909
cmp dword [esi*4 + 0x7db880], 0
je 0x46a8f9
add ebx, 4
inc esi
movsx edx, byte [0x59b730]
cmp esi, edx
jl 0x46a7d7
mov eax, edi
cmp eax, 1
je 0x46a8e1
test edx, edx
jle 0x46a8dd
xor eax, eax
xor ecx, ecx
xor edx, edx
mov ebx, eax
mov esi, edx
mov edi, ecx
mov dword [esi + 0x7d9d80], edi
xor ecx, ecx
lea edx, [esi + 0x7d9d80]
lea eax, [esp]
push eax
push ecx
push edx
push 0x41f550
push ecx
push ecx
call fcn.004725d5
add esp, 0x18
mov dword [edi*4 + 0x7d9c80], eax
push edi
push eax
call dword [0x5770bc]
cmp dword [edi*4 + 0x7d9c80], 0
jne 0x46a8a8
mov ebx, 1
add esi, 0x64
inc edi
movsx eax, byte [0x59b730]
cmp edi, eax
jl 0x46a867
mov eax, ebx
cmp eax, 1
je 0x46a8c5
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
ret
push 0x8792c4
push 0
call fcn.00409070
mov eax, 0xffffffff
add esp, 0xc
pop ebx
pop esi
pop edi
ret
xor eax, eax
jmp 0x46a8b9
push 0x879298
push 0
call fcn.00409070
mov eax, 0xffffffff
add esp, 0xc
pop ebx
pop esi
pop edi
ret
call dword [0x577290]
mov edi, 1
jmp 0x46a839
call dword [0x577290]
mov edi, 1
jmp 0x46a82b
call dword [0x577290]
mov edi, 1
jmp 0x46a81d

Function at 0x46bc24
Capabilities:
Create thread

Disassembly:
push esi
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x5770dc]
mov dword [0x87282c], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x5770dc]
mov dword [0x872830], eax
xor eax, eax
push eax
push 1
push eax
push eax
call dword [0x5770dc]
mov dword [0x872834], eax
xor edx, edx
lea eax, [esp]
push eax
push edx
push 0x7d1840
push 0x41b690
push edx
push edx
call fcn.004725d5
add esp, 0x18
mov dword [0x872828], eax
pop ecx
ret

Function at 0x46bc94
Capabilities:
Create thread

Disassembly:
push esi
xor eax, eax
push eax
push eax
push 1
push eax
call dword [0x5770dc]
mov dword [0x8727f4], eax
xor eax, eax
push eax
push eax
push 1
push eax
call dword [0x5770dc]
mov dword [0x8727f8], eax
xor edx, edx
mov eax, 1
push edx
push eax
push eax
push edx
call dword [0x5770dc]
mov dword [0x8727fc], eax
xor edx, edx
lea eax, [esp]
push eax
push edx
push 0x7ce140
push 0x4186d8
push edx
push edx
call fcn.004725d5
add esp, 0x18
mov dword [0x8727f0], eax
pop ecx
ret

Function at 0x46bcf4
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push 0x417d78
call fcn.00472336
add esp, 0xc
call fcn.0046bc7c
ret
Function at 0x46c028
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
call dword [0x577464]
test eax, eax
jg 0x46c03c
mov dword [0x871fd8], eax
xor eax, eax
pop ecx
ret
mov edx, 0x10
cmp eax, 0x10
jl 0x46c048
mov eax, edx
mov dword [0x871fd8], eax
xor eax, eax
mov dword [esp], ebx
mov ebx, eax
lea edx, [ebx + 0x78ac80]
push 0x34
push edx
call dword [0x5b85a0]
add esp, 8
mov dword [ebx + 0x78ac80], 0x34
mov dword [ebx + 0x78ac84], 0x83
add ebx, 0x34
cmp ebx, 0x340
jl 0x46c054
mov ebx, dword [esp]
mov dword [0x78afc0], 1
mov dword [0x78afc4], 2
mov dword [0x78afc8], 4
mov dword [0x78afcc], 8
mov dword [0x78afd0], 0x10
mov dword [0x78afd4], 0x20
mov dword [0x78afd8], 0x40
mov dword [0x78afdc], 0x80
mov dword [0x78afe0], 0x100
mov dword [0x78afe4], 0x200
mov dword [0x78afe8], 0x400
mov dword [0x78afec], 0x800
mov dword [0x78aff0], 0x1000
mov dword [0x78aff4], 0x2000
mov dword [0x78aff8], 0x4000
mov dword [0x78affc], 0x8000
mov dword [0x78b000], 0x10000
mov dword [0x78b004], 0x20000
mov dword [0x78b008], 0x40000
mov dword [0x78b00c], 0x80000
mov dword [0x78b010], 0x100000
mov dword [0x78b014], 0x200000
mov dword [0x78b018], 0x400000
mov dword [0x78b01c], 0x800000
mov dword [0x78b020], 0x1000000
mov dword [0x78b024], 0x2000000
mov dword [0x78b028], 0x4000000
mov dword [0x78b02c], 0x8000000
mov dword [0x78b030], 0x10000000
mov dword [0x78b034], 0x20000000
mov dword [0x78b038], 0x40000000
mov dword [0x78b03c], 0x80000000
mov eax, 1
pop ecx
ret

Function at 0x46c544
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x5ce6c0], eax
mov eax, 1
mov ecx, dword [eax*4 + 0x5ce6bc]
mov edx, ecx
shr edx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5ce6c0], edx
inc eax
cmp eax, 0x270
jl 0x46c552
mov dword [0x59b710], eax
ret
Function at 0x513490
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x5134b3
mov eax, dword [esi + 0x1a8]
push esi
call dword [eax]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x5134d9
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
call dword [eax]
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x5134c0
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
ret

Function at 0x513590
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x5135c7
push esi
call fcn.00545350
mov eax, dword [esi + 0x40]
test eax, eax
je 0x5135c0
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
pop ebp
ret 4
mov dword [esi + 0x14], 0xcb
mov ecx, dword [esi + 0x14]
cmp ecx, 0xcb
jne 0x513646
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x513630
nop
mov eax, dword [esi + 8]
test eax, eax
je 0x5135ea
push esi
call dword [eax]
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
test eax, eax
je 0x513629
cmp eax, 2
je 0x513630
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5135e0
cmp eax, 3
je 0x51360d
cmp eax, 1
jne 0x5135e0
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
cmp eax, dword [ecx + 8]
jl 0x5135e0
mov eax, dword [ecx + 8]
mov edx, dword [esi + 0x144]
add eax, edx
mov dword [ecx + 8], eax
jmp 0x5135e0
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.00513490
pop esi
pop ebp
ret 4
cmp ecx, 0xcc
je 0x51365d
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
push esi
mov dword [eax + 0x18], ecx
call dword [eax]
call fcn.00513490
pop esi
pop ebp
ret 4
Function at 0x10001060
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
ret

Function at 0x10001080
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
ret

Function at 0x100010a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov ecx, dword [eax + 0x24]
mov esi, dword [eax + 0x1c]
add ecx, ebx
mov edx, dword [eax + 0x20]
add esi, ebx
mov dword [ebp - 8], ecx
add edx, ebx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], edx
test ecx, 0xffff0000
jne 0x10001106
mov edx, dword [eax + 0x10]
movzx ecx, cx
cmp ecx, edx
jb 0x100010fd
mov eax, dword [eax + 0x14]
add eax, edx
cmp ecx, eax
ja 0x100010fd
sub ecx, edx
mov edi, dword [esi + ecx*4]
add edi, ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [ebp + 8], eax
test eax, eax
je 0x10001164
mov eax, dword [edx + esi*4]
add eax, ebx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10001137
test dl, dl
je 0x10001133
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10001137
add ecx, 2
add eax, 2
test dl, dl
jne 0x10001117
xor eax, eax
jmp 0x1000113c
sbb eax, eax
or eax, 1
test eax, eax
je 0x10001155
mov ecx, dword [ebp + 0xc]
inc esi
mov edx, dword [ebp - 4]
cmp esi, dword [ebp + 8]
jb 0x10001112
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
movzx eax, word [eax + esi*2]
mov edi, dword [edi + eax*4]
add edi, ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001170
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100a8040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x230], 0x22c
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10001219
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x10001219
push edi
mov edi, dword [ebp + 8]
mov eax, edi
lea ecx, [ebp - 0x20c]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x100011f6
test dx, dx
je 0x100011f2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x100011f6
add ecx, 4
add eax, 4
test dx, dx
jne 0x100011d0
xor eax, eax
jmp 0x100011fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x10001212
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100011c1
jmp 0x10001218
mov ebx, dword [ebp - 0x228]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.100943ad
mov esp, ebp
pop ebp
ret

Function at 0x10002960
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1000298a
push 0
push 0
push dword [ebp + 8]
push 0x10001240
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1000298a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10097adf
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10097b1e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10097b1e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10097b1e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10097b1e
cmp dword [ecx + 0x74], 0xe
jbe 0x10097b1e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret