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

Disassembly:
sub esp, 0x88
push ebx
push ebp
mov ebp, dword [esp + 0x98]
push esi
push edi
lea ecx, [esp + 0xa8]
call fcn.0040cd60
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
push 0x49f310
call fcn.00443675
test al, al
je case.0x46cb4a.8
mov eax, dword [esp + 0x18]
mov ecx, dword [0x49f370]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
mov ecx, dword [0x49f384]
mov ebx, dword [esp + 0x1c]
mov edx, dword [ecx + ebx*4]
mov esi, dword [edx]
mov dl, byte [esi + 0x78]
mov edi, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x1b], dl
call fcn.00437acf
movzx ecx, dl
add ecx, 0xfffffffa
add esp, 4
mov dword [esp + 0x1c], eax
cmp ecx, 0x14
ja case.0x46cb4a.8
movzx ecx, byte [ecx + 0x46d237]
jmp dword [ecx*4 + 0x46d21b]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, al
jns 0x46cbcf
push 0x2010
push 0
push 0
push 0
push ebp
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
je case.0x46cb4a.8
push ebx
push 0
push 0xf7
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x46cb99
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x54]
test eax, eax
je 0x46cba7
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], 0
lea esi, [esp + 0xa8]
call fcn.0040bfb0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c
cmp dword [esp + 0x24], 0xffffffff
jne 0x46cc4e
cmp byte [esp + 0x17], 0x18
jne 0x46cc4e
push 0x2010
push 0
push 0
push 1
push ebp
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
je 0x46d1e2
push ebx
push 1
push 0xf7
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x46cc18
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x54]
test eax, eax
je 0x46cc26
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], ebx
lea esi, [esp + 0xa8]
call fcn.0040bfb0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c
mov ecx, dword [esp + 0x1c]
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
push ecx
push ebp
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
jle case.0x46cb4a.8
cmp dword [esp + 0xa4], 0
mov ebp, dword [sym.imp.USER32.dll_DestroyIcon]
je 0x46cc89
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
push edx
jmp 0x46cc92
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
push eax
call ebp
push ebx
push 1
push 0xf7
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x46ccb1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x54]
test eax, eax
je 0x46ccbb
push eax
call ebp
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], ebx
lea esi, [esp + 0xa8]
call fcn.0040bfb0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c
movsx ecx, word [esi + 0x74]
movsx edx, word [esi + 0x76]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x20]
push ecx
push ebp
push esi
mov dword [esp + 0x34], edx
call fcn.004350fb
test eax, eax
je case.0x46cb4a.8
mov edx, dword [esp + 0x18]
push 0
push esi
push edx
call fcn.00435b81
lea esi, [esp + 0xa8]
call fcn.0040bfb0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c
sub esp, 0x10
lea eax, [esp + 0xb8]
mov ebx, esp
call fcn.00408420
push ebp
push esi
call fcn.004564a8
test al, al
je case.0x46cb4a.8
mov eax, dword [esp + 0x18]
push 0
push esi
push eax
call fcn.00435b81
lea esi, [esp + 0xa8]
call fcn.0040bfb0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c
push 1
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
push ebp
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
jg 0x46cdc1
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0xffffffffffffffff
push ebp
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
cmp dword [esp + 0x28], 0
jne 0x46cdc1
cmp dword [esp + 0x20], 0
je case.0x46cb4a.8
cmp byte [esp + 0x17], 0x13
jne 0x46cde6
push 0
push 0
push 0x1004
push edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], 0
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46ce24
mov edi, dword [esi + 0x30]
push edi
push 0x49f310
call fcn.004436fb
lea edx, [esp + 0x2c]
push edx
push 0xffffffffffffffff
push 0x1053
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x44], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je case.0x46cb4a.8
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [0x49f384]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
mov ebp, dword [eax + 0x34]
mov ebx, dword [eax + 0x38]
test ebp, ebp
jne 0x46ce71
push 1
push ebp
push 0x21
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ecx, dword [esp + 0x18]
mov ebp, eax
mov eax, dword [0x49f384]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
push ebp
push 1
push 0x1003
push edi
mov dword [eax + 0x34], ebp
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
jne 0x46cea7
push 1
push ebx
push 0x21
push 0x20
push 0x20
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ecx, dword [0x49f384]
mov edx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
push ebx
push 0
push 0x1003
push edi
mov dword [ecx + 0x38], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test ebp, ebp
je 0x46cf6d
test ebx, ebx
je 0x46cf6d
mov edx, dword [esp + 0x20]
push edx
push 0xffffffffffffffff
push ebp
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
call ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
push eax
push 0xffffffffffffffff
push ebx
call ebp
cmp byte [esp + 0x17], 0x13
jne 0x46cee6
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x84], ecx
mov ebx, dword [esp + 0x24]
cmp ebx, dword [esp + 0x1c]
mov esi, ebx
jg 0x46cf59
nop
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x70]
push edx
push 0
push 0x104b
push edi
mov dword [esp + 0x80], 2
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], 0
call ebp
cmp dword [esp + 0x8c], 0xfffffffe
je 0x46cf36
cmp byte [esp + 0x17], 0x14
jne 0x46cf50
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x70]
push ecx
push 0
push 0x104c
push edi
mov dword [esp + 0x9c], eax
call ebp
inc esi
cmp esi, dword [esp + 0x1c]
jle 0x46cef3
jmp 0x46cf5f
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x1c]
push edx
push ebx
push 0x1015
push edi
call ebp
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
push eax
call esi
mov ecx, dword [esp + 0x28]
push ecx
call esi
lea esi, [esp + 0xa8]
call fcn.0040bfb0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c
push 1
lea edx, [esp + 0x24]
push edx
push 0
push eax
push ebp
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
jle case.0x46cb4a.8
cmp byte [esp + 0x17], 0x10
jne 0x46cfd6
mov eax, dword [0x49f394]
mov esi, edi
mov edi, ebx
mov dword [esp + 0x24], 3
mov dword [esp + 0x1c], eax
jmp 0x46cfee
mov esi, dword [esi + 0x30]
push esi
push 0x49f310
call fcn.004436fb
mov edi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [0x49f384]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx]
mov ebx, dword [eax + 0x3c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
jne 0x46d039
push 1
push 1
push 0x21
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ecx, dword [0x49f384]
mov edx, dword [ecx + edi*4]
mov ebx, eax
mov eax, dword [edx]
push ebx
push 0
push 0x1109
push esi
mov dword [eax + 0x3c], ebx
call ebp
test ebx, ebx
je 0x46d103
mov ecx, dword [esp + 0x20]
push ecx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
cmp byte [esp + 0x17], 0x10
mov ebx, eax
jne 0x46d073
mov al, byte [esp + 0xa4]
test al, 2
je 0x46d065
mov edx, dword [esp + 0x18]
mov dword [edx + 0x1a0], ebx
test al, 4
je 0x46d073
mov eax, dword [esp + 0x18]
mov dword [eax + 0x1a4], ebx
mov edi, dword [esp + 0x24]
cmp edi, dword [esp + 0x1c]
jg 0x46d103
mov edi, edi
mov ecx, dword [0x49f384]
mov eax, dword [ecx + edi*4]
cmp dword [eax], 0
je 0x46d0fc
mov eax, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x18]
cmp edx, dword [ecx + 4]
jne 0x46d0fc
cmp byte [eax + 0x78], 0x11
jne 0x46d0fc
cmp dword [eax + 0x30], esi
jne 0x46d0fc
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x48]
push eax
push 0
push 0x113e
push esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], 0x32
call ebp
mov dl, byte [esp + 0xa4]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
test dl, 2
je 0x46d0de
mov ecx, ebx
test dl, 4
je 0x46d0e5
mov eax, ebx
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x48]
push ecx
push 0
push 0x113f
push esi
mov dword [esp + 0x70], eax
call ebp
inc edi
cmp edi, dword [esp + 0x1c]
jle 0x46d083
lea edx, [esp + 0x2c]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 0
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x46d1dc
push 1
lea edx, [esp + 0x24]
push edx
push 0
push eax
push ebp
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
jle case.0x46cb4a.8
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x174]
push ebx
push 0x49f310
call fcn.004436fb
mov ecx, dword [0x49f384]
mov ebp, eax
mov edx, dword [ecx + ebp*4]
mov eax, dword [edx]
mov edi, dword [eax + 0x3c]
test edi, edi
jne 0x46d19e
push 1
push 1
push 0x21
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ecx, dword [0x49f384]
mov edx, dword [ecx + ebp*4]
mov edi, eax
mov eax, dword [edx]
push edi
push 0
push 0x1303
push ebx
mov dword [eax + 0x3c], edi
call dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
je 0x46d1d7
mov ecx, dword [esp + 0x20]
movsx edx, word [esi + 0x70]
push ecx
push edx
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
movzx ecx, byte [esi + 0x7b]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push ecx
push 0x133d
push ebx
mov dword [esp + 0x3c], 2
mov dword [esp + 0x50], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov word [esi + 0x70], di
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
lea esi, [esp + 0xa8]
call fcn.0040bfb0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c
lea esi, [esp + 0xa8]
call fcn.0040bfb0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret 0x1c