joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434760
Capabilities:
Check if file exists
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4347f8
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4347f8
push ebx
push edi
xor edi, edi
push edi
push edi
push edi
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4347ea
push edi
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4347e3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347dc
mov ecx, dword [eax + 0x3c]
mov edx, 1
cmp dword [eax + ecx], 0x4550
cmove edi, edx
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x434810
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x597644]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x595f2c]
test ecx, ecx
js 0x434858
xor eax, eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x118
xorps xmm0, xmm0
mov dword [0x595f2c], 0
lea eax, [ebp - 0x124]
movaps xmmword [ebp - 0x160], xmm0
push 0
push eax
movaps xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0
call fcn.004dda00
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4348c9
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x434920
push str.GetNativeSystemInfo
push 0x550368
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x434920
lea ecx, [ebp - 0x160]
push ecx
call eax
mov ax, word [ebp - 0x160]
cmp ax, 9
je 0x434900
cmp ax, 6
jne 0x434920
mov dword [0x595f2c], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4349f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53923b
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x597644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x300]
push eax
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2fc], edi
push eax
push 0x551950
push str.http
push 1
push 0
mov dword [ebp - 0x300], 0x168
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
js 0x434c47
xor eax, eax
mov dword [ebp - 0x2e8], 0
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434a81
sub ecx, edx
lea eax, [ebp - 0x2e0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2f8]
call fcn.004282d0
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x2f8]
mov eax, dword [ebp - 0x2e8]
cmovae ecx, dword [ebp - 0x2f8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x304], ecx
cmp eax, 2
jb 0x434af8
lea ebx, [ecx + eax*2]
mov eax, ecx
lea ecx, [ebx - 2]
sub ecx, eax
sar ecx, 1
je 0x434af2
nop dword [eax]
cmp word [eax], 0x25
je 0x434bc7
add eax, 2
sub ecx, 1
jne 0x434ae0
mov edi, dword [ebp - 0x2fc]
push 1
push 0x551970
lea ecx, [ebp - 0x2f8]
call fcn.00436f30
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434b10
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2f8]
call fcn.00436f30
mov ecx, 0x44
lea eax, [ebp - 0x358]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x434b37
mov ecx, 0x10
lea eax, [ebp - 0x314]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x434b50
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x314]
push ecx
lea ecx, [ebp - 0x358]
mov dword [ebp - 0x358], 0x44
push ecx
lea eax, [ebp - 0x2f8]
cmovae eax, dword [ebp - 0x2f8]
push 0
push eax
push 0
call fcn.00435d10
add esp, 0x14
test eax, eax
je 0x434c3c
push dword [ebp - 0x314]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x310]
call esi
lea ecx, [ebp - 0x2f8]
call fcn.00421740
mov eax, 1
jmp 0x434c66
test eax, eax
je 0x434af2
mov edx, 0x551968
mov edi, eax
mov esi, 2
sub edi, edx
nop dword [eax]
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x434c34
add edx, 2
sub esi, 1
jne 0x434be0
sub eax, dword [ebp - 0x304]
mov edi, dword [ebp - 0x2fc]
sar eax, 1
cmp eax, 0xffffffff
je 0x434af8
mov edx, edi
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x434c10
sub edx, esi
lea ecx, [ebp - 0x2f8]
sar edx, 1
push edx
push edi
push 2
push eax
call fcn.004370f0
jmp 0x434b2c
add eax, 2
jmp 0x434ad4
lea ecx, [ebp - 0x2f8]
call fcn.00421740
push 0xa
push 0
push 0
push edi
push 0x551950
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
ret
Function at 0x434d70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x434de1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x434daf
cmp eax, 2
jne 0x434dcb
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x434ddb
test ecx, ecx
je 0x434dd6
test cl, 1
jne 0x434dcb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x434ddb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x434e90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5392b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x597644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x434fdc
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x434fdc
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x434fdc
call fcn.00412520
mov ecx, eax
test ecx, ecx
je 0x435030
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
push edi
push 0x800
push 0x800
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.004316d0
push eax
push dword [ebp + 0x18]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push dword [esi - 8]
push esi
call fcn.0050b8dc
add esp, 8
test eax, eax
js 0x43503a
cmp eax, dword [esi - 8]
jg 0x43503a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x10]
cmp eax, 0x7ff
je 0x434f54
cmp eax, 0x7fe
jne 0x434f9e
push edi
push 0x1000
push 0x1000
lea ecx, [ebp + 0xc]
call fcn.004316d0
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp + 0xc]
push dword [esi - 8]
push esi
call fcn.0050b8dc
add esp, 8
test eax, eax
js 0x43503a
cmp eax, dword [esi - 8]
jg 0x43503a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov edi, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.004303b0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x434fc8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
mov edx, 0x54fa2c
mov esi, dword [ebp + 8]
test eax, eax
cmovne edx, eax
xor eax, eax
mov ecx, edx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435004
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004282d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040ada0
push 0x80070057
call fcn.0040ada0
int3
Function at 0x435ac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2858
call fcn.00498310
mov eax, dword [0x597644]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x804]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 0x800
push 0
push eax
call fcn.004dda00
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x435b74
test esi, esi
je 0x435ba9
push 0x1000
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.004dda00
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x435b5d
push 0x800
lea eax, [ebp - 0x1804]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
lea eax, [ebp - 0x1804]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea esi, [ebp - 0x1804]
push 0x400
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0050ba9e
add esp, 0xc
jmp 0x435b90
lea ecx, [ebp - 0x804]
sub ecx, esi
nop dword [eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x435b80
cmp dword [ebp + 0x20], 0
je 0x435bbc
lea eax, [ebp - 0x804]
push eax
call fcn.00475cd0
add esp, 4
test eax, eax
jne 0x435bbc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x2858], 0x44
lea eax, [ebp - 0x2858]
movlpd qword [ebp - 0x2854], xmm0
push eax
movlpd qword [ebp - 0x284c], xmm0
movlpd qword [ebp - 0x2844], xmm0
movlpd qword [ebp - 0x283c], xmm0
movlpd qword [ebp - 0x2834], xmm0
movlpd qword [ebp - 0x282c], xmm0
movlpd qword [ebp - 0x2824], xmm0
movlpd qword [ebp - 0x281c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ax, word [ebp + 0x14]
xorps xmm0, xmm0
push 0x1000
mov word [ebp - 0x2828], ax
lea eax, [ebp - 0x2804]
push 0
push eax
mov dword [ebp - 0x282c], 1
movups xmmword [ebp - 0x2814], xmm0
call fcn.004dda00
add esp, 0xc
lea eax, [ebp - 0x804]
test edi, edi
je 0x435c6d
push edi
push eax
lea eax, [ebp - 0x2804]
push 0x55214c
push eax
call fcn.00430200
add esp, 0x10
jmp 0x435c82
push eax
lea eax, [ebp - 0x2804]
push 0x55215c
push eax
call fcn.00430200
add esp, 0xc
lea eax, [ebp - 0x2814]
push eax
lea eax, [ebp - 0x2858]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x435cf0
cmp dword [ebp + 0x18], 0
je 0x435cc6
push dword [ebp + 0x1c]
push dword [ebp - 0x2814]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x435cda
push eax
push dword [ebp - 0x2814]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x2810]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2814]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004982ff
mov esp, ebp
pop ebp
ret
Function at 0x435ed0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5393a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x597644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x435f4b
test al, 0x10
je 0x435f4b
push esi
mov edi, 1
call fcn.00455900
add esp, 4
test eax, eax
jne 0x435f6e
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x435f6e
push esi
test edi, edi
jne 0x435f66
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x435f6e
push esi
push str.DeleteFile:_s_suceesss
call fcn.0043c0b0
add esp, 8
jmp 0x435f6e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x435f1c
push esi
push str.DeleteFile:_s_suceesss
call fcn.0043c0b0
add esp, 8
jmp 0x435f6e
call fcn.00455900
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435fef
push esi
lea ecx, [ebp - 0x10]
call fcn.00415430
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x435fae
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00412310
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x435fba
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.0042fd00
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x435fdc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43a770
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x597644]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
call fcn.004dda00
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
add esp, 0xc
push 0x104
push eax
push 0
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push str.NetBridge.dll
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.00475cd0
add esp, 4
test eax, eax
je 0x43a96a
lea eax, [ebp - 0x20c]
push eax
call fcn.0042f3c0
mov ecx, eax
call fcn.0042f460
test eax, eax
je 0x43a96a
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004dda00
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x5541b0
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43a869
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.ludashisetup.exe
lea eax, [ebp - 0x20c]
push eax
call esi
lea ebx, [edi + 0x5c]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], ebx
push eax
mov ecx, ebx
call fcn.0040c9b0
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x43a96a
call fcn.0042f3c0
mov ecx, eax
call fcn.0042f1b0
push dword [ebp - 0x214]
lea ebx, [edi + 0x60]
mov dword [ebp - 0x21c], 0
push eax
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x218], 0
call fcn.0040cdd0
mov eax, dword [ebp - 0x21c]
mov dword [ebx], eax
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 0x218]
mov dword [ebx + 4], eax
test esi, esi
je 0x43a914
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x43a90e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x43a90e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [ebp - 0x210]
cmp dword [ebx], 0
je 0x43a96a
push str.CFixPage_AysncStartDownloadLds
call fcn.0043c0b0
mov ecx, dword [ebx]
lea eax, [edi + 0x50]
add esp, 4
neg edi
sbb edi, edi
mov edx, dword [ecx]
and edi, eax
push edi
call dword [edx]
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x214]
mov eax, dword [ecx]
push dword [edx]
call dword [eax + 0x28]
mov ecx, dword [ebx]
push dword [0x595fd0]
push 0
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
ret
push 0
push str.CFixPage_DoDownlaodEnd_succ_:__d
call fcn.0043c0b0
add esp, 8
push 0
push 0
push 0x15d8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004982ff
mov esp, ebp
pop ebp
ret
Function at 0x43d6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x597644]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004dda00
lea eax, [ebp - 0x224]
mov dword [ebp - 0x22c], 1
push 1
push eax
mov dword [ebp - 0x228], 0x208
call fcn.00432bf0
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x43d723
mov eax, dword [eax]
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x22c]
push ecx
push 0x5549a4
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0x210]
cmp edx, 8
jb 0x43d785
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43d77b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43d7ab
push edx
push ecx
call fcn.00497eef
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call fcn.0050af77
xor ecx, ecx
add esp, 4
test eax, eax
setg cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
ret
call fcn.004e9178
int3

