joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460c90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a1c58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00499e84
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004605f0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00499db2
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0049666d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0049666d
push 1
push 0
push 0
mov ecx, esi
call fcn.00496615
push 1
push 0
push 1
mov ecx, esi
call fcn.00496615
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00499ef6
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x460e10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a1c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00499e84
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004605f0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00499db2
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x460ed4
cmp dword [esp + 0x40], 1
jne 0x460ed2
cmp ecx, eax
jge 0x460ed4
mov eax, ecx
cmp eax, 0xc8
jge 0x460ee0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00460c90
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00499ef6
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4616d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a1d23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00494a8e
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0049a12c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0049b648
test eax, eax
je 0x4617ec
mov ecx, dword [esp + 0x3c]
call fcn.0049a159
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4617b0
push edi
mov ecx, esi
call fcn.004977b8
mov ecx, esi
call fcn.00461990
cmp dword [esp + 0x38], 1
jne 0x4617e5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004978f3
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4639d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x463a03
push esi
call fcn.00471d70
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4639fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x463a89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x463a72
mov eax, dword [esi + 8]
test eax, eax
je 0x463a27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x463a6e
cmp eax, 2
je 0x463a72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x463a1a
cmp eax, 3
je 0x463a4d
cmp eax, 1
jne 0x463a1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x463a1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x463a1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00463ab0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x463a98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00463ab0
add esp, 4
pop esi
ret

Function at 0x464320
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x464341
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x464341
mov eax, dword [eax + 0x44]
test eax, eax
je 0x464341
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x47e820
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x47e886
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x47e886
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x47e867
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x47ec10
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x47ec48
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x47f8d0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x47f919
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x47fd90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a2270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0047f940
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0047f9c0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0047f9c0
lea ecx, [esi + 0xc]
call fcn.00493440
lea ecx, [esi + 0x10]
call fcn.00493440
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00480f50
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00480f50
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00480f50
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004934b5
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004934b5
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x495883
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4958bb
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.00493910
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004938e8
jmp 0x4958c7
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x496f75
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 0x496fb7
call fcn.0049ccee
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x496fb7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x496fae
xor eax, eax
jmp 0x496fbf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00496fc5
pop edi
pop esi
pop ebx
ret 4

