Function at 0x4460d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d82e0
push eax
mov dword fs:[0], esp
sub esp, 0xa3c
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
cmp eax, 0x110
ja 0x44613a
je 0x446111
cmp eax, 0x10
je 0x44615a
cmp eax, 0x4e
jne 0x4461e3
jmp 0x446497
mov esi, dword [ebp + 8]
push esi
call fcn.0042e320
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push esi
call fcn.00446520
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x111
je 0x4461d7
cmp eax, 0x218
jne 0x4461e3
cmp dword [ebp + 0x10], 4
jne 0x446497
mov eax, dword [ebx + 8]
push 0
push 0
push 0
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x14]
push 0xba
push eax
call fcn.0047f650
push dword [eax]
lea eax, [ebp - 0x244]
push 0x104
push eax
call fcn.004a6546
mov edx, dword [ebp - 0x14]
add esp, 0x20
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4461aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x248]
push eax
push 0x4924c0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebx + 0x28b4]
xor ecx, ecx
push 2
push dword [ebp + 8]
mov word [eax], cx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x446497
mov eax, dword [ebp + 0x10]
movzx eax, ax
dec eax
je 0x4461f7
dec eax
je 0x4461bc
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push edi
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xa48], ax
lea eax, [ebp - 0xa46]
push eax
call fcn.004a4860
add esp, 0xc
lea eax, [ebp - 0xa48]
push 0x400
push eax
push 0x4e9
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebp - 0xa48]
push eax
lea ecx, [ebp + 0x10]
call fcn.00406c50
push 0x4e1a64
push 0x4e1a64
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0
call fcn.00446710
mov ecx, eax
call fcn.00446650
push 0x4e11e4
push 0x4e11e4
lea ecx, [ebp + 0x10]
call fcn.00446710
mov ecx, eax
call fcn.00446650
or edi, 0xffffffff
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jle 0x446420
call fcn.004464b0
mov esi, eax
lea ecx, [ebp - 0x3c]
push 0x4db8b8
mov dword [ebp - 0x20], esi
call fcn.00406df0
mov ecx, dword [esi + 0x3c]
mov byte [ebp - 4], 1
mov esi, dword [ecx]
mov dword [ebp + 0xc], esi
cmp esi, ecx
je 0x446322
mov edi, edi
mov eax, dword [ebp + 0x10]
mov edi, dword [esi + 0x28]
cmp word [eax], 0
jne 0x4462c0
xor ecx, ecx
jmp 0x4462e0
mov ecx, eax
lea edx, [ecx + 2]
mov dword [ebp + 0x14], edx
jmp 0x4462d0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4462d0
sub ecx, dword [ebp + 0x14]
sar ecx, 1
push ecx
push eax
push dword [edi + 0x14]
lea ecx, [edi + 4]
push 0
call fcn.0042ac00
test eax, eax
je 0x446308
lea ecx, [ebp + 0xc]
call fcn.00401a10
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp + 0xc]
cmp esi, dword [eax + 0x3c]
jne 0x4462b0
jmp 0x44631f
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x3c]
add eax, 0x1c
cmp ecx, eax
je 0x44631f
push 0xffffffffffffffff
push 0
push eax
call fcn.004052f0
or edi, 0xffffffff
cmp dword [ebp - 0x2c], 0
je 0x4463ec
cmp dword [ebx + 0x28c8], 0
je 0x446350
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebx + 0x28b8]
push eax
call fcn.00445fa0
add esp, 8
test al, al
je 0x4463ec
push 0
push dword [ebx + 4]
lea eax, [ebp - 0x24]
push 0
push 0xba
push eax
call fcn.0047f650
mov esi, eax
push 0
push dword [ebx + 4]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push 0
push 0x4f6
push eax
call fcn.0047f650
push 0
push dword [esi]
mov byte [ebp - 4], 3
push dword [eax]
push dword [ebx + 8]
call fcn.0047fb40
mov edx, dword [ebp - 0x1c]
add esp, 0x38
add edx, 0xfffffff0
mov byte [ebp - 4], 2
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4463b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4463d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4e9
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x44640d
push dword [ebp + 0x10]
push 0x400
push dword [ebx + 0x28b4]
call fcn.004a6546
add esp, 0xc
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [ebp - 0x28], 8
jb 0x446475
push dword [ebp - 0x3c]
call fcn.004a46e7
add esp, 4
jmp 0x446475
push 0
push dword [ebx + 4]
lea eax, [ebp - 0x18]
push 0
push 0xba
push eax
call fcn.0047f650
mov esi, eax
push 0
push dword [ebx + 4]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push 0
push 0x4f5
push eax
call fcn.0047f650
push 0
push dword [esi]
mov byte [ebp - 4], 5
push dword [eax]
push dword [ebx + 8]
call fcn.0047fb40
add esp, 0x38
lea ecx, [ebp - 0x10]
call fcn.004036b0
lea ecx, [ebp - 0x18]
call fcn.004036b0
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
pop edi
jg 0x446497
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, 1
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10