joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4413a7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 0x18], 8
jb 0x4413b6
mov eax, dword [eax + 4]
jmp 0x4413b9
add eax, 4
push esi
push edi
xor esi, esi
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, esi
je 0x4413da
cmp edi, 0xffffffff
jne 0x4413e1
or eax, 0xffffffff
pop edi
pop esi
leave
ret
push esi
lea eax, [ebp - 4]
push eax
push 0xa
pop esi
push esi
push str.0123456789
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44140a
cmp dword [ebp - 4], esi
jne 0x44140a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x4413dd
or esi, 0xffffffff
jmp 0x4413ff

Function at 0x44321d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
mov esi, edx
jne 0x443228
xor eax, eax
pop esi
ret
cmp eax, 8
push ebx
not esi
mov edx, 0xff
jb 0x4432da
push edi
mov edi, eax
shr edi, 3
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4c7bc8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4c7bc8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4c7bc8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4c7bc8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4c7bc8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4c7bc8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4c7bc8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4c7bc8]
inc ecx
sub eax, 8
dec edi
jne 0x44323f
pop edi
test eax, eax
je 0x4432f3
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4c7bc8]
inc ecx
dec eax
jne 0x4432de
mov eax, esi
pop ebx
not eax
pop esi
ret

Function at 0x4432fa
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x4c7bc8]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x4c7bc8]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x4439ee
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x443a1e
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x443a19
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x443a46
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x443a2f
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret
Function at 0x444640
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
push edi
jne 0x4446ba
cmp dword [esi + 4], 0xffffffff
jne 0x4446ba
lea edi, [esi + 0x244]
push edi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call dword [sym.imp.MSVCR80.dll_wcslen]
lea eax, [esi + eax*2 + 0x242]
pop ecx
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x44468a
cmp cx, 0x2f
je 0x44468a
and word [eax + 4], 0
mov word [eax + 2], 0x2f
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.004438ee
test eax, eax
pop ecx
pop ecx
jne 0x4446a1
mov eax, dword [ebp + 8]
jmp 0x4446bf
push eax
call fcn.00443c63
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x4446bf
mov eax, 0x1000000
pop edi
pop ebp
ret 4

