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

Disassembly:
push 0xffffffffffffffff
push 0x464290
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.004264e0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x428939
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.00423940
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00423930
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00427f90
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 [0x4663d4]
push 0
lea ecx, [esp + 0x4c]
call fcn.0045de90
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.00437630
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00425f40
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x4660e4]
mov ecx, ebx
call fcn.004238b0
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x428a04
push edi
mov ecx, esi
call fcn.00426050
push eax
push ebp
mov ecx, esi
call fcn.00426210
cmp eax, dword [esp + 0x40]
jg 0x428a00
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x4289de
mov eax, ebx
jmp 0x428a0a
cmp edi, ebx
jl 0x428a08
mov eax, ebx
jmp 0x428a0a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x428a1b
mov dword [esp + 0x30], eax
jmp 0x428a26
cmp edi, ebx
jl 0x428a21
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00423870
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x428a6d
push edi
mov ecx, esi
call fcn.00425f70
push eax
push ebx
mov ecx, esi
call fcn.00426340
cmp eax, dword [esp + 0x44]
jg 0x428a65
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x428a3f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x428a77
cmp edi, ebp
jl 0x428a71
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x428a77
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x428a80
mov ecx, eax
jmp 0x428a89
cmp edi, ebp
jl 0x428a86
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.00425f60
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.0045df02
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 0x42bbe0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4644b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.004264e0
test eax, eax
je 0x42bce8
lea ecx, [esp + 0xc]
call fcn.00401480
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.004264e0
mov ecx, eax
call fcn.00423ca0
test eax, eax
je 0x42bccf
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x42bccf
push eax
push 0x42
call dword [0x4662b8]
mov ebx, eax
test ebx, ebx
je 0x42bccf
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [0x4662bc]
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.00401680
push ebx
call dword [0x4662c0]
push 0
call dword [0x466398]
test eax, eax
pop edi
jne 0x42bcb1
push ebx
call dword [0x466264]
jmp 0x42bccf
call dword [0x4663a0]
mov eax, dword [0x491c58]
push ebx
and eax, 0xffff
push eax
call dword [0x46639c]
call dword [0x4663e4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x467c10
call fcn.00401680
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10

Function at 0x42bd30
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.004264e0
test eax, eax
je 0x42be1f
mov ecx, edi
call fcn.004264e0
mov ecx, eax
call fcn.00423b50
test eax, eax
jne 0x42be1f
push eax
call dword [0x466398]
test eax, eax
je 0x42be1f
mov eax, dword [0x491c58]
and eax, 0xffff
push eax
call dword [0x4663c0]
mov esi, eax
test esi, esi
jne 0x42bd92
call dword [0x4663e4]
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 [0x466260]
push eax
push esi
call dword [0x4662bc]
push eax
mov ecx, edi
call fcn.004264e0
mov ecx, eax
call fcn.00423d80
push esi
mov ebx, eax
call dword [0x4662c0]
call dword [0x4663e4]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x42be1f
cmp ebx, eax
jne 0x42be1f
cmp dword [esp + 0x10], eax
jne 0x42be05
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 0x42ea50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x464748
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 0x42ea89
inc eax
mov dword [esi + 0x10], eax
jmp 0x42eb9c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42ea9d
mov eax, 0xffffffc7
jmp 0x42eb9e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42eaae
cmp dword [esi + 8], eax
jne 0x42ea9d
cmp dword [esi + 8], eax
jne 0x42eac7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42eac7
mov eax, 0xffffffc7
jmp 0x42eb9e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42eadb
push eax
mov ecx, ebx
call fcn.0042e280
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.00401480
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42eb0c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004014a0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042d9f0
test eax, eax
mov dword [esp + 0x38], eax
je 0x42eb3f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x467c10
call fcn.00401680
mov eax, dword [esp + 0x38]
jmp 0x42eb9e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042e8b0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42eb83
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042e8d0
mov esi, eax
test esi, esi
jne 0x42ebb3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042e8b0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42eb55
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x467c10
call fcn.00401680
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], 0x467c10
call fcn.00401680
mov eax, esi
jmp 0x42eb9e
Function at 0x437c90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x464d78
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 [0x4663d4]
push 0
lea ecx, [esp + 0x20]
call fcn.0045de90
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00437630
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.0045ddbe
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.0045a682
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.0045a682
push 1
push 0
push 0
mov ecx, esi
call fcn.0045a62a
push 1
push 0
push 1
mov ecx, esi
call fcn.0045a62a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045df02
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x437e10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x464d98
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.0045de90
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00437630
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.0045ddbe
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x4663d4]
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 0x437ed4
cmp dword [esp + 0x40], 1
jne 0x437ed2
cmp ecx, eax
jge 0x437ed4
mov eax, ecx
cmp eax, 0xc8
jge 0x437ee0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00437c90
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x4663d8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045df02
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x438660
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x464e03
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.00458aa2
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 [0x4660b0]
push eax
mov ecx, edi
call fcn.0045e138
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0045f654
test eax, eax
je 0x43877c
mov ecx, dword [esp + 0x3c]
call fcn.0045e165
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4663b4]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x438740
push edi
mov ecx, esi
call fcn.0045b7c9
mov ecx, esi
call fcn.004388e0
cmp dword [esp + 0x38], 1
jne 0x438775
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.0045b904
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 0x43b1a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43b1d3
push esi
call fcn.0043e290
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43b1cc
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 0x43b259
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43b242
mov eax, dword [esi + 8]
test eax, eax
je 0x43b1f7
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 0x43b23e
cmp eax, 2
je 0x43b242
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43b1ea
cmp eax, 3
je 0x43b21d
cmp eax, 1
jne 0x43b1ea
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 0x43b1ea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43b1ea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043b280
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43b268
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043b280
add esp, 4
pop esi
ret
Function at 0x459898
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4598d0
push dword [esi + 0x1c]
call dword [0x4664ec]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045794c
push eax
push dword [esi + 0x1c]
call dword [0x4664e8]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00457924
jmp 0x4598dc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4cf128
Capabilities:
Encode data using xor

