Function at 0x412010
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x502faa
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x5384a8]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5384a8]
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 0x41208f
cmp dword [edi + 0x1d1c], 0
jge 0x412083
lea eax, [esp + 0x18]
push eax
push 0
push 0
push fcn.0043aa60
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 0x4124cc
cmp eax, 0xea62
jne 0x4121c7
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 0x4121bd
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.00471e70
add esp, 4
mov edi, 0x10
mov dword [esp + 0x17c], 0
cmp dword [eax + 0x1c], edi
jb 0x412112
mov eax, dword [eax + 8]
jmp 0x412115
add eax, 8
lea edx, [esp + 0x3c]
push edx
mov ebx, eax
call fcn.00472460
add esp, 4
mov esi, 8
mov byte [esp + 0x17c], 1
cmp dword [eax + 0x1c], esi
jb 0x41213b
mov eax, dword [eax + 8]
jmp 0x41213e
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 0x412165
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0047d3e0
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 0x41219f
mov eax, dword [esp + 0x24]
push eax
call fcn.0047d3e0
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 0x4124cc
call fcn.0041e930
jmp 0x4124cc
cmp eax, 0xea64
jne 0x412233
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 0x412225
mov edx, dword [esi]
mov eax, dword [edx + 0xec]
mov ecx, esi
xor edi, edi
call eax
mov ecx, esi
test eax, eax
jne 0x41220f
push eax
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CProgressUI::SetHorizontal_bool_]
push 1
jmp 0x412219
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 0x4124cc
cmp eax, 0xea65
jne 0x4122fc
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 0x4122d8
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 0x517994
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 0x4124cc
mov eax, dword [esi]
mov edx, dword [eax + 0x104]
push 1
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push 0x5179a8
mov ecx, esi
call edx
push 0xea65
jmp 0x412383
cmp eax, 0xea66
jne 0x4123a0
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 0x412364
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 0x412296
mov eax, dword [esi]
mov edx, dword [eax + 0x104]
push 1
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push 0x5179a8
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 0x4124cc
cmp eax, 0xea67
jne 0x412493
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 0x412462
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 0x517994
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.00438810
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 0x4124cc
push 1
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push 0x5179a8
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 0x4124cc
cmp eax, 0xea68
jne 0x4124cc
mov eax, dword [edi + 0x2330]
cmp eax, 0xa
jl 0x4124c0
mov ecx, dword [edi + 4]
push 0xea68
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi + 0x2330], 0
jmp 0x4124cc
inc eax
mov dword [edi + 0x2330], eax
call fcn.0044dce0
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.0047d0e0
add esp, 0x16c
ret 4