Function at 0x4133f0
Capabilities:
Terminate thread

Disassembly:
sub esp, 0x910
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0x90c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x91c]
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
xor bl, bl
call edx
mov ecx, dword [edi + 0x108]
mov esi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x24]
call eax
mov edx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xb8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x118]
push 0
push str.tabOption
push 0x4b1770
mov ecx, esi
call eax
mov edi, eax
mov eax, dword [ebp + 0x119c]
mov edx, dword [eax + 0x64c]
lea ecx, [eax + 0x64c]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 2
jne 0x41357a
push 0xa
push str.Search.png
lea eax, [edi + 0xea4]
call fcn.00409010
push 0
push edi
call fcn.004199d0
mov eax, dword [ebp + 0x11dc]
test eax, eax
je 0x4134ba
push eax
mov eax, 0x535250
call fcn.004c5dc0
mov eax, dword [ebp + 0xfbc]
push eax
call fcn.0041e120
mov ecx, dword [0x534a5c]
mov edx, dword [0x534a60]
add esp, 4
push 0x8f1
mov dword [esp + 0x20], edx
mov ebx, eax
mov eax, dword [0x534a64]
mov dword [esp + 0x1c], ecx
mov cx, word [0x534a68]
lea edx, [esp + 0x2a]
push 0
push edx
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], cx
call fcn.0050e6a0
mov eax, ebx
add esp, 0xc
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x413510
lea edi, [esp + 0x18]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x413520
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0xfa0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0xeac]
push eax
call fcn.0041c090
mov edx, dword [ebp + 0xfa0]
mov edx, dword [edx + 0xeac]
lea ecx, [esp + 0x18]
push ecx
push 0xbd4
mov ecx, eax
call fcn.0041d5c0
push ebx
call fcn.0050a226
add esp, 4
mov edi, ebp
call fcn.00415440
jmp 0x413645
test edi, edi
je 0x4135c4
mov eax, dword [edi + 0xec0]
test eax, eax
je 0x41359b
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [edi + 0xec0], 0
mov eax, dword [edi + 0xeac]
mov bl, byte [edi + 0xb68]
push eax
call fcn.0041c090
mov edx, dword [edi + 0xeac]
push 0x533194
push 0xbd3
mov ecx, eax
call fcn.0041d5c0
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x64c]
mov edx, dword [eax + 4]
add edi, 0x64c
push esi
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
push esi
mov ecx, edi
call edx
test bl, bl
je 0x413645
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
dec eax
cmp esi, eax
jl 0x4135fb
dec esi
test esi, esi
jl 0x413645
mov eax, dword [edi]
mov edx, dword [eax]
push esi
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x118]
push 0
push str.tabOption
push 0x4b1770
mov ecx, esi
call edx
mov esi, eax
test esi, esi
je 0x413645
mov eax, dword [esi]
mov edx, dword [eax + 0x1bc]
push 1
mov ecx, esi
call edx
mov dword [ebp + 0xfa0], esi
mov ecx, dword [esp + 0x91c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050a231
add esp, 0x910
ret 4