Disassembly:
push 0x203
call fcn.004cf64f
jb 0x4cf3fe
xchg esi, eax
mov eax, dword [esp + 4]
bswap eax
mov edx, eax
and eax, 0xf0f0f0f
xor edx, eax
rol eax, 8
or eax, edx
mov edx, eax
and eax, 0x33333333
xor edx, eax
rol eax, 4
or eax, edx
mov edx, eax
and eax, 0x55555555
xor edx, eax
rol eax, 2
or eax, edx
ror eax, 7
push eax
mov eax, esi
bswap eax
mov edx, eax
and eax, 0xf0f0f0f
xor edx, eax
rol eax, 8
or eax, edx
mov edx, eax
and eax, 0x33333333
xor edx, eax
rol eax, 4
or eax, edx
mov edx, eax
and eax, 0x55555555
xor edx, eax
rol eax, 2
or eax, edx
ror eax, 7
pop ebx
push esi
add eax, ebx
xchg ecx, eax
lea esi, [ebp + 0x800]
mov ebx, ecx
shr ebx, 0x10
mov edx, 0x37f6
dec edx
shr edx, 1
mov ch, cl
dec cx
and cl, 0xf
mov ax, word [esi]
xor ax, bx
add ax, cx
ror ax, cl
xor ax, cx
mov word [esi], ax
inc esi
inc esi
dec edx
jne 0x4cf1b6
mov ecx, 0x37f6
dec ecx
shr ecx, 2
lea esi, [ebp + 0x800]
mov edi, esi
lodsw ax, word [esi]
mov bx, ax
lodsw ax, word [esi]
stosw word es:[edi], ax
mov ax, bx
stosw word es:[edi], ax
loop 0x4cf1e5
lea esi, [ebp + 0x800]
pop ecx
mov ebx, ecx
shr ebx, 0x10
mov edx, 0x37f6
dec edx
mov ch, cl
dec cx
and cl, 0xf
mov al, byte [esi]
xor al, bl
add al, ch
ror al, cl
xor al, cl
mov byte [esi], al
inc ebx
inc esi
dec edx
jne 0x4cf207
lea esi, [ebp + 0x800]
mov ecx, dword [esp + 4]
mov ebx, ecx
shr ebx, 0x10
mov edx, 0x37f6
dec edx
shr edx, 1
mov ch, cl
dec cx
and cl, 0xf
mov ax, word [esi]
xor ax, bx
add ax, cx
ror ax, cl
xor ax, cx
mov word [esi], ax
inc esi
inc esi
dec edx
jne 0x4cf236
clc
xor ecx, ecx
pop ebx
pop eax
call fcn.004cf800

