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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a8cb8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0045a390
test eax, eax
je 0x45fb98
lea ecx, [esp + 0xc]
call fcn.004305e0
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.0045a390
mov ecx, eax
call fcn.00457b50
test eax, eax
je 0x45fb7f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x45fb7f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x45fb7f
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.004307e0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x45fb61
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x45fb7f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4e2360]
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], 0x4b1400
call fcn.004307e0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x45fbe0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0045a390
test eax, eax
je 0x45fccf
mov ecx, edi
call fcn.0045a390
mov ecx, eax
call fcn.00457a00
test eax, eax
jne 0x45fccf
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45fccf
mov eax, dword [0x4e2360]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x45fc42
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.0045a390
mov ecx, eax
call fcn.00457c30
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 0x45fccf
cmp ebx, eax
jne 0x45fccf
cmp dword [esp + 0x10], eax
jne 0x45fcb5
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 0x4629d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a8f48
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 0x462a09
inc eax
mov dword [esi + 0x10], eax
jmp 0x462b1c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x462a1d
mov eax, 0xffffffc7
jmp 0x462b1e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x462a2e
cmp dword [esi + 8], eax
jne 0x462a1d
cmp dword [esi + 8], eax
jne 0x462a47
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x462a47
mov eax, 0xffffffc7
jmp 0x462b1e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x462a5b
push eax
mov ecx, ebx
call fcn.00462200
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.004305e0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x462a8c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00430600
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00461970
test eax, eax
mov dword [esp + 0x38], eax
je 0x462abf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4b1400
call fcn.004307e0
mov eax, dword [esp + 0x38]
jmp 0x462b1e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00462830
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x462b03
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00462850
mov esi, eax
test esi, esi
jne 0x462b33
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00462830
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x462ad5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4b1400
call fcn.004307e0
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], 0x4b1400
call fcn.004307e0
mov eax, esi
jmp 0x462b1e

Function at 0x465c40
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x4a9578
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.0049fc24
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0046b5d0
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.0049fb52
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.0049c333
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.0049c333
push 1
push 0
push 0
mov ecx, esi
call fcn.0049c2db
push 1
push 0
push 1
mov ecx, esi
call fcn.0049c2db
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049fc96
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x46bdb0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a9598
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.0049fc24
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0046b5d0
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.0049fb52
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 0x46be74
cmp dword [esp + 0x40], 1
jne 0x46be72
cmp ecx, eax
jge 0x46be74
mov eax, ecx
cmp eax, 0xc8
jge 0x46be80
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0046bc30
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.0049fc96
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x46c5f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a9603
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.0049a754
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.0049fecc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a151e
test eax, eax
je 0x46c70c
mov ecx, dword [esp + 0x3c]
call fcn.0049fef9
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 0x46c6d0
push edi
mov ecx, esi
call fcn.0049d4ae
mov ecx, esi
call fcn.0046c870
cmp dword [esp + 0x38], 1
jne 0x46c705
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.0049d618
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 0x46f120
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46f153
push esi
call fcn.00472220
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46f14c
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 0x46f1d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46f1c2
mov eax, dword [esi + 8]
test eax, eax
je 0x46f177
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 0x46f1be
cmp eax, 2
je 0x46f1c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46f16a
cmp eax, 3
je 0x46f19d
cmp eax, 1
jne 0x46f16a
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 0x46f16a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46f16a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046f200
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46f1e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046f200
add esp, 4
pop esi
ret

