Function at 0x40bb10
Capabilities:
Get graphical window text
Inspect load icon resource
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x49aa60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
mov eax, dword [0x4cc854]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
push 0x40
mov dword [esp + 0x11c], 0
call fcn.0048c144
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x118], 1
je 0x40bb6e
mov ecx, eax
call fcn.0040c6a0
mov ebp, eax
jmp 0x40bb70
xor ebp, ebp
mov eax, dword [esi + 0x50]
mov byte [esp + 0x118], 0
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x124]
lea eax, [eax + edx*8]
mov edx, dword [ecx + eax*4 + 0x64]
mov eax, dword [esp + 0x120]
push edx
lea ecx, [esp + 0x104]
push eax
push ecx
push 0x225
mov ecx, ebp
call fcn.0048b0da
push 0
push 0x200
push 0
mov ecx, ebp
call fcn.0048f943
push 1
push 0x103
push 0x7c
push 0x6d
push 0x10
mov ecx, ebp
call fcn.0048f9e5
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call fcn.00493ada
test eax, eax
je 0x40bbeb
mov eax, dword [eax + 4]
mov edx, dword [ebp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push eax
push 0x30
push edx
call ebx
mov eax, dword [ebp + 0x1c]
push 0
push 0x1e
push 0x111b
push eax
call ebx
mov ecx, 0x2a
xor eax, eax
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push 0xb9
push eax
call esi
mov dword [esp + 0x54], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xba
push eax
call esi
mov dword [esp + 0x58], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xbb
push eax
call esi
mov dword [esp + 0x5c], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xbc
push eax
call esi
mov dword [esp + 0x60], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xbf
push eax
call esi
mov dword [esp + 0x64], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xc0
push eax
call esi
mov dword [esp + 0x68], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xc1
push eax
call esi
mov dword [esp + 0x6c], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xc6
push eax
call esi
mov dword [esp + 0x70], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xbd
push eax
call esi
mov dword [esp + 0x74], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xbe
push eax
call esi
mov dword [esp + 0x78], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xb8
push eax
call esi
mov dword [esp + 0x7c], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xb7
push eax
call esi
mov dword [esp + 0x80], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xc4
push eax
call esi
mov dword [esp + 0x84], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xc5
push eax
call esi
mov dword [esp + 0x88], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xc2
push eax
call esi
mov dword [esp + 0x8c], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xc3
push eax
call esi
mov dword [esp + 0x90], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0x94
push eax
call esi
mov dword [esp + 0x94], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0x95
push eax
call esi
mov dword [esp + 0x98], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0x96
push eax
call esi
mov dword [esp + 0x9c], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0x97
push eax
call esi
mov dword [esp + 0xa0], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0x98
push eax
call esi
mov dword [esp + 0xa4], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0x99
push eax
call esi
mov dword [esp + 0xa8], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0x9a
push eax
call esi
mov dword [esp + 0xac], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0x9b
push eax
call esi
mov dword [esp + 0xb0], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0x9c
push eax
call esi
mov dword [esp + 0xb4], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0x91
push eax
call esi
mov dword [esp + 0xb8], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0x9e
push eax
call esi
mov dword [esp + 0xbc], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0x9f
push eax
call esi
mov dword [esp + 0xc0], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xa0
push eax
call esi
mov dword [esp + 0xc4], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xa1
push eax
call esi
mov dword [esp + 0xc8], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xa2
push eax
call esi
mov dword [esp + 0xcc], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xa3
push eax
call esi
mov dword [esp + 0xd0], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xa4
push eax
call esi
mov dword [esp + 0xd4], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xa5
push eax
call esi
mov dword [esp + 0xd8], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xa6
push eax
call esi
mov dword [esp + 0xdc], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xa7
push eax
call esi
mov dword [esp + 0xe0], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xa8
push eax
call esi
mov dword [esp + 0xe4], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0x9d
push eax
call esi
mov dword [esp + 0xe8], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xaa
push eax
call esi
mov dword [esp + 0xec], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xab
push eax
call esi
mov dword [esp + 0xf0], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xac
push eax
call esi
mov dword [esp + 0xf4], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0xc7
push eax
call esi
mov dword [esp + 0xf8], eax
call fcn.0049668d
call fcn.0049668d
mov eax, dword [eax + 0xc]
push 0x131
push eax
call esi
push 8
mov dword [esp + 0x100], eax
call fcn.0048c144
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x118], 2
je 0x40c0d6
mov ecx, eax
call fcn.0048b2fd
mov esi, eax
jmp 0x40c0d8
xor esi, esi
push 7
push 1
push 0xfe
push 0x10
push 0x10
mov ecx, esi
mov byte [esp + 0x12c], 0
call fcn.0048b3c2
mov ecx, dword [esi + 4]
push 0xffffff
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
lea edi, [esp + 0x54]
mov dword [esp + 0x10], 0x2b
mov eax, dword [edi]
mov edx, dword [esi + 4]
push eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov eax, dword [esp + 0x10]
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x40c10f
test esi, esi
je 0x40c133
mov esi, dword [esi + 4]
mov eax, dword [ebp + 0x1c]
push esi
push 0
push 0x1109
push eax
call ebx
push eax
call fcn.0048b38f
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x1c]
xor esi, esi
rep stosd dword es:[edi], eax
push 0x4c3020
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], 0xffff0002
mov dword [esp + 0x28], 0x6b
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0x3018
mov dword [esp + 0x34], 0xf000
mov dword [esp + 0x48], esi
call fcn.0048c471
push esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x11c], 3
call fcn.0048c833
mov edi, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], 0xffff0000
mov dword [esp + 0x40], 0x29
mov eax, dword [edi + 0x50]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x124]
lea eax, [eax + edx*8]
mov eax, dword [ecx + eax*4 + 0x60]
test eax, eax
mov dword [esp + 0x14], eax
jle 0x40c52e
mov eax, dword [edi + 0x50]
lea edx, [eax*8]
sub edx, eax
lea ecx, [eax + edx*4]
lea edx, [eax + ecx*8]
mov eax, dword [esp + 0x124]
lea ecx, [eax + edx*4]
mov eax, dword [eax + edx*4 + 0x6c]
inc eax
cmp eax, 8
ja case.default.0x40c209
jmp dword [eax*4 + 0x40c570]
mov al, byte [ecx + 0x381]
xor edx, edx
test al, al
setne dl
mov dword [esp + 0x3c], edx
jmp 0x40c4a9
mov dl, byte [ecx + 0x381]
xor eax, eax
test dl, dl
setne al
add eax, 2
mov dword [esp + 0x3c], eax
jmp 0x40c4a9
mov al, byte [ecx + 0x381]
xor edx, edx
test al, al
setne dl
add edx, 4
mov dword [esp + 0x3c], edx
jmp 0x40c4a9
mov dl, byte [ecx + 0x381]
xor eax, eax
test dl, dl
setne al
add eax, 6
mov dword [esp + 0x3c], eax
jmp 0x40c4a9
mov al, byte [ecx + 0x381]
xor edx, edx
test al, al
setne dl
add edx, 8
mov dword [esp + 0x3c], edx
jmp 0x40c4a9
mov dl, byte [ecx + 0x381]
xor eax, eax
test dl, dl
setne al
add eax, 0xa
mov dword [esp + 0x3c], eax
jmp 0x40c4a9
mov al, byte [ecx + 0x381]
xor edx, edx
test al, al
setne dl
add edx, 0xc
mov dword [esp + 0x3c], edx
jmp 0x40c4a9
mov dl, byte [ecx + 0x381]
xor eax, eax
test dl, dl
setne al
add eax, 0xe
mov dword [esp + 0x3c], eax
jmp 0x40c4a9
mov eax, dword [ecx + 0x70]
cmp eax, 0xb
jne 0x40c2ea
mov dword [esp + 0x3c], 0x10
jmp 0x40c4a9
cmp eax, 6
jne 0x40c2fc
mov dword [esp + 0x3c], 0x11
jmp 0x40c4a9
cmp eax, 0x40
jne 0x40c30e
mov dword [esp + 0x3c], 0x12
jmp 0x40c4a9
cmp eax, 0x80
jne 0x40c322
mov dword [esp + 0x3c], 0x13
jmp 0x40c4a9
cmp eax, 0x8e
jne 0x40c336
mov dword [esp + 0x3c], 0x14
jmp 0x40c4a9
cmp eax, 4
jne 0x40c348
mov dword [esp + 0x3c], 0x15
jmp 0x40c4a9
cmp eax, 0xa
jne 0x40c35a
mov dword [esp + 0x3c], 0x16
jmp 0x40c4a9
cmp eax, 0x83
jne 0x40c36e
mov dword [esp + 0x3c], 0x17
jmp 0x40c4a9
cmp eax, 0x1f
jne 0x40c380
mov dword [esp + 0x3c], 0x18
jmp 0x40c4a9
cmp eax, 1
jne 0x40c392
mov dword [esp + 0x3c], 0x19
jmp 0x40c4a9
cmp eax, 7
jne 0x40c3a4
mov dword [esp + 0x3c], 0x1a
jmp 0x40c4a9
cmp eax, 0x42
jne 0x40c3b6
mov dword [esp + 0x3c], 0x1b
jmp 0x40c4a9
cmp eax, 0x8d
jne 0x40c3ca
mov dword [esp + 0x3c], 0x1c
jmp 0x40c4a9
cmp eax, 0x8c
jne 0x40c3de
mov dword [esp + 0x3c], 0x1d
jmp 0x40c4a9
cmp eax, 8
jne 0x40c3f0
mov dword [esp + 0x3c], 0x1e
jmp 0x40c4a9
cmp eax, 0x20
jne 0x40c402
mov dword [esp + 0x3c], 0x1f
jmp 0x40c4a9
cmp eax, 5
jne 0x40c414
mov dword [esp + 0x3c], 0x20
jmp 0x40c4a9
cmp eax, 0x81
jne 0x40c428
mov dword [esp + 0x3c], 0x21
jmp 0x40c4a9
cmp eax, 9
jne 0x40c437
mov dword [esp + 0x3c], 0x22
jmp 0x40c4a9
cmp eax, 0x82
jne 0x40c448
mov dword [esp + 0x3c], 0x23
jmp 0x40c4a9
cmp eax, 0x41
jne 0x40c457
mov dword [esp + 0x3c], 0x24
jmp 0x40c4a9
test eax, eax
jne 0x40c465
mov dword [esp + 0x3c], 0x25
jmp 0x40c4a9
cmp eax, 2
jne 0x40c474
mov dword [esp + 0x3c], 0x26
jmp 0x40c4a9
cmp eax, 3
jne 0x40c483
mov dword [esp + 0x3c], 0x27
jmp 0x40c4a9
cmp eax, 0x15
jne 0x40c492
mov dword [esp + 0x3c], 0x28
jmp 0x40c4a9
cmp eax, 0x96
mov dword [esp + 0x3c], 0x2a
je 0x40c4a9
mov dword [esp + 0x3c], 8
add ecx, 0x31
push ecx
lea ecx, [esp + 0x1c]
call fcn.0048c58c
push 0
lea ecx, [esp + 0x1c]
call fcn.0048c833
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], eax
mov edx, dword [ebp + 0x1c]
push ecx
push 0
push 0x1100
push edx
call ebx
push esi
push 0
push 0
push 0
push 0
push 0
push 4
push eax
mov ecx, ebp
call fcn.0048b1b0
mov eax, dword [ebp + 0x1c]
push 0
push 0x32
push 0x1107
push eax
call ebx
mov ecx, dword [edi + 0x50]
push 0
inc ecx
mov dword [edi + 0x50], ecx
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_ValidateRect]
mov edx, dword [ebp + 0x1c]
push 0x105
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x40c1df
lea ecx, [esp + 0x50]
mov byte [esp + 0x118], 0
call fcn.0048c403
lea ecx, [esp + 0x18]
mov dword [esp + 0x118], 0xffffffff
call fcn.0048c403
mov ecx, dword [esp + 0x110]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10c
ret 8