joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e1940
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64fcd3
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
or ebp, 0xffffffff
mov eax, dword [esi + 0x78]
push edi
cmp eax, ebx
jne 0x4e1995
push 0x12a
call fcn.00643b70
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x20], ebx
je 0x4e198c
mov ecx, eax
call fcn.00440d30
jmp 0x4e198e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esi + 0x78], eax
push 0x6b7cdc
lea eax, [esp + 0x14]
push 0x73aaac
push eax
call fcn.00643ea6
push 0x6b7d3c
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 1
call fcn.00643efa
mov ecx, dword [esp + 0x10]
push 0x69a9d0
push ecx
call dword [fcn.0065f1b8]
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4e1b04
push edi
call fcn.00476080
mov ecx, eax
add esp, 4
cmp ecx, ebx
mov dword [esi + 0x30], ecx
jle 0x4e1af7
xor edx, edx
mov ebp, 0x140
div ebp
test edx, edx
jne 0x4e1af4
mov eax, 0xcccccccd
mul ecx
shr edx, 8
cmp edx, 0xc8
mov dword [esi + 0x30], edx
jle 0x4e1a1f
mov dword [esi + 0x30], 0xc8
mov ecx, dword [esi + 0x30]
cmp ecx, ebx
jle 0x4e1ad7
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x4e1a46
cmp dword [esi + 0x34], ecx
jge 0x4e1a6e
cmp eax, ebx
je 0x4e1a46
push eax
call fcn.00643cfc
add esp, 4
mov dword [esi + 0x2c], ebx
mov eax, dword [esi + 0x30]
mov dword [esi + 0x34], ebx
add eax, 0x14
lea edx, [eax + eax*4]
shl edx, 6
push edx
call fcn.00643b70
add esp, 4
cmp eax, ebx
mov dword [esi + 0x2c], eax
je 0x4e1ad7
mov eax, dword [esi + 0x30]
add eax, 0x14
mov dword [esi + 0x34], eax
push ebx
push ebx
push edi
call dword [fcn.0065f1d4]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x2c]
push edi
push ecx
push 0x140
push edx
call dword [fcn.0065f1bc]
push edi
mov dword [esi + 0x30], eax
call dword [fcn.0065f1c0]
mov eax, dword [esp + 0x48]
add esp, 0x20
cmp eax, ebx
je 0x4e1abf
mov ecx, dword [esi + 0x30]
xor eax, eax
cmp ecx, ebx
jle 0x4e1abf
xor ecx, ecx
mov edx, dword [esi + 0x2c]
inc eax
mov dword [ecx + edx], ebx
mov edx, dword [esi + 0x30]
add ecx, 0x140
cmp eax, edx
jl 0x4e1aab
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00643d26
mov eax, 1
jmp 0x4e1b13
push edi
call dword [fcn.0065f1c0]
add esp, 4
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esp + 0x20], 0xffffffff
jmp 0x4e1b08
or ebp, 0xffffffff
push edi
call dword [fcn.0065f1c0]
add esp, 4
mov dword [esi + 0x30], ebx
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x10]
call fcn.00643d26
xor eax, eax
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4e1b30
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x64fce8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4e1bac
mov eax, dword [esi + 0x30]
test eax, eax
jl 0x4e1bac
push 0x6b7cdc
lea eax, [esp + 0xc]
push 0x73aaac
push eax
call fcn.00643ea6
push 0x6b7d3c
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.00643efa
mov ecx, dword [esp + 8]
push 0x69a9ec
push ecx
call dword [fcn.0065f1b8]
mov edi, eax
add esp, 8
test edi, edi
jne 0x4e1bbf
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00643d26
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esi + 0x30]
test eax, eax
jle 0x4e1bdd
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x2c]
push edi
push 1
shl edx, 6
push edx
push eax
call dword [fcn.0065f1b4]
add esp, 0x10
push edi
call dword [fcn.0065f1c0]
add esp, 4
mov ecx, esi
push 0
call fcn.004e0290
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.00643d26
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4e1c90
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64fd08
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
test esi, esi
mov edi, ecx
jl 0x4e1e12
cmp esi, dword [edi + 0x30]
jge 0x4e1e12
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x4e1e12
lea ecx, [esp + 0x2c]
call fcn.00643d62
mov ecx, dword [edi + 0x2c]
lea eax, [esi + esi*4]
shl eax, 6
mov dword [esp + 0x18], 0
lea edx, [eax + ecx + 4]
mov eax, dword [0x73aaac]
push edx
push eax
lea ecx, [esp + 0x34]
push 0x6b7d7c
push ecx
call fcn.00643d50
mov edx, dword [esp + 0x3c]
push 0x69a9d0
push edx
call dword [fcn.0065f1b8]
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4e1e01
push edi
call fcn.00476080
mov esi, dword [esp + 0x28]
add esp, 4
test eax, eax
mov dword [esi], eax
jle 0x4e1df1
test al, 0xf
jne 0x4e1df1
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
shr eax, 4
test eax, eax
mov dword [esi], eax
jle 0x4e1dd2
mov ecx, dword [ebx]
test ecx, ecx
je 0x4e1d6e
cmp dword [ebp], eax
jge 0x4e1d94
test ecx, ecx
je 0x4e1d6e
push ecx
call fcn.00643cfc
add esp, 4
mov dword [ebx], 0
mov dword [ebp], 0
mov eax, dword [esi]
add eax, 0x32
shl eax, 4
push eax
call fcn.00643b70
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x4e1dd2
mov ecx, dword [esi]
add ecx, 0x32
mov dword [ebp], ecx
push 0
push 0
push edi
call dword [fcn.0065f1d4]
mov edx, dword [esi]
mov eax, dword [ebx]
push edi
push edx
push 0x10
push eax
call dword [fcn.0065f1bc]
push edi
mov dword [esi], eax
call dword [fcn.0065f1c0]
add esp, 0x20
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0xffffffff
call fcn.00643d26
mov eax, 1
jmp 0x4e1e14
push edi
call dword [fcn.0065f1c0]
mov dword [ebx], 0
mov dword [esi], 0
add esp, 4
mov dword [ebp], 0
jmp 0x4e1e01
push edi
call dword [fcn.0065f1c0]
add esp, 4
mov dword [esi], 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0xffffffff
call fcn.00643d26
xor eax, eax
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x10
Function at 0x4e1e30
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64fd28
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
test ebx, ebx
je 0x4e1eb5
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x4e1eb5
mov edi, dword [esp + 0x24]
test edi, edi
jle 0x4e1eb5
lea ecx, [esp + 0x28]
call fcn.00643d62
mov eax, dword [0x73aaac]
add ebx, 4
push ebx
push eax
lea ecx, [esp + 0x30]
push 0x6b7d7c
push ecx
mov dword [esp + 0x28], 0
call fcn.00643d50
mov edx, dword [esp + 0x38]
push 0x69a9ec
push edx
call dword [fcn.0065f1b8]
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4e1ecc
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00643d26
xor eax, eax
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x10
push esi
push 1
shl edi, 4
push edi
push ebp
call dword [fcn.0065f1b4]
push esi
call dword [fcn.0065f1c0]
mov eax, dword [esp + 0x40]
add esp, 0x14
test eax, eax
je 0x4e1f48
lea edi, [eax + 4]
mov eax, ebx
mov esi, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4e1f1b
test cl, cl
je 0x4e1f17
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4e1f1b
add eax, 2
add esi, 2
test cl, cl
jne 0x4e1ef3
xor eax, eax
jmp 0x4e1f20
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e1f48
mov eax, dword [0x73aaac]
push edi
push eax
lea ecx, [esp + 0x30]
push 0x6b7d7c
push ecx
call fcn.00643d50
mov edx, dword [esp + 0x38]
push edx
call dword [fcn.0065f1a0]
add esp, 0x14
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00643d26
mov eax, 1
jmp 0x4e1eb7
Function at 0x4e7480
Capabilities:
Access peb ldr_data
Copy file
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x650528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
lea ecx, [esp + 0xc]
call fcn.00644002
push 0x6b8034
lea eax, [esp + 8]
push 0x73aaac
push eax
mov dword [esp + 0x30], 0
call fcn.00643ea6
mov eax, dword [eax]
push 0
push 0x40
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00643ffc
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x24], 0
call fcn.00643d26
test esi, esi
je 0x4e74f2
lea ecx, [esp + 0xc]
call fcn.00643ff0
jmp 0x4e7544
push 0x6b8034
lea ecx, [esp + 0xc]
push 0x73aaac
push ecx
call fcn.00643ea6
mov esi, dword [eax]
push 0x6b8028
lea edx, [esp + 8]
push 0x73a890
push edx
mov byte [esp + 0x30], 2
call fcn.00643ea6
mov eax, dword [eax]
push 0
push esi
push eax
call dword [fcn.0065e270]
lea ecx, [esp + 4]
call fcn.00643d26
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.00643d26
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00643fea
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4e8fd0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6505b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.00643d62
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x50], 0
push ebx
call fcn.00476a10
add esp, 4
lea ecx, [esp + 0x14]
push eax
mov eax, dword [0x73aaac]
push eax
push 0x69dab0
push ecx
call fcn.00643d50
mov edx, dword [esp + 0x24]
push 0x69a9d0
push edx
call dword [fcn.0065f1b8]
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4e9048
mov dword [esp + 0x50], 0xffffffff
jmp 0x4e9123
push 0
push 0
push esi
call dword [fcn.0065f1d4]
mov edi, dword [fcn.0065f1bc]
push esi
push 0x28
lea eax, [esp + 0x34]
push 1
push eax
call edi
push esi
push 2
lea ecx, [esp + 0x36]
push 1
push ecx
call edi
push esi
push 4
lea edx, [esp + 0x4c]
push 1
push edx
call edi
push esi
push 4
lea eax, [esp + 0x60]
push 1
push eax
call edi
add esp, 0x4c
push esi
call dword [fcn.0065f1c0]
mov esi, dword [0x703658]
add esp, 4
lea eax, [esp + 0x20]
mov dl, byte [eax]
or edi, 0xffffffff
mov cl, dl
cmp dl, byte [esi]
jne 0x4e90c7
test cl, cl
je 0x4e90c3
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4e90c7
add eax, 2
add esi, 2
test cl, cl
jne 0x4e90a0
xor eax, eax
jmp 0x4e90cb
sbb eax, eax
sbb eax, edi
test eax, eax
jne 0x4e911f
mov ax, word [esp + 0x12]
cmp ax, word [0x6adc98]
jne 0x4e911f
mov ecx, dword [esp + 0x18]
test ebx, ebx
jne 0x4e9146
cmp ecx, dword [ebp + 0x89e]
jne 0x4e911f
mov ecx, dword [ebp + 0x8a6]
mov eax, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, 0x51eb851f
sar ecx, 5
mov edx, ecx
shr edx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x1c]
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, ecx
je 0x4e9180
mov dword [esp + 0x50], edi
lea ecx, [esp + 0x14]
call fcn.00643d26
mov eax, 1
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4
cmp ecx, dword [ebp + 0x8a2]
jne 0x4e911f
mov ecx, dword [ebp + 0x8aa]
mov eax, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, 0x51eb851f
sar ecx, 5
mov edx, ecx
shr edx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x1c]
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, ecx
jne 0x4e911f
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], edi
call fcn.00643d26
xor eax, eax
jmp 0x4e9131
Function at 0x4ee240
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
xor esi, esi
push edi
cmp ebx, esi
mov edi, ecx
jge 0x4ee260
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x50
ret 4
lea eax, [esp + 0x18]
lea ecx, [esp + 0x64]
push eax
push ecx
mov ecx, dword [0x8267a8]
call fcn.0049c750
cmp eax, esi
mov dword [edi + 0x8da], eax
mov dword [edi + 0x8de], esi
jle 0x4ee393
lea eax, [ebx + ebx*2]
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 1
lea edx, [eax + eax*4]
lea eax, [edi + edx*8 + 0x94a]
push eax
push 0x73aaac
push ecx
call fcn.00643ea6
mov eax, dword [eax]
push 0x69a9d0
push eax
call dword [fcn.0065f1b8]
add esp, 8
lea ecx, [esp + 0x14]
mov ebp, eax
call fcn.00643d26
cmp ebp, esi
je 0x4ee37f
push ebp
call fcn.00476080
mov ecx, dword [edi + 0x8da]
add esp, 4
cmp eax, ecx
jne 0x4ee36d
mov al, byte [esp + 0x64]
test al, al
je 0x4ee369
mov al, byte [esp + 0x18]
test al, al
je 0x4ee369
push ecx
call fcn.00643b70
mov edx, dword [edi + 0x8da]
push ebp
mov esi, eax
push 1
push edx
push esi
call dword [fcn.0065f1bc]
mov ecx, dword [edi + 0x8da]
lea eax, [esp + 0x50]
push eax
push ecx
push esi
call dword [sym.imp.TGear.dll_MD5_Buffer]
push esi
call fcn.00643cfc
add esp, 0x24
lea esi, [esp + 0x3c]
lea eax, [esp + 0x18]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4ee35a
test cl, cl
je 0x4ee356
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4ee35a
add eax, 2
add esi, 2
test cl, cl
jne 0x4ee336
xor eax, eax
jmp 0x4ee35f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4ee36d
mov dword [esp + 0x10], eax
jmp 0x4ee36d
mov dword [esp + 0x10], esi
push ebp
call dword [fcn.0065f1c0]
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x4ee3d4
push ebx
mov ecx, edi
call fcn.004ee0c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 4
cmp ebx, 4
je 0x4ee3a2
cmp ebx, 5
je 0x4ee3a2
cmp ebx, 6
jne 0x4ee3d4
lea eax, [ebx + ebx*2]
lea edx, [esp + 0x14]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8 + 0x94a]
push ecx
push 0x73aaac
push edx
call fcn.00643ea6
mov eax, dword [eax]
push eax
call dword [fcn.0065f1a0]
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00643d26
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret 4

