joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407790
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x491df8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
xor eax, eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], ax
call fcn.00402110
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4077f0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.004059e0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], dx
call fcn.00402110
cmp dword [esp + 0x28], 8
jb 0x40783d
mov eax, dword [esp + 0x14]
push eax
call fcn.00443d03
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret

Function at 0x407b80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x491e2b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
push edi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov esi, dword [esp + 0x250]
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [esp + 0x3e]
push ecx
mov word [esp + 0x40], ax
call fcn.00467480
push esi
push 0x499a7c
push 0x103
lea edx, [esp + 0x4c]
push 0x104
push edx
call fcn.0046745c
lea eax, [esp + 0x54]
push 0x104
push eax
call fcn.00467b35
add esp, 0x28
xor ecx, ecx
lea eax, [esp + 0x34]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407c24
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x20]
call fcn.00402210
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
lea esi, [edi + 0x80]
push ecx
mov ecx, esi
mov dword [esp + 0x250], 0
call fcn.00406400
cmp dword [esp + 0x30], 8
jb 0x407c78
mov edx, dword [esp + 0x1c]
push edx
call fcn.00443d03
add esp, 4
mov edi, dword [esp + 0x10]
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x407c89
cmp edi, esi
je 0x407c8e
call fcn.0046767e
mov esi, dword [esp + 0x14]
cmp esi, ebx
jne 0x407c9a
xor eax, eax
jmp 0x407cb0
test edi, edi
jne 0x407cd9
call fcn.0046767e
cmp esi, dword [edi + 0x18]
jne 0x407cad
call fcn.0046767e
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004673e3
add esp, 0x23c
ret 4
mov edi, dword [edi]
jmp 0x407ca3
Function at 0x407ce0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x491e6b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov eax, dword [esp + 0x258]
mov esi, dword [esp + 0x254]
mov edi, ecx
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x42]
push edx
mov dword [esp + 0x1c], eax
mov word [esp + 0x44], cx
call fcn.00467480
push esi
push 0x499a7c
push 0x103
lea eax, [esp + 0x50]
push 0x104
push eax
call fcn.0046745c
lea ecx, [esp + 0x58]
push 0x104
push ecx
call fcn.00467b35
add esp, 0x28
xor edx, edx
lea eax, [esp + 0x38]
mov word [esp + 0x20], dx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407d90
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
call fcn.00402210
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
lea esi, [edi + 0x60]
push edx
mov ecx, esi
mov dword [esp + 0x254], 0
call fcn.00406370
cmp dword [esp + 0x34], 8
jb 0x407de1
mov eax, dword [esp + 0x20]
push eax
call fcn.00443d03
add esp, 4
mov ebx, dword [esi + 0x18]
mov eax, dword [esi]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x407df2
cmp esi, eax
je 0x407df7
call fcn.0046767e
mov edi, dword [esp + 0x18]
cmp edi, ebx
jne 0x407e03
xor eax, eax
jmp 0x407e7d
test esi, esi
jne 0x407ea6
call fcn.0046767e
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x407e1c
call fcn.0046767e
mov ecx, dword [edi + 0x28]
mov ebx, dword [esp + 0x10]
mov dword [ebx], ecx
test esi, esi
jne 0x407ead
call fcn.0046767e
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x407e3e
call fcn.0046767e
mov edx, dword [edi + 0x2c]
mov dword [ebx + 4], edx
test esi, esi
jne 0x407eb1
call fcn.0046767e
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x407e59
call fcn.0046767e
mov eax, dword [edi + 0x30]
mov dword [ebx + 8], eax
test esi, esi
jne 0x407eb5
call fcn.0046767e
cmp edi, dword [esi + 0x18]
jne 0x407e72
call fcn.0046767e
mov ecx, dword [edi + 0x34]
mov dword [ebx + 0xc], ecx
mov eax, 1
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004673e3
add esp, 0x240
ret 8
mov eax, dword [esi]
jmp 0x407e12
mov eax, dword [esi]
jmp 0x407e34
mov eax, dword [esi]
jmp 0x407e4f
mov esi, dword [esi]
jmp 0x407e68
Function at 0x40c180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492368
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CClientSkin.0
mov dword [esp + 0x14], 0xa
call fcn.00409ad0
mov ecx, esi
call fcn.0040bb90
lea ecx, [esi + 0x15c]
mov byte [esp + 0x14], 9
call fcn.0043d5c0
lea ecx, [esi + 0x10c]
mov byte [esp + 0x14], 8
call fcn.0043d5c0
lea ecx, [esi + 0xbc]
mov byte [esp + 0x14], 7
call fcn.0043d5c0
lea ecx, [esi + 0xa0]
call fcn.0040b460
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 5
call fcn.0040a580
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 4
call fcn.0040a500
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 3
call fcn.0040b3e0
mov eax, dword [esi + 0x3c]
sub eax, 0x10
mov byte [esp + 0x14], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c24b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x38]
sub eax, 0x10
mov byte [esp + 0x14], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c26f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x34], 8
jb 0x40c281
mov ecx, dword [esi + 0x20]
push ecx
call fcn.00443d03
add esp, 4
xor edx, edx
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], 0
lea ecx, [esi + 4]
mov word [esi + 0x20], dx
call fcn.0040a430
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x40fef0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0
mov esi, ecx
push esi
push 0x418740
push 0
push 0
mov dword [esp + 0x1c], 0
call fcn.004680e5
add esp, 0x18
mov dword [esi + 0x36c], eax
pop esi
pop ecx
ret

