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

Disassembly:
push 0xffffffffffffffff
push 0x5bc11e
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x70a108]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a108]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
movzx eax, word [esp + 0x74]
mov ebx, ecx
push eax
mov ecx, 0x71a1f0
mov dword [esp + 0x18], eax
call fcn.00494e50
mov dword [esp + 0x18], eax
test eax, eax
je 0x406ce6
xor ebp, ebp
mov edi, dword [ebx + 0x218]
movzx eax, word [edi + 0x226]
movzx ecx, word [edi + 0x224]
imul eax, ecx
movzx esi, bp
cmp esi, eax
jl 0x406b05
push 0
push 0x31
push str.c:userspsk_elp1desktop_src_update_src_client_mh._Interface_cIconGridDialog.h
call fcn.00529940
add esp, 0xc
mov edx, dword [edi + 0x220]
mov ecx, dword [edx + esi*8]
test ecx, ecx
je 0x406b70
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
cmp word [esp + 0x14], ax
jne 0x406b70
mov edi, dword [ebx + 0x218]
movzx eax, word [edi + 0x226]
movzx ecx, word [edi + 0x224]
imul eax, ecx
cmp esi, eax
jl 0x406b4c
push 0
push 0x31
push str.c:userspsk_elp1desktop_src_update_src_client_mh._Interface_cIconGridDialog.h
call fcn.00529940
add esp, 0xc
mov edx, dword [edi + 0x220]
mov esi, dword [edx + esi*8]
test esi, esi
je 0x406b70
mov ecx, dword [ebx + 0x218]
push esi
call fcn.00430540
push esi
mov ecx, 0x719958
call fcn.004431e0
inc ebp
cmp ebp, 5
jl 0x406ad6
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x538]
test edi, edi
je 0x406ce6
mov esi, dword [ebx + 0x218]
movzx ecx, word [esi + 0x226]
movzx edx, word [esi + 0x224]
mov ebp, dword [esp + 0x70]
imul ecx, edx
movzx eax, bp
cmp eax, ecx
jl 0x406bbf
push 0
push 0x31
push str.c:userspsk_elp1desktop_src_update_src_client_mh._Interface_cIconGridDialog.h
call fcn.00529940
add esp, 0xc
mov ecx, dword [esi + 0x220]
movzx eax, bp
mov esi, dword [ecx + eax*8]
test esi, esi
je 0x406be6
mov ecx, dword [ebx + 0x218]
push esi
call fcn.00430540
push esi
mov ecx, 0x719958
call fcn.004431e0
push 0x53c
call fcn.00586f10
add esp, 4
mov dword [esp + 0x14], eax
xor esi, esi
mov dword [esp + 0x68], esi
cmp eax, esi
je 0x406c0a
mov ecx, eax
call fcn.004945c0
mov esi, eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x68], 0xffffffff
call fcn.00430640
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 1
call fcn.00430640
mov eax, dword [edi + 0x33]
push 2
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, 0x7197e8
mov byte [esp + 0x74], 2
call fcn.00435b40
mov eax, dword [edi + 0x37]
push 2
lea ecx, [esp + 0x20]
push ecx
push eax
mov ecx, 0x7197e8
call fcn.00435b40
mov edx, dword [esi]
mov edx, dword [edx + 0xb4]
lea eax, [ebp + 0x109a0]
push eax
lea ecx, [esp + 0x20]
push ecx
lea eax, [esp + 0x44]
push eax
push 0x28
push 0x28
push 0
push 0
mov ecx, esi
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x220]
add ecx, 0x4b8
push ecx
mov ecx, esi
mov dword [esi + 0x220], eax
call fcn.00494730
mov eax, 0x8e
push esi
mov ecx, 0x719958
mov dword [esi + 0x538], edi
mov word [esi + 0xc], ax
call fcn.004054d0
mov ecx, dword [ebx + 0x218]
push esi
push ebp
call fcn.004302b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 1
call fcn.00430650
lea ecx, [esp + 0x3c]
mov dword [esp + 0x68], 0xffffffff
call fcn.00430650
jmp 0x406d05
push 0x9ac
mov ecx, 0x71c268
call fcn.004d3c70
push eax
push 0x1d
push 0x71c268
call fcn.004d4fc0
add esp, 0xc
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00586d40
add esp, 0x58
ret 8