Function at 0x4c1d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push ebp
push esi
push edi
lea eax, [esp + 0x54]
mov edi, ecx
push 0xbb
push eax
mov dword [esp + 0x70], edi
call fcn.004bd990
mov ecx, dword [edi + 4]
mov esi, dword [eax]
add esp, 8
push 0x407
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x54]
mov ecx, dword [0x547574]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4c1d6b
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c1d6b
mov eax, dword [esp + 0x54]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov ecx, str.Fav_Filter
lea esi, [edi + 0x5c]
test ecx, ecx
jne 0x4c1d7b
xor eax, eax
jmp 0x4c1d86
push str.Fav_Filter
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.Fav_Filter
push eax
mov ecx, esi
call fcn.00405870
mov eax, dword [edi + 0x4c]
cmp eax, 1
je 0x4c260a
cmp eax, 2
je 0x4c260a
cmp eax, 3
je 0x4c260a
mov eax, dword [esi]
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push eax
push 0x547afc
call fcn.0048eb00
mov ebx, eax
mov eax, dword [0x547570]
mov edx, 0x554e48
add esp, 0x14
test edx, edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x1c], eax
je 0x4c1e1f
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x4c1e1a
push esi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x4c1e1a
mov eax, dword [esp + 0x1c]
inc esi
push esi
push 0x554e48
push eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x547570]
test ebx, ebx
mov dword [esp + 0x58], 0
jle 0x4c239d
mov ebx, 0x5c
jmp 0x4c1e3b
mov eax, dword [0x547570]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x20]
push ecx
push 0x548b44
push edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
call fcn.00405cb0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov eax, dword [edi + 0x5c]
push ecx
push edx
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0048ee40
mov ecx, dword [esp + 0x2c]
mov esi, eax
add esp, 0x1c
mov eax, dword [esi]
cmp ecx, eax
je 0x4c1ec6
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4c1e96
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4c1e9d
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4c1ead
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00405870
jmp 0x4c1ec6
lea ecx, [esp + 0x10]
call fcn.004124c0
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x5c]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4c1ef1
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c1ef1
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov ecx, dword [esp + 0x10]
push ebx
push 3
lea edx, [esp + 0x5c]
push ecx
push edx
call fcn.005190f0
add esp, 0x10
test eax, eax
je 0x4c2307
lea eax, [esp + 0x74]
mov ecx, 7
mov edx, dword [0x547570]
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x4c1f17
xor edi, edi
lea esi, [esp + 0x74]
mov ecx, dword [esp + 0x10]
mov eax, dword [0x547570]
push ebx
push edi
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.005190f0
mov eax, dword [esi]
mov ecx, dword [esp + 0x24]
add esp, 0x10
cmp eax, ecx
je 0x4c1f96
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x4c1f66
mov edx, dword [0x547574]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4c1f6d
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x4c1f7b
mov eax, dword [ecx - 8]
push ecx
push eax
mov ecx, esi
call fcn.00405870
jmp 0x4c1f92
mov ecx, esi
call fcn.004124c0
mov eax, dword [esp + 0x14]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x14]
cmp edi, 3
jge 0x4c1fb9
mov eax, dword [esi]
push eax
call fcn.0053232e
add esp, 4
push eax
push 0x548b44
push esi
call fcn.00405cb0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [0x547574]
lea edx, [ecx - 0xc]
cmp edx, eax
je 0x4c1fdf
add ecx, 0xfffffff4
push ecx
call ebp
test eax, eax
jg 0x4c1fdf
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
inc edi
add esi, 4
cmp edi, 4
jl 0x4c1f2b
mov ecx, dword [0x547570]
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x60]
mov dword [esp + 0x60], ebx
push edx
push 1
mov dword [esp + 0x1c], ecx
push eax
mov eax, dword [eax - 8]
lea ecx, [esp + 0x20]
push eax
call fcn.004059f0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00405440
lea ecx, [esp + 0x14]
call fcn.00405700
mov edx, dword [0x547570]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x24], edx
push eax
mov eax, dword [eax - 8]
push eax
mov eax, dword [esp + 0x50]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x34]
call fcn.004059f0
lea edx, [esp + 0x24]
lea ecx, [esp + 0x44]
push edx
call fcn.00405440
lea ecx, [esp + 0x24]
call fcn.00405700
mov eax, dword [0x547570]
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], ebx
push ecx
mov edx, dword [eax - 8]
push 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.004059f0
lea eax, [esp + 0x28]
lea ecx, [esp + 0x40]
push eax
call fcn.00405440
lea ecx, [esp + 0x28]
call fcn.00405700
mov ecx, dword [0x547570]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x2c], ecx
push eax
mov edx, dword [eax - 8]
mov eax, dword [esp + 0x44]
push edx
push eax
mov eax, dword [eax - 8]
lea ecx, [esp + 0x38]
push eax
call fcn.004059f0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x40]
call fcn.00405440
lea ecx, [esp + 0x2c]
call fcn.00405700
mov edx, dword [0x547570]
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x34], edx
mov ecx, dword [eax - 8]
push 1
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.004059f0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x38]
push edx
call fcn.00405440
lea ecx, [esp + 0x30]
call fcn.00405700
mov eax, dword [0x547570]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
push eax
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0x3c]
push ecx
push eax
mov edx, dword [eax - 8]
lea ecx, [esp + 0x40]
push edx
call fcn.004059f0
lea eax, [esp + 0x34]
lea ecx, [esp + 0x50]
push eax
call fcn.00405440
lea ecx, [esp + 0x34]
call fcn.00405700
mov eax, dword [esp + 0x38]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c2186
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c2186
mov edx, dword [esp + 0x38]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x3c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c21b1
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c21b1
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x40]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c21dc
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c21dc
mov edx, dword [esp + 0x40]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c2207
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c2207
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c2232
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c2232
mov edx, dword [esp + 0x48]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [0x547570]
mov ecx, 0x547cec
test ecx, ecx
mov dword [esp + 0x34], eax
jne 0x4c2248
xor eax, eax
jmp 0x4c2253
push 0x547cec
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x547cec
push eax
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x3c]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.004059f0
lea eax, [esp + 0x34]
lea ecx, [esp + 0x4c]
push eax
call fcn.00405440
lea ecx, [esp + 0x34]
call fcn.00405700
mov eax, dword [esp + 0x4c]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405a90
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4c22bf
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c22bf
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x50]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c22ea
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c22ea
mov edx, dword [esp + 0x50]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
lea esi, [esp + 0x90]
mov edi, 7
sub esi, 4
mov ecx, esi
call fcn.00405700
dec edi
jne 0x4c22f6
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x20]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c2332
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c2332
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c235d
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c235d
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x54]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c2388
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c2388
mov edx, dword [esp + 0x54]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x70]
inc eax
cmp eax, ecx
mov dword [esp + 0x58], eax
jl 0x4c1e36
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
push eax
call esi
mov ecx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push ecx
push eax
call ebx
push 0x554e48
lea ecx, [esp + 0x1c]
call fcn.00405730
push 0x547cec
lea edx, [esp + 0x64]
push 0x36
push edx
call fcn.004bd990
add esp, 8
push eax
push str._1:
lea eax, [esp + 0x70]
push 0xb9
push eax
call fcn.004bd990
add esp, 8
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00412d60
lea edx, [esp + 0x74]
push eax
push edx
call fcn.00412c10
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00412d60
push eax
lea ecx, [esp + 0x1c]
call fcn.00413070
lea ecx, [esp + 0x70]
call fcn.00405700
lea ecx, [esp + 0x6c]
call fcn.00405700
lea ecx, [esp + 0x68]
call fcn.00405700
lea ecx, [esp + 0x64]
call fcn.00405700
lea ecx, [esp + 0x60]
call fcn.00405700
push 0x547cec
lea ecx, [esp + 0x64]
push 0x37
push ecx
call fcn.004bd990
add esp, 8
lea edx, [esp + 0x68]
push eax
push str._2:
push 0xb9
push edx
call fcn.004bd990
add esp, 8
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00412d60
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00412c10
lea edx, [esp + 0x74]
push eax
push edx
call fcn.00412d60
push eax
lea ecx, [esp + 0x1c]
call fcn.00413070
lea ecx, [esp + 0x70]
call fcn.00405700
lea ecx, [esp + 0x6c]
call fcn.00405700
lea ecx, [esp + 0x68]
call fcn.00405700
lea ecx, [esp + 0x64]
call fcn.00405700
lea ecx, [esp + 0x60]
call fcn.00405700
push 0x547cec
lea eax, [esp + 0x64]
push 0x38
push eax
call fcn.004bd990
add esp, 8
lea ecx, [esp + 0x68]
push eax
push str._3:
push 0xb9
push ecx
call fcn.004bd990
add esp, 8
lea edx, [esp + 0x74]
push eax
push edx
call fcn.00412d60
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00412c10
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00412d60
push eax
lea ecx, [esp + 0x1c]
call fcn.00413070
lea ecx, [esp + 0x70]
call fcn.00405700
lea ecx, [esp + 0x6c]
call fcn.00405700
lea ecx, [esp + 0x68]
call fcn.00405700
lea ecx, [esp + 0x64]
call fcn.00405700
lea ecx, [esp + 0x60]
call fcn.00405700
push 0x547cec
lea edx, [esp + 0x64]
push 0x57
push edx
call fcn.004bd990
add esp, 8
push eax
push str._4:
lea eax, [esp + 0x70]
push 0xba
push eax
call fcn.004bd990
add esp, 8
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00412d60
lea edx, [esp + 0x74]
push eax
push edx
call fcn.00412c10
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00412d60
push eax
lea ecx, [esp + 0x1c]
call fcn.00413070
lea ecx, [esp + 0x70]
call fcn.00405700
lea ecx, [esp + 0x6c]
call fcn.00405700
lea ecx, [esp + 0x68]
call fcn.00405700
lea ecx, [esp + 0x64]
call fcn.00405700
lea ecx, [esp + 0x60]
call fcn.00405700
mov ecx, dword [edi + 4]
push 0x41b
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
push eax
call ebx
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x1c]
call fcn.00405700
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x80
ret
mov ecx, edi
call fcn.004c17b0
pop edi
pop esi
pop ebp
add esp, 0x80
ret