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

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x452a4f
ret 4
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x452abe
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x452abe
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x452abe
mov ebp, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
test ebp, ebp
jne 0x452ad3
test ebx, ebx
je 0x452ad3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 4

Function at 0x455540
Capabilities:
Get disk information

Disassembly:
sub esp, 0x11c
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0xd8]
test ecx, ecx
je 0x455618
push ebx
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov bl, 0x41
mov dword [esp + 8], eax
test eax, eax
mov byte [esp + 0xc], bl
je 0x45560c
push esi
push edi
mov edi, dword [esp + 0x134]
test al, 1
je 0x4555fa
movsx ecx, bl
push ecx
lea edx, [esp + 0x20]
push str._c:_
push edx
call fcn.0046fca8
mov eax, dword [ebp + 0x70]
add esp, 0xc
lea ecx, [esp + 0x28]
lea edx, [esp + 0x1c]
push 0x104
push ecx
push edx
mov byte [esp + 0x34], 0
call dword [eax + 0xd8]
lea eax, [esp + 0x28]
push eax
push edi
call fcn.00470a5f
add esp, 8
test eax, eax
jne 0x4555f6
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x130]
push esi
call fcn.0043b710
test eax, eax
jne 0x4555f6
mov ecx, dword [esp + 0x130]
push esi
call fcn.0043acf0
mov eax, dword [esp + 0x10]
shr eax, 1
inc bl
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x14], bl
jne 0x45558b
pop edi
pop esi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
pop ebx
pop ebp
add esp, 0x11c
ret 8
Function at 0x457550
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [ecx]
lea eax, [esp]
lea edx, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45758c
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov dword [edx], eax
mov eax, 1
pop ecx
ret 8
xor eax, eax
pop ecx
ret 8

Function at 0x457630
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x457665
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45765f
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x457672
mov byte [esi + eax - 1], 0
mov eax, 1
pop esi
ret 0x10

Function at 0x457680
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
push eax
mov eax, dword [esp + 8]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
ret 0xc

Function at 0x457710
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [ecx]
lea edx, [esp + 8]
push 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
ret 8

