Function at 0x4c0c70
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.004bc8d0
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 [0x546564]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4c0cdb
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c0cdb
mov eax, dword [esp + 0x54]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov ecx, str.Fav_Filter
lea esi, [edi + 0x5c]
test ecx, ecx
jne 0x4c0ceb
xor eax, eax
jmp 0x4c0cf6
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 0x4c157a
cmp eax, 2
je 0x4c157a
cmp eax, 3
je 0x4c157a
mov eax, dword [esi]
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push eax
push 0x546aec
call fcn.0048dbb0
mov ebx, eax
mov eax, dword [0x546560]
mov edx, 0x553dd8
add esp, 0x14
test edx, edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x1c], eax
je 0x4c0d8f
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x4c0d8a
push esi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x4c0d8a
mov eax, dword [esp + 0x1c]
inc esi
push esi
push 0x553dd8
push eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x546560]
test ebx, ebx
mov dword [esp + 0x58], 0
jle 0x4c130d
mov ebx, 0x5c
jmp 0x4c0dab
mov eax, dword [0x546560]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x20]
push ecx
push 0x547b34
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.0048def0
mov ecx, dword [esp + 0x2c]
mov esi, eax
add esp, 0x1c
mov eax, dword [esi]
cmp ecx, eax
je 0x4c0e36
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4c0e06
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4c0e0d
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4c0e1d
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00405870
jmp 0x4c0e36
lea ecx, [esp + 0x10]
call fcn.00412670
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 [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4c0e61
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c0e61
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov ecx, dword [esp + 0x10]
push ebx
push 3
lea edx, [esp + 0x5c]
push ecx
push edx
call fcn.00518490
add esp, 0x10
test eax, eax
je 0x4c1277
lea eax, [esp + 0x74]
mov ecx, 7
mov edx, dword [0x546560]
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x4c0e87
xor edi, edi
lea esi, [esp + 0x74]
mov ecx, dword [esp + 0x10]
mov eax, dword [0x546560]
push ebx
push edi
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.00518490
mov eax, dword [esi]
mov ecx, dword [esp + 0x24]
add esp, 0x10
cmp eax, ecx
je 0x4c0f06
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x4c0ed6
mov edx, dword [0x546564]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4c0edd
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x4c0eeb
mov eax, dword [ecx - 8]
push ecx
push eax
mov ecx, esi
call fcn.00405870
jmp 0x4c0f02
mov ecx, esi
call fcn.00412670
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 0x4c0f29
mov eax, dword [esi]
push eax
call fcn.0053183e
add esp, 4
push eax
push 0x547b34
push esi
call fcn.00405cb0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [0x546564]
lea edx, [ecx - 0xc]
cmp edx, eax
je 0x4c0f4f
add ecx, 0xfffffff4
push ecx
call ebp
test eax, eax
jg 0x4c0f4f
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
inc edi
add esi, 4
cmp edi, 4
jl 0x4c0e9b
mov ecx, dword [0x546560]
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 [0x546560]
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 [0x546560]
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 [0x546560]
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 [0x546560]
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 [0x546560]
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 [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c10f6
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c10f6
mov edx, dword [esp + 0x38]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x3c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c1121
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c1121
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x40]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c114c
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c114c
mov edx, dword [esp + 0x40]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c1177
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c1177
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c11a2
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c11a2
mov edx, dword [esp + 0x48]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [0x546560]
mov ecx, 0x546cdc
test ecx, ecx
mov dword [esp + 0x34], eax
jne 0x4c11b8
xor eax, eax
jmp 0x4c11c3
push 0x546cdc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x546cdc
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 [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4c122f
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c122f
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x50]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c125a
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c125a
mov edx, dword [esp + 0x50]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea esi, [esp + 0x90]
mov edi, 7
sub esi, 4
mov ecx, esi
call fcn.00405700
dec edi
jne 0x4c1266
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x20]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c12a2
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c12a2
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c12cd
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c12cd
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x54]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c12f8
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4c12f8
mov edx, dword [esp + 0x54]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x70]
inc eax
cmp eax, ecx
mov dword [esp + 0x58], eax
jl 0x4c0da6
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 0x553dd8
lea ecx, [esp + 0x1c]
call fcn.00405730
push 0x546cdc
lea edx, [esp + 0x64]
push 0x36
push edx
call fcn.004bc8d0
add esp, 8
push eax
push str._1:
lea eax, [esp + 0x70]
push 0xb9
push eax
call fcn.004bc8d0
add esp, 8
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00412f10
lea edx, [esp + 0x74]
push eax
push edx
call fcn.00412dc0
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00412f10
push eax
lea ecx, [esp + 0x1c]
call fcn.00413220
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 0x546cdc
lea ecx, [esp + 0x64]
push 0x37
push ecx
call fcn.004bc8d0
add esp, 8
lea edx, [esp + 0x68]
push eax
push str._2:
push 0xb9
push edx
call fcn.004bc8d0
add esp, 8
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00412f10
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00412dc0
lea edx, [esp + 0x74]
push eax
push edx
call fcn.00412f10
push eax
lea ecx, [esp + 0x1c]
call fcn.00413220
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 0x546cdc
lea eax, [esp + 0x64]
push 0x38
push eax
call fcn.004bc8d0
add esp, 8
lea ecx, [esp + 0x68]
push eax
push str._3:
push 0xb9
push ecx
call fcn.004bc8d0
add esp, 8
lea edx, [esp + 0x74]
push eax
push edx
call fcn.00412f10
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00412dc0
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00412f10
push eax
lea ecx, [esp + 0x1c]
call fcn.00413220
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 0x546cdc
lea edx, [esp + 0x64]
push 0x57
push edx
call fcn.004bc8d0
add esp, 8
push eax
push str._4:
lea eax, [esp + 0x70]
push 0xba
push eax
call fcn.004bc8d0
add esp, 8
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00412f10
lea edx, [esp + 0x74]
push eax
push edx
call fcn.00412dc0
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00412f10
push eax
lea ecx, [esp + 0x1c]
call fcn.00413220
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.004c0720
pop edi
pop esi
pop ebp
add esp, 0x80
ret