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

Disassembly:
push 0xffffffffffffffff
push 0x46e228
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.00467010
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004401a0
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.00466f3e
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.00463802
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.00463802
push 1
push 0
push 0
mov ecx, esi
call fcn.004637aa
push 1
push 0
push 1
mov ecx, esi
call fcn.004637aa
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00467082
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x440980
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e248
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.00467010
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004401a0
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.00466f3e
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 0x440a44
cmp dword [esp + 0x40], 1
jne 0x440a42
cmp ecx, eax
jge 0x440a44
mov eax, ecx
cmp eax, 0xc8
jge 0x440a50
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00440800
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.00467082
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4411c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e2b3
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.00461c20
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.004672b8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004687d4
test eax, eax
je 0x4412dc
mov ecx, dword [esp + 0x3c]
call fcn.004672e5
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 0x4412a0
push edi
mov ecx, esi
call fcn.00464949
mov ecx, esi
call fcn.00441440
cmp dword [esp + 0x38], 1
jne 0x4412d5
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.00464a84
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 0x443d00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443d33
push esi
call fcn.00446e00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x443d2c
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 0x443db9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443da2
mov eax, dword [esi + 8]
test eax, eax
je 0x443d57
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 0x443d9e
cmp eax, 2
je 0x443da2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x443d4a
cmp eax, 3
je 0x443d7d
cmp eax, 1
jne 0x443d4a
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 0x443d4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x443d4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443de0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443dc8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443de0
add esp, 4
pop esi
ret

Function at 0x462a15
Capabilities:
Get graphical window text

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

Function at 0x464106
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 0x464148
call fcn.00469bc4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x464148
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46413f
xor eax, eax
jmp 0x464150
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00464156
pop edi
pop esi
pop ebx
ret 4

Function at 0x46a0f4
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 0x46a122
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46a140
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046a05a
jmp 0x46a140
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46a140
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046a05a
test edi, edi
mov eax, edi
jne 0x46a12a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403ed0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47114b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x918
push edi
cmp dword [ebp + 8], 0
je 0x40418e
mov al, byte [0x475ae7]
mov byte [ebp - 0x51c], al
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x51b]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x51c]
push ecx
call fcn.004041a0
add esp, 4
lea ecx, [ebp - 0x410]
call fcn.00407a80
mov dword [ebp - 4], 0
lea edx, [ebp - 0x410]
push edx
mov ecx, dword [ebp + 8]
call fcn.004644d3
push 0x475ae4
push 0x475ae0
lea ecx, [ebp - 0x410]
call fcn.00404860
push 0x475adc
push 0x475ad8
lea ecx, [ebp - 0x410]
call fcn.00404860
mov al, byte [0x475ae7]
mov byte [ebp - 0x40c], al
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x40b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x51c]
push ecx
push 0x400
lea edx, [ebp - 0x40c]
push edx
lea ecx, [ebp - 0x410]
call fcn.004067d0
push eax
lea ecx, [ebp - 0x410]
call fcn.004067d0
push eax
push str.String
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x40c]
test eax, eax
je 0x40403a
lea ecx, [ebp - 0x410]
call fcn.004067d0
push eax
lea ecx, [ebp - 0x40c]
push ecx
call fcn.0044ff20
add esp, 8
test eax, eax
je 0x40403a
lea edx, [ebp - 0x40c]
push edx
lea ecx, [ebp - 0x410]
call fcn.00407b70
push 0x475ae0
push 0x475ae4
lea ecx, [ebp - 0x410]
call fcn.00404860
push 0x475ad8
push 0x475adc
lea ecx, [ebp - 0x410]
call fcn.00404860
lea ecx, [ebp - 0x410]
call fcn.004067d0
push eax
mov ecx, dword [ebp + 8]
call fcn.00465a68
push 5
mov ecx, dword [ebp + 8]
call fcn.004052e0
mov dword [ebp - 0x520], eax
cmp dword [ebp - 0x520], 0
je 0x40417c
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [ebp - 0x520]
call fcn.004644d3
push 0x475ae4
push 0x475ae0
lea ecx, [ebp - 0x410]
call fcn.00404860
push 0x475adc
push 0x475ad8
lea ecx, [ebp - 0x410]
call fcn.00404860
mov cl, byte [0x475ae7]
mov byte [ebp - 0x924], cl
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x923]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x51c]
push edx
push 0x400
lea eax, [ebp - 0x924]
push eax
lea ecx, [ebp - 0x410]
call fcn.004067d0
push eax
lea ecx, [ebp - 0x410]
call fcn.004067d0
push eax
push str.String
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx ecx, byte [ebp - 0x924]
test ecx, ecx
je 0x404164
lea ecx, [ebp - 0x410]
call fcn.004067d0
push eax
lea edx, [ebp - 0x924]
push edx
call fcn.0044ff20
add esp, 8
test eax, eax
je 0x404164
lea eax, [ebp - 0x924]
push eax
lea ecx, [ebp - 0x410]
call fcn.00407b70
push 0x475ae0
push 0x475ae4
lea ecx, [ebp - 0x410]
call fcn.00404860
push 0x475ad8
push 0x475adc
lea ecx, [ebp - 0x410]
call fcn.00404860
lea ecx, [ebp - 0x410]
call fcn.004067d0
push eax
mov ecx, dword [ebp - 0x520]
call fcn.00465a68
push 2
mov ecx, dword [ebp - 0x520]
call fcn.004052e0
mov dword [ebp - 0x520], eax
jmp 0x40404a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x410]
call fcn.00407b30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4041a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
lea eax, [ebp - 0x404]
push eax
mov ecx, 0x492f50
call fcn.004042e0
mov dword [ebp - 0x40c], eax
mov ecx, dword [ebp - 0x40c]
call fcn.004067d0
push eax
push 0x400
lea ecx, [ebp - 0x400]
push ecx
push 0x475b10
push 0x475b04
push 0x475afc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x404]
call fcn.00407b30
lea edx, [ebp - 0x408]
push edx
mov ecx, 0x492f50
call fcn.00404240
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x400]
push eax
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx]
push edx
push str._sLanguage_s.ini
mov eax, dword [ebp + 8]
push eax
call fcn.0044ffa8
add esp, 0x10
lea ecx, [ebp - 0x408]
call fcn.00407b30
mov esp, ebp
pop ebp
ret

