Function at 0x41c870
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4937
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x530400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2ac], edi
lea ecx, [ebp - 0x265]
call fcn.004080e0
mov ecx, dword [edi + 0x6d4]
push 1
push dword [edi + 0x6e0]
call dword [0x50b054]
mov eax, dword [0x531e84]
test eax, eax
jne 0x41c914
push 0x1e0
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x41c906
push 0x1e0
push 0
push esi
call fcn.004bda10
add esp, 0xc
mov ecx, esi
call fcn.0040e1c0
jmp 0x41c908
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x531e84], eax
lea ecx, [ebp - 0x260]
push ecx
mov ecx, eax
call fcn.0040ef80
cmp dword [ebp - 0x250], 0
mov ecx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov esi, dword [sym.RedAlert.exe_public:_void___thiscall_DuiLib::CControlUI::SetBkImage_wchar_t_const__]
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2cc], esi
je 0x41c9b6
cmp dword [ebp - 0x24c], 0xf
lea eax, [ebp - 0x260]
cmova eax, dword [ebp - 0x260]
push eax
call ecx
test eax, eax
je 0x41c9b6
cmp dword [edi + 0x6e4], 0
je 0x41c9b6
cmp dword [ebp - 0x24c], 0xf
lea eax, [ebp - 0x260]
cmova eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.00401c90
add esp, 8
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 2
jbe 0x41c99e
mov eax, dword [eax]
mov ecx, dword [edi + 0x6e4]
push eax
call esi
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 1
call fcn.00403110
mov eax, dword [edi + 0x6c0]
lea ecx, [edi + 0x6c0]
push 0x50ae7e
push 0x7ed
call dword [eax]
mov ecx, dword [edi + 0x6e0]
test ecx, ecx
je 0x41dd75
mov eax, dword [ecx + 0x658]
add ecx, 0x658
call dword [eax + 0x24]
call fcn.0040ce80
mov ecx, eax
call fcn.0040ecb0
mov edi, eax
mov dword [ebp - 0x264], 0
mov eax, 0x3e0f83e1
mov dword [ebp - 0x27c], edi
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul ecx
mov ecx, 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test al, 3
setne cl
shr eax, 2
add ecx, eax
mov dword [ebp - 0x2b4], ecx
je 0x41dd6f
mov eax, dword [sym.RedAlert.exe_public:_void___thiscall_DuiLib::CHorizontalLayoutUI::constructor_void_]
mov dword [ebp - 0x2b8], eax
mov eax, dword [sym.RedAlert.exe_public:_void___thiscall_DuiLib::CVerticalLayoutUI::constructor_void_]
mov dword [ebp - 0x2b0], eax
mov eax, dword [sym.RedAlert.exe_public:_void___thiscall_DuiLib::CControlUI::SetBkColor_unsigned_long_int_]
mov dword [ebp - 0x288], eax
mov eax, dword [sym.RedAlert.exe_public:_void___thiscall_DuiLib::CControlUI::SetBorderRound_struct_tagSIZE_]
mov dword [ebp - 0x2c0], eax
mov eax, dword [sym.RedAlert.exe_public:_void___thiscall_DuiLib::CDuiPoint::constructor_long_int__long_int_]
mov dword [ebp - 0x2bc], eax
mov eax, dword [sym.RedAlert.exe_public:_void___thiscall_DuiLib::CControlUI::constructor_void_]
mov dword [ebp - 0x28c], eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov dword [ebp - 0x2c4], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x2d0], eax
mov eax, dword [sym.RedAlert.exe_public:_void___thiscall_DuiLib::CLabelUI::constructor_void_]
mov dword [ebp - 0x280], eax
mov eax, dword [sym.RedAlert.exe_public:_void___thiscall_DuiLib::CLabelUI::SetFont_int_]
mov dword [ebp - 0x274], eax
mov eax, dword [sym.RedAlert.exe_public:_void___thiscall_DuiLib::CLabelUI::SetTextColor_unsigned_long_int_]
mov dword [ebp - 0x270], eax
mov eax, dword [sym.RedAlert.exe_public:_void___thiscall_DuiLib::CButtonUI::constructor_void_]
mov dword [ebp - 0x2d4], eax
mov eax, dword [sym.RedAlert.exe_public:_void___thiscall_DuiLib::CControlUI::SetBorderColor_unsigned_long_int_]
mov dword [ebp - 0x2d8], eax
mov eax, dword [sym.RedAlert.exe_public:_void___thiscall_DuiLib::CControlUI::SetBorderSize_int_]
mov dword [ebp - 0x2dc], eax
push 0x6b8
call fcn.004bbaae
mov esi, eax
mov dword [ebp - 0x2a8], eax
add esp, 4
mov dword [ebp - 0x300], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x41cb07
mov ecx, esi
call dword [ebp - 0x2b8]
mov dword [esi], vtable.DuiLib::CHorizontalLayoutUI.1.0
jmp 0x41cb0f
xor esi, esi
mov dword [ebp - 0x2a8], esi
mov eax, dword [esi]
mov ecx, esi
push 0x15e
mov byte [ebp - 4], 1
call dword [eax + 0x88]
mov ecx, dword [ebp - 0x2ac]
push esi
mov ecx, dword [ecx + 0x6e0]
add ecx, 0x658
mov eax, dword [ecx]
call dword [eax + 0x14]
xor eax, eax
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x264]
lea esi, [eax + ecx*4]
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, 0x3e0f83e1
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x41dd56
push 0x6b8
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x31c], esi
mov edi, dword [ebp - 0x2b0]
mov byte [ebp - 4], 4
test esi, esi
je 0x41cb98
mov ecx, esi
call edi
mov dword [esi], vtable.DuiLib::CVerticalLayoutUI.0
jmp 0x41cb9a
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push 0x18
mov byte [ebp - 4], 1
call dword [eax + 0x80]
mov ecx, dword [ebp - 0x2a8]
add ecx, 0x658
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
push 0x6b8
call fcn.004bbaae
mov esi, eax
mov dword [ebp - 0x278], eax
add esp, 4
mov dword [ebp - 0x320], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x41cbeb
mov ecx, esi
call edi
mov dword [esi], vtable.DuiLib::CVerticalLayoutUI.0
jmp 0x41cbf3
xor esi, esi
mov dword [ebp - 0x278], esi
mov eax, dword [esi]
mov ecx, esi
push 0x154
mov byte [ebp - 4], 1
call dword [eax + 0x88]
mov eax, dword [esi]
mov ecx, esi
push 0x104
call dword [eax + 0x80]
push 0xff555555
mov ecx, esi
call dword [ebp - 0x288]
push 4
push 4
lea ecx, [ebp - 0x334]
call dword [ebp - 0x2bc]
mov ecx, esi
push dword [eax + 4]
push dword [eax]
call dword [ebp - 0x2c0]
push 0x658
call fcn.004bbaae
mov edi, eax
add esp, 4
mov dword [ebp - 0x324], edi
mov byte [ebp - 4], 6
test edi, edi
je 0x41cc6c
mov ecx, edi
call dword [ebp - 0x28c]
mov dword [edi], vtable.DuiLib::CControlUI.0
jmp 0x41cc6e
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push 1
mov byte [ebp - 4], 1
call dword [eax + 0x10c]
mov eax, dword [edi]
mov ecx, edi
push str.0__0
push 0x4e9408
call dword [eax + 0x128]
mov eax, dword [edi]
mov ecx, edi
push 0x104
call dword [eax + 0x80]
mov eax, dword [edi]
mov ecx, edi
push 0xaa
call dword [eax + 0x88]
mov eax, dword [0x531e84]
test eax, eax
jne 0x41ccfa
push 0x1e0
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x328], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x41ccef
push 0x1e0
push 0
push esi
call fcn.004bda10
add esp, 0xc
mov ecx, esi
call fcn.0040e1c0
jmp 0x41ccf1
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x531e84], eax
lea ecx, [ebp - 0x230]
push ecx
mov ecx, eax
call fcn.0040ef30
mov eax, dword [ebp - 0x27c]
mov byte [ebp - 4], 8
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x3e0f83e1
sub ecx, esi
mov dword [ebp - 0x284], esi
mov esi, dword [ebp - 0x264]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x26c]
lea ecx, [edx + esi*4]
mov esi, dword [ebp - 0x284]
cmp eax, ecx
jbe 0x41ddd2
imul eax, ecx, 0x84
push dword [eax + esi]
lea eax, [ebp - 0x2a4]
push eax
call fcn.00401890
add esp, 8
cmp dword [eax + 0x14], 0xf
mov ecx, eax
mov byte [ebp - 4], 9
jbe 0x41cd73
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004024e0
mov ecx, dword [ebp - 0x290]
mov byte [ebp - 4], 8
cmp ecx, 0xf
jbe 0x41cdc0
mov edx, dword [ebp - 0x2a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41cdb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ddcd
push ecx
push edx
call fcn.004bbade
add esp, 8
mov eax, dword [ebp - 0x27c]
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x3e0f83e1
sub ecx, esi
mov dword [ebp - 0x284], esi
mov esi, dword [ebp - 0x264]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x26c]
lea ecx, [edx + esi*4]
mov esi, dword [ebp - 0x284]
cmp eax, ecx
jbe 0x41ddd2
imul eax, ecx, 0x84
add eax, 0x24
add eax, esi
cmp dword [eax + 0x14], 0xf
jbe 0x41ce14
mov eax, dword [eax]
push eax
call dword [ebp - 0x2c4]
mov edx, eax
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x41ce20
sub edx, esi
lea ecx, [ebp - 0x230]
push edx
push eax
call fcn.004024e0
cmp dword [ebp - 0x21c], 0xf
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
push eax
call dword [ebp - 0x2c8]
test eax, eax
je 0x41cef3
cmp dword [ebp - 0x21c], 0xf
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.00401c90
add esp, 8
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 0xa
jbe 0x41ce89
mov eax, dword [eax]
push eax
mov ecx, edi
call dword [ebp - 0x2cc]
mov ecx, dword [ebp - 0x290]
mov byte [ebp - 4], 8
cmp ecx, 7
jbe 0x41ced6
mov edx, dword [ebp - 0x2a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cecc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ddcd
push ecx
push edx
call fcn.004bbade
add esp, 8
mov ecx, dword [ebp - 0x278]
add ecx, 0x658
push edi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edi, dword [ebp - 0x278]
jmp 0x41cf99
push 0x24
call fcn.004bbaae
mov esi, eax
add esp, 4
test esi, esi
je 0x41cf31
mov dword [esi + 0x18], 0
xorps xmm0, xmm0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x41cf33
xor esi, esi
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x264]
lea eax, [ecx + edx*4]
mov ecx, dword [ebp - 0x27c]
push eax
call fcn.0041e580
add eax, 0x24
mov ecx, esi
push eax
call fcn.00409700
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x264]
lea eax, [ecx + edx*4]
mov ecx, dword [ebp - 0x27c]
push eax
call fcn.0041e580
push 0
push 0
push esi
mov eax, dword [eax]
push 0x419260
push 0
mov dword [esi + 0x1c], edi
mov edi, dword [ebp - 0x278]
push 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], edi
call dword [ebp - 0x2d0]
push 0x658
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x32c], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x41cfc6
mov ecx, esi
call dword [ebp - 0x28c]
mov dword [esi], vtable.DuiLib::CControlUI.0
jmp 0x41cfc8
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push 1
mov byte [ebp - 4], 8
call dword [eax + 0x10c]
mov eax, dword [esi]
mov ecx, esi
push str.63__190
push 0x4e9408
call dword [eax + 0x128]
mov eax, dword [esi]
mov ecx, esi
push 6
call dword [eax + 0x80]
mov eax, dword [esi]
mov ecx, esi
push 6
call dword [eax + 0x88]
push 0xfffd721f
mov ecx, esi
call dword [ebp - 0x288]
mov eax, dword [edi + 0x658]
add edi, 0x658
push esi
mov ecx, edi
call dword [eax + 0x14]
push 0x658
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x2e0], esi
mov byte [ebp - 4], 0xc
test esi, esi
je 0x41d050
mov ecx, esi
call dword [ebp - 0x28c]
mov dword [esi], vtable.DuiLib::CControlUI.0
jmp 0x41d052
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push 1
mov byte [ebp - 4], 8
call dword [eax + 0x10c]
mov eax, dword [esi]
mov ecx, esi
push str.140__190
push 0x4e9408
call dword [eax + 0x128]
mov eax, dword [esi]
mov ecx, esi
push 6
call dword [eax + 0x80]
mov eax, dword [esi]
mov ecx, esi
push 6
call dword [eax + 0x88]
push 0xff4caf50
mov ecx, esi
call dword [ebp - 0x288]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x14]
push 0x6d8
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x2e4], esi
mov byte [ebp - 4], 0xd
test esi, esi
je 0x41d0d0
mov ecx, esi
call dword [ebp - 0x280]
mov dword [esi], vtable.DuiLib::CLabelUI.0
jmp 0x41d0d2
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push 0x4ea72c
mov byte [ebp - 4], 8
call dword [eax + 0x3c]
push 3
mov ecx, esi
call dword [ebp - 0x274]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x10c]
mov eax, dword [esi]
mov ecx, esi
push str.73__183
push 0x4e9408
call dword [eax + 0x128]
mov eax, dword [esi]
mov ecx, esi
push 0x37
call dword [eax + 0x80]
mov eax, dword [esi]
mov ecx, esi
push 0x14
call dword [eax + 0x88]
push 0xffdddddd
mov ecx, esi
call dword [ebp - 0x270]
mov eax, dword [esi]
mov ecx, esi
push str.left
push str.align
call dword [eax + 0x128]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x14]
push 0x6d8
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x2e8], esi
mov byte [ebp - 4], 0xe
test esi, esi
je 0x41d17a
mov ecx, esi
call dword [ebp - 0x280]
mov dword [esi], vtable.DuiLib::CLabelUI.0
jmp 0x41d17c
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push 0x4ea760
mov byte [ebp - 4], 8
call dword [eax + 0x3c]
push 3
mov ecx, esi
call dword [ebp - 0x274]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x10c]
mov eax, dword [esi]
mov ecx, esi
push str.150__183
push 0x4e9408
call dword [eax + 0x128]
mov eax, dword [esi]
mov ecx, esi
push 0x37
call dword [eax + 0x80]
mov eax, dword [esi]
mov ecx, esi
push 0x14
call dword [eax + 0x88]
push 0xffdddddd
mov ecx, esi
call dword [ebp - 0x270]
mov eax, dword [esi]
mov ecx, esi
push str.left
push str.align
call dword [eax + 0x128]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x14]
push 0x6d8
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x2ec], esi
mov byte [ebp - 4], 0xf
test esi, esi
je 0x41d224
mov ecx, esi
call dword [ebp - 0x280]
mov dword [esi], vtable.DuiLib::CLabelUI.0
jmp 0x41d226
xor esi, esi
mov eax, dword [ebp - 0x27c]
mov byte [ebp - 4], 8
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x3e0f83e1
sub ecx, edi
mov dword [ebp - 0x284], edi
mov edi, dword [ebp - 0x264]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x26c]
lea ecx, [edx + edi*4]
mov edi, dword [ebp - 0x284]
cmp eax, ecx
jbe 0x41ddd2
imul eax, ecx, 0x84
add eax, 0xc
add eax, edi
cmp dword [eax + 0x14], 0xf
jbe 0x41d27e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.00401c90
add esp, 8
mov ecx, eax
cmp dword [ecx + 0x14], 7
mov byte [ebp - 4], 0x10
jbe 0x41d29c
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x290]
mov byte [ebp - 4], 8
cmp ecx, 7
jbe 0x41d2e8
mov edx, dword [ebp - 0x2a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d2de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ddcd
push ecx
push edx
call fcn.004bbade
add esp, 8
push 2
mov ecx, esi
call dword [ebp - 0x274]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x10c]
mov eax, dword [esi]
mov ecx, esi
push str.10__210
push 0x4e9408
call dword [eax + 0x128]
mov eax, dword [esi]
mov ecx, esi
push 0xfa
call dword [eax + 0x80]
mov eax, dword [esi]
mov ecx, esi
push 0x14
call dword [eax + 0x88]
push 0xffffffffffffffff
mov ecx, esi
call dword [ebp - 0x270]
mov eax, dword [esi]
mov ecx, esi
push str.center
push str.align
call dword [eax + 0x128]
mov edi, dword [ebp - 0x278]
push esi
mov eax, dword [edi + 0x658]
lea ecx, [edi + 0x658]
call dword [eax + 0x14]
mov eax, dword [0x531e84]
test eax, eax
jne 0x41d3ab
push 0x1e0
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x2f0], esi
mov byte [ebp - 4], 0x11
test esi, esi
je 0x41d3a0
push 0x1e0
push 0
push esi
call fcn.004bda10
add esp, 0xc
mov ecx, esi
call fcn.0040e1c0
jmp 0x41d3a2
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x531e84], eax
mov ecx, eax
call fcn.0040ef50
test al, al
je 0x41d415
push 0x6d8
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x2f4], esi
mov byte [ebp - 4], 0x12
test esi, esi
je 0x41d3e3
mov ecx, esi
call dword [ebp - 0x280]
mov dword [esi], vtable.DuiLib::CLabelUI.0
jmp 0x41d3e5
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push 0x4ea7a0
mov byte [ebp - 4], 8
call dword [eax + 0x3c]
push 8
mov ecx, esi
call dword [ebp - 0x274]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x10c]
push str.10__250
jmp 0x41d9de
mov eax, dword [0x531e84]
test eax, eax
jne 0x41d45f
push 0x1e0
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x2f8], esi
mov byte [ebp - 4], 0x13
test esi, esi
je 0x41d454
push 0x1e0
push 0
push esi
call fcn.004bda10
add esp, 0xc
mov ecx, esi
call fcn.0040e1c0
jmp 0x41d456
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x531e84], eax
mov ecx, eax
call fcn.0040ecc0
mov byte [ebp - 0x265], al
mov eax, dword [ebp - 0x27c]
push 0x104
push 0
mov ecx, dword [eax + 4]
mov edi, dword [eax]
sub ecx, edi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp byte [ebp - 0x265], 0
je 0x41d817
lea eax, [ebp - 0x218]
push eax
call fcn.004bda10
mov ecx, dword [ebp - 0x26c]
add esp, 0xc
mov edx, dword [ebp - 0x264]
lea eax, [ecx + edx*4]
cmp esi, eax
jbe 0x41ddd2
imul eax, eax, 0x84
sub esp, 8
movss xmm0, dword [eax + edi + 8]
lea eax, [ebp - 0x218]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x4ea7c4
push eax
call fcn.00403c30
push 0x6d8
call fcn.004bbaae
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x2fc], esi
mov byte [ebp - 4], 0x14
test esi, esi
je 0x41d519
mov ecx, esi
call dword [ebp - 0x280]
mov dword [esi], vtable.DuiLib::CLabelUI.0
jmp 0x41d51b
xor esi, esi
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.00401c90
add esp, 8
mov ecx, eax
cmp dword [ecx + 0x14], 7
mov byte [ebp - 4], 0x15
jbe 0x41d543
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x290]
mov byte [ebp - 4], 8
cmp ecx, 7
jbe 0x41d58f
mov edx, dword [ebp - 0x2a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d585
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ddcd
push ecx
push edx
call fcn.004bbade
add esp, 8
push 8
mov ecx, esi
call dword [ebp - 0x274]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x10c]
mov eax, dword [esi]
mov ecx, esi
push str.10__240
push 0x4e9408
call dword [eax + 0x128]
mov eax, dword [esi]
mov ecx, esi
push 0x8c
call dword [eax + 0x80]
mov eax, dword [esi]
mov ecx, esi
push 0x14
call dword [eax + 0x88]
push 0xffffcc00
mov ecx, esi
call dword [ebp - 0x270]
mov eax, dword [esi]
mov ecx, esi
push str.right
push str.align
call dword [eax + 0x128]
mov edi, dword [ebp - 0x278]
push esi
mov eax, dword [edi + 0x658]
lea ecx, [edi + 0x658]
call dword [eax + 0x14]
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004bda10
mov eax, dword [ebp - 0x27c]
add esp, 0xc
mov edi, dword [ebp - 0x264]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x3e0f83e1
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x26c]
lea ecx, [edx + edi*4]
mov edi, dword [ebp - 0x278]
cmp eax, ecx
jbe 0x41ddd2
imul eax, ecx, 0x84
sub esp, 8
movss xmm0, dword [eax + esi + 4]
lea eax, [ebp - 0x114]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x4ea7f0
push eax
call fcn.00403c30
push 0x6d8
call fcn.004bbaae
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x318], esi
mov byte [ebp - 4], 0x16
test esi, esi
je 0x41d6b1
mov ecx, esi
call dword [ebp - 0x280]
mov dword [esi], vtable.DuiLib::CLabelUI.0
jmp 0x41d6b3
xor esi, esi
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.00401c90
add esp, 8
mov ecx, eax
cmp dword [ecx + 0x14], 7
mov byte [ebp - 4], 0x17
jbe 0x41d6db
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x290]
mov byte [ebp - 4], 8
cmp ecx, 7
jbe 0x41d727
mov edx, dword [ebp - 0x2a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d71d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ddcd
push ecx
push edx
call fcn.004bbade
add esp, 8
push 2
mov ecx, esi
call dword [ebp - 0x274]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x10c]
mov eax, dword [esi]
mov ecx, esi
push str.160__240
push 0x4e9408
call dword [eax + 0x128]
mov eax, dword [esi]
mov ecx, esi
push 0x3c
call dword [eax + 0x80]
mov eax, dword [esi]
mov ecx, esi
push 0x14
call dword [eax + 0x88]
push 0xffcccccc
mov ecx, esi
call dword [ebp - 0x270]
mov eax, dword [esi]
mov ecx, esi
push str.center
push str.align
call dword [eax + 0x128]
mov eax, dword [edi + 0x658]
lea ecx, [edi + 0x658]
push esi
call dword [eax + 0x14]
push 0x658
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x304], esi
mov byte [ebp - 4], 0x18
test esi, esi
je 0x41d7c7
mov ecx, esi
call dword [ebp - 0x28c]
mov dword [esi], vtable.DuiLib::CControlUI.0
jmp 0x41d7c9
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push 1
mov byte [ebp - 4], 8
call dword [eax + 0x10c]
mov eax, dword [esi]
mov ecx, esi
push str.162__249
push 0x4e9408
call dword [eax + 0x128]
mov eax, dword [esi]
mov ecx, esi
push 0x38
call dword [eax + 0x80]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x88]
push 0xffcccccc
mov ecx, esi
call dword [ebp - 0x288]
jmp 0x41d974
lea eax, [ebp - 0x114]
push eax
call fcn.004bda10
mov ecx, dword [ebp - 0x26c]
add esp, 0xc
mov edx, dword [ebp - 0x264]
lea eax, [ecx + edx*4]
cmp esi, eax
jbe 0x41ddd2
imul eax, eax, 0x84
sub esp, 8
movss xmm0, dword [eax + edi + 4]
lea eax, [ebp - 0x114]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str._.02f
push eax
call fcn.00403c30
push 0x6d8
call fcn.004bbaae
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x308], esi
mov byte [ebp - 4], 0x19
test esi, esi
je 0x41d892
mov ecx, esi
call dword [ebp - 0x280]
mov dword [esi], vtable.DuiLib::CLabelUI.0
jmp 0x41d894
xor esi, esi
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.00401c90
add esp, 8
mov ecx, eax
cmp dword [ecx + 0x14], 7
mov byte [ebp - 4], 0x1a
jbe 0x41d8bc
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x290]
mov byte [ebp - 4], 8
cmp ecx, 7
jbe 0x41d908
mov edx, dword [ebp - 0x2a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d8fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ddcd
push ecx
push edx
call fcn.004bbade
add esp, 8
push 8
mov ecx, esi
call dword [ebp - 0x274]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x10c]
mov eax, dword [esi]
mov ecx, esi
push str.10__240
push 0x4e9408
call dword [eax + 0x128]
mov eax, dword [esi]
mov ecx, esi
push 0xfa
call dword [eax + 0x80]
mov eax, dword [esi]
mov ecx, esi
push 0x14
call dword [eax + 0x88]
push 0xffffcc00
mov ecx, esi
call dword [ebp - 0x270]
mov eax, dword [esi]
mov ecx, esi
push str.center
push str.align
call dword [eax + 0x128]
mov edi, dword [ebp - 0x278]
mov eax, dword [edi + 0x658]
lea ecx, [edi + 0x658]
push esi
call dword [eax + 0x14]
push 0x6d8
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x30c], esi
mov byte [ebp - 4], 0x1b
test esi, esi
je 0x41d9b1
mov ecx, esi
call dword [ebp - 0x280]
mov dword [esi], vtable.DuiLib::CLabelUI.0
jmp 0x41d9b3
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push 0x4ea82c
mov byte [ebp - 4], 8
call dword [eax + 0x3c]
push 3
mov ecx, esi
call dword [ebp - 0x274]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x10c]
push str.10__265
mov eax, dword [esi]
mov ecx, esi
push 0x4e9408
call dword [eax + 0x128]
mov eax, dword [esi]
mov ecx, esi
push 0xfa
call dword [eax + 0x80]
mov eax, dword [esi]
mov ecx, esi
push 0x14
call dword [eax + 0x88]
push 0xff0dab51
mov ecx, esi
call dword [ebp - 0x270]
mov eax, dword [esi]
mov ecx, esi
push str.center
push str.align
call dword [eax + 0x128]
mov eax, dword [edi + 0x658]
lea ecx, [edi + 0x658]
push esi
call dword [eax + 0x14]
push 0x658
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x310], esi
mov byte [ebp - 4], 0x1c
test esi, esi
je 0x41da66
mov ecx, esi
call dword [ebp - 0x28c]
mov dword [esi], vtable.DuiLib::CControlUI.0
jmp 0x41da68
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push 1
mov byte [ebp - 4], 8
call dword [eax + 0x10c]
mov eax, dword [esi]
mov ecx, esi
push str.5__290
push 0x4e9408
call dword [eax + 0x128]
mov eax, dword [esi]
mov ecx, esi
push 0xfa
call dword [eax + 0x80]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x88]
push 0xff888888
mov ecx, esi
call dword [ebp - 0x288]
mov eax, dword [edi + 0x658]
lea ecx, [edi + 0x658]
push esi
call dword [eax + 0x14]
push 0xfd0
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x314], esi
mov byte [ebp - 4], 0x1d
test esi, esi
je 0x41daf1
mov ecx, esi
call dword [ebp - 0x2d4]
mov dword [esi], vtable.DuiLib::CButtonUI.0
jmp 0x41daf3
xor esi, esi
mov eax, dword [ebp - 0x27c]
mov byte [ebp - 4], 8
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x3e0f83e1
sub ecx, edi
mov dword [ebp - 0x284], edi
mov edi, dword [ebp - 0x264]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x26c]
lea ecx, [edx + edi*4]
mov edi, dword [ebp - 0x284]
cmp eax, ecx
jbe 0x41ddd2
imul eax, ecx, 0x84
push dword [eax + edi]
lea eax, [ebp - 0x2a4]
push eax
call fcn.00401890
add esp, 8
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x1e
jbe 0x41db5c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00401c90
add esp, 8
mov ecx, dword [ebp - 0x290]
mov byte [ebp - 4], 0x20
cmp ecx, 0xf
jbe 0x41dbaa
mov edx, dword [ebp - 0x2a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41dba0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ddcd
push ecx
push edx
call fcn.004bbade
add esp, 8
push 9
push str._download
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0xf
mov byte [ebp - 0x2a4], 0
call fcn.0040d1b0
cmp dword [ebp - 0x234], 7
lea ecx, [ebp - 0x248]
mov eax, dword [esi]
cmova ecx, dword [ebp - 0x248]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x10c]
mov eax, dword [esi]
mov ecx, esi
push str.60__300
push 0x4e9408
call dword [eax + 0x128]
mov eax, dword [esi]
mov ecx, esi
push 0x8c
call dword [eax + 0x80]
mov eax, dword [esi]
mov ecx, esi
push 0x1e
call dword [eax + 0x88]
push 0xffff0000
mov ecx, esi
call dword [ebp - 0x288]
mov eax, dword [esi]
mov ecx, esi
push 0x4ea870
call dword [eax + 0x3c]
push 0xffffffffffffffff
mov ecx, esi
call dword [ebp - 0x270]
push 4
mov ecx, esi
call dword [ebp - 0x274]
push 0xffffffffffffffff
mov ecx, esi
call dword [ebp - 0x2d8]
push 1
mov ecx, esi
call dword [ebp - 0x2dc]
mov edi, dword [ebp - 0x278]
push esi
mov eax, dword [edi + 0x658]
lea ecx, [edi + 0x658]
call dword [eax + 0x14]
mov edx, dword [ebp - 0x2a8]
push edi
mov eax, dword [edx + 0x658]
lea ecx, [edx + 0x658]
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x234]
mov byte [ebp - 4], 8
cmp ecx, 7
jbe 0x41dcdf
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41dcd5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ddcd
push ecx
push edx
call fcn.004bbade
add esp, 8
mov ecx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x41dd3a
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41dd30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ddcd
push ecx
push edx
call fcn.004bbade
add esp, 8
mov eax, dword [ebp - 0x26c]
mov edi, dword [ebp - 0x27c]
inc eax
mov dword [ebp - 0x26c], eax
cmp eax, 4
jb 0x41cb42
mov eax, dword [ebp - 0x264]
inc eax
mov dword [ebp - 0x264], eax
cmp eax, dword [ebp - 0x2b4]
jb 0x41cad4
mov edi, dword [ebp - 0x2ac]
mov ecx, edi
call fcn.00419f10
mov ecx, dword [ebp - 0x24c]
cmp ecx, 0xf
jbe 0x41ddb2
mov edx, dword [ebp - 0x260]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41dda8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ddcd
push ecx
push edx
call fcn.004bbade
add esp, 8
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.004bbaec
mov esp, ebp
pop ebp
ret
call fcn.004bff0f
call fcn.0040d1a0
int3