Function at 0x444c40
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x4f1020]
xor eax, ebp
mov dword [ebp + 0x394], eax
push ebx
mov ebx, dword [ebp + 0x3a0]
test ebx, ebx
push esi
mov esi, dword [ebp + 0x3a4]
push edi
mov edi, dword [sym.imp.MSVCR80.dll_wcsncpy]
je 0x444cc3
push 0x104
lea eax, [ebp - 0x7c]
push ebx
push eax
call edi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
add esp, 0x10
test eax, eax
jbe 0x444ca8
lea eax, [ebp + eax*2 - 0x7e]
movzx ecx, word [eax]
cmp cx, 0x2f
je 0x444ca4
cmp cx, 0x5c
jne 0x444ca8
and word [eax], 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x444cc3
push 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx ecx, word [esi]
test cx, cx
je 0x444d8e
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x444ce2
cmp cx, 0x5c
jne 0x444ce4
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x444cd6
cmp eax, esi
je 0x444d1c
sub eax, esi
sar eax, 1
add eax, eax
push eax
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push esi
push eax
call sub.MSVCR80.dll_memcpy
mov eax, dword [ebp - 0x80]
and word [ebp + eax - 0x7c], 0
lea eax, [ebp - 0x7c]
push eax
push ebx
call fcn.00444c40
add esp, 0x14
and word [ebp + 0x18c], 0
test ebx, ebx
je 0x444d3a
push 0x104
lea eax, [ebp + 0x18c]
push ebx
push eax
call edi
add esp, 0xc
and word [ebp + 0x392], 0
lea eax, [ebp + 0x18c]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
mov ecx, 0x104
sub ecx, eax
push ecx
lea eax, [ebp + eax*2 + 0x18c]
push esi
push eax
call edi
and word [ebp + 0x392], 0
add esp, 0x10
lea eax, [ebp + 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x444d8e
push 0
lea eax, [ebp + 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp + 0x394]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00499bb9
add ebp, 0x398
leave
ret
Function at 0x445587
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
lea edi, [ebp - 0x10]
lea esi, [ebp - 8]
mov dword [ebp - 0xc], eax
call fcn.0049497f
test al, al
je 0x445618
mov edi, dword [ebp - 8]
test edi, edi
jne 0x4455c9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebp - 4]
cmp esi, dword [edi + 4]
jne 0x4455d7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esi + 8]
test esi, esi
je 0x445602
cmp dword [esi + 0xc], 0
jne 0x445602
call ebx
sub eax, dword [esi + 8]
cmp eax, dword [esi + 4]
jb 0x44560b
call ebx
mov ecx, dword [esi]
test ecx, ecx
mov dword [esi + 8], eax
je 0x44560b
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax]
jmp 0x44560b
mov eax, dword [ebp + 8]
push esi
call fcn.0044561f
lea esi, [ebp - 8]
call fcn.0048206a
mov eax, dword [ebp + 0xc]
jmp 0x4455a7
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x446ca2
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x4b85d3
call fcn.004afcf2
mov esi, ecx
push 0xc
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
xor edi, edi
cmp eax, edi
pop ecx
jne 0x446cc2
xor ebx, ebx
jmp 0x446ce6
mov ecx, dword [ebp + 8]
push edi
push edi
push eax
push 0x447e5e
push edi
push edi
mov dword [eax], esi
mov dword [eax + 8], ecx
mov dword [eax + 4], 0x446d53
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov ebx, eax
lea eax, [esi + 0x44]
push eax
mov dword [ebp + 8], ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esi, 0x14
mov dword [ebp - 4], edi
mov eax, dword [esi + 4]
cmp eax, edi
je 0x446d0b
mov edi, dword [esi + 0xc]
sub edi, eax
sar edi, 2
mov eax, esi
call fcn.0047427b
cmp eax, edi
jae 0x446d23
mov eax, dword [esi + 8]
mov dword [eax], ebx
add eax, 4
mov dword [esi + 8], eax
jmp 0x446d42
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
jbe 0x446d31
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.0044743b
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004afdca
ret 4
Function at 0x449156
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4f1020]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
xor esi, esi
push 0x206
lea eax, [ebp - 0x7e]
push esi
push eax
mov word [ebp - 0x80], si
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp ebx, esi
je 0x4491f4
push edi
push 1
push 0x23
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
mov edi, dword [sym.imp.MSVCR80.dll_wcscat_s]
mov esi, 0x104
jne 0x4491cb
push esi
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4491f3
push 0x4cacd0
lea eax, [ebp - 0x80]
push esi
push eax
call edi
add esp, 0xc
push 0x4cebe4
lea eax, [ebp - 0x80]
push esi
push eax
call edi
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
add esp, 0x10
cmp eax, esi
jae 0x4491f3
lea eax, [ebp - 0x80]
push eax
push esi
push ebx
call edi
add esp, 0xc
pop edi
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
pop esi
call fcn.00499bb9
add ebp, 0x18c
leave
ret

Function at 0x44937e
Capabilities:
Encode data using xor

Disassembly:
push 0xc
mov eax, 0x4b2be4
call fcn.004afd5b
mov eax, dword [0x4f7c54]
xor esi, esi
mov ecx, 0x4f7c54
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
call dword [section..data]
cmp dword [ebp + 0xc], esi
mov ebx, eax
je 0x4493c3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4493c7
xor eax, eax
jmp 0x4493dd
lea edi, [eax + eax]
mov eax, edi
call fcn.004afe10
mov esi, esp
push ebx
push edi
push dword [ebp + 0xc]
call fcn.00449123
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004035b3
mov edi, dword [ebp - 0x18]
movzx eax, word [edi - 0xc]
mov dword [ebp - 0x14], eax
movzx eax, ax
xor ecx, ecx
test eax, eax
jle 0x449403
xor byte [ecx + edi], 0x88
inc ecx
cmp ecx, eax
jl 0x4493fa
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 2
add esi, 4
pop ebx
call fcn.00449230
movzx ebx, word [ebp - 0x14]
push edi
call fcn.00449230
lea eax, [edi - 0x10]
call fcn.0040113b
lea esp, [ebp - 0x28]
call fcn.004afdde
ret 8
Function at 0x44953c
Capabilities:
Write file on windows