Function at 0x40ff20
Capabilities:
Copy file
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x410], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.00467480
add esp, 0xc
push 1
push 0x23
lea edx, [esp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40fff2
push str.CyGameHall
lea eax, [esp + 4]
push 0x103
push eax
call fcn.00468195
push str.LocalConfig.ini
lea ecx, [esp + 0x10]
push 0x103
push ecx
call fcn.00468195
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22a]
push eax
mov word [esp + 0x22c], dx
call fcn.00467480
push 0x4bc788
lea ecx, [esp + 0x230]
push 0x103
push ecx
call fcn.00468195
push 0x49a228
lea edx, [esp + 0x23c]
push 0x103
push edx
call fcn.00468195
add esp, 0x3c
push 0
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.004673e3
add esp, 0x414
ret
Function at 0x416510
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.00467480
add esp, 0xc
push 1
push 0x23
lea edx, [esp + 0xc]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4165ce
push str.CyGameHall
lea eax, [esp + 8]
push 0x103
push eax
call fcn.00468195
push str.LocalConfig.ini
lea ecx, [esp + 0x14]
push 0x103
push ecx
call fcn.00468195
lea edx, [esp + 0x1c]
push 0
push edx
call fcn.00467bd5
add esp, 0x20
test eax, eax
jne 0x4165ce
lea eax, [esp + 4]
lea edx, [eax + 2]
jmp 0x4165a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4165a0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 8]
push eax
lea ecx, [esi + 0x250]
call fcn.00402210
mov ecx, esi
call fcn.00415140
mov ecx, esi
call fcn.004155a0
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.004673e3
add esp, 0x20c
ret
Function at 0x416d70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x210], eax
mov ecx, dword [esp + 0x21c]
mov eax, dword [esp + 0x218]
push esi
mov esi, dword [esp + 0x224]
lea edx, [esp + 4]
push edx
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
mov word [esi], cx
test eax, eax
jne 0x416df3
push edi
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov edi, eax
test edi, edi
jne 0x416df2
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
mov ecx, dword [esp + 0x214]
pop esi
xor ecx, esp
call fcn.004673e3
add esp, 0x214
ret 0xc

Function at 0x417b80
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x42c
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
mov ebx, dword [esp + 0x43c]
push esi
push edi
mov edi, dword [esp + 0x440]
push 0x424
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x18], 0x428
call fcn.00467480
add esp, 0xc
xor ecx, ecx
push ecx
push 8
mov word [edi], cx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x417c28
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x417c28
push ebp
mov ebp, dword [esp + 0x440]
lea esp, [esp]
mov eax, ebp
sub eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x28]
jb 0x417c0d
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x417bf0
jmp 0x417c27
push 0x103
lea edx, [esp + 0x234]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [esp + 0x24]
mov dword [ebx], eax
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x434]
xor eax, eax
cmp word [edi], ax
pop edi
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.004673e3
add esp, 0x42c
ret 0xc
Function at 0x417dc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x420
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
mov esi, dword [esp + 0x428]
push edi
mov edi, dword [esp + 0x430]
xor ecx, ecx
mov eax, 0x20
mov word [edi], ax
mov word [edi + 2], cx
cmp dword [0x4bc9a0], ecx
jne 0x417e13
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.004673e3
add esp, 0x420
ret
push ebx
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22a]
push eax
mov word [esp + 0x22c], dx
call fcn.00467480
add esp, 0xc
lea ecx, [esp + 0x220]
push ecx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22]
push eax
mov word [esp + 0x24], dx
call fcn.00467480
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 0x103
push 0x49add8
lea edx, [esp + 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 0x80
push 2
push 0
push 0
mov dword [esp + 0x20], eax
push 0x40000000
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
neg esi
push 0
sbb esi, esi
lea ecx, [esp + 0x14]
and esi, ecx
push esi
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4bc9a0]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x103
push edi
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ecx, dword [esp + 0x428]
xor eax, eax
cmp word [edi], ax
pop ebx
pop edi
setne al
pop esi
xor ecx, esp
call fcn.004673e3
add esp, 0x420
ret

