joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013bd
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 8]
push 8
xor eax, eax
add esi, esi
pop ecx
sar esi, 1
mov edx, eax
xor edx, esi
shr eax, 1
test dl, 1
je 0x4013db
xor eax, 0xedb88320
dec ecx
test ecx, ecx
jg 0x4013c9
pop esi
ret 4

Function at 0x4013ff
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 8], 0
mov eax, dword [0x417168]
je 0x40142f
mov ecx, dword [esp + 4]
push esi
movzx edx, byte [ecx]
dec dword [esp + 0xc]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x416b40]
inc ecx
cmp dword [esp + 0xc], 0
jne 0x401410
pop esi
mov dword [0x417168], eax
ret

Function at 0x404405
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x416b2e]
test eax, eax
jg 0x404418
and dword [0x4168dc], 0
xor eax, eax
ret
push esi
mov esi, 0x800
push edi
cmp eax, esi
ja 0x404425
mov esi, eax
mov edi, dword [0x410108]
push esi
push dword [0x4168d8]
push dword [0x415de8]
call edi
cmp dword [0x415df8], 0
mov dword [0x4168dc], eax
je 0x404490
cmp eax, 0xffffffff
je 0x404490
cmp eax, esi
je 0x4044a0
test eax, eax
jl 0x404490
mov ax, word [section..data]
push dword [0x415dfc]
inc ax
movzx eax, ax
push eax
call fcn.00401c88
mov eax, dword [0x4168dc]
test eax, eax
jne 0x404489
push esi
push dword [0x4168d8]
push dword [0x415de8]
call edi
mov dword [0x4168dc], eax
cmp eax, 0xffffffff
je 0x404490
mov esi, eax
cmp eax, esi
je 0x4044a0
push 2
call fcn.0040269c
mov eax, dword [0x4168dc]
sub dword [0x416b2e], eax
cmp dword [0x415dec], 0
mov esi, dword [0x4168d8]
mov dword [0x4171c8], esi
je 0x4044dd
mov edi, eax
test edi, edi
je 0x4044dd
dec edi
call fcn.00405f53
xor byte [esi], al
movzx eax, byte [esi]
push eax
call fcn.00405f6d
inc esi
pop ecx
test edi, edi
jne 0x4044c1
mov eax, dword [0x4168dc]
mov ecx, eax
dec eax
pop edi
mov dword [0x4168dc], eax
mov eax, ecx
pop esi
ret

Function at 0x405f6d
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [0x4168a0]
mov ecx, eax
xor ecx, dword [esp + 4]
shr eax, 8
mov edx, 0xff
and ecx, edx
xor eax, dword [ecx*4 + 0x416b40]
mov ecx, dword [0x4168a8]
mov dword [0x4168a0], eax
movzx eax, al
add eax, dword [0x4168a4]
imul eax, eax, 0x8088405
inc eax
mov dword [0x4168a4], eax
shr eax, 0x18
xor eax, ecx
and eax, edx
shr ecx, 8
xor ecx, dword [eax*4 + 0x416b40]
mov dword [0x4168a8], ecx
ret

