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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49ea48
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00444bc0
test eax, eax
je 0x44a3c8
lea ecx, [esp + 0xc]
call fcn.00419030
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.00444bc0
mov ecx, eax
call fcn.00442360
test eax, eax
je 0x44a3af
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x44a3af
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x44a3af
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.00419230
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x44a391
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x44a3af
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x575c10]
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], 0x53e4b0
call fcn.00419230
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x44a410
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00444bc0
test eax, eax
je 0x44a4ff
mov ecx, edi
call fcn.00444bc0
mov ecx, eax
call fcn.00442210
test eax, eax
jne 0x44a4ff
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44a4ff
mov eax, dword [0x575c10]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x44a472
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.00444bc0
mov ecx, eax
call fcn.00442440
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 0x44a4ff
cmp ebx, eax
jne 0x44a4ff
cmp dword [esp + 0x10], eax
jne 0x44a4e5
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 0x44d0a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49ecd8
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 0x44d0d9
inc eax
mov dword [esi + 0x10], eax
jmp 0x44d1ec
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x44d0ed
mov eax, 0xffffffc7
jmp 0x44d1ee
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x44d0fe
cmp dword [esi + 8], eax
jne 0x44d0ed
cmp dword [esi + 8], eax
jne 0x44d117
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x44d117
mov eax, 0xffffffc7
jmp 0x44d1ee
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x44d12b
push eax
mov ecx, ebx
call fcn.0044c8d0
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.00419030
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x44d15c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00419050
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0044c040
test eax, eax
mov dword [esp + 0x38], eax
je 0x44d18f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x53e4b0
call fcn.00419230
mov eax, dword [esp + 0x38]
jmp 0x44d1ee
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0044cf00
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x44d1d3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0044cf20
mov esi, eax
test esi, esi
jne 0x44d203
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0044cf00
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x44d1a5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x53e4b0
call fcn.00419230
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], 0x53e4b0
call fcn.00419230
mov eax, esi
jmp 0x44d1ee

Function at 0x450180
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x49f308
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.00495864
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00454df0
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.00495792
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.00491f7c
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.00491f7c
push 1
push 0
push 0
mov ecx, esi
call fcn.00491f24
push 1
push 0
push 1
mov ecx, esi
call fcn.00491f24
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004958d6
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4555d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49f328
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.00495864
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00454df0
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.00495792
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 0x455694
cmp dword [esp + 0x40], 1
jne 0x455692
cmp ecx, eax
jge 0x455694
mov eax, ecx
cmp eax, 0xc8
jge 0x4556a0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00455450
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.004958d6
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x455e10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49f393
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.0049039d
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.00495b0c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004970a7
test eax, eax
je 0x455f2c
mov ecx, dword [esp + 0x3c]
call fcn.00495b39
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 0x455ef0
push edi
mov ecx, esi
call fcn.004930fb
mov ecx, esi
call fcn.00456090
cmp dword [esp + 0x38], 1
jne 0x455f25
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.00493265
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 0x458960
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x458993
push esi
call fcn.0045ba60
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45898c
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 0x458a19
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x458a02
mov eax, dword [esi + 8]
test eax, eax
je 0x4589b7
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 0x4589fe
cmp eax, 2
je 0x458a02
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4589aa
cmp eax, 3
je 0x4589dd
cmp eax, 1
jne 0x4589aa
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 0x4589aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4589aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00458a40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x458a28
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00458a40
add esp, 4
pop esi
ret
Function at 0x465690
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 0x4656da
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x465709
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 0x46574b
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 0x46f0f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x46f13c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x46f13c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x46f126
push eax
call ebp
test ax, ax
jl 0x46f134
inc esi
add edi, 4
cmp esi, 6
jb 0x46f118
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0046edf0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x472f90
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x472ff0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x472ff0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x472ff0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x472ff0
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 0x473000
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 0x491192
Capabilities:
Get graphical window text

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

Function at 0x492884
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 0x4928c6
call fcn.00498739
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4928c6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4928bd
xor eax, eax
jmp 0x4928ce
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004928d4
pop edi
pop esi
pop ebx
ret 4

Function at 0x498c69
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 0x498c97
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x498cb5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00498bcf
jmp 0x498cb5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x498cb5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00498bcf
test edi, edi
mov eax, edi
jne 0x498c9f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405f20
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
adc edx, 0x34008b98
mov eax, dword [0x410388]
mov ecx, eax
inc eax
test ecx, ecx
mov dword [0x4103ff], eax
test dword [esi], eax
xor eax, eax
jecxz 0x405f23
pop ebp
sub ecx, dword [ebp - 0x17ad78ab]
xlatb
inc edi
add byte [ecx], bl
add esp, 4
test eax, eax
jne 0x19405fd6
call dword [ecx + 0x60]
rol byte [eax], 0xa3
push esp
fild word [ecx]
call 0xff564940
cmp al, 0xc0
jne 0x405fdb
sal byte [ebp + 0x73], 0x2c
push eax
sub al, 0x50
push eax
out 0x45, al
cld
push eax
call 0xffdb4f60
pop ebx
sal byte [ecx + ecx - 0x48], 0x22
dec esi
add byte [eax], al
mov edx, ebx
pop ebp
ret
idiv bh
dec dword [ebp - 0x1976b]
call dword [edx + 0x6a]
add bh, bh
adc eax, sym.imp.WSOCK32.dll_WSAStartup
test eax, eax
invalid
mov ax, word [ebp - 0x198]
cmp al, 2
jb 0x405f65
xor ecx, ecx
cmp al, 0xcc
test cl, cl
jne 0x405fd0
mov edx, dword [ebp - 4]
test al, 0xe8
bound eax, qword [eax + eax]
mov eax, dword [ebp - 1]
push eax
call fcn.0040a430
add esp, 8
loope 0x405f8c
mov esp, ebp
pop ebp
ret
jmp [ecx + sym.imp.WSOCK32.dll_WSACleanup]
mov esp, ebp
ja 0x405fa2
nop
mov eax, dword [0x410388]
dec eax
mov dword [0x410388], eax
jne 0x406004
call fcn.00404a20
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov eax, dword [0xe23854]
push eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
ret
Function at 0x101c7c7
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0101ce80
mov eax, dword [0x1021004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1021358]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
shl eax, 2
xor edi, edi
test eax, eax
jle 0x101c81b
push 0
lea eax, [ebp - 0x1008]
push eax
push 2
push 0x10019cc
push dword [section..data]
call esi
mov eax, dword [0x1021358]
inc edi
shl eax, 2
cmp edi, eax
jl 0x101c7f6
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1004]
push 0x800
push eax
call fcn.0101c6c0
push 0
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [section..data]
call esi
push 0
lea eax, [ebp - 0x1008]
push eax
push 4
push 0x10019d0
push dword [section..data]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0101ce65
leave
ret

