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

Disassembly:
push 0xffffffffffffffff
push 0x473290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00434fe0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x437439
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.00432450
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00432440
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00436a90
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x4c]
call fcn.0046cb1a
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.00446290
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00434a40
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, ebx
call fcn.004323c0
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x437504
push edi
mov ecx, esi
call fcn.00434b50
push eax
push ebp
mov ecx, esi
call fcn.00434d10
cmp eax, dword [esp + 0x40]
jg 0x437500
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x4374de
mov eax, ebx
jmp 0x43750a
cmp edi, ebx
jl 0x437508
mov eax, ebx
jmp 0x43750a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x43751b
mov dword [esp + 0x30], eax
jmp 0x437526
cmp edi, ebx
jl 0x437521
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00432380
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x43756d
push edi
mov ecx, esi
call fcn.00434a70
push eax
push ebx
mov ecx, esi
call fcn.00434e40
cmp eax, dword [esp + 0x44]
jg 0x437565
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x43753f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x437577
cmp edi, ebp
jl 0x437571
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x437577
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x437580
mov ecx, eax
jmp 0x437589
cmp edi, ebp
jl 0x437586
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.00434a60
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.0046cb8c
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x43a6e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4734b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00434fe0
test eax, eax
je 0x43a7e8
lea ecx, [esp + 0xc]
call fcn.0040da30
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.00434fe0
mov ecx, eax
call fcn.004327c0
test eax, eax
je 0x43a7cf
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x43a7cf
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x43a7cf
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.0040dc30
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x43a7b1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x43a7cf
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4a1ce8]
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], 0x477c88
call fcn.0040dc30
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x43a830
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00434fe0
test eax, eax
je 0x43a91f
mov ecx, edi
call fcn.00434fe0
mov ecx, eax
call fcn.00432670
test eax, eax
jne 0x43a91f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43a91f
mov eax, dword [0x4a1ce8]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x43a892
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.00434fe0
mov ecx, eax
call fcn.004328a0
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 0x43a91f
cmp ebx, eax
jne 0x43a91f
cmp dword [esp + 0x10], eax
jne 0x43a905
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 0x43d4b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x473748
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 0x43d4e9
inc eax
mov dword [esi + 0x10], eax
jmp 0x43d5fc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43d4fd
mov eax, 0xffffffc7
jmp 0x43d5fe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43d50e
cmp dword [esi + 8], eax
jne 0x43d4fd
cmp dword [esi + 8], eax
jne 0x43d527
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x43d527
mov eax, 0xffffffc7
jmp 0x43d5fe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43d53b
push eax
mov ecx, ebx
call fcn.0043cce0
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.0040da30
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43d56c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0040da50
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0043c450
test eax, eax
mov dword [esp + 0x38], eax
je 0x43d59f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x477c88
call fcn.0040dc30
mov eax, dword [esp + 0x38]
jmp 0x43d5fe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0043d310
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43d5e3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0043d330
mov esi, eax
test esi, esi
jne 0x43d613
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0043d310
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43d5b5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x477c88
call fcn.0040dc30
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], 0x477c88
call fcn.0040dc30
mov eax, esi
jmp 0x43d5fe

Function at 0x440730
Capabilities:
Create thread

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

Disassembly:
push 0xffffffffffffffff
push 0x473d78
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.0046cb1a
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00446290
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.0046ca48
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.0046930c
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.0046930c
push 1
push 0
push 0
mov ecx, esi
call fcn.004692b4
push 1
push 0
push 1
mov ecx, esi
call fcn.004692b4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046cb8c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x446a70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x473d98
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.0046cb1a
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00446290
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.0046ca48
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 0x446b34
cmp dword [esp + 0x40], 1
jne 0x446b32
cmp ecx, eax
jge 0x446b34
mov eax, ecx
cmp eax, 0xc8
jge 0x446b40
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004468f0
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.0046cb8c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4472c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x473e03
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.0046772a
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.0046cdc2
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046e2de
test eax, eax
je 0x4473dc
mov ecx, dword [esp + 0x3c]
call fcn.0046cdef
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 0x4473a0
push edi
mov ecx, esi
call fcn.0046a45a
mov ecx, esi
call fcn.00447540
cmp dword [esp + 0x38], 1
jne 0x4473d5
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.0046a595
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 0x449e00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x449e33
push esi
call fcn.0044cf10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x449e2c
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 0x449eb9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x449ea2
mov eax, dword [esi + 8]
test eax, eax
je 0x449e57
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 0x449e9e
cmp eax, 2
je 0x449ea2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x449e4a
cmp eax, 3
je 0x449e7d
cmp eax, 1
jne 0x449e4a
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 0x449e4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x449e4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00449ee0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x449ec8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00449ee0
add esp, 4
pop esi
ret

Function at 0x46851f
Capabilities:
Get graphical window text

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

Function at 0x469c14
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 0x469c56
call fcn.0046f6c4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x469c56
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x469c4d
xor eax, eax
jmp 0x469c5e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00469c64
pop edi
pop esi
pop ebx
ret 4

