joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cc80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00437360
test eax, eax
je 0x43cd6f
mov ecx, edi
call fcn.00437360
mov ecx, eax
call fcn.00434920
test eax, eax
jne 0x43cd6f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43cd6f
mov eax, dword [0x4c5180]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x43cce2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00437360
mov ecx, eax
call fcn.00434b50
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x43cd6f
cmp ebx, eax
jne 0x43cd6f
cmp dword [esp + 0x10], eax
jne 0x43cd55
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x43fad0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48c2f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x43fb09
inc eax
mov dword [esi + 0x10], eax
jmp 0x43fc1c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43fb1d
mov eax, 0xffffffc7
jmp 0x43fc1e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43fb2e
cmp dword [esi + 8], eax
jne 0x43fb1d
cmp dword [esi + 8], eax
jne 0x43fb47
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x43fb47
mov eax, 0xffffffc7
jmp 0x43fc1e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43fb5b
push eax
mov ecx, ebx
call fcn.0043f300
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004133f0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43fb8c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00413410
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0043ea70
test eax, eax
mov dword [esp + 0x38], eax
je 0x43fbbf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x497908
call fcn.004135f0
mov eax, dword [esp + 0x38]
jmp 0x43fc1e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0043f930
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43fc03
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0043f950
mov esi, eax
test esi, esi
jne 0x43fc33
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0043f930
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43fbd5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x497908
call fcn.004135f0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x497908
call fcn.004135f0
mov eax, esi
jmp 0x43fc1e

Function at 0x444600
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x444660
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x444660
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x444660
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x444660
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4446a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4501e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48cbe8
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.0048595f
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0044fb40
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.0048588d
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.00482151
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.00482151
push 1
push 0
push 0
mov ecx, esi
call fcn.004820f9
push 1
push 0
push 1
mov ecx, esi
call fcn.004820f9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004859d1
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x450360
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48cc08
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.0048595f
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0044fb40
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.0048588d
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 0x450424
cmp dword [esp + 0x40], 1
jne 0x450422
cmp ecx, eax
jge 0x450424
mov eax, ecx
cmp eax, 0xc8
jge 0x450430
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004501e0
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.004859d1
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x450c30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48ccb3
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.0048056f
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.00485c07
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00487123
test eax, eax
je 0x450d4c
mov ecx, dword [esp + 0x3c]
call fcn.00485c34
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 0x450d10
push edi
mov ecx, esi
call fcn.0048329b
mov ecx, esi
call fcn.00450ef0
cmp dword [esp + 0x38], 1
jne 0x450d45
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.004833d6
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 0x452f30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x452f63
push esi
call fcn.004612e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x452f5c
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 0x452fe9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x452fd2
mov eax, dword [esi + 8]
test eax, eax
je 0x452f87
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 0x452fce
cmp eax, 2
je 0x452fd2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x452f7a
cmp eax, 3
je 0x452fad
cmp eax, 1
jne 0x452f7a
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 0x452f7a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x452f7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00453010
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x452ff8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00453010
add esp, 4
pop esi
ret

Function at 0x453890
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4538b1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4538b1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4538b1
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 0x481364
Capabilities:
Get graphical window text

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

Function at 0x482a55
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 0x482a97
call fcn.00488513
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x482a97
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x482a8e
xor eax, eax
jmp 0x482a9f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00482aa5
pop edi
pop esi
pop ebx
ret 4
Function at 0x488a43
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 0x488a71
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x488a8f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004889a9
jmp 0x488a8f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x488a8f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004889a9
test edi, edi
mov eax, edi
jne 0x488a79
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x78ab1d3f
Capabilities:
Accept command line arguments
Get thread local storage value

