joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421159
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x50c], eax
mov byte [ebp - 0x4f9], bl
mov dword [ebp - 0x500], ebx
cmp byte [ebp - 0x4f9], bl
jne 0x421350
push 0xff
lea eax, [ebp - 0x103]
push ebx
push eax
mov byte [ebp - 0x104], bl
call fcn.00435bd0
push 0x3e7
lea eax, [ebp - 0x4eb]
push ebx
push eax
mov byte [ebp - 0x4ec], bl
call fcn.00435bd0
push dword [ebp - 0x500]
lea eax, [ebp - 0x104]
push str..PhysicalDrive_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x504], eax
cmp eax, 0xffffffff
je 0x42133d
push 0x2710
push 8
mov dword [ebp - 0x508], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
je 0x421331
xor eax, eax
lea edi, [ebp - 0x4f8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x508]
push eax
mov edi, 0x2710
push edi
push esi
push 0xc
lea eax, [ebp - 0x4f8]
push eax
push 0x2d1400
push dword [ebp - 0x504]
mov dword [ebp - 0x4f8], ebx
mov dword [ebp - 0x4f4], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4212a4
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x4212a4
lea ecx, [ebp - 0x4ec]
push ecx
add eax, esi
push eax
call fcn.00421c83
lea eax, [ebp - 0x4ec]
push eax
call fcn.00421dea
movsx ax, byte [ebp - 0x4ec]
movzx eax, ax
add esp, 0xc
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
jne 0x421304
push edi
push ebx
push esi
call fcn.00435bd0
add esp, 0xc
push ebx
lea eax, [ebp - 0x508]
push eax
push edi
push esi
push ebx
push ebx
push 0x2d0c10
push dword [ebp - 0x504]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x421322
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x4ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x4ec]
push eax
call fcn.00421dea
movsx ax, byte [ebp - 0x4ec]
movzx eax, ax
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x421322
push 0x31
lea eax, [ebp - 0x4ec]
push eax
push dword [ebp - 0x50c]
call fcn.004384c0
mov byte [ebp - 0x4f9], 1
add esp, 0xc
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x504]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x500]
cmp dword [ebp - 0x500], 0x10
jl 0x421186
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x4f9]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435bbb
leave
ret
Function at 0x421514
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push str..SMARTVSD
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x4215d3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, 0x104
push esi
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
push 8
mov dword [ebp - 8], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], ebx
je 0x4215ba
cmp eax, ebx
je 0x4215ad
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.SMARTVSD.VXD
push dword [ebp - 8]
call esi
push str.IOSUBSYSSMARTVSD.VXD
push dword [ebp - 0xc]
call esi
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push dword [ebp - 8]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0xc], ebx
je 0x4215cc
push dword [ebp - 0xc]
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor al, al
jmp 0x4216f0
push 0x21
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
push 0x210
push 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
mov dword [ebp - 8], eax
cmp esi, ebx
je 0x4216ce
cmp eax, ebx
je 0x4216bf
mov dword [ebp - 0xc], ebx
cmp byte [ebp - 1], bl
jne 0x4216bf
push 8
pop ecx
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, 0x210
push edi
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x14], ebx
call fcn.00435bd0
mov al, byte [ebp - 0xc]
add esp, 0xc
push ebx
mov byte [esi + 0xc], al
lea eax, [ebp - 0x14]
push eax
push edi
mov edi, dword [ebp - 8]
push edi
push 0x20
push esi
push 0x7c088
push dword [ebp - 0x10]
mov dword [esi], 0x200
mov dword [esi + 4], 0x10100
mov word [esi + 8], 0xa000
mov byte [esi + 0xa], 0xec
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4216b2
add edi, 0x24
mov eax, edi
call fcn.004214fd
push 0x31
push ebx
push dword [ebp + 8]
call fcn.00435bd0
push 0x14
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.004384c0
push edi
call fcn.00421dea
movsx ax, byte [edi]
movzx eax, ax
add esp, 0x1c
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x4216b2
mov byte [ebp - 1], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
jl 0x42160e
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 8], ebx
je 0x4216e4
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4219d7
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x198]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x421a06
xor al, al
jmp 0x421acc
mov eax, dword [0x4784c8]
xor edi, edi
cmp eax, edi
jne 0x421a2e
push str.inetmib1.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4784c8], eax
cmp eax, 0x20
jae 0x421a2e
mov dword [0x4784c8], edi
jmp 0x4219ff
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x4784cc], edi
jne 0x421a4d
push str.SnmpExtensionInit
push eax
call esi
mov dword [0x4784cc], eax
cmp eax, edi
je 0x4219ff
push 0x478440
push 0x47843c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [0x4784cc]
cmp dword [0x4784d0], edi
jne 0x421a86
push str.SnmpExtensionInitEx
push dword [0x4784c8]
call esi
mov dword [0x4784d0], eax
cmp eax, edi
je 0x4219ff
cmp dword [0x4784d4], edi
jne 0x421aa8
push str.SnmpExtensionQuery
push dword [0x4784c8]
call esi
mov dword [0x4784d4], eax
cmp eax, edi
je 0x4219ff
cmp dword [0x4784d8], edi
jne 0x421aca
push str.SnmpExtensionTrap
push dword [0x4784c8]
call esi
mov dword [0x4784d8], eax
cmp eax, edi
je 0x4219ff
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00435bbb
leave
ret