Function at 0x46fbf4
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 0x46fc22
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46fc40
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046fb5a
jmp 0x46fc40
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46fc40
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046fb5a
test edi, edi
mov eax, edi
jne 0x46fc2a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x401c66
pop dword [ebp - 0x48]
mov eax, 0x2a8a8c40
add eax, 0xd5b59026
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xd11b3a86
add dword [ebp - 0x58], 0x7d370ac5
mov dword [ebp - 0x54], 0xe7da83fd
sub dword [ebp - 0x54], 0xb5a737b8
mov dword [ebp - 0x50], 0xea9064ee
add dword [ebp - 0x50], 0x61bbdf40
mov dword [ebp - 0x4c], 0xc4cf3a7b
sub dword [ebp - 0x4c], 0xc4cf3a7b
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x1c457d8d
add dword [ebp - 0x58], 0x582cebc9
mov dword [ebp - 0x54], 0x31c1ce1e
add dword [ebp - 0x54], 0xfaa9357
mov dword [ebp - 0x50], 0xbd41dd42
sub dword [ebp - 0x50], 0x59d270d6
mov dword [ebp - 0x4c], 0xb7cdb9b6
add dword [ebp - 0x4c], 0x4832464a
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x36f56
push 0
call eax
mov ecx, 0x83531da1
add ecx, 0x7cad2c48
xor ebx, ebx
add ebx, eax
mov edx, 0x93909bf8
add edx, 0x6cafd408
add edx, dword [ebp - 0x48]
mov edi, 0x8231b6ba
add edi, 0x843615da
mov esi, dword [edx]
add dword [ebp - 0x18], 0xc7f56f4c
xor esi, edi
sub dword [ebp - 4], 0xf88aee7d
mov dword [ebx], esi
add dword [ebp - 0x38], ecx
add ebx, 0x4fdb43c3
sub ebx, 0x4fdb43bf
add edx, 4
loop 0x401d80
add eax, 0x49d344da
add eax, 0xb62dd59d
mov ebx, eax
add eax, 0xc9c1f0d9
sub eax, 0xc9c1f0d4
mov ecx, 0xf92fad00
sub ecx, 0xf8efad00
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x401000
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x140
push esi
push edi
lea eax, [esp + 0xb0]
push eax
mov dword [esp + 0xb4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4010c5
cmp dword [esp + 0xc0], 2
jne 0x4010c5
xor eax, eax
mov ecx, 0x27
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push eax
mov word [esp + 0x40], 0x9c
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
mov esi, dword [sym.imp.USER32.dll_ChangeDisplaySettingsExA]
push 0
push 2
push 0
lea edx, [esp + 0x1c]
push edx
push 0
mov dword [esp + 0x4c], 0x5c0020
call esi
test eax, eax
jne 0x4010c5
push eax
push 1
push eax
lea eax, [esp + 0x1c]
push eax
push 0
call esi
test eax, eax
jne 0x4010c5
lea ecx, [esp + 0xc]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4010c5
mov edx, dword [esp + 0xc]
push str.ATIModeChange
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4011a5
Capabilities:
Accept command line arguments

Disassembly:
push 0x60
push 0x406180
call fcn.00402000
and dword [ebp - 4], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or dword [ebp - 4], 0xffffffff
mov ebx, 0x94
push ebx
push 0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x401366
mov dword [esi], ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push esi
test eax, eax
jne 0x401201
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x401366
mov eax, dword [esi + 0x10]
mov dword [0x408298], eax
mov eax, dword [esi + 4]
mov dword [0x4082a4], eax
mov eax, dword [esi + 8]
mov dword [0x4082a8], eax
mov eax, dword [esi + 0xc]
and eax, 0x7fff
mov dword [0x40829c], eax
xor ebx, ebx
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [0x408298], 2
je 0x401242
or byte [0x40829d], 0x80
mov eax, dword [0x4082a4]
shl eax, 8
add eax, dword [0x4082a8]
mov dword [0x4082a0], eax
call fcn.00401149
mov dword [ebp - 0x1c], eax
push ebx
call fcn.00401f16
pop ecx
test eax, eax
jne 0x401289
cmp dword [0x408288], 1
jne 0x401276
call fcn.00401699
push 0x1c
call fcn.0040150d
push 0xff
call fcn.00401371
pop ecx
pop ecx
mov dword [ebp - 4], 1
call fcn.00401d14
test eax, eax
jge 0x4012a1
push 0x1b
call fcn.004010f6
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x408e54], eax
call fcn.00401bec
mov dword [0x408280], eax
call fcn.00401b49
test eax, eax
jge 0x4012c7
push 8
call fcn.004010f6
pop ecx
call fcn.004018fb
test eax, eax
jge 0x4012d8
push 9
call fcn.004010f6
pop ecx
call fcn.004013e4
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x4012eb
push eax
call fcn.004010f6
pop ecx
call fcn.0040189c
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4012ff
movzx eax, word [ebp - 0x40]
jmp 0x401302
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push ebx
push 0x400000
call fcn.00401000
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x401321
push esi
call fcn.004014ba
call fcn.004014e8
jmp 0x401353
or dword [ebp - 4], 0xffffffff
mov eax, esi
jmp 0x40136b
mov eax, 0xff
call fcn.0040203b
ret