joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444740
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48ec28
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.0048749e
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004440a0
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.004873cc
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.00483c90
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.00483c90
push 1
push 0
push 0
mov ecx, esi
call fcn.00483c38
push 1
push 0
push 1
mov ecx, esi
call fcn.00483c38
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00487510
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4448c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48ec48
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.0048749e
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004440a0
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.004873cc
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 0x444984
cmp dword [esp + 0x40], 1
jne 0x444982
cmp ecx, eax
jge 0x444984
mov eax, ecx
cmp eax, 0xc8
jge 0x444990
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00444740
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.00487510
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x445190
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48ecf3
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.004820b0
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_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.00487746
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00488c62
test eax, eax
je 0x4452ac
mov ecx, dword [esp + 0x3c]
call fcn.00487773
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 0x445270
push edi
mov ecx, esi
call fcn.00484dd7
mov ecx, esi
call fcn.00445450
cmp dword [esp + 0x38], 1
jne 0x4452a5
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.00484f12
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 0x447490
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4474c3
push esi
call fcn.00455790
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4474bc
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 0x447549
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x447532
mov eax, dword [esi + 8]
test eax, eax
je 0x4474e7
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 0x44752e
cmp eax, 2
je 0x447532
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4474da
cmp eax, 3
je 0x44750d
cmp eax, 1
jne 0x4474da
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 0x4474da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4474da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00447570
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x447558
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00447570
add esp, 4
pop esi
ret

Function at 0x447de0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x447e01
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x447e01
mov eax, dword [eax + 0x44]
test eax, eax
je 0x447e01
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x463ea0
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [0x76a960], 0xffffffff
jne 0x463eac
xor eax, eax
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [0x76a744]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
ret