Function at 0x4cf4b8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x3c]
add edi, eax
mov ecx, dword [edi + 0x7c]
jecxz 0x4cf512
mov ebx, eax
add ebx, dword [edi + 0x78]
mov edx, eax
add edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
mov edi, edx
mov ebp, eax
xor eax, eax
push eax
mov esi, ebp
add esi, dword [edx + eax*4]
push esi
mov edi, esi
push eax
push ecx
mov al, 0
xor ecx, ecx
dec ecx
repne scasb al, byte es:[edi]
pop ecx
pop eax
xchg edi, esi
sub esi, dword [esp]
mov edi, esi
pop esi
call fcn.004cf0e5
cmp eax, dword [esp + 0x18]
pop eax
je 0x4cf523
inc eax
loop 0x4cf4e7
xor eax, eax
pop dword fs:[0]
add esp, 4
pop ebp
clc
ret 8
mov edx, ebp
add edx, dword [ebx + 0x24]
movzx eax, word [edx + eax*2]
cmp eax, dword [ebx + 0x14]
jae 0x4cf512
mov edx, ebp
add edx, dword [ebx + 0x1c]
add ebp, dword [edx + eax*4]
xchg ebp, eax
jmp 0x4cf514
Function at 0x4cf53c
Capabilities:
Encode data using xor

Disassembly:
push 0x4402890e
xor eax, eax
push eax
call fcn.004cf483
jb 0x4cf64c
push 4
push 0x1000
push 0x200
push 0
call eax
dec eax
js 0x4cf64c
inc eax
push eax
mov edi, eax
xor ecx, ecx
xor eax, eax
mov al, cl
push ecx
mov ecx, 8
clc
rcr ax, 1
jae 0x4cf580
xor ax, 0xa001
loop 0x4cf576
mov word [edi], ax
inc edi
inc edi
pop ecx
inc ecx
cmp ecx, 0x100
jne 0x4cf56c
mov esi, ebp
mov edi, dword [esp]
mov ecx, 0x7e4
dec ecx
xor eax, eax
xor ebx, ebx
xor bh, bh
mov bl, al
lodsb al, byte [esi]
xor bl, al
shl bx, 1
mov bx, word [edi + ebx]
xor bl, ah
mov ax, bx
loop 0x4cf5a0
xor edx, edx
mov ecx, 0x7e4
dec ecx
mov edi, ecx
shr edi, 1
mov esi, ebp
test ah, 0x80
je 0x4cf5cc
xor ax, 0xa097
test dh, 0x80
je 0x4cf5d6
xor dx, 0xa097
mov bx, ax
add bx, ax
mov cx, dx
add cx, dx
lodsw ax, word [esi]
mov dl, ah
add ax, bx
mov ah, bh
add dx, cx
mov dh, ch
dec edi
jne 0x4cf5c3
shl eax, 0x10
add eax, edx
mov edx, eax
shr eax, 4
and edx, 0xf0f0f0f
shl edx, 4
and eax, 0xf0f0f0f
or eax, edx
pop ebx
push eax
push ebx
push 0x2aad1211
xor eax, eax
push eax
call fcn.004cf483
jb 0x4cf64c
pop ebx
push 0x8000
push 0
push ebx
call eax
call fcn.004cf330
jb 0x4cf64c
push ecx
mov ecx, dword [ebp + 0x7e4]
add ecx, ebp
lea ebx, [ebp + 0x483]
sub ebx, dword [ebp + 0x7e8]
mov dword [ecx + 0x18], ebx
pop ecx
inc ecx
ret
xor ecx, ecx
ret

Function at 0x4cf6e4
Capabilities:
Encode data using xor