Function at 0x4577a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [esp + 0x124]
mov edx, dword [esp + 0x118]
lea ecx, [esp]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x114]
push ecx
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4577e2
xor eax, eax
add esp, 0x110
ret 0x1c
push ebx
mov ebx, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, dword [esp + 0x138]
mov esi, 1
xor ebp, ebp
mov dword [esp + 0x14], 0x104
lea ecx, [esp + 0x134]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edi
push ebx
push 0
lea eax, [esp + 0x2c]
push edx
push eax
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x45785c
test ebx, ebx
je 0x457831
mov eax, dword [ebx]
jmp 0x457833
xor eax, eax
mov edx, dword [esp + 0x13c]
mov ecx, dword [esp + 0x134]
push edx
push edi
push ecx
lea edx, [esp + 0x28]
push eax
push edx
call dword [esp + 0x140]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x457879
jmp 0x457863
cmp eax, 0xea
jne 0x457879
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], 0x104
inc ebp
mov dword [esp + 0x134], eax
jmp 0x457803
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 0x1c
Function at 0x4578a0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4816b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push edi
lea ecx, [esp + 0x10]
call fcn.00437230
mov ecx, dword [esp + 0x188]
mov edx, dword [esp + 0x184]
lea eax, [esp + 8]
xor edi, edi
push eax
push 0x20019
push edi
push ecx
push edx
mov dword [esp + 0x190], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45790e
lea ecx, [esp + 0x10]
mov dword [esp + 0x17c], 0xffffffff
call fcn.00437290
xor eax, eax
jmp 0x457a3e
push ebx
mov edx, dword [esp + 0xc]
push ebp
push esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push edi
push edi
push edi
lea eax, [esp + 0x1c]
push edi
lea ecx, [esp + 0x8c]
push eax
push ecx
push edi
push edx
mov ebx, 1
mov dword [esp + 0x30], 0x104
call ebp
test eax, eax
jne 0x4579ca
push 0x38
call fcn.004708ca
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
je 0x457977
mov dword [esi], 0x4837c4
lea ecx, [esi + 0xc]
mov byte [esp + 0x188], 2
call fcn.0043a8f0
mov dword [esi], 0x48474c
jmp 0x457979
xor esi, esi
test esi, esi
mov byte [esp + 0x188], 0
je 0x45799c
lea eax, [esp + 0x7c]
lea ecx, [esi + 0xc]
push eax
call fcn.0043ae00
push esi
lea ecx, [esp + 0x20]
call fcn.00437430
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
lea edx, [esp + 0x8c]
inc edi
push ecx
push edx
push edi
push eax
mov dword [esp + 0x30], 0x104
call ebp
test eax, eax
je 0x457945
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
call fcn.004375d0
mov esi, eax
test esi, esi
je 0x457a1c
mov edi, dword [esp + 0x19c]
mov ebp, dword [esp + 0x198]
push edi
push 0
push 0
push 0
push 0
lea ecx, [esi + 0xc]
call fcn.0043baa0
push eax
call ebp
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x457a1c
mov ecx, esi
call fcn.004376e0
mov esi, eax
test esi, esi
jne 0x4579f2
lea ecx, [esp + 0x1c]
call fcn.00437360
lea ecx, [esp + 0x1c]
mov dword [esp + 0x188], 0xffffffff
call fcn.00437290
pop esi
mov eax, ebx
pop ebp
pop ebx
mov ecx, dword [esp + 0x174]
pop edi
mov dword fs:[0], ecx
add esp, 0x17c
ret 0x10
Function at 0x45bf50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x481f36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e4
push esi
mov esi, ecx
lea ecx, [esp + 0x2c]
call fcn.00444c80
lea ecx, [esp + 4]
mov dword [esp + 0x1f0], 0
call fcn.00430a80
mov eax, dword [esp + 0x1fc]
mov byte [esp + 0x1f0], 1
cmp eax, 4
ja case.default.0x45bfa3
jmp dword [eax*4 + 0x45c08c]
push 0x4a3290
mov ecx, esi
call fcn.0043ae00
jmp case.default.0x45bfa3
push 0
push 0x2000
lea ecx, [esp + 0x124]
call fcn.00443bd0
cmp eax, 1
je case.0x45bfa3.4
push 0
mov ecx, esi
call fcn.0043baa0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
lea ecx, [esp + 0x34]
call fcn.00444db0
mov ecx, esi
call fcn.0043acd0
jmp case.default.0x45bfa3
push 0
mov ecx, esi
call fcn.0043baa0
push eax
mov ecx, esi
call fcn.0043bb30
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
jmp 0x45c024
push 0
mov ecx, esi
call fcn.0043baa0
push eax
push 0x1c
lea ecx, [esp + 0xc]
call fcn.00430de0
mov ecx, esi
call fcn.0043acd0
push 0x5c
mov ecx, esi
call fcn.0043bf30
mov eax, dword [esp + 0x1f8]
mov ecx, esi
push eax
call fcn.0043ad50
push 0
mov ecx, esi
call fcn.0043baa0
lea ecx, [esp + 4]
mov byte [esp + 0x1f0], 0
call fcn.00430aa0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1f0], 0xffffffff
call fcn.00444c90
mov ecx, dword [esp + 0x1e8]
pop esi
mov dword fs:[0], ecx
add esp, 0x1f0
ret 8

Function at 0x45c0e0
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
test edi, edi
jne 0x45c0f6
mov edi, 0x4a3290
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x10]
push 0
call fcn.0043baa0
push eax
mov ecx, esi
call fcn.0043bb30
push eax
push 0
mov ecx, esi
call fcn.0043baa0
push eax
mov eax, dword [esp + 0x24]
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, esi
mov ebp, eax
call fcn.0043bb30
dec eax
cmp ebp, eax
jne 0x45c15e
mov ecx, esi
call fcn.0043bb30
shl eax, 1
push eax
mov ecx, esi
call fcn.0043aa80
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 6
mov dword [esp + 0x24], eax
jb 0x45c106
mov ecx, esi
call fcn.0043acd0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x45c170
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x481f48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.0043a8f0
push 0
mov ecx, esi
mov dword [esp + 0x48], 0
call fcn.0043baa0
push eax
lea ecx, [esp + 0x14]
call fcn.0043bb30
push eax
push 0
lea ecx, [esp + 0x1c]
call fcn.0043baa0
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x5c]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x10]
call fcn.0043acd0
lea edx, [esp + 8]
lea ecx, [esp + 0x10]
push edx
push str._I64u
push 0
call fcn.0043baa0
push eax
call fcn.0046fcfa
add esp, 0xc
cmp eax, 1
je 0x45c20b
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.0043a990
mov ecx, dword [esp + 0x3c]
mov edx, edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret 0x10