Disassembly:
push 0x10
mov eax, 0x4b3c02
call fcn.004afcf2
mov esi, ecx
mov eax, dword [0x4f7c54]
or dword [ebp - 0x18], 0xffffffff
mov ecx, 0x4f7c54
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
push eax
push ecx
push edi
call fcn.00419f66
push edi
mov ebx, eax
call dword [sym.imp.MSVCR80.dll__time32]
add esp, 0x10
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
movzx eax, word [esi + 0x2c]
push edx
push dword [ebp - 0x14]
push ebx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0x4cebb8
call fcn.00403566
mov ebx, dword [esi + 0x18]
mov esi, dword [esi + 0x10]
add esp, 0x18
push edi
push edi
push 2
push edi
push 1
push 0x40000000
push dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
je 0x449607
push edi
lea ecx, [ebp + 8]
push ecx
push ebx
push esi
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4495f6
cmp dword [ebp + 8], ebx
jne 0x4495f6
mov dword [ebp - 0x14], 1
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x449607
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040113b
mov eax, dword [ebp - 0x18]
call fcn.004afdca
ret 4

Function at 0x449c8d
Capabilities:
Check mutex on windows

Disassembly:
push 0xc
mov eax, 0x4b7cc6
call fcn.004afcf2
mov eax, dword [ebp + 8]
xor edi, edi
cmp dword [eax + 4], edi
je 0x449d2e
mov dword [ebp - 0x18], vtable.KEvent.0
mov dword [ebp - 0x14], edi
push 0x4c8bd8
lea esi, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.00449c40
push str.PopCenterImpl_Exist
push edi
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x449ce0
inc esi
cmp ebx, edi
je 0x449ceb
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
je 0x449d26
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044cbe5
test al, al
je 0x449d26
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044cd17
cmp eax, 1
je 0x449d26
push dword [ebp + 0xc]
call fcn.0044cc97
lea ecx, [ebp - 0x18]
call fcn.00449c23
xor eax, eax
jmp 0x449d31
lea ecx, [ebp - 0x18]
call fcn.00449c23
xor eax, eax
inc eax
call fcn.004afdca
ret 8
Function at 0x44a042
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x4b2fa3
call fcn.004afcf2
mov esi, ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x10]
and dword [ebp - 4], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x14]
push 1
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
mov eax, dword [ebp - 0x10]
setg cl
add eax, 0xfffffff0
mov esi, ecx
call fcn.0040113b
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040113b
mov eax, esi
call fcn.004afdca
ret