Function at 0x4f03f0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push 0x489270
push 0
push 0
call dword [fcn.0065e1c8]
mov dword [0x6cf77c], eax
pop ecx
ret
Function at 0x4f5a00
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x20
lea eax, [esp]
push 0
push eax
push 0
push 0x30
call dword [fcn.0065f40c]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x6b9484
call dword [fcn.0065f410]
push eax
call dword [fcn.0065f4c8]
mov eax, dword [0x828b08]
test eax, eax
je 0x4f5a5b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0xc]
mov dword [edx + 0xc], ecx
add esp, 0x20
ret
push ebx
push esi
mov esi, dword [0x65f620]
push edi
push 0
call esi
push 1
mov edi, eax
call esi
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x20]
test edx, edx
jg 0x4f5aa3
test ebx, ebx
jl 0x4f5aa3
test eax, eax
jg 0x4f5aa3
cmp esi, ecx
jl 0x4f5aa3
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4f5b0c
add dword [esp + 0xc], 3
jmp 0x4f5b0c
cmp edx, edi
jg 0x4f5ac8
cmp ebx, edi
jl 0x4f5ac8
test eax, eax
jg 0x4f5aeb
cmp esi, ecx
jl 0x4f5ac8
mov eax, edx
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4f5b0c
sub dword [esp + 0x14], 3
jmp 0x4f5b0c
test eax, eax
jg 0x4f5aeb
test esi, esi
jl 0x4f5aeb
test edx, edx
jg 0x4f5aeb
cmp ebx, edi
jl 0x4f5aeb
mov eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4f5b0c
add dword [esp + 0x10], 3
jmp 0x4f5b0c
cmp eax, ecx
jg 0x4f5b0c
cmp esi, ecx
jl 0x4f5b0c
test edx, edx
jg 0x4f5b0c
cmp ebx, edi
jl 0x4f5b0c
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4f5b0c
sub dword [esp + 0x18], 3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov edx, eax
pop edi
pop esi
pop ebx
mov dword [edx], ecx
mov ecx, dword [esp + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0xc]
mov dword [edx + 0xc], ecx
add esp, 0x20
ret
Function at 0x4f73d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x6511bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
push esi
mov esi, ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x81]
mov byte [esp + 0x80], 0
push 0x69cf74
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push 0x73a890
push eax
call fcn.00643ea6
mov eax, dword [eax]
lea ecx, [esp + 0x80]
push eax
push 0xff
push ecx
push 0x6c7010
push 0x6b95a4
push 0x6a0cec
call dword [fcn.0065e164]
lea ecx, [esp + 8]
call fcn.00643d26
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4f75c3
mov edx, dword [esi + 0x20]
push 1
push eax
lea eax, [esp + 0x88]
push edx
push eax
call fcn.00477fa0
add esp, 0x10
test eax, eax
jne 0x4f75ca
push eax
lea ecx, [esp + 0x14]
call fcn.0046edd0
mov edx, dword [0x826c40]
xor ecx, ecx
cmp edx, 0xf
push 0x6b9590
sete cl
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x28c], 0
call fcn.006440b6
push 0x6b9570
lea ecx, [esp + 0x7c]
call fcn.006440b6
lea edx, [esp + 0x80]
lea ecx, [esp + 0x70]
push edx
call fcn.006440b6
lea ecx, [esp + 0x10]
call fcn.00643bee
cmp eax, 1
jne 0x4f7562
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x70]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x180]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x69cf74
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x73a890
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call fcn.00643ea6
mov eax, dword [eax]
lea edx, [esp + 0x180]
push eax
push edx
push 0x6b95a4
push 0x6a0cec
call dword [fcn.0065e254]
lea ecx, [esp + 0xc]
call fcn.00643d26
lea ecx, [esp + 0x78]
mov dword [esp + 0x288], 3
call fcn.00643d26
lea ecx, [esp + 0x74]
mov byte [esp + 0x288], 2
call fcn.00643d26
lea ecx, [esp + 0x70]
mov byte [esp + 0x288], 1
call fcn.00643d26
lea ecx, [esp + 0x10]
mov dword [esp + 0x288], 0xffffffff
call fcn.00643d7a
pop edi
pop esi
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
add esp, 0x284
ret
mov ecx, esi
call fcn.004f75f0
mov ecx, dword [esp + 0x280]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x284
ret
Function at 0x4f8040
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x65133f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x141]
mov byte [esp + 0x140], bl
mov edx, dword [esp + 0x258]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x254]
mov ebp, dword [fcn.0065e164]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x250]
mov dword [esp + 0x248], ebx
push eax
push 0xff
push ecx
push edx
push 0x6a0cd8
push 0x6a0cec
call ebp
cmp eax, ebx
jbe 0x4f8255
mov eax, dword [esp + 0x250]
lea ecx, [esp + 0x140]
push eax
push 0xff
push ecx
push 0x6c7010
push 0x6b9608
push 0x6a0cec
call ebp
cmp eax, ebx
jbe 0x4f8255
push esi
lea ecx, [esp + 0x54]
call fcn.00627140
mov edx, dword [0x898790]
lea ecx, [esp + 0x50]
mov byte [esp + 0x248], 1
mov dword [esp + 0x13c], edx
call fcn.00643bee
cmp eax, 1
jne 0x4f8201
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x13c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp edx, ebx
mov dword [0x898790], edx
stosb byte es:[edi], al
jle 0x4f8155
push edx
lea eax, [esp + 0x14]
push 0x6a0cc4
push eax
call dword [fcn.0065f1cc]
add esp, 0xc
jmp 0x4f817b
mov edi, 0x6a0cd8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
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]
mov ecx, dword [esp + 0x250]
mov edx, dword [esp + 0x254]
mov eax, dword [esp + 0x258]
push ecx
push 0xff
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0x6a0cec
call ebp
mov edx, dword [0x898790]
lea esi, [edx + 1]
lea ecx, [esp + 0x134]
mov byte [esp + 0x248], 3
call fcn.00643cd8
lea ecx, [esp + 0xb0]
mov byte [esp + 0x248], 2
call fcn.00643cde
lea ecx, [esp + 0x50]
mov byte [esp + 0x248], bl
call fcn.00643d7a
lea ecx, [esp + 0x250]
mov dword [esp + 0x248], 0xffffffff
call fcn.00643d26
mov ax, si
jmp 0x4f8270
lea ecx, [esp + 0x134]
mov byte [esp + 0x248], 5
call fcn.00643cd8
lea ecx, [esp + 0xb0]
mov byte [esp + 0x248], 4
call fcn.00643cde
lea ecx, [esp + 0x50]
mov byte [esp + 0x248], bl
call fcn.00643d7a
lea ecx, [esp + 0x250]
mov dword [esp + 0x248], 0xffffffff
call fcn.00643d26
xor ax, ax
jmp 0x4f8270
lea ecx, [esp + 0x250]
mov dword [esp + 0x248], 0xffffffff
call fcn.00643d26
mov ax, 1
mov ecx, dword [esp + 0x240]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x23c
ret 0xc

