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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2d8
mov eax, dword [0x608554]
xor eax, esp
mov dword [esp + 0x2d4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], ecx
push ecx
push 4
push 0x110a
push dword [edi + 0xc8]
call esi
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4c8970
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x113e
push dword [edi + 0xc8]
mov dword [esp + 0x30], 0x14
call esi
mov eax, dword [edi + 0x164]
xor esi, esi
test eax, eax
je 0x4c894e
nop word [eax + eax]
test esi, esi
js 0x4c8d08
cmp esi, eax
jge 0x4c8d08
mov eax, dword [edi + 0x160]
push dword [eax + esi*4]
call fcn.00577bb7
add esp, 4
cmp dword [esp + 0x44], eax
je 0x4c8924
mov eax, dword [edi + 0x164]
inc esi
cmp esi, eax
jb 0x4c88f0
jmp 0x4c894e
push 1
push esi
lea ecx, [edi + 0x15c]
call fcn.0055b4d3
push 1
push esi
lea ecx, [edi + 0x134]
call fcn.0055b4d3
push 1
push esi
lea ecx, [edi + 0x148]
call fcn.0055b4d3
push dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x1101
push dword [edi + 0xc8]
call esi
mov ecx, dword [esp + 0x18]
jmp 0x4c88a2
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4c8cf2
cmp dword [ebp + 0x10], 0
jbe 0x4c8cf2
push 0x208
xorps xmm0, xmm0
lea eax, [esp + 0xd4]
push 0
push eax
movaps xmmword [esp + 0x2c], xmm0
movaps xmmword [esp + 0x3c], xmm0
movq qword [esp + 0x4c], xmm0
call fcn.00571c00
add esp, 0xc
push esi
mov ecx, edi
call fcn.004c9a90
test eax, eax
je 0x4c8ce1
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
push ecx
push str.CBaseDlgSetPortNetwork::GetIconNumber
lea ecx, [esp + 0xa0]
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x28], 0x77
mov dword [esp + 0x2c], eax
call fcn.0040a480
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x4c8a43
test byte [edx + 0x1c], 1
je 0x4c8a43
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov ecx, 0xa
cmovae eax, dword [0x608f54]
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x5d7868
call fcn.00401840
mov edx, dword [0x608f30]
add esp, 0xc
mov ecx, dword [esi]
test ecx, 0x10000
je 0x4c8a54
mov esi, 1
jmp 0x4c8ac0
test ecx, 0x20000
je 0x4c8a63
mov esi, 4
jmp 0x4c8ac0
test ecx, 0x40000
je 0x4c8a72
mov esi, 2
jmp 0x4c8ac0
test ecx, 0x800000
je 0x4c8a81
mov esi, 3
jmp 0x4c8ac0
cmp edx, 0x608f30
je 0x4c8abb
test byte [edx + 0x1c], 4
je 0x4c8abb
push dword [esi + 8]
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ecx
cmovae eax, dword [0x608f54]
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
call fcn.004c83d0
mov edx, dword [0x608f30]
add esp, 0x14
mov esi, 0x63
mov al, 1
mov byte [esp + 0x9c], al
cmp edx, 0x608f30
je 0x4c8b0f
test byte [edx + 0x1c], al
je 0x4c8b0f
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov ecx, 0xc
cmovae eax, dword [0x608f54]
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x5d7868
call fcn.00401840
mov edx, dword [0x608f30]
add esp, 0xc
mov al, byte [esp + 0x9c]
mov dword [esp + 0x98], vtable.WppTrace.0
test al, al
jne 0x4c8b70
cmp edx, 0x608f30
je 0x4c8b70
test byte [edx + 0x1c], 1
je 0x4c8b70
cmp dword [esp + 0xb4], 8
lea ecx, [esp + 0xa0]
mov eax, 0x608f54
cmovae ecx, dword [esp + 0xa0]
cmp dword [0x608f68], 8
push ecx
cmovae eax, dword [0x608f54]
mov ecx, 0xa
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x5c6f30
call fcn.00405920
add esp, 0x10
lea ecx, [esp + 0xb8]
call fcn.00403570
lea ecx, [esp + 0xa0]
call fcn.00403570
cmp esi, 0x63
je 0x4c8cdd
mov eax, dword [0x61841c]
inc eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], eax
mov dword [0x61841c], eax
cmp eax, 0x80000000
jbe 0x4c8bc2
mov eax, 1
mov dword [0x61841c], 1
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x18], 0
mov ecx, edi
mov dword [esp + 0x44], eax
sete al
movzx eax, al
push eax
push 0x104
lea eax, [esp + 0xd8]
push eax
push dword [esp + 0x20]
call fcn.004c8d10
lea eax, [esp + 0xd0]
mov ecx, eax
mov dword [esp + 0x30], eax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c8c00
movups xmm0, xmmword [esp + 0x20]
sub ecx, edx
sar ecx, 1
movups xmmword [esp + 0x58], xmm0
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esp + 0x30]
mov eax, dword [eax]
shr eax, 0x17
not eax
and eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
push eax
push 0
push 0x1132
push dword [edi + 0xc8]
movups xmmword [esp + 0x78], xmm0
movq xmm0, qword [esp + 0x50]
movq qword [esp + 0x88], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0x134]
push dword [eax + 8]
push dword [ecx + 8]
call fcn.0055b606
push dword [esp + 0x1c]
lea eax, [esp + 0x9c]
push 0x5c6b38
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x98]
lea ecx, [edi + 0x15c]
push eax
push dword [ecx + 8]
call fcn.0055b606
push esi
lea eax, [esp + 0x9c]
push 0x5c6b38
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x98]
lea ecx, [edi + 0x148]
push eax
push dword [ecx + 8]
call fcn.0055b606
mov esi, dword [esp + 0x14]
add esi, 0x10
sub dword [ebp + 0x10], 1
mov dword [esp + 0x14], esi
jne 0x4c89b0
mov ecx, dword [esp + 0x2dc]
pop edi
pop esi
xor ecx, esp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 0xc
call fcn.005511b9
int3