Disassembly:
push 8
push 0x78ab1de0
call fcn.78ab0950
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x78abb8b1
xor edi, edi
cmp eax, edi
je 0x78ac7b31
cmp eax, 2
jne 0x78ab2967
call sym.MSVCR100.dll___set_flsgetvalue
push dword [0x78b548b4]
push dword [0x78b548b8]
call dword [sym.imp.kernel32.dll_TlsGetValue]
call eax
test eax, eax
jne 0x78ab1dd1
push 0x214
push 1
call sym.MSVCR100.dll__wexecvpe
pop ecx
pop ecx
mov esi, eax
cmp esi, edi
je 0x78ac7b77
push esi
push dword [0x78b548b4]
push dword [0x78b54e50]
call dword [sym.imp.kernel32.dll_DecodePointer]
call eax
test eax, eax
je 0x78ad7484
push edi
push esi
call sym.MSVCR100.dll__initptd
pop ecx
pop ecx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esi], eax
or dword [esi + 4], 0xffffffff
call fcn.78ab1d38
xor eax, eax
inc eax
call fcn.78ab0995
ret
cmp eax, 3
jne 0x78ab1dd1
push edi
call sym.MSVCR100.dll__wexecvpe
pop ecx
jmp 0x78ab1dd1
call fcn.78abb359
test eax, eax
je 0x78ac7b77
call fcn.78abba14
test eax, eax
je 0x78ad7437
call sym.MSVCR100.dll__wexecvpe
test eax, eax
js 0x78ad7441
call sym.MSVCR100.dll__wexecvpe
mov dword [0x78b55428], eax
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [sym.MSVCR100.dll__acmdln], eax
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [sym.MSVCR100.dll__wcmdln], eax
call fcn.78abb8a6
call fcn.78abb925
test eax, eax
js 0x78ac7b7e
push 0
call sym.MSVCR100.dll__wexecvpe
pop ecx
test eax, eax
jne 0x78ac7b7e
inc dword [0x78b55424]
jmp 0x78ab1dd1
cmp dword [0x78b55424], edi
jle 0x78ac7b77
dec dword [0x78b55424]
mov dword [ebp - 4], edi
cmp dword [0x78b55eac], edi
je 0x78ad7448
call fcn.78ac7ac7
cmp dword [ebp + 0xc], edi
je 0x78ad7452
mov dword [ebp - 4], 0xfffffffe
call fcn.78ac7b6d
jmp 0x78ab1dd1
xor eax, eax
jmp 0x78ab1dd9
call fcn.78b26d78
jmp 0x78ad7441
call fcn.78b266ba
jmp 0x78ac7b77
call fcn.78afc6e7
jmp 0x78ad7437
call sym.MSVCR100.dll__cexit
jmp 0x78ac7b4e
call fcn.78b26d78
call fcn.78afc6e7
call fcn.78b266ba
jmp 0x78ac7b5c
push esi
call sym.MSVCR100.dll__wexecvpe
pop ecx
jmp 0x78ac7b77

