joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431db0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d9d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042f9b0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x431e09
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.0042ce10
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.0042ce00
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00431460
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x4c]
call fcn.00467360
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.00440b00
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.0042f410
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, ebx
call fcn.0042cd80
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x431ed4
push edi
mov ecx, esi
call fcn.0042f520
push eax
push ebp
mov ecx, esi
call fcn.0042f6e0
cmp eax, dword [esp + 0x40]
jg 0x431ed0
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x431eae
mov eax, ebx
jmp 0x431eda
cmp edi, ebx
jl 0x431ed8
mov eax, ebx
jmp 0x431eda
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x431eeb
mov dword [esp + 0x30], eax
jmp 0x431ef6
cmp edi, ebx
jl 0x431ef1
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.0042cd40
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x431f3d
push edi
mov ecx, esi
call fcn.0042f440
push eax
push ebx
mov ecx, esi
call fcn.0042f810
cmp eax, dword [esp + 0x44]
jg 0x431f35
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x431f0f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x431f47
cmp edi, ebp
jl 0x431f41
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x431f47
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x431f50
mov ecx, eax
jmp 0x431f59
cmp edi, ebp
jl 0x431f56
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.0042f430
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.004673d2
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x4350b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46dbf8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042f9b0
test eax, eax
je 0x4351b8
lea ecx, [esp + 0xc]
call fcn.00408900
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0042f9b0
mov ecx, eax
call fcn.0042d170
test eax, eax
je 0x43519f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x43519f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x43519f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00408b00
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x435181
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x43519f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4eed10]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x4c4850
call fcn.00408b00
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x435200
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042f9b0
test eax, eax
je 0x4352ef
mov ecx, edi
call fcn.0042f9b0
mov ecx, eax
call fcn.0042d020
test eax, eax
jne 0x4352ef
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4352ef
mov eax, dword [0x4eed10]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x435262
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.0042f9b0
mov ecx, eax
call fcn.0042d250
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 0x4352ef
cmp ebx, eax
jne 0x4352ef
cmp dword [esp + 0x10], eax
jne 0x4352d5
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 0x437f20
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46de88
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 0x437f59
inc eax
mov dword [esi + 0x10], eax
jmp 0x43806c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x437f6d
mov eax, 0xffffffc7
jmp 0x43806e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x437f7e
cmp dword [esi + 8], eax
jne 0x437f6d
cmp dword [esi + 8], eax
jne 0x437f97
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x437f97
mov eax, 0xffffffc7
jmp 0x43806e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x437fab
push eax
mov ecx, ebx
call fcn.00437750
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.00408900
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x437fdc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00408920
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00436ec0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43800f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4c4850
call fcn.00408b00
mov eax, dword [esp + 0x38]
jmp 0x43806e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00437d80
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x438053
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00437da0
mov esi, eax
test esi, esi
jne 0x438083
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00437d80
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x438025
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4c4850
call fcn.00408b00
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], 0x4c4850
call fcn.00408b00
mov eax, esi
jmp 0x43806e

Function at 0x43b1b0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43b210
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43b210
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43b210
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43b210
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 0x43b250
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 0x441160
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e4b8
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.00467360
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00440b00
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.0046728e
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.00463b52
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.00463b52
push 1
push 0
push 0
mov ecx, esi
call fcn.00463afa
push 1
push 0
push 1
mov ecx, esi
call fcn.00463afa
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004673d2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4412e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e4d8
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.00467360
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00440b00
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.0046728e
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 0x4413a4
cmp dword [esp + 0x40], 1
jne 0x4413a2
cmp ecx, eax
jge 0x4413a4
mov eax, ecx
cmp eax, 0xc8
jge 0x4413b0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00441160
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.004673d2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441b30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e543
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.00461f72
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.00467608
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00468b24
test eax, eax
je 0x441c4c
mov ecx, dword [esp + 0x3c]
call fcn.00467635
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 0x441c10
push edi
mov ecx, esi
call fcn.00464c99
mov ecx, esi
call fcn.00441db0
cmp dword [esp + 0x38], 1
jne 0x441c45
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.00464dd4
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 0x444670
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4446a3
push esi
call fcn.00447760
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44469c
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 0x444729
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x444712
mov eax, dword [esi + 8]
test eax, eax
je 0x4446c7
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 0x44470e
cmp eax, 2
je 0x444712
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4446ba
cmp eax, 3
je 0x4446ed
cmp eax, 1
jne 0x4446ba
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 0x4446ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4446ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00444750
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x444738
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00444750
add esp, 4
pop esi
ret

Function at 0x462d68
Capabilities:
Get graphical window text

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

Function at 0x464456
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 0x464498
call fcn.00469f0f
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x464498
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46448f
xor eax, eax
jmp 0x4644a0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004644a6
pop edi
pop esi
pop ebx
ret 4