Function at 0x4652e0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x465303
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x466ac0
Capabilities:
Encrypt data using aes
Encrypt data using rc4 prga
Reference aes constants

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1d0
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x466cda
cmp dword [esp + 0x1dc], ebx
je 0x466cda
push ebp
push esi
push edi
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], bl
mov byte [esp + 0x10], bl
rep stosd dword es:[edi], eax
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov word [esp + 0x25], ax
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x1f0]
cmp eax, ebx
je 0x466b24
mov dword [eax], ebx
mov edx, dword [esp + 0x1f8]
mov ecx, 0x21
cmp edx, 0x21
ja 0x466b37
mov ecx, edx
mov ebp, dword [esp + 0x1f4]
mov eax, ecx
mov esi, ebp
lea edi, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [esp + 0x5c], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x1f
lea edi, [esp + 0x5d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
xor ecx, ecx
cmp ecx, edx
jb 0x466b70
xor ecx, ecx
mov bl, byte [ecx + ebp]
xor bl, byte [eax + 0x73d100]
inc eax
inc ecx
cmp eax, 0x80
mov byte [esp + eax + 0x5b], bl
jb 0x466b6a
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x5c]
and ecx, 0xff
shr ecx, 3
lea esi, [esp + ecx + 0x5c]
mov edx, esi
sub edx, eax
cmp edx, 0x10
jge 0x466ba8
lea esi, [esp + 0x5c]
lea ecx, [esp + 0x28]
xor ebp, ebp
xor eax, eax
sub esi, ecx
lea ecx, [esp + eax + 0x28]
inc eax
cmp eax, 0x10
mov dl, byte [esi + ecx]
mov byte [ecx], dl
jb 0x466bb2
mov eax, dword [esp + 0x39]
and eax, 0xff
shr eax, 3
lea edx, [esp + eax + 0x5c]
lea eax, [esp + 0x5c]
mov ecx, edx
sub ecx, eax
cmp ecx, 0x20
jge 0x466be2
lea edx, [esp + 0x5c]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xe0]
mov dword [esp + 0xdc], ebp
rep stosd dword es:[edi], eax
mov dword [esp + 0xe8], edx
lea edx, [esp + 0xdc]
lea ecx, [esp + 0x28]
push edx
mov dword [esp + 0xe4], 0x100
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xf0], ecx
call fcn.004673b0
mov esi, dword [esp + 0x1e8]
push 0x10
lea eax, [esp + 0x18]
push esi
lea ecx, [esp + 0xe8]
push eax
push ecx
call fcn.004678e0
add esp, 0x14
add esi, 0x10
xor ecx, ecx
xor eax, eax
cmp eax, 8
jl 0x466c57
xor eax, eax
mov dl, byte [esp + eax + 0x10]
mov byte [esp + ecx + 0x5c], dl
inc ecx
inc eax
cmp ecx, 0x80
jb 0x466c50
lea edx, [esp + 0xdc]
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x28]
push edx
mov dword [esp + 0xe4], 0x80
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
call fcn.004673b0
mov eax, dword [esp + 0x1ec]
mov ecx, dword [esp + 0x1f0]
add eax, 0xfffffff0
lea edx, [esp + 0xe0]
push eax
push esi
push ecx
push edx
call fcn.00467a30
mov ecx, dword [esp + 0x204]
add esp, 0x14
cmp ecx, ebp
pop edi
pop esi
pop ebp
je 0x466ce7
mov dword [ecx], eax
pop ebx
add esp, 0x1d0
ret
mov eax, dword [esp + 0x1e4]
cmp eax, ebx
je 0x466ce7
mov dword [eax], ebx
pop ebx
add esp, 0x1d0
ret
Function at 0x4673b0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov byte [esp + 0x10], 1
mov eax, dword [ebp + 4]
mov byte [esp + 0x11], 0
sub eax, 0x80
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
je 0x467407
sub eax, 0x40
je 0x4673f4
sub eax, 0x40
jne 0x467407
mov dword [ebp], 0xe
mov eax, 0x20
mov ebx, 8
jmp 0x467418
mov dword [ebp], 0xc
mov eax, 0x18
mov ebx, 6
jmp 0x467418
mov dword [ebp], 0xa
mov eax, 0x10
mov ebx, 4
mov esi, dword [ebp + 0xc]
mov ecx, eax
mov edx, ecx
lea edi, [ebp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov byte [esp + 0x18], al
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
lea esi, [eax + ebp + 0x14]
and eax, 0xff
lea edx, [ecx*4 + 4]
cmp eax, edx
jge 0x4674e4
lea edi, [ebx*4]
cdq
idiv ebx
mov ecx, dword [esi - 4]
mov dword [esi], ecx
test edx, edx
jne 0x467493
push esi
call fcn.004674f0
push str.cw
push 4
push esi
call fcn.00467540
lea edx, [esp + 0x20]
push 4
push edx
push esi
call fcn.00467510
mov eax, dword [esp + 0x2c]
push eax
call fcn.00467570
add esp, 0x20
mov byte [esp + 0x10], al
jmp 0x4674ac
cmp ebx, 6
jle 0x4674ac
cmp edx, 4
jne 0x4674ac
push str.cw
push edx
push esi
call fcn.00467540
add esp, 0xc
mov ecx, esi
push 4
sub ecx, edi
push ecx
push esi
call fcn.00467510
mov dl, byte [esp + 0x24]
add esp, 0xc
add esi, 4
inc dl
mov byte [esp + 0x18], dl
mov edx, dword [ebp]
mov eax, dword [esp + 0x18]
and eax, 0xff
lea ecx, [edx*4 + 4]
cmp eax, ecx
jl 0x467454
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x467510
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 0xc]
test dl, dl
jbe 0x46753b
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
sub ecx, eax
push ebx
and edx, 0xff
push esi
mov esi, edx
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x46752c
pop esi
pop ebx
ret

Function at 0x467600
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
lea eax, [ebp + 0x14]
push eax
push edi
call fcn.00467680
mov eax, dword [ebp]
add esp, 8
cmp eax, 1
mov bl, 1
jl 0x46767b
push esi
mov esi, 1
push str.cw
push 0x10
push edi
call fcn.00467540
push 0
push edi
call fcn.004676a0
mov eax, dword [ebp]
add esp, 0x14
cmp esi, eax
je 0x467652
push 0
push edi
call fcn.00467730
add esp, 8
shl esi, 4
lea ecx, [esi + ebp + 0x14]
push ecx
push edi
call fcn.00467680
mov eax, dword [ebp]
add esp, 8
inc bl
mov byte [esp + 0x14], bl
mov esi, dword [esp + 0x14]
and esi, 0xff
cmp esi, eax
jle 0x467628
pop esi
pop edi
pop ebp
pop ebx
ret
Function at 0x467980
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [edi]
shl eax, 4
lea ecx, [eax + edi + 0x14]
push ecx
push esi
call fcn.00467680
mov bl, byte [edi]
add esp, 8
test bl, bl
mov byte [esp + 0x10], bl
jbe 0x4679f1
mov edx, dword [esp + 0x10]
and edx, 0xff
shl edx, 4
lea edi, [edx + edi + 4]
push 1
push esi
call fcn.004676a0
push 0x73d100
push 0x10
push esi
call fcn.00467540
push edi
push esi
call fcn.00467680
add esp, 0x1c
cmp bl, 1
je 0x4679e8
push 1
push esi
call fcn.00467730
add esp, 8
dec bl
sub edi, 0x10
test bl, bl
ja 0x4679b9
pop edi
pop esi
pop ebx
ret