Function at 0x421f10
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x422a11
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push eax
mov dword [ebp - 0x70], ecx
mov byte [ebp - 0x5d], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x6c], eax
cmp eax, 0xffffffff
je 0x422aca
push ebx
push edi
lea eax, [ebp - 0x5c]
call fcn.00421f10
mov ebx, 0xa000
push ebx
call fcn.004303a6
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
pop ecx
push esi
lea ecx, [ebp - 0x64]
push ecx
push ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], esi
push eax
jmp 0x422a99
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x422aa4
push dword [ebp - 0x68]
lea esi, [ebp - 0x5c]
call fcn.00421f40
and dword [ebp - 0x64], 0
pop ecx
push 0
lea eax, [ebp - 0x64]
push eax
push ebx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
call edi
test eax, eax
jne 0x422a78
jmp 0x422aa8
mov byte [ebp - 0x5d], 1
push dword [ebp - 0x68]
call fcn.00439259
mov ebx, dword [ebp - 0x70]
push 0x10
lea ecx, [ebp - 0x5c]
call fcn.00421ff0
pop ecx
pop ecx
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x5d]
xor ecx, ebp
pop esi
call fcn.00435bbb
leave
ret
Function at 0x422bb0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x422c97
mov eax, esi
lea edx, [eax + 2]
jmp 0x422be0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422be0
sub eax, edx
sar eax, 1
je 0x422c97
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422c20
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x422c20
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bbb
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00435bd0
add esp, 0xc
push 0x104
push esi
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x20c]
push edi
push edx
call fcn.00422bb0
add esp, 8
test eax, eax
je 0x422c97
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bbb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00435bbb
mov esp, ebp
pop ebp
ret

Function at 0x4236c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x430]
push 4
push eax
call fcn.00423f20
mov esi, 8
add esp, 8
cmp dword [eax + 0x14], esi
jb 0x4236f6
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x20c]
push str._sSEMini_Logs
push ecx
call fcn.004236a0
add esp, 0xc
cmp dword [ebp - 0x41c], esi
jb 0x423722
mov edx, dword [ebp - 0x430]
push edx
call fcn.00435bb0
add esp, 4
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push str._s_s.txt
push edx
call fcn.004236a0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x414]
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x4237bb
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push str._s_s.txt
push edx
call fcn.004236a0
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x414]
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x423775
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435bbb
mov esp, ebp
pop ebp
ret 4
Function at 0x423940
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4239b4
push ebx
lea ebx, [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi], 0
jne 0x4239ac
push edi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push 0
mov edi, eax
push edi
push 0x4237e0
push 0
push 0
call fcn.004381db
add esp, 0x18
test eax, eax
jne 0x42399b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
cmp dword [esi], eax
pop ebx
setne al
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
xor eax, eax
cmp dword [esi], eax
pop esi
setne al
ret
Function at 0x424ec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x424ed8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
push edi
lea edx, [esi + 8]
push edx
push 0
mov dword [esi + 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x424dc0
push 0
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 8], esi
mov dword [ebp - 4], ecx
call fcn.004381db
add esp, 0x18
xor edi, edi
mov dword [esi + 4], eax
test eax, eax
mov eax, dword [ebp - 4]
je 0x424f2b
test eax, eax
je 0x424f26
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 4]
mov edi, 1
test eax, eax
je 0x424f3d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x424f50
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esi + 4]
test eax, eax
je 0x424f93
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x424f82
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
pop esi
pop ebp
ret 4

