Function at 0x411da0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x501c5a
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x5364a8]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364a8]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
mov eax, dword [esp + 0x184]
mov edi, ecx
cmp eax, 0xea61
jne 0x411e1f
cmp dword [edi + 0x1d1c], 0
jge 0x411e13
lea eax, [esp + 0x18]
push eax
push 0
push 0
push fcn.00439b30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add dword [edi + 0x1d1c], 0xfffffffb
jmp 0x41225c
cmp eax, 0xea62
jne 0x411f57
push str.paytimes
lea ecx, [edi + 0x30]
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov ebp, eax
mov edx, dword [ebp]
mov eax, dword [edx + 0xec]
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov esi, eax
mov eax, dword [edx + 0xf0]
add esi, 0x3e8
push esi
mov ecx, ebp
call eax
mov ecx, 0x2bf20
sub ecx, esi
js 0x411f4d
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
lea esi, [esp + 0x20]
call fcn.00470d90
add esp, 4
mov edi, 0x10
mov dword [esp + 0x17c], 0
cmp dword [eax + 0x1c], edi
jb 0x411ea2
mov eax, dword [eax + 8]
jmp 0x411ea5
add eax, 8
lea edx, [esp + 0x3c]
push edx
mov ebx, eax
call fcn.00471380
add esp, 4
mov esi, 8
mov byte [esp + 0x17c], 1
cmp dword [eax + 0x1c], esi
jb 0x411ecb
mov eax, dword [eax + 8]
jmp 0x411ece
add eax, 8
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, ebp
call eax
xor ebx, ebx
mov byte [esp + 0x17c], bl
cmp dword [esp + 0x58], esi
jb 0x411ef5
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0047c2f0
add esp, 4
xor edx, edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], dx
call fcn.00401050
mov dword [esp + 0x17c], 0xffffffff
cmp dword [esp + 0x38], edi
jb 0x411f2f
mov eax, dword [esp + 0x24]
push eax
call fcn.0047c2f0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401050
jmp 0x41225c
call fcn.0041e660
jmp 0x41225c
cmp eax, 0xea64
jne 0x411fc3
push str.startProgress
lea ecx, [edi + 0x30]
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov esi, eax
mov ecx, esi
call dword [sym.imp.LibDui.dll_public:_int___thiscall_DuiLib::CProgressUI::GetValue_void_const]
mov edi, eax
add edi, 5
cmp edi, 0x64
jle 0x411fb5
mov edx, dword [esi]
mov eax, dword [edx + 0xec]
mov ecx, esi
xor edi, edi
call eax
mov ecx, esi
test eax, eax
jne 0x411f9f
push eax
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CProgressUI::SetHorizontal_bool_]
push 1
jmp 0x411fa9
push 1
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CProgressUI::SetHorizontal_bool_]
push 0
mov edx, dword [esi]
mov eax, dword [edx + 0xf0]
mov ecx, esi
call eax
push edi
mov ecx, esi
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CProgressUI::SetValue_int_]
jmp 0x41225c
cmp eax, 0xea65
jne 0x41208c
push str.reg_Send_btn
lea ecx, [edi + 0x30]
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0xec]
mov ecx, esi
call eax
mov ebp, eax
mov ebx, 0x5a
sub ebx, ebp
mov ecx, esi
je 0x412068
mov edx, dword [esi]
mov eax, dword [edx + 0x104]
push 0
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xf0]
inc ebp
push ebp
mov ecx, esi
call eax
lea ecx, [esp + 0x5c]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
mov dword [esp + 0x17c], 2
push ebx
lea ecx, [esp + 0x60]
push 0x515990
push ecx
call dword [sym.imp.LibDui.dll_public:_int___cdecl_DuiLib::CDuiString::Format_wchar_t_const__]
mov edi, dword [esi]
add esp, 0xc
lea ecx, [esp + 0x5c]
call dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
mov edx, dword [edi + 0x2c]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x17c], 0xffffffff
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
jmp 0x41225c
mov eax, dword [esi]
mov edx, dword [eax + 0x104]
push 1
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push 0x5159a4
mov ecx, esi
call edx
push 0xea65
jmp 0x412113
cmp eax, 0xea66
jne 0x412130
push str.get_Send_btn
lea ecx, [edi + 0x30]
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0xec]
mov ecx, esi
call eax
mov ebp, eax
mov ebx, 0x5a
sub ebx, ebp
mov ecx, esi
je 0x4120f4
mov edx, dword [esi]
mov eax, dword [edx + 0x104]
push 0
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xf0]
inc ebp
push ebp
mov ecx, esi
call eax
lea ecx, [esp + 0x5c]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
mov dword [esp + 0x17c], 3
jmp 0x412026
mov eax, dword [esi]
mov edx, dword [eax + 0x104]
push 1
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push 0x5159a4
mov ecx, esi
call edx
push 0xea66
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi]
mov eax, dword [edx + 0xf0]
push 0
mov ecx, esi
call eax
jmp 0x41225c
cmp eax, 0xea67
jne 0x412223
push str.bd_Send_btn
lea ecx, [edi + 0x30]
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0xec]
mov ecx, esi
call eax
mov edx, dword [esi]
mov ebp, eax
mov eax, dword [edx + 0x104]
mov ebx, 0x5a
sub ebx, ebp
mov ecx, esi
je 0x4121f2
push 0
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xf0]
inc ebp
push ebp
mov ecx, esi
call eax
lea ecx, [esp + 0xe4]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
push ebx
lea ecx, [esp + 0xe8]
push 0x515990
push ecx
mov dword [esp + 0x188], 4
call dword [sym.imp.LibDui.dll_public:_int___cdecl_DuiLib::CDuiString::Format_wchar_t_const__]
lea edx, [esp + 0xf0]
add esp, 0xc
push edx
call fcn.00437de0
mov edi, dword [esi]
add esp, 4
lea ecx, [esp + 0xe4]
call dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
mov eax, dword [edi + 0x2c]
mov ecx, esi
call eax
lea ecx, [esp + 0xe4]
mov dword [esp + 0x17c], 0xffffffff
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
jmp 0x41225c
push 1
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push 0x5159a4
mov ecx, esi
call eax
mov ecx, dword [edi + 4]
push 0xea67
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi]
mov eax, dword [edx + 0xf0]
push 0
mov ecx, esi
call eax
jmp 0x41225c
cmp eax, 0xea68
jne 0x41225c
mov eax, dword [edi + 0x2290]
cmp eax, 0xa
jl 0x412250
mov ecx, dword [edi + 4]
push 0xea68
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi + 0x2290], 0
jmp 0x41225c
inc eax
mov dword [edi + 0x2290], eax
call fcn.0044cd00
xor eax, eax
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0047bfe0
add esp, 0x16c
ret 4