Function at 0x405ff9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [str.UZZ]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [0x415df4]
mov esi, ecx
call fcn.00405fc1
push 0xc
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00401167
add esp, 0x10
xor esi, esi
lea edx, [ebp + esi - 0x10]
call fcn.00405f53
xor byte [edx], al
movzx eax, byte [edx]
push eax
call fcn.00405f6d
inc esi
cmp esi, 0xc
pop ecx
jl 0x406028
cmp dword [0x415df0], 0
movzx ax, byte [ebp - 5]
movzx eax, ax
pop esi
je 0x406067
movzx cx, byte [0x416b27]
cmp ax, cx
je 0x406071
or eax, 0xffffffff
jmp 0x406073
movzx cx, byte [0x416b2d]
jmp 0x40605d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004061b5
leave
ret
Function at 0x401ea0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
push edi
in al, dx
add dword [ecx - 0x749aa4ec], 0x75
or byte [edi - 0x14], dl
bound edx, qword [ecx + ecx*4]
inc ebp
or al, ch
dec ecx
dec ebx
add byte [eax], al
mov dword [0x410b69], eax
mov eax, edx
movsb byte es:[edi], byte [esi]
or eax, dword [ecx]
mov ebx, eax
mov eax, dword [esi + 0x75]
test eax, eax
mov edi, edx
jne 0x401f0d
mov ecx, dword [esi + 4]
push 0
push 0
imul al
xchg esi, eax
insd dword es:[edi], dx
add byte [eax], al
mov dword [esi + 0x150838], ebx
invalid
mov ecx, dword [edi + 0x38]
or byte [eax], al
add byte [ecx + str.____________________Default_is_text_plain_n], ah
mov edx, dword [0xa5d02c]
add ecx, eax
mov esp, dword [esp + edi + 0x4000008]
or al, 0x3b
clc
jg 0x8f402015
jl 0x401f3a
cmp ebx, ecx
ja 0x40c815
dec ebx
push esi
sbb byte [ebx + 0xcd03046], cl
add byte [ebx + 0x4d8d04e5], cl
or byte [ebx], al
rcl dword [ecx + 0x52], cl
inc edx
call 0x99408ac0
adc eax, 0x833374c0
clc
or esi, dword [ecx + edi*8 + 0x3d]
push 0x74000afd
ja 0x401fa1
frndint
or al, byte [eax]
add al, byte [ecx]
push edx
iretd
into
add byte [eax], al
stosb byte es:[edi], al
into
add byte [eax], al
xchg edx, eax
into
add byte [eax], al
jp 0x40c7f0
add byte [eax], al
pop esi
into
add byte [eax], al
dec esi
into
add byte [eax], al
inc eax
into
add byte [eax], al
cli
retf
Function at 0x401d10
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401d81
test al, 0x10
je 0x401d7a
mov eax, 0x414
mov dword [ebp - 0x20], 0
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0x57e7b0
mov dword [ebp - 0xe], 0
mov dword [ebp - 0xa], 0
mov dword [ebp - 6], 0x57e7b0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x401d7a
cmp dword [ebp - 0xe], 0
pop esi
sete al
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404520
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5a2348]
cmp eax, 2
je 0x4045b3
push esi
push 0
push 1
push 0x5a2348
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x40458f
push 4
call fcn.00509f6e
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0x5a2348
mov dword [esi], eax
push 0x404630
mov dword [0x5a234c], esi
call fcn.00405430
mov eax, dword [0x5a234c]
add esp, 8
mov dword [0x5a2348], 2
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x4045b2
mov eax, dword [0x5a2348]
cmp eax, 2
je 0x4045b2
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov eax, dword [0x5a2348]
cmp eax, 2
jne 0x4045a4
pop esi
mov eax, dword [0x5a234c]
mov esp, ebp
pop ebp
ret