Function at 0x44a455
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x4b636e
call fcn.004afcf2
mov eax, dword [0x4f7c54]
mov ecx, 0x4f7c54
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
xor ebx, ebx
lea ecx, [ebp - 0x14]
call fcn.0044027b
mov byte [ebp - 4], 1
mov ebx, dword [eax]
lea eax, [ebp - 0x10]
call fcn.0044a4d4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040113b
mov ebx, str.data_settingdata.ini
lea eax, [ebp - 0x10]
call fcn.0044a4d4
mov esi, dword [ebp - 0x10]
push esi
push 1
push str.centerpop
push str.guide
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea eax, [esi - 0x10]
call fcn.0040113b
mov eax, edi
call fcn.004afdca
ret
Function at 0x44cf04
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4f1020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp ecx, ebx
lea edi, [ebp - 0xb]
mov byte [ebp - 0xc], bl
mov dword [ebp - 0x10], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x18], ebx
je 0x44cff0
cmp word [ecx], bx
je 0x44cff0
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x14], edi
je 0x44cff0
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jbe 0x44cfe6
push ebx
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
test eax, eax
je 0x44cfe6
lea ecx, [ebp - 0xc]
call fcn.0044d036
test eax, eax
je 0x44cfe6
add esi, 0xfffffffc
lea eax, [esi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x44cfe6
mov eax, dword [ebp - 0x1c]
push ebx
push ebx
push 4
push dword [ebp - 0x14]
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x44cfe6
mov edx, dword [ebp - 0x10]
call fcn.0044d001
test eax, eax
jge 0x44cfe6
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop ebx
call fcn.00499bb9
leave
ret

Function at 0x44d001
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x44d030
test esi, esi
jbe 0x44d030
mov ecx, esi
shr ecx, 2
push 0
pop eax
je 0x44d01f
xor dword [edx + eax*4], 0xd8d8d8d8
inc eax
cmp eax, ecx
jb 0x44d013
shl eax, 2
jmp 0x44d029
xor byte [eax + edx], 0xd8
inc eax
cmp eax, esi
jb 0x44d024
xor eax, eax
ret
mov eax, 0x80004005
ret
Function at 0x45027b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push str.software_sysoptasst_ascommon
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x450329
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call edi
cmp dword [ebp - 0xc], 1
je 0x4502ce
cmp dword [ebp - 0xc], 2
jne 0x450328
push esi
mov esi, dword [ebp + 0xc]
call fcn.004013b3
mov eax, dword [ebp - 8]
shr eax, 1
inc eax
push eax
call fcn.004013f3
mov esi, eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call edi
test eax, eax
jne 0x45030b
mov eax, dword [ebp - 8]
shr eax, 1
mov word [esi + eax*2], bx
mov dword [ebp - 0x10], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, ebx
jne 0x450318
xor eax, eax
jmp 0x450320
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
mov edx, esi
call fcn.004014d9
pop esi
pop edi
cmp dword [ebp - 4], ebx
pop ebx
je 0x450338
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x4503d9
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x58
mov eax, 0x4b8b8c
call fcn.004afcf2
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x58], ebx
je 0x4503f6
xor eax, eax
jmp 0x4505a4
mov dword [ebp - 0x40], vtable.KTime.0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
call fcn.0044041c
pop ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004036df
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x4ce760
push 0x104
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004013f3
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebp - 0x10], ebx
jne 0x45044b
xor eax, eax
jmp 0x450455
push dword [ebp - 0x10]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x10]
call fcn.004014d9
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x450492
xor ebx, ebx
lea ecx, [ebp - 0x24]
call fcn.0044027b
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040ecd7
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040113b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.ressrcchsuplive.svr
push eax
lea ecx, [ebp - 0x14]
call fcn.00403aea
lea eax, [ebp - 0x18]
push str.datakswitch.dat
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00403aea
add esp, 0x10
mov byte [ebp - 4], 5
push dword [ebp - 0x1c]
push ebx
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
lea eax, [ebp - 0x64]
push eax
call fcn.0045004f
pop ecx
lea eax, [ebp - 0x24]
push eax
call fcn.0045033d
mov edx, dword [ebp - 0x24]
pop ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ebx
call fcn.00439a48
test eax, eax
je 0x450506
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ebx
jmp 0x45050e
lea ebx, [ebp - 0x40]
call fcn.004398c3
lea eax, [ebp - 0x50]
push eax
call fcn.004398ee
pop ecx
mov edx, eax
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x30]
call fcn.004398a8
mov byte [ebp - 4], 7
mov dword [edi + 0xc], esi
add edi, 0x3c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x50], vtable.KTime.0
call fcn.0040ecd7
mov edi, dword [ebp + 8]
lea esi, [edi + 0x40]
lea ebx, [ebp - 0x64]
call fcn.0044d387
push 0
push 0x15180
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.004af8c0
mov ecx, edi
mov dword [edi + 0x54], eax
call fcn.0044d3c1
xor ebx, ebx
inc ebx
lea esi, [ebp - 0x64]
mov dword [edi + 0x58], ebx
call fcn.0044d18b
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040113b
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040113b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040113b
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040113b
mov eax, ebx
call fcn.004afdca
ret 4
Function at 0x450d24
Capabilities:
Create process on windows

Disassembly:
push 0x58
mov eax, 0x4b3a4c
call fcn.004afcf2
push 0x40
xor esi, esi
lea eax, [ebp - 0x60]
push esi
push eax
xor ebx, ebx
call sub.MSVCR80.dll_memset
xor eax, eax
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x4f7c54]
xor edi, edi
inc edi
add esp, 0xc
mov ecx, 0x4f7c54
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 0x4cdb24
call fcn.00403566
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x10]
mov word [ebp - 0x34], 0xa
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x450dab
mov ebx, edi
cmp dword [ebp - 0x20], esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x450dbe
push dword [ebp - 0x20]
call edi
mov dword [ebp - 0x20], esi
cmp dword [ebp - 0x1c], esi
je 0x450dcb
push dword [ebp - 0x1c]
call edi
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040113b
mov eax, ebx
call fcn.004afdca
ret

Function at 0x4515c5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
call fcn.0043d186
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp + 8]
movzx eax, al
test eax, eax
mov dword [ecx + 0x688], eax
je 0x451612
push str.https:__wpa1.qq.com_GcXc33PK__typewpaqidiantrue
lea eax, [ebp + 8]
push eax
call fcn.0040136c
push 1
push 0
push 0
push dword [ebp + 8]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040113b
pop ebp
ret 4