Function at 0x417fa0
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x417fdd
push str.CYHALL_8109E841_AE1D_4610_BD78_56E9178A546D
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x417fdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x417fdd
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
Function at 0x418130
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
xor ebx, ebx
lea eax, [esp + 0xc]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x38]
push ecx
xor esi, esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp + 8], eax
cmp eax, ebx
je 0x4181b3
mov eax, dword [esp + 0xc]
lea edx, [esp + 8]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x41819d
cmp dword [esp + 8], ebx
je 0x4181a8
mov esi, 1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004673e3
add esp, 0x14
ret

Function at 0x4181d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 0x11c
lea eax, [esp + 8]
push 0
push eax
call fcn.00467480
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x11c
call esi
test eax, eax
jne 0x41823b
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x114
call esi
test eax, eax
jne 0x41823b
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004673e3
add esp, 0x120
ret
mov ecx, dword [esp + 0x120]
xor eax, eax
cmp dword [esp + 8], 6
pop esi
setge al
xor ecx, esp
call fcn.004673e3
add esp, 0x120
ret
Function at 0x419970
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x493100
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ebx, ebx
xor ecx, ecx
mov word [esp + 0x38], cx
mov ecx, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4199c6
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00402210
push 7
push ebx
push str._direct
lea ecx, [esp + 0x40]
mov dword [esp + 0x68], ebx
call fcn.00410070
cmp eax, 0xffffffff
je 0x419a01
mov byte [0x4bc992], 1
push 5
push ebx
push str._game
lea ecx, [esp + 0x40]
call fcn.00410070
cmp eax, 0xffffffff
je 0x419aa6
push 5
push ebx
push str._game
lea ecx, [esp + 0x40]
call fcn.00410070
mov esi, eax
mov eax, dword [esp + 0x48]
add esi, 7
mov edi, esi
cmp esi, eax
jae 0x419aa6
xor ebp, ebp
cmp edi, eax
jbe 0x419a46
call fcn.0046767e
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x419a55
lea eax, [esp + 0x38]
cmp word [eax + edi*2], 0x22
jne 0x419a9c
push ebp
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x40]
call fcn.00419150
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 0x370
mov byte [esp + 0x68], 1
call fcn.00402110
cmp dword [esp + 0x30], 8
mov byte [esp + 0x5c], bl
jb 0x419a9c
mov eax, dword [esp + 0x1c]
push eax
call fcn.00443d03
add esp, 4
mov eax, dword [esp + 0x48]
inc edi
inc ebp
cmp edi, eax
jb 0x419a46
push 6
push ebx
push str._Admin
lea ecx, [esp + 0x40]
call fcn.00410070
cmp eax, 0xffffffff
je 0x419ac5
mov byte [0x4bc999], 1
jmp 0x419ae1
push 8
push ebx
push str._NoAdmin
lea ecx, [esp + 0x40]
call fcn.00410070
cmp eax, 0xffffffff
je 0x419ae1
mov byte [0x4bc999], bl
cmp dword [esp + 0x4c], 8
jb 0x419af5
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00443d03
add esp, 4
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004673e3
add esp, 0x4c
ret
Function at 0x41b8c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4932bb
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0x444]
mov dword fs:[0], eax
mov edi, dword [esp + 0x454]
mov esi, dword [esp + 0x458]
mov ebx, dword [esp + 0x460]
xor eax, eax
test edi, edi
je 0x41ba0d
push 0x206
push eax
lea ecx, [esp + 0x242]
push ecx
mov word [esp + 0x244], ax
call fcn.00467480
add esp, 0xc
lea edx, [esp + 0x238]
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x3a]
push ecx
mov word [esp + 0x3c], ax
call fcn.00467480
add esp, 0xc
lea edx, [esp + 0x30]
push edx
push 0x103
push 0x49b2bc
lea eax, [esp + 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0x49b2b8
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004693e0
add esp, 0xc
test eax, eax
je 0x41b9a0
xor eax, eax
jmp 0x41ba0d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41b99c
mov ecx, dword [esp + 0x45c]
push ecx
push eax
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.0041b540
add esp, 0x10
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov dword [esp + 0x458], 0
call fcn.00402110
lea ecx, [esp + 0x14]
call fcn.004053a0
mov eax, dword [esp + 0x10]
push eax
call fcn.00468a4e
add esp, 4
push 0x103
push esi
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
xor eax, eax
cmp word [esi], ax
setne al
mov ecx, dword [esp + 0x444]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.004673e3
add esp, 0x440
ret
Function at 0x41ba40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
mov esi, dword [esp + 0x424]
push edi
mov edi, dword [esp + 0x424]
xor eax, eax
test edi, edi
je 0x41bb57
push 0x206
push eax
lea ecx, [esp + 0x21e]
push ecx
mov word [esp + 0x220], ax
call fcn.00467480
add esp, 0xc
lea edx, [esp + 0x214]
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.00467480
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 0x103
push 0x49b2c4
lea eax, [esp + 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0x49b2b8
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.004693e0
add esp, 0xc
test eax, eax
je 0x41bb0a
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004673e3
add esp, 0x418
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x41baf1
mov ecx, dword [esp + 0x430]
mov edx, dword [esp + 0x42c]
push ecx
push edx
push eax
push edi
call fcn.0041b720
mov eax, dword [esp + 0x18]
push eax
call fcn.00468a4e
add esp, 0x14
push 0x103
push esi
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
xor eax, eax
cmp word [esi], ax
setne al
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
xor ecx, esp
call fcn.004673e3
add esp, 0x418
ret
Function at 0x41e530
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x41e57f
cmp word [eax], 0
je 0x41e57f
push esi
push 0
push 0x8000027
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41e565
xor eax, eax
pop esi
ret 4
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret 4
xor eax, eax
ret 4

Function at 0x422661
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push str.www.17173.com
lea ecx, [esi + 0x2984]
call fcn.00427210
push 8
push str.platform
lea ecx, [esi + 0x38b4]
mov dword [esp + 0xc], 0
mov dword [esi + 0x38b0], 0xb
call fcn.00402210
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x421950
push 0
push 0
call fcn.004680e5
add esp, 0x18
pop esi
pop ecx
ret
Function at 0x423370
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x493d06
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0x850]
mov dword fs:[0], eax
xor eax, eax
push 0x7fe
mov esi, ecx
push eax
lea ecx, [esp + 0x56]
push ecx
mov word [esp + 0x58], ax
call fcn.00467480
add esp, 0xc
cmp dword [esi + 0x2f58], 8
jb 0x4233d8
mov ebp, dword [esi + 0x2f44]
jmp 0x4233de
lea ebp, [esi + 0x2f44]
push ebp
mov ecx, esi
call fcn.0041e530
mov edi, eax
test edi, edi
je 0x423526
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00443d0e
push edi
mov ebx, eax
push 0
push ebx
call fcn.00467480
push 0x800
lea eax, [esp + 0x60]
push 0
push eax
call fcn.00467480
add esp, 0x1c
push ebp
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
test eax, eax
jne 0x423440
push ebx
call fcn.00443d03
add esp, 4
jmp 0x423526
push 0x400
lea ecx, [esp + 0x50]
push 0
push ecx
call fcn.00467480
add esp, 0xc
push ebp
push 0x400
lea edx, [esp + 0x54]
push edx
push 0x499b28
push str.NewCYHall
push 0x49c874
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x423526
lea eax, [esp + 0x4c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423483
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esi + 0x2f5c]
call fcn.00402210
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00422e90
push 0xffffffffffffffff
push 0
lea edi, [esi + 0x2f78]
push eax
mov ecx, edi
mov dword [esp + 0x864], 0
call fcn.00402110
lea ecx, [esp + 0x14]
mov dword [esp + 0x858], 0xffffffff
call fcn.004053a0
mov eax, dword [0x4b83b8]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00422e90
lea edx, [esp + 0x30]
push edi
push edx
mov dword [esp + 0x860], 1
call fcn.00405200
add esp, 8
lea ecx, [esp + 0x30]
test al, al
je 0x423521
call fcn.004053a0
mov al, 1
jmp 0x423528
call fcn.004053a0
xor al, al
mov ecx, dword [esp + 0x850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.004673e3
add esp, 0x848
ret