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

Disassembly:
sub esp, 0x50
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x4c], eax
movzx eax, word [esp + 0x58]
push ebx
mov ebx, ecx
push eax
mov ecx, 0x6b1108
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.0048a200
mov dword [esp + 4], eax
test eax, eax
je 0x406a74
push ebp
push esi
xor ebp, ebp
push edi
lea ebx, [ebx]
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 0x40686f
push 0
push 0x31
push str.c:userspsk_elp1desktop_src_update_src_client_mh._Interface_cIconGridDialog.h
call fcn.00515d90
add esp, 0xc
mov edx, dword [edi + 0x220]
mov ecx, dword [edx + esi*8]
test ecx, ecx
je 0x4068da
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
cmp word [esp + 0x18], ax
jne 0x4068da
mov edi, dword [ebx + 0x218]
movzx eax, word [edi + 0x226]
movzx ecx, word [edi + 0x224]
imul eax, ecx
cmp esi, eax
jl 0x4068b6
push 0
push 0x31
push str.c:userspsk_elp1desktop_src_update_src_client_mh._Interface_cIconGridDialog.h
call fcn.00515d90
add esp, 0xc
mov edx, dword [edi + 0x220]
mov esi, dword [edx + esi*8]
test esi, esi
je 0x4068da
mov ecx, dword [ebx + 0x218]
push esi
call fcn.0042c980
push esi
mov ecx, 0x6b0870
call fcn.0043e760
inc ebp
cmp ebp, 5
jl 0x406840
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x538]
test edi, edi
je 0x406a40
mov esi, dword [ebx + 0x218]
movzx ecx, word [esi + 0x226]
movzx edx, word [esi + 0x224]
mov ebx, dword [esp + 0x64]
imul ecx, edx
movzx ebp, bx
cmp ebp, ecx
jl 0x406929
push 0
push 0x31
push str.c:userspsk_elp1desktop_src_update_src_client_mh._Interface_cIconGridDialog.h
call fcn.00515d90
add esp, 0xc
mov eax, dword [esi + 0x220]
mov esi, dword [eax + ebp*8]
test esi, esi
je 0x406951
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x218]
push esi
call fcn.0042c980
push esi
mov ecx, 0x6b0870
call fcn.0043e760
push 0x53c
call fcn.00565941
add esp, 4
test eax, eax
je 0x40696d
mov ecx, eax
call fcn.00489ae0
mov esi, eax
jmp 0x40696f
xor esi, esi
lea ecx, [esp + 0x3c]
call fcn.0042ca80
lea ecx, [esp + 0x1c]
call fcn.0042ca80
mov eax, dword [edi + 0x33]
push 2
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, 0x6b0700
call fcn.00431820
mov edx, dword [edi + 0x37]
push 2
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, 0x6b0700
call fcn.00431820
mov eax, dword [esi]
lea ecx, [ebx + 0x109a0]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [eax + 0xb4]
lea ecx, [esp + 0x44]
push ecx
push 0x28
push 0x28
push 0
push 0
mov ecx, esi
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x220]
add eax, 0x4b8
mov dword [esi + 0x220], ecx
push eax
mov ecx, esi
call fcn.00489ba0
mov edx, 0x8e
mov dword [esi + 0x538], edi
mov word [esi + 0xc], dx
mov ecx, dword [0x6b0888]
push esi
call fcn.00560190
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x218]
push esi
push ebx
call fcn.0042c6f0
lea ecx, [esp + 0x1c]
call fcn.0042ca90
lea ecx, [esp + 0x3c]
call fcn.0042ca90
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00565862
add esp, 0x50
ret 8
push 0x9ac
mov ecx, 0x6b3178
call fcn.004c5f80
push eax
push 0x1d
push 0x6b3178
call fcn.004c71b0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00565862
add esp, 0x50
ret 8
push 0x9ac
mov ecx, 0x6b3178
call fcn.004c5f80
push eax
push 0x1d
push 0x6b3178
call fcn.004c71b0
mov ecx, dword [esp + 0x5c]
add esp, 0xc
pop ebx
xor ecx, esp
call fcn.00565862
add esp, 0x50
ret 8