Disassembly:
pop ecx
push 0x4402890e
xor eax, eax
push eax
call fcn.004cf483
jb 0x4cf64c
push 4
push 0x1000
push 0x200
push 0
call eax
dec eax
js 0x4cf7dc
inc eax
push eax
mov edi, eax
xor ecx, ecx
xor eax, eax
mov al, cl
push ecx
mov ecx, 8
clc
rcr ax, 1
jae 0x4cf729
xor ax, 0xa001
loop 0x4cf71f
mov word [edi], ax
inc edi
inc edi
pop ecx
inc ecx
cmp ecx, 0x100
jne 0x4cf715
mov esi, ebp
mov edi, dword [esp]
mov ecx, 0x7e4
dec ecx
xor eax, eax
xor ebx, ebx
xor bh, bh
mov bl, al
lodsb al, byte [esi]
xor bl, al
shl bx, 1
mov bx, word [edi + ebx]
xor bl, ah
mov ax, bx
loop 0x4cf749
xor edx, edx
mov ecx, 0x7e4
dec ecx
mov edi, ecx
shr edi, 1
mov esi, ebp
test ah, 0x80
je 0x4cf775
xor ax, 0xa097
test dh, 0x80
je 0x4cf77f
xor dx, 0xa097
mov bx, ax
add bx, ax
mov cx, dx
add cx, dx
lodsw ax, word [esi]
mov dl, ah
add ax, bx
mov ah, bh
add dx, cx
mov dh, ch
dec edi
jne 0x4cf76c
shl eax, 0x10
add eax, edx
mov edx, eax
shr eax, 4
and edx, 0xf0f0f0f
shl edx, 4
and eax, 0xf0f0f0f
or eax, edx
pop ebx
push eax
push ebx
push 0x2aad1211
xor eax, eax
push eax
call fcn.004cf483
jb 0x4cf7dc
pop ebx
push 0x8000
push 0
push ebx
call eax
call fcn.004cf128
jb 0x4cf7dc
inc ecx
ret
xor ecx, ecx
jmp 0x4cf6d8
Function at 0x401000
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push edi
push 9
push 0x40a130
push 1
push dword [ebp + 8]
call esi
push 0x19
push 0x40a824
push 0xe
push dword [ebp + 8]
call esi
call fcn.00401be5
call fcn.00401c36
lea ecx, [ebp - 0x44]
push 0xa
push ecx
push eax
mov dword [0x40a878], eax
call fcn.00405c06
add esp, 0xc
lea eax, [ebp - 0x1a8]
push 0x64
push eax
push 3
push dword [ebp + 8]
call esi
mov ebx, 0x40a618
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea eax, [ebp - 0x20c]
push 0x64
push eax
lea eax, [ebp - 0x1a8]
push eax
push 0x40704c
push str.Message
call edi
push ebx
lea eax, [ebp - 0x144]
push 0x64
push eax
mov ebx, str.NONE
lea eax, [ebp - 0x44]
push ebx
push eax
push str.Message
call edi
lea eax, [ebp - 0x144]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
lea eax, [ebp - 0x144]
jne 0x4010bd
lea eax, [ebp - 0x20c]
push eax
push 0x40a540
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xac]
push 0x32
push eax
push 2
push dword [ebp + 8]
call esi
mov esi, 0x40a618
lea eax, [ebp - 0xe0]
push esi
push 0x32
push eax
lea eax, [ebp - 0xac]
push eax
push 0x40704c
push str.TitleBar
call edi
push esi
lea eax, [ebp - 0x78]
push 0x32
push eax
lea eax, [ebp - 0x44]
push ebx
push eax
push str.Message
call edi
lea eax, [ebp - 0x78]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
lea eax, [ebp - 0x78]
jne 0x401126
lea eax, [ebp - 0xe0]
push eax
push 0x40a840
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 8]
mov esi, 0x40a130
xor edi, edi
push esi
push eax
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x40135a
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f02
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_RegisterClassExA]
pop edi
pop esi
test ax, ax
pop ebx
jne 0x4011a9
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x4011a9
xor eax, eax
leave
ret
xor eax, eax
inc eax
leave
ret