Function at 0x43d7d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a290
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x597644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x84], 0x3a
je 0x43d8d2
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x59cdc4
call fcn.0040fa90
call fcn.00456b50
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp + 8]
cmp eax, 1
jl 0x43d82f
cmp eax, 4
jle 0x43d896
mov eax, dword [esi + 0x84]
cmp eax, 0x32
je 0x43d862
cmp eax, 0x38
jne 0x43d896
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp + 8], esp
mov dword [eax + 0x24], 0
push 0
push 0
mov dword [ebp - 4], 1
push str.questionpage_close
jmp 0x43d883
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp + 8], esp
mov dword [eax + 0x24], 0
push 0
push 0
mov dword [ebp - 4], 0
push str.startpage_close
call fcn.0042e040
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004239a0
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0044f020
cmp dword [esi + 0x84], 0x3b
jne 0x43d8c1
push str.push_game_start.
call fcn.0043c0b0
add esp, 4
call fcn.00440f30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4420b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x597644]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x442151
cmp byte [esi + 0x3d], 0
je 0x442151
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x442107
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x442119
sub eax, 1
je 0x44211d
sub eax, 2
je 0x442151
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x44213a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0050f0bc
add esp, 0x10
cmp edi, eax
jne 0x442107
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004982ff
mov esp, ebp
pop ebp
ret
Function at 0x442ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x597644]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x442ae0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x442b1c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x442b1c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x442c01
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x442b44
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x442b77
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0050d920
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x442c01
cmp eax, 1
jle 0x442bd4
cmp eax, 3
jne 0x442c01
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.0043ff70
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x442bf1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0050f0bc
add esp, 0x10
cmp edi, eax
jne 0x442c01
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x442b07
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004982ff
mov esp, ebp
pop ebp
ret 4