Function at 0x4284a0
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509043
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x556754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx ecx, word [ebp + 8]
mov esi, eax
push str.FILERES
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4287e9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x4287e9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4287e9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4287e9
mov esi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push 0
push esi
call fcn.0042a270
push esi
push edi
lea ecx, [ebp - 0x58]
call fcn.0040c050
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428583
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040c140
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x517fcc
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004e0007
mov edi, eax
add esp, 8
test edi, edi
jne 0x4285c6
call fcn.004d8a67
mov esi, dword [eax]
neg esi
jmp 0x4285f0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push edi
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push 1
push eax
call fcn.004e034c
push edi
mov esi, eax
call fcn.004e0094
xor eax, eax
add esp, 0x14
cmp esi, dword [ebp - 0x48]
cmovne esi, eax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42862a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428620
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42897e
push edx
push ecx
call fcn.004b592c
add esp, 8
test esi, esi
jg 0x4287cc
call fcn.00437e80
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x42892f
neg esi
mov dword [ebp - 0x28], 0
push 0x50
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040bc80
movups xmm0, xmmword [str.D:workWeiDuanGameMicroGameBox_srcmicrogameboxutilsutils.cc]
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 0x14], 0x4f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x517fe8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x517ff8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x518008]
movups xmmword [eax + 0x30], xmm0
mov byte [eax + 0x40], 0
mov dword [ebp - 0x28], eax
mov ax, word [0x515c5c]
mov dword [ebp - 0x40], 0
mov word [ebp - 0x40], ax
mov al, byte [0x515c5e]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 3
mov byte [ebp - 0x3e], al
mov byte [ebp - 0x3d], 0
mov byte [ebp - 4], 5
call fcn.00437e80
mov edi, eax
lea ecx, [ebp - 0xf8]
push 0x4a
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040d2d0
mov esi, eax
push str.TrayUnzipFile_save_to
push esi
mov byte [ebp - 4], 6
call fcn.00408ea0
mov eax, dword [ebp - 0x60]
mov edx, 0x515a88
mov ecx, dword [eax]
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00406fa0
push str._failed__error:
push esi
call fcn.00408ea0
add esp, 0x18
mov ecx, esi
push dword [ebp - 0x5c]
call fcn.004237b0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf8]
call fcn.00408fe0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x428783
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x428779
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428983
push edx
push ecx
call fcn.004b592c
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x42892f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x428925
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428983
jmp 0x428925
mov eax, dword [ebp - 0x60]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42892f
mov esi, 1
jmp 0x428931
call fcn.00437e80
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x42892f
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push 0x50
mov dword [ebp - 0x18], 0
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040bc80
movups xmm0, xmmword [str.D:workWeiDuanGameMicroGameBox_srcmicrogameboxutilsutils.cc]
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 0x14], 0x4f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x517fe8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x517ff8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x518008]
movups xmmword [eax + 0x30], xmm0
mov byte [eax + 0x40], 0
mov dword [ebp - 0x28], eax
mov ax, word [0x515c5c]
mov dword [ebp - 0x40], 0
mov word [ebp - 0x40], ax
mov al, byte [0x515c5e]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 3
mov byte [ebp - 0x3e], al
mov byte [ebp - 0x3d], 0
mov byte [ebp - 4], 2
call fcn.00437e80
mov edi, eax
lea ecx, [ebp - 0xf8]
push 0x44
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040d2d0
mov esi, eax
push str.TrayUnZipFile_file_failed_path:
push esi
mov byte [ebp - 4], 3
call fcn.00408ea0
mov eax, dword [ebp - 0x5c]
mov ecx, 0x515a88
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.00406fa0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf8]
call fcn.00408fe0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x428783
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x428779
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428983
jmp 0x428779
push edx
push ecx
call fcn.004b592c
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x428961
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x428957
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428983
push edx
push ecx
call fcn.004b592c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5d96
mov esp, ebp
pop ebp
ret
call fcn.004d899e
call fcn.004d899e
int3