joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42dcd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535dc2
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x594624]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x240], esi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x23c], 0
call fcn.004daa30
add esp, 0xc
mov dword [ebp - 0x238], 1
mov dword [ebp - 0x234], 0x208
call fcn.00412c30
mov ecx, eax
test ecx, ecx
je 0x42de59
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x23c], 1
je 0x42dd7a
push 1
jmp 0x42dd7c
push 2
push eax
call fcn.0042de70
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x42dd8d
mov eax, dword [eax]
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x238]
push ecx
push str.VendorID
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x230]
call fcn.00421a70
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ddc7
sub ecx, edx
sar ecx, 1
je 0x42de3d
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040e3c0
mov ecx, esi
call fcn.00431980
mov ecx, esi
call fcn.00431880
mov eax, dword [esi]
mov ecx, 0x54e728
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42de26
test dx, dx
je 0x42de22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42de26
add eax, 4
add ecx, 4
test dx, dx
jne 0x42de00
xor eax, eax
jmp 0x42de2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42de3d
push 7
push 0x54ddc0
mov ecx, esi
call fcn.0040e3c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b4c0
int3
Function at 0x42e3c0
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x594624]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004daa30
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.LudashiComputerZ.set
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e48d
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004daa30
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0x54ca30
push str.open_time
push str.Feedback
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e466
sub ecx, edx
sar ecx, 1
cmp ecx, 2
jbe 0x42e48d
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
ret
Function at 0x42f9d0
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 0x42fa68
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 0x42fa68
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 0x42fa5a
push edi
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x42fa53
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42fa4c
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 0x42fa80
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 [0x594624]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x592f1c]
test ecx, ecx
js 0x42fac8
xor eax, eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x118
xorps xmm0, xmm0
mov dword [0x592f1c], 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.004daa30
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 0x42fb39
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42fb90
push str.GetNativeSystemInfo
push 0x54d368
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42fb90
lea ecx, [ebp - 0x160]
push ecx
call eax
mov ax, word [ebp - 0x160]
cmp ax, 9
je 0x42fb70
cmp ax, 6
jne 0x42fb90
mov dword [0x592f1c], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42fc60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53615b
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x594624]
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 0x54e3e0
push str.http
push 1
push 0
mov dword [ebp - 0x300], 0x168
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
js 0x42feb7
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 0x42fcf1
sub ecx, edx
lea eax, [ebp - 0x2e0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00432180
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 0x42fd68
lea ebx, [ecx + eax*2]
mov eax, ecx
lea ecx, [ebx - 2]
sub ecx, eax
sar ecx, 1
je 0x42fd62
nop dword [eax]
cmp word [eax], 0x25
je 0x42fe37
add eax, 2
sub ecx, 1
jne 0x42fd50
mov edi, dword [ebp - 0x2fc]
push 1
push 0x54e400
lea ecx, [ebp - 0x2f8]
call fcn.00432000
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fd80
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2f8]
call fcn.00432000
mov ecx, 0x44
lea eax, [ebp - 0x358]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x42fda7
mov ecx, 0x10
lea eax, [ebp - 0x314]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x42fdc0
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.00430d60
add esp, 0x14
test eax, eax
je 0x42feac
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.00421a70
mov eax, 1
jmp 0x42fed6
test eax, eax
je 0x42fd62
mov edx, 0x54e3f8
mov edi, eax
mov esi, 2
sub edi, edx
nop dword [eax]
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x42fea4
add edx, 2
sub esi, 1
jne 0x42fe50
sub eax, dword [ebp - 0x304]
mov edi, dword [ebp - 0x2fc]
sar eax, 1
cmp eax, 0xffffffff
je 0x42fd68
mov edx, edi
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x42fe80
sub edx, esi
lea ecx, [ebp - 0x2f8]
sar edx, 1
push edx
push edi
push 2
push eax
call fcn.004322d0
jmp 0x42fd9c
add eax, 2
jmp 0x42fd44
lea ecx, [ebp - 0x2f8]
call fcn.00421a70
push 0xa
push 0
push 0
push edi
push 0x54e3e0
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.00493dce
mov esp, ebp
pop ebp
ret
Function at 0x42ffe0
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 0x430051
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x43001f
cmp eax, 2
jne 0x43003b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x43004b
test ecx, ecx
je 0x430046
test cl, 1
jne 0x43003b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x43004b
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 0x430b10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2858
call fcn.00493de0
mov eax, dword [0x594624]
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.004daa30
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x430bc4
test esi, esi
je 0x430bf9
push 0x1000
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.004daa30
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x430bad
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.00508ade
add esp, 0xc
jmp 0x430be0
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 0x430bd0
cmp dword [ebp + 0x20], 0
je 0x430c0c
lea eax, [ebp - 0x804]
push eax
call fcn.00471250
add esp, 4
test eax, eax
jne 0x430c0c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493dce
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.004daa30
add esp, 0xc
lea eax, [ebp - 0x804]
test edi, edi
je 0x430cbd
push edi
push eax
lea eax, [ebp - 0x2804]
push 0x54ebdc
push eax
call fcn.0042b950
add esp, 0x10
jmp 0x430cd2
push eax
lea eax, [ebp - 0x2804]
push 0x54ebec
push eax
call fcn.0042b950
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 0x430d40
cmp dword [ebp + 0x18], 0
je 0x430d16
push dword [ebp + 0x1c]
push dword [ebp - 0x2814]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x430d2a
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.00493dce
mov esp, ebp
pop ebp
ret
Function at 0x430f20
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536298
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x594624]
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 0x430f9b
test al, 0x10
je 0x430f9b
push esi
mov edi, 1
call fcn.00452440
add esp, 4
test eax, eax
jne 0x430fbe
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x430fbe
push esi
test edi, edi
jne 0x430fb6
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x430fbe
push esi
push str.DeleteFile:_s_suceesss
call fcn.00437240
add esp, 8
jmp 0x430fbe
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x430f6c
push esi
push str.DeleteFile:_s_suceesss
call fcn.00437240
add esp, 8
jmp 0x430fbe
call fcn.00452440
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43103f
push esi
lea ecx, [ebp - 0x10]
call fcn.00415b40
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x430ffe
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00412a20
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x43100a
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.0042b450
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 0x43102c
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 0x435910
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x594624]
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.004daa30
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.00471250
add esp, 4
test eax, eax
je 0x435b0a
lea eax, [ebp - 0x20c]
push eax
call fcn.0042ab10
mov ecx, eax
call fcn.0042abb0
test eax, eax
je 0x435b0a
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004daa30
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 0x5509a0
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 0x435a09
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.0040d0c0
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x435b0a
call fcn.0042ab10
mov ecx, eax
call fcn.0042a900
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.0040d4e0
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 0x435ab4
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x435aae
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x435aae
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [ebp - 0x210]
cmp dword [ebx], 0
je 0x435b0a
push str.CFixPage_AysncStartDownloadLds
call fcn.00437240
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 [0x592fb8]
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.00493dce
mov esp, ebp
pop ebp
ret
push 0
push str.CFixPage_DoDownlaodEnd_succ_:__d
call fcn.00437240
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.00493dce
mov esp, ebp
pop ebp
ret
Function at 0x4388a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x594624]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004daa30
lea eax, [ebp - 0x224]
mov dword [ebp - 0x22c], 1
push 1
push eax
mov dword [ebp - 0x228], 0x208
call fcn.0042de70
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x4388f3
mov eax, dword [eax]
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x22c]
push ecx
push 0x551194
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0x210]
cmp edx, 8
jb 0x438955
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43894b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43897b
push edx
push ecx
call fcn.004939be
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call fcn.00507fb7
xor ecx, ecx
add esp, 4
test eax, eax
setg cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
ret
call fcn.004e61b8
int3