Function at 0x46a43f
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 0x46a46d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46a48b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046a3a5
jmp 0x46a48b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46a48b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046a3a5
test edi, edi
mov eax, edi
jne 0x46a475
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4d91c1
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 3]
pop word [esp]
mov byte [esp + 1], al
lea esp, [esp + 3]
mov dword [esp + 0x44], ebp
call fcn.004d91ab
push dword [esp + 1]
jno 0x4d9222
pushfd
pushal
mov dword [esp + 0x6c], esi
jmp 0x4d9210
mov dword [esp + 0x6c], esi
call fcn.004d9226
pop ebp
invalid
pushfd
pushal
jmp 0x4d920c

Function at 0x4d9226
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf04c6994
jmp 0x4d92b8
lea esp, [esp + 2]
mov dword [esp + 0x24], edx
pushfd
jmp 0x4d91a6
lea esp, [esp + 2]
mov dword [esp + 0x24], edx
pushfd
call fcn.004d9144
sub byte [ecx - 0x5a88803d], al
mov ecx, gs
inc esi
sbb byte [eax], al
add dl, ch
add eax, 0x88cea7b4
mov byte [esp + 2], bl
pop word [esp]
push dword [esp + 1]
jae 0x4d919d
jb 0x4d915a
dec ecx
sub bl, bl
pop esi
mov eax, 0x3acfa83a
fcomp qword [ebx - 0x19149f64]
push dword [esp + 1]
ja 0x4d9280
jbe 0x4d9280
jo 0x4d9217
xor dword [eax - 0x58], reloc.PSAPI.DLL_GetMappedFileNameW
ja 0x4d91e7
invalid
call fcn.004d9262
pushfd
jmp 0x4d914b
jmp 0x4d938a
xchg di, dx
mov bl, byte [esp]
btr ebp, eax
js 0x4d92a2
mov esi, dword [esp]
jmp 0x4d938d
mov bx, 0x202e
rdtsc
bswap ecx
jmp 0x4d9342
jmp 0x4d92f0
lea ebp, [esp]
call fcn.004d931e
mov ecx, ebx
mov eax, edi
mov dh, 0x54
mov ch, 0x94
mov dh, bh
jmp 0x4d9362
btr cx, bp
jl 0x4d93e3
bsf bx, bx
lea ebx, [eax*4]
mov ecx, 0x8136ba3d
mov bl, ch
jmp 0x4d93bf
mov esi, dword [esp]
mov edi, dword [esp + 0x2c]
stc
ja 0x4d9306
mov bx, 0x202e
rdtsc
bswap ecx
jmp 0x4d9342
xchg dl, bh
mov cx, word [esp]
mov cx, word [esp]
rcl cl, cl
jmp 0x4d941e
mov ecx, 0x8136ba3d
mov bl, ch
inc edi
jmp 0x4d93a2
xchg bl, dl
rcl cx, cl
rol ebx, cl
inc ch
inc edi
lea edx, [edx - 0xd0]
jmp 0x4d93f0
bsf bx, bx
lea ebx, [eax*4]
jmp 0x4d93b8
cmc
jno 0x4d9427
rcl bx, cl
lea ecx, [edx*4]
not bx
jmp 0x4d972d
rol ebx, cl
inc ch
jmp 0x4d93cb
jno 0x4d93c2
xchg bl, dl
rcl cx, cl
jmp 0x4d9406
rcl bx, cl
lea ecx, [edx*4]
jmp 0x4d9437
not bx
mov dh, bh
not dx
jmp 0x4d95af
pop dword [esp + 0xb]
xchg edx, ecx
lea esp, [esp + 1]
xor edi, 0x5731cf04
mov edx, ecx
sub esp, 0x15
jl 0x4d950d
jge fcn.004d948b
mov dh, bh
not dx
jmp 0x4d95af

Function at 0x4d9262
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 1]
mov dword [esp + 0x74], edi
lea esp, [esp + 0x74]
jmp 0x4d9285
lea esp, [esp + 1]
push word [esp + 5]
jmp 0x4d92e0
lea esp, [esp + 0x74]
jmp 0x4d9285
jp 0x4d924c
lea esp, [esp + 1]
mov dword [esp + 0x74], edi
jmp 0x4d929c

Function at 0x4dd726
Capabilities:
Execute anti-debugging instructions

Disassembly:
btr edx, esi
jmp 0x4dd997
xchg word [esp + 1], dx
xchg dx, cx
jmp 0x4dd89f
lea esp, [esp + 4]
inc edi
jne 0x4dd753
xchg word [esp + 1], dx
xchg dx, cx
jmp 0x4dd89f
Function at 0x4de785
Capabilities:
Execute anti-debugging instructions

Disassembly:
neg al
je 0x4de7d5
jne 0x4de7bf
push ecx
xlatb
inc edi
and dl, cl
pop es
leave
dec eax
fidivr word [ecx - 0x6b9a40b8]
pop es
scasb al, byte es:[edi]
mov ecx, 0xff59e998
invalid
mov edx, eax
lea esp, [esp + 3]
add edx, ebx
lea esp, [esp + 1]
call fcn.004de839
mov edi, 0x44b5d23c
pushfd
mov dword [eax], ebp
dec ebx
loop 0x4de80e
insb byte es:[edi], dx
and al, 1

Function at 0x4ee113
Capabilities:
Encode data using xor

Disassembly:
add al, 0xe9
xor byte [ecx + 0x1ce8fffd], dl
call fcn.004ee134
in eax, dx
call fcn.004ee134
in eax, dx
insd dword es:[edi], dx
std
test byte [edi - 0x6d], dh
std
jle 0x4ee10d
mov eax, dword [esi - reloc.PSAPI.DLL_GetMappedFileNameW]
cmpsb byte [esi], byte es:[edi]
push ebp
mov edx, dword [esi - 0x73]
lea esp, [esp + 4]
Function at 0x9b1fdc
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dx, 0xb559
xchg word [esp + 0xa], bp
jmp 0x9b2342
neg al
mov eax, dword [esp]
not ah
mov dl, bh
add esp, 1
xchg bp, ax
pop word [esp]
xchg byte [esp + 1], dl
bswap ebp
pop bp
lea edx, [edi*4]
and dh, al
jmp 0x9b2001
xchg dword [esp + 2], ebp
pop word [esp + 2]
bts ax, bp
lea eax, [edx*4]
not edx
neg ebp
jmp 0x9b2019
pop ebp
stc
shl bp, 0xf
pop bp
bsf eax, ecx
mov ah, byte [esp + 4]
jmp 0x9b2282

Function at 0x9b212e
Capabilities:
Execute anti-debugging instructions

Disassembly:
clc
btc ebp, esp
jmp 0x9b21c0
xchg dword [esp], ebp
neg dh
pushal
bswap ebp
bswap eax
mov dx, 0xbfc3
jmp 0x9b2240
add esp, 2
lea eax, [ebx*4]
btr ax, bp
std
mov eax, 0x7ab32dbf
mov eax, 0x21bda011
jmp 0x9b21aa
pop bp
pop bp
sub esp, 0xb
std
mov bp, 0x442f
sete ah
jmp 0x9b221c
bswap ebp
shl dx, cl
xchg al, dl
rdtsc
seto dl
add esp, 0x19
jmp 0x9b21db
push edi
xchg dword [esp + 3], edx
lea edx, reloc.PSAPI.DLL_GetMappedFileNameW
xchg ah, dh
jmp 0x9b2258
mov edx, dword [esp + 6]
mov ax, word [esp + 0xa]
clc
pop dx
xchg dword [esp + 1], eax
rdtsc
jmp 0x9b2206
mov edx, dword [esp + 0xb]
lea eax, [ecx*4]
mov dword [esp + 8], ebp
setle dh
mov dh, 0x10
mov eax, esi
jmp 0x9b21f5
pop dword [esp + 7]
rol dh, cl
push dword [esp]
shr dl, 1
sub esp, 0x10
xchg dword [esp + 0x1f], edx
jmp 0x9b22cd
xchg dword [esp], ebp
pop ax
push cx
call fcn.009b22b5
push edx
rol dword [ecx + 0x20], 1
shl dword [esi], cl
rcl byte [ebx - 0x36]
xchg dword gs:[esp + 2], ebp
rdtsc
lea eax, [esp - 0x8d]
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
lea edx, [ebx*4]
std
rdtsc
jmp 0x9b226c

Function at 0x9b24ec
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ah, 0x46
mov byte [esp + 8], bl
pushfd
push dword [esp + 7]
mov dword [esp + 0x11], esp
jmp 0x9b24ee
jmp 0x9b24d6
rdtsc
bsf edx, esp
inc al
xchg byte [esp + 0x1c], ah
mov eax, esi
pushal
jmp 0x9b251c
mov byte [esp + 0x1f], cl
mov al, byte [esp + 0xc]
mov ebp, esi
lea edx, [esi + 0x47]
pop dword [esp + 0x10]
mov dword [esp + 2], edx
jmp 0x9b2650
mov dh, 0x80
call fcn.009b2591
pop edx
mov ebp, edx
bsr bp, dx
lea ebp, [esi + ebp]
mov ax, 0xb435
lea edx, [edx + edx]
jmp 0x9b255a
shr ax, 0xa
rdtsc
bt dx, sp
lea ebp, [esi*4]
bts bp, di
add esp, 7
jmp 0x9b257e
xchg bp, ax
push si
lea esp, [esp + 0x33]
mov eax, 0x6e10ada6
mov dx, word [esp + 0xa]
mov dl, byte [esp + 1]
jmp 0x9b25b7