Function at 0x4043a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47116b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1114
call fcn.00450200
push edi
mov dword [ebp - 0x1120], 0
mov al, byte [0x475ae7]
mov byte [ebp - 0x111c], al
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x111b]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x111c]
push ecx
call fcn.004041a0
add esp, 4
lea ecx, [ebp - 0x1010]
call fcn.00407a80
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x1010]
call fcn.00407b90
push 0x475ae4
push 0x475ae0
lea ecx, [ebp - 0x1010]
call fcn.00404860
push 0x475adc
push 0x475ad8
lea ecx, [ebp - 0x1010]
call fcn.00404860
lea eax, [ebp - 0x111c]
push eax
push 0x1000
lea ecx, [ebp - 0x100c]
push ecx
lea ecx, [ebp - 0x1010]
call fcn.004067d0
push eax
lea ecx, [ebp - 0x1010]
call fcn.004067d0
push eax
push str.String
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx edx, byte [ebp - 0x100c]
test edx, edx
je 0x404494
lea eax, [ebp - 0x100c]
push eax
lea ecx, [ebp - 0x1010]
call fcn.00407b70
push 0x475ae0
push 0x475ae4
lea ecx, [ebp - 0x1010]
call fcn.00404860
push 0x475ad8
push 0x475adc
lea ecx, [ebp - 0x1010]
call fcn.00404860
lea ecx, [ebp - 0x1010]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407aa0
mov edx, dword [ebp - 0x1120]
or edx, 1
mov dword [ebp - 0x1120], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1010]
call fcn.00407b30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40e050
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2118
call fcn.00450200
push edi
mov al, byte [0x475ae7]
mov byte [ebp - 0x2118], al
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x2117]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x2118]
push ecx
call fcn.004041a0
add esp, 4
mov dl, byte [0x475ae7]
mov byte [ebp - 0x2010], dl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x200f]
rep stosd dword es:[edi], eax
push 0x1000
lea eax, [ebp - 0x2010]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040e300
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x475ae4
push 0x475ae0
lea edx, [ebp - 0x2010]
push edx
call fcn.0040e1b0
add esp, 0xc
push 0x475adc
push 0x475ad8
lea eax, [ebp - 0x2010]
push eax
call fcn.0040e1b0
add esp, 0xc
mov cl, byte [0x475ae7]
mov byte [ebp - 0x1008], cl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x1007]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x2118]
push edx
push 0x1000
lea eax, [ebp - 0x1008]
push eax
lea ecx, [ebp - 0x2010]
push ecx
lea edx, [ebp - 0x2010]
push edx
push str.String
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x1008]
test eax, eax
je 0x40e158
lea ecx, [ebp - 0x1008]
push ecx
lea edx, [ebp - 0x2010]
push edx
call fcn.00450070
add esp, 8
push 0x475ae0
push 0x475ae4
lea eax, [ebp - 0x2010]
push eax
call fcn.0040e1b0
add esp, 0xc
push 0x475ad8
push 0x475adc
lea ecx, [ebp - 0x2010]
push ecx
call fcn.0040e1b0
add esp, 0xc
lea edx, [ebp - 0x2010]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00450070
add esp, 8
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x417950
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2118
call fcn.00450200
push edi
mov al, byte [0x475ae7]
mov byte [ebp - 0x2118], al
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x2117]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x2118]
push ecx
call fcn.004041a0
add esp, 4
mov dl, byte [0x475ae7]
mov byte [ebp - 0x2010], dl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x200f]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2010]
push ecx
call fcn.00450070
add esp, 8
push 0x475ae4
push 0x475ae0
lea edx, [ebp - 0x2010]
push edx
call fcn.0040e1b0
add esp, 0xc
push 0x475adc
push 0x475ad8
lea eax, [ebp - 0x2010]
push eax
call fcn.0040e1b0
add esp, 0xc
mov cl, byte [0x475ae7]
mov byte [ebp - 0x1008], cl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x1007]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x2118]
push edx
push 0x1000
lea eax, [ebp - 0x1008]
push eax
lea ecx, [ebp - 0x2010]
push ecx
lea edx, [ebp - 0x2010]
push edx
push str.String
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x1008]
test eax, eax
je 0x417a4f
lea ecx, [ebp - 0x1008]
push ecx
lea edx, [ebp - 0x2010]
push edx
call fcn.00450070
add esp, 8
push 0x475ae0
push 0x475ae4
lea eax, [ebp - 0x2010]
push eax
call fcn.0040e1b0
add esp, 0xc
push 0x475ad8
push 0x475adc
lea ecx, [ebp - 0x2010]
push ecx
call fcn.0040e1b0
add esp, 0xc
lea edx, [ebp - 0x2010]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00450070
add esp, 8
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x417ad0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x211c
call fcn.00450200
push edi
mov dword [ebp - 0x211c], 0
mov al, byte [0x475ae7]
mov byte [ebp - 0x2118], al
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x2117]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x2118]
push ecx
call fcn.004041a0
add esp, 4
mov dl, byte [0x475ae7]
mov byte [ebp - 0x2010], dl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x200f]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2010]
push ecx
call fcn.00450070
add esp, 8
push 0x475ae4
push 0x475ae0
lea edx, [ebp - 0x2010]
push edx
call fcn.0040e1b0
add esp, 0xc
push 0x475adc
push 0x475ad8
lea eax, [ebp - 0x2010]
push eax
call fcn.0040e1b0
add esp, 0xc
mov cl, byte [0x475ae7]
mov byte [ebp - 0x1008], cl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x1007]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x2118]
push edx
push 0x1000
lea eax, [ebp - 0x1008]
push eax
lea ecx, [ebp - 0x2010]
push ecx
lea edx, [ebp - 0x2010]
push edx
push str.String
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x1008]
test eax, eax
je 0x417bd9
lea ecx, [ebp - 0x1008]
push ecx
lea edx, [ebp - 0x2010]
push edx
call fcn.00450070
add esp, 8
push 0x475ae0
push 0x475ae4
lea eax, [ebp - 0x2010]
push eax
call fcn.0040e1b0
add esp, 0xc
push 0x475ad8
push 0x475adc
lea ecx, [ebp - 0x2010]
push ecx
call fcn.0040e1b0
add esp, 0xc
lea edx, [ebp - 0x2010]
push edx
mov ecx, dword [ebp + 8]
call fcn.00407ac0
mov eax, dword [ebp - 0x211c]
or eax, 1
mov dword [ebp - 0x211c], eax
mov eax, dword [ebp + 8]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4186a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov byte [eax], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 8]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x418760
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x418756
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004665e6
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x418744
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.004502d0
add esp, 0xc
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp - 0xc]
mov byte [ecx], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004665e1
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41c110
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1534
call fcn.00450200
push edi
mov dword [ebp - 0x1528], ecx
mov al, byte [0x4776b3]
mov byte [ebp - 0x1008], al
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x1007]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x1008]
push ecx
push 0x8048
call fcn.0040e050
add esp, 8
lea edx, [ebp - 0x151c]
push edx
mov ecx, 0x492f50
call fcn.004042e0
mov dword [ebp - 0x152c], eax
mov ecx, dword [ebp - 0x152c]
call fcn.004067d0
push eax
lea eax, [ebp - 0x1008]
push eax
push 0x4776b4
push 0x4776b8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x151c]
call fcn.00407b30
lea ecx, [ebp - 0x1520]
push ecx
mov ecx, 0x492f50
call fcn.00404240
mov dword [ebp - 0x1530], eax
mov ecx, dword [ebp - 0x1530]
call fcn.004067d0
push eax
lea edx, [ebp - 0x1118]
push edx
call fcn.00450070
add esp, 8
lea ecx, [ebp - 0x1520]
call fcn.00407b30
push 4
lea eax, [ebp - 0x100c]
push eax
push 3
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x4776c0
lea ecx, [ebp - 0x1518]
push ecx
call fcn.0044ffa8
add esp, 8
push 0x4776c8
lea edx, [ebp - 0x100c]
push edx
call fcn.0045709a
add esp, 8
test eax, eax
jne 0x41c22a
push 0x4776cc
lea eax, [ebp - 0x1518]
push eax
call fcn.0044ffa8
add esp, 8
push 0x4776d8
lea ecx, [ebp - 0x100c]
push ecx
call fcn.0045709a
add esp, 8
test eax, eax
jne 0x41c256
push str.ChineseBig5
lea edx, [ebp - 0x1518]
push edx
call fcn.0044ffa8
add esp, 8
lea eax, [ebp - 0x1524]
push eax
mov ecx, 0x492f50
call fcn.004042e0
mov dword [ebp - 0x1534], eax
mov ecx, dword [ebp - 0x1534]
call fcn.004067d0
push eax
lea ecx, [ebp - 0x1518]
push ecx
push 0x4776e8
push 0x4776f4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x1524]
call fcn.00407b30
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41c690
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov dword [ebp - 0x10c], ecx
mov byte [ebp - 0x108], 0
push str.Global_
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call fcn.0041c750
mov ecx, dword [eax + 0x4c]
push ecx
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._is_running
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x108]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, dword [ebp - 0x10c]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0x10c]
cmp dword [eax + 0x3c], 0
je 0x41c730
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41c730
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10c]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x10c]
xor eax, eax
cmp dword [ecx + 0x3c], 0
sete al
mov esp, ebp
pop ebp
ret

Function at 0x420010
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4725f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push edi
mov dword [ebp - 0x418], ecx
cmp dword [0x48fa0c], 0
je 0x420118
mov al, byte [0x477b14]
mov byte [ebp - 0x40c], al
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x40b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea ecx, [ebp - 0x40c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea edx, [ebp - 0x40c]
push edx
call fcn.00452320
add esp, 8
mov byte [eax], 0
push str.Update.exe
lea eax, [ebp - 0x40c]
push eax
call fcn.00450080
add esp, 8
lea ecx, [ebp - 0x40c]
push ecx
lea ecx, [ebp - 0x410]
call fcn.00407ac0
mov dword [ebp - 0x41c], eax
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x420], edx
mov dword [ebp - 4], 0
push str.__LocalVersion6.63__RemoteURLhttp:__www.youngzsoft.net_ccproxy_update.php_v6.63
mov eax, dword [ebp - 0x420]
push eax
lea ecx, [ebp - 0x414]
push ecx
call fcn.00410700
add esp, 0xc
mov dword [ebp - 0x424], eax
push 5
mov ecx, dword [ebp - 0x424]
call fcn.004067d0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [ebp - 0x414]
call fcn.00407b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x410]
call fcn.00407b30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret