Function at 0x643cbd24
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
xor esi, esi
push ebx
sub esp, 0x7c
mov eax, dword [0x643e8100]
mov ebx, dword [ebp + 8]
mov edx, eax
or edx, 0xf7ffdfff
mov dword [0x643e7ff4], edx
mov edx, eax
and eax, 0x3b33ac2b
and edx, 0xaafacbc0
or eax, 0x33338c2b
or edx, 0x820bc0
mov dword [0x643e8144], eax
xor edx, 0xa46ecd53
mov dword [0x643e8100], edx
mov dword [esp + 4], edx
mov dword [esp + 8], str.FrontEndHeapDebugOptions
mov dword [esp], str.File_sharing_has_been_temporarily_paused.
call fcn.643cfc0c
mov eax, dword [0x643e7ff4]
mov edx, dword [0x643e8100]
mov dword [ebp - 0x44], 0x2d
mov dword [ebp - 0x40], 0x18
or eax, 0x1235ab
or edx, 0xc40f8209
mov dword [ebp - 0x3c], 0xffffffbb
xor edx, 0x779db448
add eax, 0x316e62eb
mov dword [0x643e7ff4], edx
mov dword [0x643e8144], eax
mov edx, str.FrontEndHeapDebugOptions
mov ecx, 0xaf
movzx eax, word [edx]
add edx, 2
test ax, ax
je 0x643cbe05
add ecx, eax
cmp ecx, 0xac9
jbe 0x643cbdd3
mov dword [esp + 8], str.File_sharing_has_been_temporarily_paused.
mov eax, dword [0x643e7ff4]
mov dword [esp], str.File_sharing_has_been_temporarily_paused.
mov dword [esp + 4], eax
call fcn.643cfc0c
imul eax, dword [0x643e8100], 0x142dcf7e
mov dword [0x643e7ff4], eax
call fcn.643ce7dc
sub edi, dword [ebp + esi*4 - 0x44]
inc esi
mov dword [ebp - 0x5c], edi
cmp esi, 3
jne 0x643cbdc9
mov edx, str.The_number_of_maximum_ticket_referrals_has_been_exceeded.
mov al, byte [edx]
test al, al
je 0x643cbe4c
sub eax, 0x30
cmp al, 9
jbe 0x643cbe49
mov eax, dword [0x643e7ff4]
and eax, 0x54f887aa
mov dword [0x643e8100], eax
jmp 0x643cbe4c
inc edx
jmp 0x643cbe2b
sub dword [0x643e7ff4], 0x405e6567
lea edi, [ebp - 0x2c]
mov esi, str.1_NT
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
xor esi, esi
xor edi, edi
mov dword [esp + 4], str.The_number_of_maximum_ticket_referrals_has_been_exceeded.
mov dword [esp], str.The_number_of_maximum_ticket_referrals_has_been_exceeded.
call fcn.643d0a60
mov eax, dword [0x643e8144]
and eax, 0xfbbd470
mov dword [0x643e7ff4], eax
sub eax, 0xb29384f
mov dword [0x643e8144], eax
mov dword [esp + 4], eax
mov dword [esp], str.FrontEndHeapDebugOptions
call fcn.643d10cc
xor eax, eax
cmp byte [eax + str.The_number_of_maximum_ticket_referrals_has_been_exceeded.], 0
je 0x643cbece
inc eax
cmp eax, 0x93e
jne 0x643cbeae
mov eax, dword [0x643e7ff4]
sub eax, 0x7e293d66
mov dword [0x643e8144], eax
mov eax, dword [0x643e8100]
lea edx, [eax - 0x210bcc8d]
add eax, 0x6b6c7ccd
mov dword [0x643e7ff4], edx
mov dword [0x643e8100], eax
mov dword [esp], str.The_number_of_maximum_ticket_referrals_has_been_exceeded.
call fcn.643d1d8c
imul eax, dword [0x643e7ff4], 0xb23fe4ef
mov dword [0x643e8100], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, dword [0x643e8144]
sub edi, dword [ebp + esi*4 - 0x2c]
inc esi
sub dword [0x643e8100], 0x169dcbb6
lea edx, [eax - 0x4aa79750]
mov dword [ebp - 0x60], edi
mov dword [0x643e8144], edx
cmp esi, 5
jne 0x643cbe6f
mov ecx, str.The_number_of_maximum_ticket_referrals_has_been_exceeded.
mov esi, 0x15ef
movzx edx, byte [ecx]
inc ecx
test dl, dl
je 0x643cbf5e
add esi, edx
cmp esi, 0x1d22
jbe 0x643cbf40
add dword [0x643e7ff4], 0x6556ebae
jmp 0x643cbf68
add eax, 0x5b373a29
mov dword [0x643e8144], eax
mov eax, dword [0x643e7ff4]
sub eax, 0x2317b75a
mov dword [0x643e8100], eax
call fcn.643cde38
mov eax, dword [0x643e8100]
xor edx, edx
cmp word [edx + str.File_sharing_has_been_temporarily_paused.], 0
je 0x643cbfa8
add edx, 2
cmp edx, 0xc5e
jne 0x643cbf83
imul edx, dword [0x643e8144], 0x2d12efbe
mov dword [0x643e7ff4], edx
imul edx, dword [0x643e7ff4], 0xb449d60f
add eax, 0x1ac9cf60
mov dword [0x643e8100], eax
mov dword [0x643e7ff4], edx
xor edx, edx
cmp word [edx + edx + str.Specified_primary_surface_size_is_invalid.], 0
je 0x643cbfee
inc edx
cmp edx, 0x171e
jne 0x643cbfc4
call fcn.643ce7dc
mov eax, dword [0x643e8100]
xor eax, 0x24377154
mov dword [0x643e8144], eax
jmp 0x643cbffc
imul eax, eax, 0x6b5aa03
cmp edx, 0x255
jle 0x643cc00b
call fcn.643d2cfc
mov eax, dword [0x643e8144]
add eax, 0x2924e573
xor eax, 0x1184ac64
xor esi, esi
lea edi, [ebp - 0x4a]
and dword [0x643e8100], 0x6fc3e1dc
mov dword [0x643e8144], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
imul eax, dword [0x643e8100], 0xc34fee3c
mov dword [0x643e8144], eax
call fcn.643d1fc4
mov ecx, 6
xor eax, eax
mov dword [ebp - 0x50], esi
rep stosb byte es:[edi], al
mov word [ebp - 0x4c], 0
test ebx, ebx
jne 0x643cc05b
xor eax, eax
jmp 0x643cc308
cmp dword [ebp + 0xc], 0
jne 0x643cc0ea
cmp byte [str.The_number_of_maximum_ticket_referrals_has_been_exceeded.], 0
je 0x643cc073
call fcn.643d36bc
mov eax, dword [0x643e8144]
add eax, 0x492fba60
mov dword [0x643e8144], eax
and eax, 0x24168bec
mov dword [0x643e7ff4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov eax, dword [ebp + 0xc]
cmp word [eax + str.File_sharing_has_been_temporarily_paused.], 0
je 0x643cc0c0
add dword [ebp + 0xc], 2
cmp dword [ebp + 0xc], 0x3dd2
jne 0x643cc092
call fcn.643cde38
imul eax, dword [0x643e8144], 0xa926a2fc
mov dword [0x643e8144], eax
mov eax, dword [0x643e8100]
xor dword [0x643e8144], 0xf19491bd
xor eax, 0x3fd956ae
mov dword [0x643e7ff4], eax
mov dword [esp], str.The_number_of_maximum_ticket_referrals_has_been_exceeded.
call fcn.643d1d8c
jmp 0x643cc054
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp - 0x5c]
or dword [0x643e8144], 0xfd049202
add eax, ebx
mov esi, dword [eax + ecx*8 + 0x78]
mov ecx, dword [ebp - 0x60]
mov eax, dword [eax + ecx*8 + 0x7c]
add esi, ebx
mov dword [ebp - 0x5c], eax
imul eax, dword [0x643e8100], 0x9096f405
mov dword [0x643e7ff4], eax
mov dword [esp + 8], str.File_sharing_has_been_temporarily_paused.
mov dword [esp + 4], eax
mov dword [esp], str.FrontEndHeapDebugOptions
call fcn.643cfc0c
mov eax, dword [0x643e7ff4]
and eax, 0x90c9c1a7
mov dword [0x643e8100], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x64], eax
mov dword [esp + 4], str.The_number_of_maximum_ticket_referrals_has_been_exceeded.
mov dword [esp], str.The_number_of_maximum_ticket_referrals_has_been_exceeded.
call fcn.643d0a60
mov eax, dword [0x643e8144]
sub eax, 0x76dc7bbe
mov dword [0x643e8144], eax
imul eax, eax, 0x75fc7abf
mov dword [0x643e7ff4], eax
mov dword [esp], str.The_number_of_maximum_ticket_referrals_has_been_exceeded.
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
call fcn.643cde38
mov eax, dword [0x643e8144]
xor eax, 0xbf9c3e84
mov dword [0x643e8100], eax
call fcn.643ce7dc
xor eax, eax
cmp word [eax + str.File_sharing_has_been_temporarily_paused.], 0
je 0x643cc1cd
add eax, 2
cmp eax, 0x2366
jne 0x643cc1a5
call fcn.643d4a10
mov eax, dword [0x643e7ff4]
sub eax, 0x79177a97
mov dword [0x643e8100], eax
mov eax, dword [0x643e8100]
mov ecx, dword [esi + 0x24]
xor edx, edx
and eax, 0x98561c59
mov dword [0x643e8100], eax
imul eax, eax, 0xd874b26d
mov dword [0x643e7ff4], eax
cmp edx, dword [esi + 0x18]
jae 0x643cc054
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x6c], ecx
add eax, ebx
mov edi, dword [eax + edx*4]
xor edx, edx
mov dword [esp + 8], 1
mov dword [esp + 4], edx
add edi, ebx
mov dword [esp], edi
call fcn.643cbad4
cmp eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
jne 0x643cc302
add edx, edx
add edx, ebx
movzx eax, word [edx + ecx]
mov edx, dword [ebp - 0x64]
lea eax, [ebx + eax*4]
mov ecx, dword [eax + edx]
add ecx, ebx
mov dword [ebp - 0x50], ecx
mov eax, ecx
cmp ecx, esi
jb 0x643cc2fd
mov ecx, dword [ebp - 0x5c]
add esi, ebx
add esi, ecx
cmp eax, esi
jae 0x643cc2fd
mov dword [esp], edi
call fcn.643cdac0
mov dword [ebp - 0x48], edi
mov word [ebp - 0x4c], ax
inc eax
mov word [ebp - 0x4a], ax
mov eax, dword [0x643d5094]
cmp dword [eax + 8], 0
je 0x643cc054
mov dword [ebp - 0x38], 0x55
xor esi, esi
mov edi, 7
mov dword [ebp - 0x34], 8
mov dword [ebp - 0x30], 0xffffff9c
mov eax, dword [0x643e7ff4]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
mov eax, dword [0x643e8144]
add edi, dword [ebp + esi*4 - 0x38]
inc esi
sub eax, 0x33ad0d66
mov dword [0x643e7ff4], eax
cmp esi, 3
jne 0x643cc298
call dword [sym.imp.KERNEL32.dll_GetTickCount]
imul eax, dword [0x643e8144], 0xbcad1864
mov dword [0x643e8144], eax
lea eax, [ebp - 0x50]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x4c]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebx
mov eax, dword [0x643d5094]
call dword [eax + 8]
sub esp, 0x10
test eax, eax
js 0x643cc054
mov eax, dword [ebp - 0x50]
jmp 0x643cc308
inc edx
jmp 0x643cc1ec
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret