joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430090
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x472b98
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042a990
test eax, eax
je 0x430198
lea ecx, [esp + 0xc]
call fcn.00402060
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.0042a990
mov ecx, eax
call fcn.00428060
test eax, eax
je 0x43017f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x43017f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x43017f
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.00402260
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x430161
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x43017f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4a9e08]
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], 0x47c410
call fcn.00402260
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x4301e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042a990
test eax, eax
je 0x4302cf
mov ecx, edi
call fcn.0042a990
mov ecx, eax
call fcn.00427f10
test eax, eax
jne 0x4302cf
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4302cf
mov eax, dword [0x4a9e08]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x430242
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.0042a990
mov ecx, eax
call fcn.00428140
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 0x4302cf
cmp ebx, eax
jne 0x4302cf
cmp dword [esp + 0x10], eax
jne 0x4302b5
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 0x432f00
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x472e28
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 0x432f39
inc eax
mov dword [esi + 0x10], eax
jmp 0x43304c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x432f4d
mov eax, 0xffffffc7
jmp 0x43304e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x432f5e
cmp dword [esi + 8], eax
jne 0x432f4d
cmp dword [esi + 8], eax
jne 0x432f77
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x432f77
mov eax, 0xffffffc7
jmp 0x43304e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x432f8b
push eax
mov ecx, ebx
call fcn.00432730
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.00402060
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x432fbc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402080
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00431ea0
test eax, eax
mov dword [esp + 0x38], eax
je 0x432fef
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47c410
call fcn.00402260
mov eax, dword [esp + 0x38]
jmp 0x43304e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00432d60
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x433033
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00432d80
mov esi, eax
test esi, esi
jne 0x433063
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00432d60
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x433005
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47c410
call fcn.00402260
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], 0x47c410
call fcn.00402260
mov eax, esi
jmp 0x43304e

Function at 0x436180
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x473458
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.0046c0e1
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043b1c0
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.0046c00f
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.004688d0
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.004688d0
push 1
push 0
push 0
mov ecx, esi
call fcn.00468878
push 1
push 0
push 1
mov ecx, esi
call fcn.00468878
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046c153
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43b9a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x473478
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.0046c0e1
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043b1c0
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.0046c00f
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 0x43ba64
cmp dword [esp + 0x40], 1
jne 0x43ba62
cmp ecx, eax
jge 0x43ba64
mov eax, ecx
cmp eax, 0xc8
jge 0x43ba70
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043b820
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.0046c153
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43c1e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4734e3
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.00466cf0
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.0046c389
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046d8a5
test eax, eax
je 0x43c2fc
mov ecx, dword [esp + 0x3c]
call fcn.0046c3b6
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 0x43c2c0
push edi
mov ecx, esi
call fcn.00469a20
mov ecx, esi
call fcn.0043c460
cmp dword [esp + 0x38], 1
jne 0x43c2f5
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.00469b5b
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 0x43ed10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43ed43
push esi
call fcn.00441e00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43ed3c
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 0x43edc9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43edb2
mov eax, dword [esi + 8]
test eax, eax
je 0x43ed67
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 0x43edae
cmp eax, 2
je 0x43edb2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43ed5a
cmp eax, 3
je 0x43ed8d
cmp eax, 1
jne 0x43ed5a
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 0x43ed5a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43ed5a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043edf0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43edd8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043edf0
add esp, 4
pop esi
ret
Function at 0x44b6b0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x44b6fa
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x44b729
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x44b76b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x467ae6
Capabilities:
Get graphical window text

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

Function at 0x4691d8
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 0x46921a
call fcn.0046ec8b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46921a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x469211
xor eax, eax
jmp 0x469222
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00469228
pop edi
pop esi
pop ebx
ret 4

Function at 0x46f1bb
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 0x46f1e9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46f207
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046f121
jmp 0x46f207
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46f207
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046f121
test edi, edi
mov eax, edi
jne 0x46f1f1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x421278
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [str.LocalReAlloc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
test esi, esi
jge 0x403d39
call fcn.0040771b
cmp esi, dword [edi + 8]
jl 0x403d4b
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
mov ecx, edi
call fcn.00403060
mov edx, dword [edi + 4]
lea ecx, [esi + esi*2]
lea esi, [edx + ecx*8]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00403370
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
mov dword [esi + 4], ecx
push edx
lea ecx, [esi + 8]
call fcn.00403370
lea eax, [esp + 0x2c]
push eax
lea ecx, [esi + 0xc]
call fcn.00403370
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 0x10]
call fcn.00403370
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x20]
mov dword [esi + 0x14], edx
call fcn.00402d60
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x1c
Function at 0x407537
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 1
push esi
mov esi, ecx
jl 0x40759b
mov ecx, dword [esi + 0x30]
test ecx, ecx
jg 0x40759b
mov dword [esi + 0x2c], 0
test eax, eax
jle 0x40759b
push ebx
mov ebx, dword [0x423228]
push ebp
push edi
mov edi, dword [0x42323c]
mov ebp, eax
nop
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x407571
push eax
push eax
push esi
push 0x405130
jmp 0x407580
cmp eax, 1
jne 0x40758f
push 0
push 0
push esi
push 0x406430
push 0
push 0
call fcn.00412e78
add esp, 0x18
push eax
call edi
push 0x64
call ebx
sub ebp, 1
jne 0x407560
pop edi
pop ebp
pop ebx
pop esi
ret 4
Function at 0x41f2b0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x485498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.0041d9c0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, 1
mov dword [esp + 0x14], edi
mov dword [esi], 0x488ef8
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x18], eax
jge 0x41f30c
mov dword [esi + 0x18], 1
mov ecx, dword [esi + 0x18]
add ecx, 4
test ecx, ecx
jg 0x41f31d
mov dword [esi + 0x18], 0x7ffffffb
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x1c], edx
mov edx, dword [esi + 0x18]
push 2
add edx, 3
mov dword [esi + 0x20], eax
push edx
mov dword [esi + 0x24], ecx
call fcn.0041b6c0
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x18]
add eax, 2
push 2
push eax
call fcn.0041b6c0
mov edx, dword [esi + 0xc]
add esp, 0x10
xor ecx, ecx
cmp edx, edi
setl cl
mov dword [esi + 0x44], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], edi
mov word [eax], di
mov edx, dword [esi + 0x3c]
mov ax, word [esi + 0x18]
pop edi
mov word [edx + 4], ax
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x44]
mov ax, word [ecx + 4]
mov ecx, dword [esp + 8]
mov word [edx + 2], ax
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20

Function at 0x4244d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
push edi
mov edx, dword [esi + 4]
mov esi, dword [esi]
test esi, esi
mov edi, ecx
jle 0x4244fc
push ebx
mov cl, byte [edx]
mov ebx, eax
shl ebx, 4
and ecx, 0xff
add ebx, eax
add ecx, ebx
inc edx
dec esi
mov eax, ecx
jne 0x4244e4
pop ebx
xor edx, edx
div dword [edi + 4]
pop edi
pop esi
mov eax, edx
ret 4
Function at 0x427080
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x485856
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push 0x10
mov dword [esp + 0x1c], 0xd
call fcn.0047c2bc
add esp, 4
mov dword [esp + 0x10], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x30], ebp
je 0x4270c5
mov ecx, eax
call fcn.00423c30
mov ebp, eax
mov esi, dword [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
cmp dword [esi], 9
jne 0x42718c
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x18]
push eax
push ebx
mov ecx, esi
call fcn.00411e30
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 7
sete cl
mov eax, ecx
test eax, eax
je 0x427183
push 0x48
call fcn.0047c2bc
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x30], 1
je 0x42712e
mov edx, dword [esp + 0x20]
push ebx
push edx
mov ecx, eax
call fcn.00426e80
mov ebx, eax
jmp 0x427130
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00411e70
push ebx
mov ecx, ebp
call fcn.00423c60
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x14], edx
cmp eax, ecx
jne 0x427172
mov esi, dword [esi + 0xc]
mov dword [esp + 0x10], eax
mov eax, edx
mov dword [esp + 0x10], ecx
cmp esi, eax
je 0x42718c
mov eax, dword [ebx + 0x30]
lea esi, [ebx + 0x30]
cmp eax, 9
je 0x4270de
jmp 0x42718c
lea ecx, [esp + 0x18]
call fcn.00411e70
mov ecx, dword [esp + 0x28]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x42b520
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
xor ecx, ecx
push edi
xor eax, eax
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x42b52d
mov byte [esp + 0x20], cl
xor edi, edi
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov dl, byte [edi + esi]
and eax, 0xff
xor ebx, ebx
mov bl, byte [eax + ebp]
mov ebp, edx
and ebp, 0xff
add ecx, ebx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42b56f
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
inc eax
mov bl, byte [ecx + esi]
mov byte [edi + esi], bl
mov byte [ecx + esi], dl
cdq
idiv dword [esp + 0x1c]
inc edi
cmp edi, 0x100
mov byte [esp + 0x20], dl
jl 0x42b53e
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x439ab0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
mov dl, byte [esi]
test dl, dl
je 0x439ad7
push edi
mov edi, eax
and edx, 0xff
shl edi, 4
add edi, eax
add edx, edi
inc esi
mov eax, edx
mov dl, byte [esi]
test dl, dl
jne 0x439abe
pop edi
xor edx, edx
pop esi
div dword [ecx + 4]
mov eax, edx
ret 4
Function at 0x454180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48689b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
push 8
mov dword [esi], 0x489600
mov dword [esi + 0xa0], edi
call fcn.0047c2bc
add esp, 4
mov dword [esp + 8], eax
cmp eax, edi
mov dword [esp + 0x14], edi
je 0x4541cc
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.004188d0
jmp 0x4541ce
xor eax, eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x24], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x30], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10