Function at 0x101ce56
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x101fa20
call fcn.0101d3c4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x10219d0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x101cc6b
cmp eax, esi
jne 0x101cc5e
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x101cc6e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x101cc45
xor esi, esi
inc esi
mov eax, dword [0x10219cc]
cmp eax, esi
jne 0x101cc81
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x101ccbc
mov eax, dword [0x10219cc]
test eax, eax
jne 0x101ccb6
mov dword [0x10219cc], esi
push 0x1001168
push 0x100115c
call fcn.0101cbc2
pop ecx
pop ecx
test eax, eax
je 0x101ccbc
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x101cd86
mov dword [0x10215e0], esi
mov eax, dword [0x10219cc]
cmp eax, esi
jne 0x101cce0
push 0x1001158
push 0x100114c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10219cc], 2
cmp dword [ebp - 0x1c], ebx
jne 0x101cced
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10219e0], ebx
je 0x101cd0e
push 0x10219e0
call fcn.0101d339
pop ecx
test eax, eax
je 0x101cd0e
push ebx
push 2
push ebx
call dword [0x10219e0]
push dword [0x10215c8]
push dword [0x10215cc]
push dword [0x10215c4]
call fcn.0101cb25
add esp, 0xc
mov dword [0x10215dc], eax
cmp dword [0x10215d0], ebx
jne 0x101cd6c
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x10215e0], ebx
jne 0x101cd7a
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x10215dc]
call fcn.0101d409
ret
call fcn.0101d511
jmp 0x101cc23
Function at 0x101eb3b
Capabilities:
Check if file exists
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1021004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x5601
push edi
push ebx
mov dword [ebp - 0x218], edi
call fcn.0101e92f
mov dword [ebp - 0x21c], eax
test eax, eax
jl 0x101ec20
push esi
mov esi, 0x5610
push esi
push edi
push ebx
call fcn.0101e9d5
inc esi
cmp esi, 0x5613
jbe 0x101eb8a
and dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0x5630
mov esi, 0x5631
push dword [ebp - 0x210]
push edi
push ebx
call fcn.0101eadf
test eax, eax
je 0x101ebc8
inc dword [ebp - 0x214]
inc dword [ebp - 0x210]
cmp dword [ebp - 0x210], esi
jbe 0x101ebb1
cmp dword [ebp - 0x214], 2
jl 0x101ec1f
lea eax, [ebp - 0x20c]
push eax
call sub.SHLWAPI.dll_PathFileExistsW
test eax, eax
jne 0x101ec01
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x101ec1f
mov edi, 0x5630
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x218]
push ebx
call fcn.0101ea2c
inc edi
cmp edi, esi
jbe 0x101ec06
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x21c]
pop edi
xor ecx, ebp
pop ebx
call fcn.0101ce65
leave
ret 8

Function at 0x101ed9b
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1021004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x10021d0
xor ebx, ebx
push ebx
mov dword [ebp - 0x214], esi
call fcn.0101f889
pop ecx
pop ecx
cmp esi, ebx
jne 0x101edd9
mov dword [ebp - 0x214], 0x80000001
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor esi, esi
lea eax, [ebp - 0x210]
push eax
push 0x20006
push ebx
push dword [esi + 0x1021320]
mov dword [ebp - 0x210], ebx
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101eec0
test byte [esi + 0x1021328], 1
je 0x101ee54
push dword [esi + 0x1021324]
push dword [ebp - 0x210]
call edi
cmp eax, ebx
jne 0x101ee3f
push dword [esi + 0x1021324]
push 0x1002150
push ebx
call fcn.0101f889
add esp, 0xc
jmp 0x101ee54
push eax
push dword [esi + 0x1021324]
push 0x10020c0
push ebx
call fcn.0101f889
add esp, 0x10
test byte [esi + 0x1021328], 2
je 0x101eeb4
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x1021324]
call fcn.0101f99a
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call edi
cmp eax, ebx
jne 0x101ee9e
lea eax, [ebp - 0x20c]
push eax
push 0x1002150
push ebx
call fcn.0101f889
add esp, 0xc
jmp 0x101eeb4
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x10020c0
push ebx
call fcn.0101f889
add esp, 0x10
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xc
cmp esi, 0x24
jb 0x101ede1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101ce65
leave
ret 4