Function at 0x4f9600
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
push 1
call fcn.004f9560
mov eax, dword [0x8267d8]
test eax, eax
je 0x4f9651
mov eax, dword [0x826830]
test eax, eax
jne 0x4f963a
mov eax, dword [0x826bbc]
test eax, eax
jne 0x4f963a
xor eax, eax
push eax
push eax
mov eax, dword [esi + 0x20]
push 0x1411
push eax
call dword [fcn.0065f498]
pop esi
ret
mov eax, 0xd
push 0
push eax
mov eax, dword [esi + 0x20]
push 0x1411
push eax
call dword [fcn.0065f498]
pop esi
ret
Function at 0x507d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6524d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
xor eax, eax
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x661a2c
push 0x69af60
push eax
push 4
push eax
push eax
push 1
push eax
push eax
push eax
push 0x2bc
push eax
push eax
push eax
push 0x20
mov dword [esp + 0x60], eax
call dword [fcn.0065e0c0]
push eax
lea ecx, [esp + 0x14]
call fcn.006440f8
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x30]
lea ebp, [edi + 0x38]
lea ecx, [esp + 0x30]
push ebp
mov ebx, eax
call fcn.00643d2c
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x18]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [fcn.0065e0bc]
lea ecx, [esp + 0x30]
call fcn.00643d26
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x18]
sub eax, edx
sub eax, ecx
mov ecx, esi
cdq
sub eax, edx
mov edx, dword [esi]
mov edi, eax
mov eax, dword [0x73a89c]
push eax
sar edi, 1
call dword [edx + 0x38]
push ebp
lea ecx, [esp + 0x34]
call fcn.00643d2c
mov eax, dword [esp + 0x30]
mov edx, dword [esi]
mov byte [esp + 0x28], 1
mov ecx, dword [eax - 8]
push ecx
push eax
push 0x12
push edi
mov ecx, esi
call dword [edx + 0x64]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00643d26
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x30]
mov dword [esp + 0x10], 0x661578
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 2
call fcn.0064406e
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

Function at 0x50a8e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x652900
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00643cf0
xor edi, edi
mov dword [esi + 0x98], 0x661a18
mov dword [esp + 0x14], edi
mov dword [esi + 0x9c], edi
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 1
call fcn.00643d62
lea ecx, [esi + 0xd4]
mov byte [esp + 0x14], 2
call fcn.00643d62
lea ecx, [esi + 0xd8]
mov byte [esp + 0x14], 3
call fcn.0064415e
mov edx, dword [esp + 0x28]
mov dword [esi + 0xa4], edi
mov ecx, 9
xor eax, eax
lea edi, [esi + 0x50]
mov dword [esi], 0x66f900
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x2c], 4
call fcn.0050a9a0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18