Function at 0x49d21e
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 0x49d24c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49d26a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049d184
jmp 0x49d26a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49d26a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049d184
test edi, edi
mov eax, edi
jne 0x49d254
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100030e0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b419e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100f6458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x38
call fcn.10065f32
add esp, 4
mov ebx, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
mov dword [ebx], vtable.std::_Func_impl_no_alloc_class__lambda_946fb3441e38ee2c1d5b4b4cf90fd82a___void___.0
lea edi, [ebx + 4]
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.10003de0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x18]
lea eax, [esi + 0x18]
push eax
call fcn.10003de0
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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 0x10003fd0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b44e7
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x100f6458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 8]
mov dword [edi], vtable.Application.0
mov dword [ebp - 0x14], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000a520
mov dword [esi], eax
mov dword [ebp - 4], 2
lea ecx, [edi + 0x10]
call fcn.10025c60
mov byte [ebp - 4], 3
lea edx, [edi + 0xc8]
mov dword [ebp - 0x14], edx
mov dword [edx], vtable.LdsJsBasic::WebWindowListener.0
mov byte [ebp - 4], 4
lea ecx, [edx + 4]
mov dword [ebp - 0x18], ecx
lea eax, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [ebp - 0x1c], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 6
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 7
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ecx + 0x20], eax
mov byte [ebp - 4], 9
mov dword [edx], vtable.PopupWebWindow.0
mov dword [ecx], vtable.PopupWebWindow.1.0
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0
mov byte [edx + 0x34], 0
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov byte [ebp - 4], 0xa
lea eax, [edx + 0x48]
mov byte [edx + 0x40], 0
mov dword [ebp - 0x1c], eax
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 0xd
lea ecx, [edi + 0x138]
call fcn.10049c80
mov byte [ebp - 4], 0xe
xor eax, eax
mov word [ebp - 0x34], ax
lea esi, [edi + 0x1a0]
mov eax, 0x100c4628
mov byte [edi + 0x198], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [edi + 0x19c], 0
mov dword [ebp - 0x1c], esi
lea edx, [eax + 2]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004120
sub eax, edx
lea ecx, [ebp - 0x34]
sar eax, 1
push eax
push 0x100c4628
call fcn.1000c5b0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.10003de0
mov byte [ebp - 4], 0x10
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0x500000
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x34]
call fcn.10005200
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10004360
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b45b7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100f6458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx], vtable.LdsJsBasic::WebWindowListener.0
mov dword [ebp - 4], 0
lea edx, [ecx + 4]
mov dword [ebp - 0x14], edx
lea eax, [edx + 8]
mov dword [edx + 4], 0
mov dword [ebp - 0x18], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 2
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov byte [ebp - 4], 3
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edx + 0x20], eax
mov byte [ebp - 4], 5
mov dword [ecx], vtable.PopupWebWindow.0
mov dword [edx], vtable.PopupWebWindow.1.0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov byte [ebp - 4], 6
lea eax, [ecx + 0x48]
mov byte [ecx + 0x40], 0
mov dword [ebp - 0x18], eax
mov dword [eax + 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000a440
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4730
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100f6458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000a485
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000a473
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000a4c2
nop dword [eax]
cmp esi, edx
jae 0x1000a473
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000a4b0
cmp esi, edx
jae 0x1000a473
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001a900
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8311
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x100f6458]
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 esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x24], esi
test esi, esi
je 0x1001a94c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x1001a980
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x1001cb20
push 0
push 0
call fcn.100910ad
add esp, 0x18
mov dword [esi + 0x18], eax
test eax, eax
jne 0x1001a980
xor bl, bl
jmp 0x1001aa65
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x80]
push edi
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.1001b050
mov byte [ebp - 4], 1
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 1
push eax
call fcn.1001af20
add esp, 8
mov byte [ebp - 4], 4
mov eax, 1
mov dword [ebp - 0x20], eax
and eax, 0xfffffffe
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.1001b680
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
test ecx, ecx
je 0x1001a9ef
lock inc dword [ecx + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x20]
call fcn.1001ad50
mov byte [ebp - 4], 5
or ebx, 0xffffffff
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x1001aa35
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x1001aa35
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x1001aa35
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 0x19], 1
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x1001aa62
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x1001aa62
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x1001aa62
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov bl, byte [ebp - 0x19]
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x24], 0
mov al, bl
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.100662e1
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b270
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100f6458]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [edi], 0
mov byte [edi + 4], 0
call fcn.10089510
add esp, 0xc
call fcn.1002f780
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.PluginBasic.tpi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b334
lea eax, [ebp - 0x20c]
push eax
call fcn.1003e4a0
add esp, 4
test eax, eax
je 0x1001b334
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1001b334
push str.GetLuaExplain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001b334
call eax
mov dword [edi], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x1001b358
mov edx, dword [ecx]
call dword [edx]
test eax, eax
je 0x1001b358
mov al, 1
mov byte [edi + 4], al
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100662e1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
mov byte [edi + 4], al
xor ecx, ebp
mov eax, edi
pop edi
call fcn.100662e1
mov esp, ebp
pop ebp
ret
Function at 0x1001d6d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8de8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100f6458]
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 esi, ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], esi
test esi, esi
je 0x1001d712
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x1001d746
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x1001cb20
push 0
push 0
call fcn.100910ad
add esp, 0x18
mov dword [esi + 0x18], eax
test eax, eax
jne 0x1001d746
xor bl, bl
jmp 0x1001d7fc
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1001daf0
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
test ecx, ecx
je 0x1001d786
lock inc dword [ecx + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x20]
call fcn.1001d9a0
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x1001d7cc
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x1001d7cc
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x1001d7cc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 0x19], 1
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x1001d7f9
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x1001d7f9
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x1001d7f9
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov bl, byte [ebp - 0x19]
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x20], 0
mov al, bl
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.100662e1
mov esp, ebp
pop ebp
ret 4