Function at 0x4389a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537180
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x594624]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x84], 0x3a
je 0x438aa2
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x599d94
call fcn.004101a0
call fcn.004536e0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp + 8]
cmp eax, 1
jl 0x4389ff
cmp eax, 4
jle 0x438a66
mov eax, dword [esi + 0x84]
cmp eax, 0x32
je 0x438a32
cmp eax, 0x38
jne 0x438a66
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 0x438a53
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.004297a0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00423cc0
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0044bae0
cmp dword [esi + 0x84], 0x3b
jne 0x438a91
push str.push_game_start.
call fcn.00437240
add esp, 4
call fcn.0043cb00
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 0x43daf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x594624]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x43db91
cmp byte [esi + 0x3d], 0
je 0x43db91
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x43db47
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 0x43db59
sub eax, 1
je 0x43db5d
sub eax, 2
je 0x43db91
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x43db7a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0050c078
add esp, 0x10
cmp edi, eax
jne 0x43db47
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00493dce
mov esp, ebp
pop ebp
ret
Function at 0x43ea40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x594624]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x43ea70
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493dce
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x43eaac
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x43eaac
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.00493dce
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x43eb91
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x43ead4
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 0x43eb07
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0050a8dc
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.00493dce
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 0x43eb91
cmp eax, 1
jle 0x43eb64
cmp eax, 3
jne 0x43eb91
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.0043b150
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.00493dce
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x43eb81
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0050c078
add esp, 0x10
cmp edi, eax
jne 0x43eb91
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x43ea97
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00493dce
mov esp, ebp
pop ebp
ret 4