Function at 0x424fa0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov dword [esi], vtable.SINGLE_THREAD::SingleThread.0
test eax, eax
je 0x424fe0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x424fcf
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
test byte [ebp + 8], 1
je 0x424fef
push esi
call fcn.00435bb0
add esp, 4
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x426a20
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push edi
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00426430
add esp, 0xc
xor ecx, ecx
push 0x11
mov word [ebp - 0x3c], cx
push str.SogouMiniGame.exe
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], edi
call fcn.00401db0
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00425070
mov ebx, 8
add esp, 8
cmp dword [ebp - 0x28], ebx
jb 0x426a88
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00435bb0
add esp, 4
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xc], ebx
jae 0x426a93
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426b2d
push 0x38
lea edx, [ebp - 0x74]
push edi
push edx
call fcn.00435bd0
add esp, 0xc
mov dword [ebp - 0x78], 0x3c
mov dword [ebp - 0x74], 0x40
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], str.open
cmp dword [ebp - 0xc], ebx
jb 0x426ad6
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x68], eax
jmp 0x426adc
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x68], ecx
lea edx, [ebp - 0x78]
push edx
mov dword [ebp - 0x64], str._frominstall
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], 5
mov dword [ebp - 0x58], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [0x4762cc], edi
jne 0x426b1c
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x426b6e
push esi
push str.MiniGamePacker_start_minigame_result.__d
jmp 0x426b61
cmp dword [0x4762cc], edi
jne 0x426b47
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x426b6e
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xc], ebx
jae 0x426b5b
lea eax, [ebp - 0x20]
push eax
push str.MiniGamePacker_start_minigame_failed._mini_game_not_exist.__s
push str.Log_Debug
call fcn.00423a60
add esp, 0xc
cmp dword [ebp - 0xc], ebx
pop edi
pop esi
pop ebx
jb 0x426b82
mov eax, dword [ebp - 0x20]
push eax
call fcn.00435bb0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bbb
mov esp, ebp
pop ebp
ret
Function at 0x4291d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00435bd0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42923d
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x42922d
cmp eax, 4
jne 0x42923d
cmp dword [ebp - 0x110], 0x5a
jb 0x42923d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bbb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.00435bbb
mov esp, ebp
pop ebp
ret

Function at 0x4297f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x12c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x476304
call fcn.00429670
lea ecx, [esi + 0x168]
mov edi, eax
lea edx, [ebp - 4]
mov dword [ebp - 4], ecx
push edx
lea ecx, [edi + 4]
call fcn.004287c0
lea eax, [ebp - 4]
add esi, 0x16c
push eax
lea ecx, [edi + 0x10]
mov dword [ebp - 4], esi
call fcn.004288d0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42c3c0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push edi
or ecx, 0x2001f
push ecx
xor ebx, ebx
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x208], ebx
call fcn.0042b7d0
mov edi, eax
cmp edi, ebx
je 0x42c43a
mov eax, dword [ebp - 0x210]
cmp eax, ebx
je 0x42c425
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bbb
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
mov dword [ebp - 0x214], 0x100
call ebx
test eax, eax
jne 0x42c4b8
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.0042c3c0
mov edi, eax
test edi, edi
jne 0x42c4f1
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push eax
push eax
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push edi
push edx
mov dword [ebp - 0x214], 0x100
call ebx
test eax, eax
je 0x42c470
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp eax, edi
je 0x42c4d3
push eax
call ebx
mov dword [ebp - 0x210], edi
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x20c], edi
push eax
cmp ecx, edi
je 0x42c51b
mov edx, dword [esi]
push edx
call fcn.0042b4c0
jmp 0x42c524
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x42c425
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bbb
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [ebp - 0x210]
cmp eax, edi
je 0x42c533
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435bbb
mov esp, ebp
pop ebp
ret 4
Function at 0x42e220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x40c], ecx
xor ecx, ecx
push 2
push ecx
push eax
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x408], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x42e26f
call fcn.0042b390
mov esi, eax
jmp 0x42e316
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x42e288
call fcn.0042b390
jmp 0x42e30d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x42e29d
call fcn.0042b390
jmp 0x42e30d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x42e2b5
mov esi, 0x8007000e
jmp 0x42e30f
push eax
lea ecx, [ebp - 0x408]
call fcn.0042ce30
mov eax, dword [ebp - 0x408]
test eax, eax
jne 0x42e2d2
mov esi, 0x8007000e
jmp 0x42e30f
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x42e2eb
call fcn.0042b390
jmp 0x42e30d
mov edx, dword [ebp - 0x408]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x408]
push eax
push ecx
lea ecx, [ebp - 0x410]
call fcn.0042de20
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x404]
cmp dword [ebp - 0x408], edx
je 0x42e330
lea ecx, [ebp - 0x408]
call fcn.0042c2a0
nop
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435bbb
mov esp, ebp
pop ebp
ret 0x10