Function at 0x469330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48f1a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00468f10
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.00468f80
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00469260
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.00468f30
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10

Function at 0x469348
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48f1a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00468f10
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.00468f80
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00469260
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.00468f30
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x46bbe0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x46bbeb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x46bcee
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x73ec8c]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x73ec8c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x73ec8c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x73ec8c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x73ec8c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x73ec8c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x73ec8c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x73ec8c]
xor eax, edx
inc ecx
dec edi
jne 0x46bc06
pop edi
test esi, esi
je 0x46bd10
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x73ec8c]
xor eax, edx
inc ecx
dec esi
jne 0x46bcf2
pop esi
pop ebx
not eax
ret

Function at 0x46c560
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x46c5a1
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x46c596
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x46c5b4
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x18]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x18], ecx
pop ebp
pop ebx
ret
Function at 0x4726fa
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x47271a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004717ca
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x47273d
test byte [esp + 8], 2
je 0x47273d
call fcn.0047183d
mov dword [eax], 0xd
call fcn.00471846
mov dword [eax], 5
jmp 0x472716
xor eax, eax
ret

Function at 0x482ea6
Capabilities:
Get graphical window text

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

Function at 0x484594
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 0x4845d6
call fcn.0048a052
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4845d6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4845cd
xor eax, eax
jmp 0x4845de
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004845e4
pop edi
pop esi
pop ebx
ret 4

Function at 0x48a582
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 0x48a5b0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48a5ce
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048a4e8
jmp 0x48a5ce
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48a5ce
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048a4e8
test edi, edi
mov eax, edi
jne 0x48a5b8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402e08
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea eax, [ebp - 0x10]
push eax
push 1
push 0
push 0x477154
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x402f0b
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x402ef2
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2e0], 0
je 0x402e88
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2e0]
push eax
call fcn.0040cabe
add esp, 4
mov eax, dword [ebp - 0xc]
add eax, 0xa
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0040c9f0
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2e0], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2e0]
push eax
lea eax, [ebp - 4]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x402ef2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2e0]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x402f6f
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x402f6f
cmp dword [ebp - 8], 2
jne 0x402f1f
mov eax, 1
jmp 0x402f6f
cmp dword [ebp - 8], 5
jne 0x402f65
cmp dword [ebp + 8], 0
je 0x402f65
jmp 0x402f3d
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xffffffc1
push 0
push 0xff
push 0
push 0
push 0x193
push 0xffffffffffffffc1
mov eax, dword [ebp + 8]
push eax
call fcn.00403cc0
add esp, 0x1c
mov eax, 1
jmp 0x402f6f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402fdf
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push str.SOFTWARE
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4030aa
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x20006
push 0
push 0x477180
push 0
push 0x477184
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40308f
cmp dword [ebp + 0x10], 0
je 0x403058
mov eax, dword [ebp + 0x10]
push eax
call fcn.00440880
add esp, 4
test eax, eax
jne 0x40306b
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x40308f
mov eax, dword [ebp + 0x10]
push eax
call fcn.00440880
add esp, 4
inc eax
push eax
mov eax, dword [ebp + 0x10]
push eax
push 1
push 0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4030fa
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], 0
je 0x4030f0
jmp 0x4030c8
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xffffffc1
push 0
push 0xff
push 0
push 0
push 0x1de
push 0xffffffffffffffc1
mov eax, dword [ebp + 8]
push eax
call fcn.00403cc0
add esp, 0x1c
mov eax, 1
jmp 0x4030fa
pop edi
pop esi
pop ebx
leave
ret