Function at 0x4593c0
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x4ba1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov esi, ecx
push 0x4480d0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [0x4e02bc]
push 0
push 0xc
mov dword [0x4dfd64], eax
call ebp
push eax
push 0xb
call ebp
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push 0x80
push edi
call ebx
push eax
mov eax, dword [esi + 4]
push 1
lea edi, [esi + 4]
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x4e02bc]
push 0
push 0x32
mov dword [esp + 0x1c], ecx
call ebp
push eax
push 0x31
call ebp
mov edx, dword [esp + 0x1c]
push eax
push 1
push 0x80
push edx
call ebx
push eax
mov eax, dword [edi]
push 0
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, dword [edi]
lea ebx, [esi + 0x344]
push 0xffffff
mov dword [esp + 0x1c], ebx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push ebp
mov ecx, ebx
call fcn.004507f0
mov eax, dword [edi]
push eax
push str.625922BE_A44B_40a8_B944_805C674807A5
push eax
call dword [sym.imp.USER32.dll_SetPropW]
mov ecx, dword [esi + 0x400]
mov ebp, dword [sym.imp.USER32.dll_LoadIconA]
push str.ICON_CONNECTED
push ecx
call ebp
mov ebx, eax
mov eax, dword [esi + 0x424]
test eax, eax
je 0x4594c4
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esi + 0x424], ebx
mov edx, dword [esi + 0x400]
push str.ICON_CONNECTING1
push edx
call ebp
mov ebx, eax
mov eax, dword [esi + 0x428]
test eax, eax
je 0x4594eb
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esi + 0x428], ebx
mov eax, dword [esi + 0x400]
push str.ICON_CONNECTING2
push eax
call ebp
mov ebx, eax
mov eax, dword [esi + 0x42c]
test eax, eax
je 0x459512
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esi + 0x42c], ebx
mov ecx, dword [esi + 0x400]
push str.ICON_CONNECTING3
push ecx
call ebp
mov ebx, eax
mov eax, dword [esi + 0x430]
test eax, eax
je 0x459539
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esi + 0x430], ebx
mov edx, dword [esi + 0x400]
push str.ICON_CONNECTING4
push edx
call ebp
mov ebp, eax
mov eax, dword [esi + 0x434]
test eax, eax
je 0x459560
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esi + 0x434], ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, dword [0x4e108c]
add ebp, 0x10
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4dfe18]
lea eax, [esp + 0x14]
push eax
call fcn.00449ba0
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esi + 0x20]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ecx
push edx
lea ecx, [ebx + 4]
call fcn.00448190
mov eax, dword [edi]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f1
push eax
call ebx
mov ecx, dword [edi]
push 0x3f5
lea ebp, [esi + 0x3b4]
push ecx
mov dword [ebp], eax
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x3cc]
push 1
push ebp
push eax
push edx
call fcn.004848e0
push 1
push esi
call fcn.00449360
mov eax, dword [edi]
add esp, 8
push 1
push 0x21c
push 0x318
xor ebx, ebx
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push ebx
mov ecx, edi
call fcn.00414740
lea ebp, [esi + 0x14c]
push 0x12a
mov ecx, ebp
call fcn.00445620
push 0xf2
mov ecx, ebp
call fcn.004473d0
xor ebp, ebp
mov edi, edi
mov ecx, dword [esi + 0x3c0]
cmp ecx, ebx
je 0x4596b8
mov eax, dword [esi + 0x3c4]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jae 0x4596b8
cmp ecx, ebx
je 0x45965c
mov eax, dword [esi + 0x3c4]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x459661
call fcn.0048ed51
mov ecx, dword [esi + 0x3c0]
cmp dword [ecx + ebp*4], 1
jne 0x459698
mov edx, dword [esi + 0x340]
push ebx
push 0x800b
push edx
call dword [sym.imp.USER32.dll_RemoveMenu]
mov eax, dword [esi + 0x340]
push ebx
push 0x800c
push eax
call dword [sym.imp.USER32.dll_RemoveMenu]
add ebp, 1
jmp 0x459630
cmp ecx, ebx
je 0x4596ab
mov eax, dword [esi + 0x3c4]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x4596b0
call fcn.0048ed51
add ebp, 1
jmp 0x459630
cmp dword [0x4dff18], ebx
je 0x459704
cmp dword [0x4dff1c], 0x10
mov ebp, dword [0x4dff08]
jae 0x4596d4
mov ebp, 0x4dff08
sub esp, 0x1c
mov ecx, esp
mov eax, ebp
lea edx, [eax + 1]
mov dword [esp + 0x30], esp
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
mov dword [esp + 0x30], edx
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4596f3
sub eax, dword [esp + 0x30]
push eax
push ebp
jmp 0x459721
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x11
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
push 0x4c0e84
call fcn.00401e90
lea ecx, [esi + 0x24]
call fcn.0044df10
lea eax, [esp + 0x70]
push eax
call fcn.00470cd0
add esp, 4
mov ebp, eax
push 0xc
push 0x4c2a04
lea ecx, [esp + 0x40]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], 0
call fcn.00401e90
push ebp
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0xa0], 1
call fcn.00425df0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x438]
mov byte [esp + 0xa0], 2
call fcn.00401cf0
mov ebp, 0x10
cmp dword [esp + 0x6c], ebp
jb 0x4597af
mov eax, dword [esp + 0x58]
push eax
call fcn.0048d433
add esp, 4
cmp dword [esp + 0x50], ebp
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], 0
jb 0x4597d3
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0048d433
add esp, 4
cmp dword [esp + 0x88], ebp
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], 0
mov dword [esp + 0x94], 0xffffffff
jb 0x459805
mov edx, dword [esp + 0x74]
push edx
call fcn.0048d433
add esp, 4
mov ecx, dword [edi]
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
add dword [esp + 0x2c], 0x27
sub dword [esp + 0x34], 0x1c
mov eax, 9
add dword [esp + 0x28], eax
sub dword [esp + 0x30], eax
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.00454ba0
push 0x21c
push 0x318
mov ecx, esi
call fcn.0044f960
mov eax, dword [edi]
push 0x401
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, esi
call fcn.004547c0
mov ecx, dword [edi]
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x14], ecx
je 0x4598e1
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0x14]
lea eax, [esp + 0x14]
add esi, 0x10
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov dword [esp + 0x24], edx
call fcn.004133e0
mov edi, eax
mov eax, dword [edi]
cmp eax, ebx
je 0x4598a5
cmp eax, esi
je 0x4598aa
call fcn.0048ed51
mov edx, dword [esp + 0x1c]
cmp dword [edi + 4], edx
je 0x4598c8
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00413f20
mov ecx, dword [eax]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00413f20
mov dword [eax], ebp
mov eax, dword [esp + 0xa8]
mov dword [eax], ebx
jmp 0x4598ea
mov ecx, dword [esp + 0xa8]
mov dword [ecx], ebx
xor eax, eax
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 0x10