Function at 0x404b20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a89d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x599680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004049b0
mov edi, dword [ebp + 8]
test edi, edi
js 0x404bc7
call fcn.00404520
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x404bc7
call fcn.004049b0
mov esi, eax
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [ebx]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
call fcn.004049b0
mov edi, eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00404de0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00404e00
cmp byte [ebp - 0x14], 0
jne 0x404bdb
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
cmp eax, dword [ebx]
je 0x404bdb
test esi, esi
je 0x404bc7
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc dword [ebx + 8]
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], eax
test esi, esi
je 0x404bef
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
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 0x4075d0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5a2350]
cmp eax, 2
je 0x407663
push esi
push 0
push 1
push 0x5a2350
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x40763f
push 4
call fcn.00509f6e
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0x5a2350
mov dword [esi], eax
push 0x404630
mov dword [0x5a2354], esi
call fcn.00405430
mov eax, dword [0x5a2354]
add esp, 8
mov dword [0x5a2350], 2
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x407662
mov eax, dword [0x5a2350]
cmp eax, 2
je 0x407662
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov eax, dword [0x5a2350]
cmp eax, 2
jne 0x407654
pop esi
mov eax, dword [0x5a2354]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
mov ecx, dword [ebp + 8]
push esi
push edi
xor edi, edi
lea eax, [ecx - 1]
mov dword [esp + 0x1c], eax
sar eax, 1
mov dword [esp + 0x18], eax
test eax, eax
jle 0x408883
lea ecx, [edi + edi]
lea eax, [ecx*8]
mov dword [esp + 0x14], ecx
sub eax, ecx
mov ecx, dword [ebx + eax*8 + 0x70]
mov edi, dword [ebx + eax*8 + 0x74]
lea edx, [ebx + eax*8]
mov esi, dword [edx + 0x3c]
mov eax, dword [edx + 0x38]
cmp edi, esi
jl 0x408819
jg 0x40880b
cmp ecx, eax
jbe 0x40880f
xor eax, eax
jmp 0x40882b
cmp edi, esi
jg 0x408820
jl 0x408819
cmp ecx, eax
jae 0x408820
mov eax, 1
jmp 0x40882b
mov ecx, dword [edx + 0x78]
xor eax, eax
cmp ecx, dword [edx + 0x40]
setle al
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc edi
add edi, eax
lea eax, [edi*8]
sub eax, edi
lea esi, [ebx + eax*8]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esi + 4]
lea edx, [ebx + eax*8]
mov eax, dword [esi]
mov dword [edx], eax
mov dword [edx + 4], ecx
lea ecx, [edx + 0x10]
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov al, byte [esi + 0xc]
mov byte [edx + 0xc], al
lea eax, [esi + 0x10]
push eax
call fcn.00408330
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edi
cmp edi, eax
jl 0x4087e0
mov ecx, dword [ebp + 8]
mov edx, edi
cmp edi, eax
jne 0x4088ce
test cl, 1
jne 0x4088ce
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebx + eax*8 - 0x34]
lea esi, [ebx + eax*8]
lea eax, [edi*8]
sub eax, edi
lea edx, [ebx + eax*8]
mov eax, dword [esi - 0x38]
mov dword [edx], eax
mov dword [edx + 4], ecx
lea ecx, [edx + 0x10]
mov eax, dword [esi - 0x30]
mov dword [edx + 8], eax
mov al, byte [esi - 0x2c]
mov byte [edx + 0xc], al
lea eax, [esi - 0x28]
push eax
call fcn.00408330
mov edx, dword [esp + 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
mov ecx, ebx
call fcn.00408200
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408900
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov dword [esi], vtable.nbase::Thread.0
test eax, eax
je 0x408947
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x408930
mov eax, dword [esi + 8]
test eax, eax
je 0x408947
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test byte [ebp + 8], 1
je 0x408958
push 0x10
push esi
call fcn.00509f9e
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x409130
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
call fcn.004075d0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0x14], 0
lea eax, [ebp - 0x1c]
je 0x409195
push 0xf
push 0xf
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x409191
push 1
push 0x113
push 0x113
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x409191
push eax
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x4091a7
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne bl
push 0
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test bl, bl
jne 0x4091bf
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00409080
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409ad0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b01d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x599680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0xc]
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [edi + 0x24], 0
je 0x409b28
call fcn.004075d0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [edi + 0x24]
jne 0x409b28
mov bl, 1
jmp 0x409b2a
xor bl, bl
test esi, esi
je 0x409b35
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
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 0x409b80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b055
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x599680]
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 ebx, ecx
lea esi, [ebx + 0xc]
mov byte [ebp - 0x39], 0
push esi
mov dword [ebp - 0x40], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [ebx + 0x24], 0
je 0x409c55
call fcn.004075d0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [ebx + 0x24]
je 0x409c55
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call fcn.00403c00
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x409c0c
lock inc dword [edi + 8]
test edi, edi
je 0x409c0c
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x409c0c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.._AV___Func_impl_no_alloc_V__WeakCallback_V___Binder_U_Unforced_std__AAP8MessageLoopProxy_nbase__BEXXZAAPBV34__std___nbase__X__V_std__.0
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0x409c90
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x24]
push eax
call fcn.00406b20
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x409c51
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 0x39], 1
test esi, esi
je 0x409c60
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x39], 0
jne 0x409c6e
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
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.00509f60
mov esp, ebp
pop ebp
ret
Function at 0x40b520
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b565
cmp byte [ebp + 8], 0
je 0x40b559
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x40dc00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebx + 0x10]
mov edi, dword [ebp + 8]
cmp eax, ecx
je 0x40dc31
cmp edi, dword [ebx + 0xe0]
je 0x40dc31
test edi, edi
je 0x40dc31
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [ebx + 0xe0]
cmp edi, esi
je 0x40ddbe
test esi, esi
je 0x40dd0a
xor eax, eax
mov dword [esp + 0x10], esi
mov word [esp + 0x20], ax
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov al, 1
mov dword [esp + 0xc], 3
test eax, eax
jne 0x40dc85
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0xf4]
mov eax, dword [eax + 0xf8]
mov dword [esp + 0x1c], eax
jmp 0x40dc89
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xd0]
mov esi, dword [ebx + 0xe0]
xor eax, eax
mov edx, dword [ebx + 0xf8]
mov word [esp + 0x20], ax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xf4]
mov dword [ebx + 0xe0], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x25
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [eax + 0xd0]
test edi, edi
je 0x40ddbe
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
cmp eax, ebx
jne 0x40ddbe
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x40ddbe
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x88]
call eax
test al, al
je 0x40ddbe
xor eax, eax
mov dword [ebx + 0xe0], edi
mov word [esp + 0x20], ax
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov al, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 2
test eax, eax
jne 0x40dd85
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 0xf4]
mov eax, dword [eax + 0xf8]
mov dword [esp + 0x1c], eax
jmp 0x40dd89
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xd0]
mov eax, dword [ebx + 0xe0]
test eax, eax
je 0x40ddbe
push 0
push 0
push 0x24
push eax
mov ecx, ebx
call fcn.0040e000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40fb10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b4a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x599680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.00410200
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], 0
push dword [ecx]
lea ecx, [esi + 0x10]
call fcn.004028b0
mov dword [esi + 0x28], 0
mov eax, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x413060
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [0x5a23d4], 0
mov esi, eax
je 0x4130a3
call fcn.0043bb80
mov dword [0x5a23d4], 0
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x4130ae
mov ecx, dword [ecx]
push ecx
push ecx
mov edx, esi
mov ecx, edi
call fcn.0043b930
add esp, 8
mov dword [0x5a23d4], eax
test eax, eax
setne al
pop edi
pop esi
pop ebp
ret
Function at 0x41c040
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c215
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x599680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x41c088
lock inc dword [eax + 8]
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
lea ecx, [edi + 8]
mov dword [ebp + 8], ecx
lea esi, [ecx + 0xc]
movq xmm0, qword [ebx + 8]
movq qword [ecx], xmm0
mov eax, dword [ebx + 0x10]
mov dword [ecx + 8], eax
lea ecx, [esi + 4]
mov dword [ebp + 8], esi
mov al, byte [ebx + 0x14]
mov byte [esi], al
lea eax, [ebx + 0x18]
push eax
mov dword [ebp - 0x14], ecx
call fcn.004028b0
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 1
lea ecx, [esi + 0x1c]
push eax
mov dword [ebp - 0x14], ecx
call fcn.004028b0
mov eax, dword [ebx + 0x48]
mov dword [esi + 0x34], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42f7c0
Capabilities:
Get thread local storage value
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d3ad
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x599680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x70], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
cmp dword [eax + 0x18], 0xd
jne 0x42f862
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call esi
test ax, ax
js 0x42f85f
cmp byte [edi + 0x44e], 0
je 0x42f9b9
cmp byte [edi + 0x44f], 0
je 0x42f836
push 0x11
call esi
test ax, ax
js 0x42f843
cmp byte [edi + 0x44f], 0
jne 0x42f9b9
push 0x11
call esi
test ax, ax
js 0x42f9b9
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x42f9d3
push 0
push 0
push 0x2d
push edi
call fcn.0040e000
jmp 0x42f9d3
mov eax, dword [ebp - 0x6c]
cmp byte [edi + 0x454], 0
je 0x42f9b9
cmp dword [eax + 0x18], 0x56
jne 0x42f9b9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x42f9b9
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.00430ff0
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x42f9aa
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x14]
cmp edi, 8
mov ecx, dword [ebp - 0x28]
cmovae esi, ecx
nop dword [eax + eax]
cmp edi, 8
lea eax, [ebp - 0x28]
cmovae eax, ecx
lea eax, [eax + edx*2]
cmp esi, eax
je 0x42f913
movzx ecx, word [esi]
lea eax, [ecx - 0x30]
cmp ax, 9
ja 0x42f90b
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401de0
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
add esi, 2
jmp 0x42f8e0
cmp dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov edi, dword [ebp - 0x70]
jne 0x42f931
call fcn.00401f60
lea ecx, [ebp - 0x28]
call fcn.00401f60
jmp 0x42f9d3
call fcn.00431190
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x88]
call fcn.004028b0
movups xmm0, xmmword [ebp - 0x88]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.std::_Func_impl_no_alloc_class__lambda_f4db2b5e5f90277a4a6a073f2481a264___void___.0
mov dword [ebp - 0x44], eax
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [ebp - 0x78]
movq qword [ebp - 0x54], xmm0
mov byte [ebp - 4], 2
call fcn.004075d0
lea ecx, [ebp - 0x68]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.004069b0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x42f9a2
mov edx, dword [ecx]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x40]
call fcn.00401f60
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00401f60
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edi]
push 0
push dword [ecx + 0x1c]
push dword [ecx + 0x18]
mov ecx, edi
push 0x100
call dword [eax + 0x1dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00509f60
mov esp, ebp
pop ebp
ret 4