Function at 0x78ab23db
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x78ad7b05
test dword [ebp + 0xc], 0xfffffff9
jne 0x78ad7b05
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x78ac09bb
test al, 0x10
jne 0x78ab241d
test al, 1
je 0x78ab241d
test byte [ebp + 0xc], 2
jne 0x78ad7b22
xor eax, eax
pop esi
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call sym.MSVCR100.dll__wexecvpe
pop ecx
call sym.MSVCR100.dll__errno
mov eax, dword [eax]
jmp 0x78ab241f
call sym.MSVCR100.dll___doserrno
mov dword [eax], esi
call sym.MSVCR100.dll__errno
push 0x16
pop esi
mov dword [eax], esi
call sym.MSVCR100.dll__invalid_parameter_noinfo
mov eax, esi
jmp 0x78ab241f
call sym.MSVCR100.dll___doserrno
mov dword [eax], 5
call sym.MSVCR100.dll__errno
mov dword [eax], 0xd
jmp 0x78ac09c8
Function at 0x78ac235f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
mov esi, eax
xor ecx, ecx
cmp esi, ecx
je 0x78ae06f7
cmp word [esi], cx
je 0x78ac2389
add eax, 2
cmp word [eax], cx
jne 0x78ac2379
add eax, 2
cmp word [eax], cx
jne 0x78ac2379
push ebx
sub eax, esi
lea ebx, [eax + 2]
push edi
push ebx
call sym.MSVCR100.dll__wexecvpe
mov edi, eax
pop ecx
test edi, edi
je 0x78ac23a8
push ebx
push esi
push edi
call sym.MSVCR100.dll__wexecvpe
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x78ac78ec
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x78ac7928
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x78ac7928
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x78ac7928
xor eax, eax
cmp dword [ecx + 0x74], 0xe
jbe 0x78ac7927
cmp dword [ecx + 0xe8], eax
setne al
ret
xor eax, eax
ret
Function at 0x78ae87e8
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x24
mov eax, 0x78b4fc38
call fcn.78b24a94
mov eax, dword [ebx + 0x30]
lea ecx, [eax + 1]
mov dword [ebx + 0x30], ecx
test eax, eax
jne 0x78ae8936
cmp dword [ebx + 0x1c], eax
setne byte [ebp - 0x29]
cmp dword [ebx + 0x18], eax
jne 0x78ae890b
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x24]
mov edx, dword [ebx + 0x14]
imul edi, edi, 0x2c
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x30], esi
imul esi, esi, 0x2c
add esi, dword [eax + edi + 0x28]
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
test ecx, ecx
jne 0x78ae885b
mov ecx, dword [edx + 0x10]
add ecx, edi
inc dword [ecx + 0x1c]
inc dword [edx + 0xac]
cmp byte [esi + 0x29], 0
je 0x78ae885b
mov eax, dword [ebp - 0x30]
mov byte [esi + 0x2a], 1
call fcn.78af2d19
cmp byte [ebp - 0x29], 0
jne 0x78ae891b
inc dword [edx + 0xb4]
inc dword [esi + 0x24]
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push eax
lea esi, [ebp - 0x28]
mov dword [ebp - 0x30], eax
call sym.MSVCR100.dll__wexecvpe
mov cx, word [eax + 4]
mov word [ebx + 0xc], cx
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x14]
imul eax, eax, 0x2c
mov ecx, dword [ecx + 0x10]
mov esi, dword [eax + ecx]
movzx edi, word [eax + ecx + 0x10]
push 0xc
lea eax, [ebp - 0x1c]
push 0
push eax
call sym.MSVCR100.dll_memset
add esp, 0xc
push dword [ebp - 0x30]
mov dword [ebp - 0x1c], esi
lea esi, [ebp - 0x1c]
mov word [ebp - 0x18], di
call sym.MSVCR100.dll__wexecvpe
mov edi, dword [ebx + 0x14]
mov esi, ebx
call fcn.78af304f
mov esi, dword [ebx + 0x14]
lea edi, [esi + 0x20]
push edi
mov dword [ebp - 0x30], edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
imul eax, eax, 0x2c
mov ecx, dword [ebx + 0x28]
mov edx, dword [esi + 0x10]
imul ecx, ecx, 0x2c
mov eax, dword [eax + edx + 0x28]
lea ecx, [eax + ecx + 8]
mov eax, ebx
call fcn.78af3295
push edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
jmp 0x78ae891b
mov ecx, dword [ebx + 0x14]
lea ecx, [ecx + 0xc4]
mov eax, ebx
call fcn.78af3295
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x70]
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
push ebx
push esi
mov dword [ebx + 0x20], eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
call fcn.78b24b03
ret
Function at 0x78aeb96a
Capabilities:
Allocate thread local storage

Disassembly:
push 0x20
mov eax, 0x78b4f893
call fcn.78abb69a
mov edi, dword [ebp + 8]
push dword [0x78b5736c]
xor esi, esi
mov dword [edi], 0x78ae3cd0
lea eax, [edi + 0x24]
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], 0x10
mov dword [edi + 0x10], esi
mov dword [edi + 0x1c], esi
push eax
mov dword [edi + 0x20], esi
call dword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [ebp - 4], esi
push dword [0x78b5736c]
lea ebx, [edi + 0x68]
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], esi
mov dword [edi + 0x48], esi
mov dword [edi + 0x4c], esi
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], esi
mov dword [edi + 0x58], esi
mov dword [edi + 0x5c], esi
lea eax, [ebx + 0xc]
mov dword [edi + 0x60], esi
mov dword [edi + 0x64], esi
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebx], esi
mov dword [ebx + 4], esi
call dword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov dword [ebx + 8], eax
cmp eax, 0xffffffff
jne 0x78aeba23
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, esi
jle 0x78aeba0c
and eax, 0xffff
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x2c]
call sym.MSVCR100.dll__wexecvpe
push 0x78b50c48
lea eax, [ebp - 0x2c]
push eax
call sym.MSVCR100.dll__wexecvpe
push 0x78aebae8
push 0x78ae3cb0
mov byte [ebp - 4], 2
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, esi
je 0x78aeba58
mov ecx, dword [0x78b555e8]
xor ecx, eax
mov dword [edi + 0x8c], ecx
mov dword [edi + 0x90], esi
jmp 0x78aebaa7
push 4
push 0x3000
push 0x1000
push esi
mov dword [edi + 0x8c], esi
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov dword [edi + 0x90], eax
cmp eax, esi
jne 0x78aebaa4
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x78abb754
call sym.MSVCR100.dll__wexecvpe
mov dword [ebp - 0x1c], 0x78abc7ec
push 0x78abc888
lea eax, [ebp - 0x1c]
jmp 0x78aeba1d
mov byte [eax], 1
push 1
call sym.MSVCR100.dll__wexecvpe
pop ecx
call sym.MSVCR100.dll__wexecvpe
push esi
push esi
push esi
push esi
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0xc]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sym.MSVCR100.dll__wexecvpe
mov dword [edi + 0x4c], eax
pop ecx
mov eax, edi
call fcn.78abbf60
ret 4
Function at 0x78aeefb6
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xc
mov eax, 0x78b4ffc4
call fcn.78abb69a
mov ebx, ecx
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
push 0x64
pop edi
call esi
sub eax, 0x1f4
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x20]
cmp eax, 2
je 0x78aef093
lea eax, [ebx + 0x24]
mov dword [ebp - 0x14], eax
push edi
push dword [ebx + 0x48]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x20]
sub eax, 0
je 0x78aef066
dec eax
jne 0x78aef07a
cmp dword [ebp - 0x18], 0x102
jne 0x78aef035
mov eax, ebx
call sym.MSVCR100.dll__wexecvpe
cmp dword [ebx + 0x10], 0
jbe 0x78aef02b
push 0
call sym.MSVCR100.dll__wexecvpe
call esi
push 0x64
mov dword [ebp - 0x10], eax
pop edi
jmp 0x78aef07a
call esi
sub eax, dword [ebp - 0x10]
push 0x64
pop edi
mov dword [ebp - 0x18], eax
cmp eax, edi
jbe 0x78aef054
cmp eax, 0x82
jbe 0x78aef01e
mov edi, ebx
call sym.MSVCR100.dll__wexecvpe
jmp 0x78aef02b
cmp dword [ebx + 0x10], 0
jbe 0x78aef061
push 0
call sym.MSVCR100.dll__wexecvpe
sub edi, dword [ebp - 0x18]
jmp 0x78aef07a
mov edi, ebx
call sym.MSVCR100.dll__wexecvpe
movzx edi, al
neg edi
sbb edi, edi
and edi, 0xffffff9b
add edi, 0x64
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x20]
cmp eax, 2
jne 0x78aeefe9
call fcn.78abbf60
ret