Function at 0x47c0f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x47c156
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x47c156
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x47c137
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x47cd40
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x47cd89
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x47d200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a9d50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0047cdb0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0047ce30
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0047ce30
lea ecx, [esi + 0xc]
call fcn.004990ba
lea ecx, [esi + 0x10]
call fcn.004990ba
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0047e3d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0047e3d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0047e3d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0049912f
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0049912f
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47e6e0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4a9f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.00481540
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x38], 0
call fcn.0049919d
lea ecx, [esp + 0x3c]
push 1
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call fcn.0049671d
mov eax, dword [eax]
push 0x4d0fb4
push eax
call fcn.004883f4
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
setne bl
call fcn.0049912f
test bl, bl
je 0x47e760
push 0x4d0fb4
lea ecx, [esp + 0xc]
call fcn.0049950b
push 0x4d0fb0
lea ecx, [esp + 0xc]
call fcn.0049950b
mov edx, dword [esp + 8]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.00481603
test eax, eax
je 0x47e824
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
mov bl, 2
lea ecx, [esp + 0x18]
call fcn.00481823
mov edi, eax
mov eax, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [eax + 0x38]
test eax, eax
je 0x47e7e0
lea ecx, [esp + 0x18]
call fcn.004817ea
test eax, eax
jne 0x47e7e0
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004818f2
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x40], bl
call fcn.0047e6e0
mov byte [esp + 0x3c], 1
lea ecx, [esp + 0x44]
jmp 0x47e815
lea ecx, [esp + 0x18]
call fcn.004817ea
test eax, eax
jne 0x47e81a
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [edx + 0x38]
test eax, eax
jne 0x47e81a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call fcn.004818f2
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x14]
call fcn.0049912f
test edi, edi
jne 0x47e790
pop edi
pop ebp
lea ecx, [esp + 0x10]
call fcn.004815b9
lea ecx, [esp + 8]
mov byte [esp + 0x34], 0
call fcn.0049912f
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.0048157d
mov ecx, dword [esp + 0x2c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x47e920
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4a9fc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x4d103c]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.004992b8
push str..
lea ecx, [esp + 0x10]
call fcn.0049950b
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x47e9c3
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.0049912f
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.0049912f
xor eax, eax
jmp 0x47eb08
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x4d0fd4
push edx
call fcn.004883f4
add esp, 8
test eax, eax
je 0x47eab9
lea eax, [esp + 0x48]
push 0x4d0fd0
push eax
call fcn.004883f4
add esp, 8
test eax, eax
je 0x47eab9
test ebp, ebp
jne 0x47ea25
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.004884a3
add esp, 8
test eax, eax
je 0x47eab9
push esi
lea ecx, [esp + 0x14]
call fcn.004992b8
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00499532
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.0049950b
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x47ea65
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x47ea87
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.0047e920
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x47eab9
test edi, edi
je 0x47eaae
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.004884a3
add esp, 8
test eax, eax
jne 0x47eaae
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.0047eb30
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x47e9d3
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.0049912f
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.0049912f
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x47eb30
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a9fdb
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.00488cb0
mov eax, dword [0x4d103c]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.004992b8
push 0x5c
lea ecx, [esp + 8]
call fcn.00499532
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.0049950b
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x47ebd6
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.0049912f
xor eax, eax
jmp 0x47ec53
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x47ec31
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x47ec23
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x47ebfd
jmp 0x47ec31
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.0049912f
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8

Function at 0x49b549
Capabilities:
Get graphical window text

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

Function at 0x49cc37
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 0x49cc79
call fcn.004a2ae0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49cc79
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49cc70
xor eax, eax
jmp 0x49cc81
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049cc87
pop edi
pop esi
pop ebx
ret 4
Function at 0x4a3010
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 0x4a303e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a305c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a2f76
jmp 0x4a305c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a305c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a2f76
test edi, edi
mov eax, edi
jne 0x4a3046
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x6b3445
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.006b34c4
jae 0x6b3451
xor ecx, ecx
call fcn.006b34c4
jae 0x6b347b
xor eax, eax
call fcn.006b34c4
jae 0x6b348c
mov al, 0x10
call fcn.006b34c4
adc al, al
jae 0x6b346d
jne 0x6b34b9
stosb byte es:[edi], al
jmp 0x6b3452
call fcn.006b34d0
dec ecx
loop 0x6b3498
mov eax, ebp
call fcn.006b34ce
jmp 0x6b34ba
lodsb al, byte [esi]
shr eax, 1
je 0x6b34e0
adc ecx, 2
mov ebp, eax
jmp 0x6b34ba
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.006b34ce
cmp eax, 0x7d00
jae 0x6b34b8
cmp eax, 0x500
jae 0x6b34b9
cmp eax, 0x7f
ja 0x6b34ba
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6b3452
pop ebp
ret 8
Function at 0x44ef1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
jmp 0x44edd1
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b2b40
push 0x4a4f00
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
jmp 0x44ef1c
mov dword [ebp - 0x18], esp
push 0x44f0d8
ret
push esi
push edi
mov eax, dword [0x5be670]
xor dword [ebp - 8], eax
je 0x44f13b
jne 0x44f13b
mov dword [0x112b7d10], eax
push 0x697ddd80
mov ecx, 0x103e71f8
cmp byte [0x699d1180], 0
xchg byte [ecx + ebp*2 - 0x28], ah
cmp word [ecx + 0x1c], 0
push 0xaa388c
cmp dword [0xdeb2ec], eax
mov dword [0x424ce4], edi
mov eax, 0xfd7e68
mov eax, 0x100cb118
push 0x4e5c5d
cmp eax, dword [0x448168]
movzx ecx, byte [eax + 0x927900]
xor dword [ebp + edi*8 - 0x57], 0xd2886f7b
jecxz 0x44ef5c
ret 0x1a27
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
je 0x44eeda
jne 0x44eeda
mov eax, 0x4f3358
and eax, 0xfffff
jmp dword [0x432270]