Function at 0x45c6b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x482038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, ecx
push esi
lea ecx, [esp + 0xc]
call fcn.0043a8f0
mov eax, dword [ebx]
mov dword [esp + 0x40], 0
test eax, eax
je 0x45c7b7
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x45c6f7
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x45c6f9
xor esi, esi
push ebp
mov ebp, dword [esp + 0x4c]
push edi
push 0x49409c
push 1
mov ecx, ebp
call fcn.0043bef0
push eax
lea ecx, [esp + 0x18]
call fcn.0043ae00
test esi, esi
mov dword [esp + 0x10], esi
je 0x45c725
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov ecx, dword [ebx]
lea eax, [esp + 0x10]
push eax
push 0
mov edx, dword [ecx]
push 0
lea eax, [esp + 0x20]
push 0
push eax
call dword [edx + 0x20]
mov edi, eax
test edi, edi
jne 0x45c76a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45c750
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push 0
push eax
push esi
mov ecx, ebx
call fcn.0045c890
mov edi, eax
test edi, edi
je 0x45c78a
test esi, esi
je 0x45c774
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov esi, dword [esp + 0x10]
push 0x49409c
push 0
mov ecx, ebp
call fcn.0043bef0
test eax, eax
jne 0x45c70d
cmp edi, 1
pop edi
pop ebp
jne 0x45c7b7
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.0043a990
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.0043a990
mov ecx, dword [esp + 0x38]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
Function at 0x45c7e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x482058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0043a8f0
mov eax, dword [esp + 0x40]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x3c], 0
call fcn.0043ae00
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0045c860
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0043a990
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10

Function at 0x45c9f0
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48218f
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
mov ebx, 1
cmp eax, ebx
jne 0x45cba5
push esi
lea ecx, [esp + 8]
call fcn.0045a8f0
mov eax, dword [esp + 0x244]
mov dword [esp + 0x23c], 0
cmp eax, ebx
lea ecx, [esp + 8]
jne 0x45ca48
call fcn.0045ac50
jmp 0x45ca4d
call fcn.0045ac90
mov esi, eax
lea ecx, [esp + 0x204]
mov dword [esp + 0x23c], 0x10
call fcn.00459a50
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x23c], 0xf
call fcn.00459a50
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x23c], 0xe
call fcn.00459a50
lea ecx, [esp + 0x1d8]
mov byte [esp + 0x23c], 0xd
call fcn.00459a50
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x23c], 0xc
call fcn.00459a50
lea ecx, [esp + 0x198]
mov byte [esp + 0x23c], 0xb
call fcn.00459a50
lea ecx, [esp + 0x180]
mov byte [esp + 0x23c], 0xa
call fcn.00459a50
lea ecx, [esp + 0x148]
mov byte [esp + 0x23c], 9
call fcn.00459a50
lea ecx, [esp + 0x12c]
mov byte [esp + 0x23c], 8
call fcn.00459a50
lea ecx, [esp + 0x114]
mov byte [esp + 0x23c], 7
call fcn.00459a50
lea ecx, [esp + 0x108]
mov byte [esp + 0x23c], 6
call fcn.00459a50
lea ecx, [esp + 0xdc]
mov byte [esp + 0x23c], 5
call fcn.00459a50
lea ecx, [esp + 0xb0]
mov byte [esp + 0x23c], 4
call fcn.00459a50
lea ecx, [esp + 0x84]
mov byte [esp + 0x23c], 3
call fcn.00459a50
lea ecx, [esp + 0x70]
mov byte [esp + 0x23c], 2
call fcn.00459a50
lea ecx, [esp + 0x44]
mov byte [esp + 0x23c], bl
call fcn.00459a50
lea ecx, [esp + 8]
mov dword [esp + 0x23c], 0xffffffff
call fcn.00459a50
mov ax, si
pop esi
jmp 0x45cbde
cmp dword [esp + 0x240], ebx
jne 0x45cbd8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
test eax, 0x3ff
jne 0x45cbde
mov ecx, eax
and ecx, 0xffff
and ecx, 0xfffffc00
cmp ecx, 0x1400
jle 0x45cbde
mov eax, 9
jmp 0x45cbde
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, dword [esp + 0x230]
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret 8
Function at 0x45fa30
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x108
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 0x8001
call esi
mov edi, eax
lea eax, [esp + 0xc]
push 0x104
push eax
mov byte [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
lea edx, [esp + 0x24]
push 0
push edx
mov byte [esp + 0x2f], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
push edi
jne 0x45fa8f
call esi
pop edi
xor al, al
pop esi
add esp, 0x108
ret
call esi
mov ecx, dword [esp + 8]
pop edi
mov eax, ecx
mov edx, ecx
shr eax, 0x18
shr edx, 0x10
xor al, dl
mov edx, ecx
shr edx, 8
xor al, dl
pop esi
xor al, cl
add esp, 0x108
ret
Function at 0x45ff80
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor al, al
xor ecx, ecx
mov dl, byte [ecx + esi]
not dl
xor al, dl
inc ecx
cmp ecx, 7
jl 0x45ff89
pop esi
ret 4

Function at 0x460fc8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x482488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0043a8f0
mov eax, dword [esi]
mov dword [esp + 0x38], 0
test eax, eax
jne 0x461005
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.0043a990
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push eax
mov eax, dword [esi + 0xc]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x74726565
lea ecx, [esp + 8]
push str._C_SubClassing_Property__08X
push ecx
call fcn.0043bde0
add esp, 0xc
lea ecx, [esp + 4]
push 0
call fcn.0043baa0
mov edx, dword [esi + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_RemovePropA]
lea ecx, [esp + 4]
mov dword [esi], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.0043a990
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x461950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x482548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0043a8f0
mov eax, dword [esi]
mov dword [esp + 0x38], 0
test eax, eax
jne 0x4619a5
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.0043a990
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push eax
mov eax, dword [esi + 0xc]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x7379736c
lea ecx, [esp + 8]
push str._C_SubClassing_Property__08X
push ecx
call fcn.0043bde0
add esp, 0xc
lea ecx, [esp + 4]
push 0
call fcn.0043baa0
mov edx, dword [esi + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_RemovePropA]
lea ecx, [esp + 4]
mov dword [esi], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.0043a990
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x461ed0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, ecx
lea ecx, [ebp - 0x40]
call fcn.0043d510
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push 0
push 0
push 0
push 1
mov dword [ebp - 4], 0
call fcn.00461e10
test eax, eax
jne 0x461f36
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.0043d250
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
test byte [ebp - 0x10], 0x10
jne 0x461f5e
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.0043d250
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.0043d580
rdtsc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x40]
call fcn.0043d610
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
rdtsc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x40]
call fcn.0043d620
lea ecx, [ebp - 0x40]
call fcn.0043d680
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
sub ecx, esi
mov esi, dword [ebp - 0x14]
push edx
sbb esi, edi
push eax
push esi
push ecx
call fcn.0046fc40
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
mov dword [edx], eax
call fcn.0043d250
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x467010
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
test ebp, ebp
push edi
mov dword [esp + 0x1c], ebp
je 0x4670d2
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0xc8e8]
test eax, eax
jg 0x46707e
mov eax, dword [ebx + 0xc8e0]
mov ecx, dword [ebx + 0xc904]
push 0x2000
push eax
push ecx
call fcn.0047abb6
add esp, 0xc
mov dword [ebx + 0xc8e8], eax
test eax, eax
je 0x4670db
jl 0x4670e6
mov eax, dword [ebx + 0xc90c]
mov edx, dword [ebx + 0xc8e0]
add eax, 0x2000
mov dword [ebx + 0xc8e4], edx
mov dword [ebx + 0xc90c], eax
mov eax, dword [ebx + 0xc8e8]
cmp ebp, eax
jae 0x46708a
mov eax, ebp
mov esi, dword [ebx + 0xc8e4]
mov edi, dword [esp + 0x18]
mov ecx, 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]
mov edi, dword [esp + 0x18]
mov esi, dword [ebx + 0xc8e4]
mov edx, dword [ebx + 0xc8e8]
add edi, eax
add esi, eax
sub edx, eax
sub ebp, eax
mov dword [esp + 0x18], edi
mov dword [ebx + 0xc8e4], esi
mov dword [ebx + 0xc8e8], edx
jne 0x467028
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x1c]
pop edi
sub eax, ebp
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x4670f0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor edi, edi
cmp dword [esi + 0xc99c], edi
je 0x467106
pop edi
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esi + 0x88]
cmp eax, edi
jg 0x467123
dec eax
mov dword [esi + 0xc8e8], edi
mov dword [esi + 0x88], eax
pop edi
or eax, 0xffffffff
pop esi
ret
cmp dword [esi + 0xc8e8], edi
jg 0x467191
mov eax, dword [esi + 0xc8e0]
mov ecx, dword [esi + 0xc904]
push 0x2000
push eax
push ecx
call fcn.0047abb6
add esp, 0xc
cmp eax, edi
mov dword [esi + 0xc8e8], eax
jne 0x46715c
mov dword [esi + 0xc8e8], edi
pop edi
or eax, 0xffffffff
pop esi
ret
jge 0x46716a
push 1
push 0x4a3bc0
call fcn.00472358
mov edx, dword [esi + 0xc90c]
push esi
add edx, 0x2000
mov dword [esi + 0xc90c], edx
mov edx, dword [esi + 0xc8e0]
mov dword [esi + 0xc8e4], edx
call fcn.00466fa0
add esp, 4
mov eax, dword [esi + 0x8d4]
test byte [eax + 0x1c], 1
je 0x4671d6
mov eax, dword [esi + 0xc8e8]
mov edi, dword [esi + 0xc8e4]
mov ecx, eax
dec eax
test ecx, ecx
je 0x4671d6
push ebx
lea ebx, [eax + 1]
push esi
call fcn.0046d1e0
mov cl, byte [edi]
xor cl, al
mov al, cl
mov byte [edi], cl
and eax, 0xff
push eax
push esi
call fcn.0046d200
add esp, 0xc
inc edi
dec ebx
jne 0x4671b4
pop ebx
mov eax, dword [esi + 0xc8e8]
xor edx, edx
dec eax
pop edi
mov dword [esi + 0xc8e8], eax
mov eax, dword [esi + 0xc8e4]
mov dl, byte [eax]
inc eax
mov dword [esi + 0xc8e4], eax
mov eax, edx
pop esi
ret
Function at 0x4680e0
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x18
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
mov eax, dword [esi + 0xc9c4]
push eax
call fcn.004728aa
mov eax, dword [esi + 0x14]
add esp, 4
test eax, eax
jne 0x46819f
lea ecx, [esp + 0x1c]
push ebx
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push esi
call fcn.004681b0
add esp, 0x10
lea ebx, [esi + 0xc9dc]
mov edi, eax
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [esi + 0x8d4]
mov ebp, eax
mov eax, dword [ecx + 0x18]
test al, 0x5f
je 0x468158
and eax, 0x7f
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp ebp, 0xffffffff
pop ebx
je 0x46819f
test edi, edi
je 0x468198
mov edx, edi
mov ecx, edi
and dl, 1
lea eax, [esp + 0xc]
neg dl
sbb edx, edx
and cl, 2
and edx, eax
mov eax, edi
neg cl
push edx
lea edx, [esp + 0x18]
sbb ecx, ecx
and al, 4
and ecx, edx
neg al
push ecx
lea ecx, [esp + 0x24]
sbb eax, eax
and eax, ecx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
add esp, 0x18
ret