Function at 0x49b1d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x57d0f8]
push edi
push 0x1e
lea ecx, [ecx + 0x234]
mov dword [ebp - 4], esi
call fcn.004c5ca0
mov edi, eax
test edi, edi
je 0x49b225
xor ecx, ecx
cmp dword [edi + 0x20], 0x38
push edi
setg cl
lea ecx, [ecx*2 + 8]
mov dword [esi + 0x1e8], ecx
lea ecx, [esi + 0x12c]
call fcn.004088d0
push edi
lea ecx, [esi + 0x160]
call fcn.004088d0
push 0x20
push 0x20
push 0x22
push 0x22
push 0x16
push 0x14
push 0x65
push dword [esi + 0x14]
lea ecx, [esi + 0xb8]
call fcn.004d5810
push 0xe6
push 0x14
push 0x5a
mov ecx, esi
call fcn.004a10e0
push 0x78
push 0x28
push 0x2b
push 0x5a
mov ecx, esi
call fcn.004a0f50
push 0x38
push 0x17c
push 0x4b
push 0x14
mov ecx, esi
call fcn.004a1040
push 5
push 0
push str.Can_be_linked_to:
push 0x12
mov ebx, eax
push 0x96
lea ecx, [ebx + 0x53]
push ecx
push 0x14
mov ecx, esi
call fcn.004ee820
push 0
push 0x10002
push str.Helmet
push 0x12
push 0x3c
add ebx, 0x65
push ebx
push 0x14
push 0x74
push dword [esi + 0x14]
lea ecx, [esi + 0x510]
call fcn.004d3570
push 0
push 2
push str.Gantlet
push 0x12
push 0x3c
push ebx
push 0x64
push 0x71
push dword [esi + 0x14]
lea ecx, [esi + 0x4ec]
call fcn.004d3570
push 0
push 2
push str.Shoes
push 0x12
push 0x3c
push ebx
push 0xb4
push 0x72
push dword [esi + 0x14]
lea ecx, [esi + 0x4f8]
call fcn.004d3570
push 0
push 2
push str.Pants
push 0x12
push 0x3c
push ebx
push 0x104
push 0x6f
push dword [esi + 0x14]
lea ecx, [esi + 0x4d4]
call fcn.004d3570
push 0
push 2
push str.Armor
push 0x12
push 0x3c
push ebx
push 0x154
push 0x6e
push dword [esi + 0x14]
lea ecx, [esi + 0x4c8]
call fcn.004d3570
push 0
push 2
push str.Shield
push 0x12
push 0x3c
add ebx, 0x14
push ebx
push 0x14
push 0x70
push dword [esi + 0x14]
lea ecx, [esi + 0x4e0]
call fcn.004d3570
push 0
push 2
push str.Weapon
push 0x12
push 0x3c
push ebx
push 0x64
push 0x75
push dword [esi + 0x14]
lea ecx, [esi + 0x51c]
call fcn.004d3570
push 0
push 2
push str.Necklace
push 0x12
push 0x3c
push ebx
push 0xb4
push 0x76
push dword [esi + 0x14]
lea ecx, [esi + 0x528]
call fcn.004d3570
push 0
push 2
push str.Loop
push 0x12
push 0x3c
push ebx
push 0x104
push 0x77
push dword [esi + 0x14]
lea ecx, [esi + 0x534]
call fcn.004d3570
push 0
push 2
push str.Ring
push 0x12
push 0x3c
push ebx
push 0x154
push 0x73
push dword [esi + 0x14]
lea ecx, [esi + 0x504]
call fcn.004d3570
push 4
push 0
push str.Level_min.:
push 0x1a
add ebx, 0x1e
push 0x23
lea eax, [ebx - 4]
push eax
push 0x14
mov ecx, esi
call fcn.004ee820
push 0
mov eax, dword [esi + 0xb4]
push 0
movzx eax, word [eax + 0x72]
push eax
push 0x12
push 0x32
push ebx
push 0x37
push 0x7a
push dword [esi + 0x14]
lea ecx, [esi + 0x540]
call fcn.004d36f0
lea edi, [ebx + 2]
push 4
push 0
push str.Uses:
push 0x12
push 0x23
push edi
push 0x78
mov ecx, esi
call fcn.004ee820
mov ecx, dword [ebp - 4]
push 0
push 0
push 0xfa
push 0x3c
lea eax, [ebx - 2]
push eax
push 0x9b
push 0x7d
push dword [ecx + 0x14]
add esi, 0x3a8
mov ecx, esi
call fcn.004d3670
push str.__invalid
mov ecx, esi
call fcn.004d2f80
push str.1_slot
mov ecx, esi
call fcn.004d2f80
push str.2_slots
mov ecx, esi
call fcn.004d2f80
push str.3_slots
mov ecx, esi
call fcn.004d2f80
push 4
push 0
push str.Cost:
push 0x12
push 0x1e
push edi
mov edi, dword [ebp - 4]
push 0xe1
mov ecx, edi
call fcn.004ee820
push 0
push 0
push 0
push 0x1c2
push 0x96
lea eax, [ebx - 3]
push eax
push 0xff
push 0x9d
push dword [edi + 0x14]
lea esi, [edi + 0x54c]
mov ecx, esi
call fcn.004d3c50
push 0x1e
push 0x53ba64
mov ecx, esi
call fcn.004d2fd0
push 0x1f
push 0x53ba7c
mov ecx, esi
call fcn.004d2fd0
push 0x20
push 0x53ba94
mov ecx, esi
call fcn.004d2fd0
push 0x21
push 0x53baac
mov ecx, esi
call fcn.004d2fd0
push 0x22
push 0x53bac4
mov ecx, esi
call fcn.004d2fd0
push 0x23
push 0x53badc
mov ecx, esi
call fcn.004d2fd0
push 0x24
push 0x53baf4
mov ecx, esi
call fcn.004d2fd0
push 0x25
push 0x53bb0c
mov ecx, esi
call fcn.004d2fd0
push 0x26
push 0x53bb24
mov ecx, esi
call fcn.004d2fd0
push 0x27
push 0x53bb3c
mov ecx, esi
call fcn.004d2fd0
push 0x28
push 0x53bb54
mov ecx, esi
call fcn.004d2fd0
push 0x60
push 0x53bb6c
mov ecx, esi
call fcn.004d2fd0
push 0x61
push 0x53bb84
mov ecx, esi
call fcn.004d2fd0
push 0x62
push 0x53bb9c
mov ecx, esi
call fcn.004d2fd0
push 0x63
push 0x53bbb4
mov ecx, esi
call fcn.004d2fd0
push 0x64
push str._1__
mov ecx, esi
call fcn.004d2fd0
mov eax, dword [edi + 0xb4]
mov ecx, esi
movzx eax, byte [eax + 0x7d]
push eax
call fcn.004d4680
add ebx, 0x1e
push 0
push 2
push str._Item_is_destroyed_if_link_or_extraction_fails
push 0x12
push 0xdc
push ebx
push 0x37
push 0x9e
push dword [edi + 0x14]
lea ecx, [edi + 0x324]
call fcn.004d3570
add ebx, 0x19
push 5
push 0
push str.Stats:
push 0x12
push 0x4b
push ebx
push 0x14
mov ecx, edi
call fcn.004ee820
add ebx, 0x14
push 4
push 0
push str.STR:
push 0x12
push 0x1e
lea eax, [ebx + 2]
push eax
push 0x14
mov ecx, edi
mov dword [ebp - 8], ebx
call fcn.004ee820
mov eax, dword [edi + 0xb4]
push 0
movsx eax, word [eax + 0x94]
push 0
push eax
push 0x12
push 0x32
push ebx
push 0x37
push 0x8c
push dword [edi + 0x14]
lea ecx, [edi + 0x430]
call fcn.004d36f0
add ebx, 0x1b
push 4
push 0
push str.DEX:
push 0x12
push 0x1e
push ebx
push 0x14
mov ecx, edi
call fcn.004ee820
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov eax, dword [edx + 0xb4]
push 0
movsx eax, word [eax + 0x96]
push 0
push eax
push 0x12
push 0x32
lea ecx, [edi + 0x19]
push ecx
push 0x37
push 0x8d
push dword [edx + 0x14]
lea ecx, [edx + 0x43c]
call fcn.004d36f0
mov ecx, dword [ebp - 4]
push 4
push 0
push str.REC:
push 0x12
push 0x1e
lea esi, [edi + 0x34]
push esi
push 0x14
call fcn.004ee820
mov ecx, dword [ebp - 4]
push 0
mov eax, dword [ecx + 0xb4]
push 0
movsx eax, word [eax + 0x98]
push eax
push 0x12
push 0x32
add edi, 0x32
push edi
push 0x37
push 0x8e
push dword [ecx + 0x14]
add ecx, 0x448
call fcn.004d36f0
mov eax, dword [ebp - 8]
push 4
push 0
push str.LUC:
push 0x12
push 0x1e
mov ecx, dword [ebp - 4]
add eax, 2
push eax
push 0x78
call fcn.004ee820
mov ecx, dword [ebp - 4]
push 0
mov eax, dword [ecx + 0xb4]
push 0
movsx eax, word [eax + 0x9e]
push eax
push 0x12
push 0x32
push dword [ebp - 8]
add ecx, 0x46c
push 0x9b
push 0x91
push dword [ecx - 0x458]
call fcn.004d36f0
mov ecx, dword [ebp - 4]
push 4
push 0
push str.INT:
push 0x12
push 0x1e
push ebx
push 0x78
call fcn.004ee820
mov edx, dword [ebp - 4]
push 0
mov eax, dword [edx + 0xb4]
push 0
movsx eax, word [eax + 0x9a]
push eax
mov eax, dword [ebp - 8]
push 0x12
push 0x32
add eax, 0x19
push eax
push 0x9b
push 0x8f
push dword [edx + 0x14]
lea ecx, [edx + 0x454]
call fcn.004d36f0
mov ecx, dword [ebp - 4]
push 4
push 0
push str.WIS:
push 0x12
push 0x1e
push esi
push 0x78
call fcn.004ee820
mov ecx, dword [ebp - 4]
push 0
mov eax, dword [ecx + 0xb4]
push 0
movsx eax, word [eax + 0x9c]
push eax
push 0x12
push 0x32
push edi
push 0x9b
push 0x90
push dword [ecx + 0x14]
add ecx, 0x460
call fcn.004d36f0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push 4
push 0
push 0x53bc4c
push 0x12
push 0x1e
add eax, 2
push eax
push 0xdc
call fcn.004ee820
mov ecx, dword [ebp - 4]
push 0
push 0
mov eax, dword [ecx + 0xb4]
add ecx, 0x40c
movsx eax, word [eax + 0x8e]
push eax
push 0x12
push 0x32
push dword [ebp - 8]
push 0xff
push 0x89
push dword [ecx - 0x3f8]
call fcn.004d36f0
mov ecx, dword [ebp - 4]
push 4
push 0
push 0x53bc50
push 0x12
push 0x1e
push ebx
push 0xdc
call fcn.004ee820
mov edx, dword [ebp - 4]
push 0
mov eax, dword [edx + 0xb4]
push 0
movsx eax, word [eax + 0x90]
push eax
mov eax, dword [ebp - 8]
push 0x12
push 0x32
add eax, 0x19
push eax
push 0xff
push 0x8a
push dword [edx + 0x14]
lea ecx, [edx + 0x424]
call fcn.004d36f0
mov ecx, dword [ebp - 4]
push 4
push 0
push 0x53bc54
push 0x12
push 0x1e
push esi
push 0xdc
call fcn.004ee820
mov ecx, dword [ebp - 4]
push 0
mov eax, dword [ecx + 0xb4]
push 0
movsx eax, word [eax + 0x92]
push eax
push 0x12
push 0x32
push edi
push 0xff
push 0x8b
push dword [ecx + 0x14]
add ecx, 0x418
call fcn.004d36f0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push 4
push 0
push str.Def:
push 0x12
push 0x1e
add eax, 2
push eax
push 0x140
call fcn.004ee820
mov ecx, dword [ebp - 4]
push 0
mov eax, dword [ecx + 0xb4]
push 0
movzx eax, word [eax + 0x8a]
push eax
push 0x12
push 0x32
push dword [ebp - 8]
push 0x163
push 0x81
push dword [ecx + 0x14]
add ecx, 0x3f4
call fcn.004d36f0
push 4
push 0
push str.Resist:
push 0x12
push 0x1e
push ebx
mov ebx, dword [ebp - 4]
push 0x140
mov ecx, ebx
call fcn.004ee820
mov eax, dword [ebx + 0xb4]
push 0
movzx eax, word [eax + 0x8c]
push 0
push eax
mov eax, dword [ebp - 8]
push 0x12
push 0x32
add eax, 0x19
push eax
push 0x163
push 0x82
push dword [ebx + 0x14]
lea ecx, [ebx + 0x400]
call fcn.004d36f0
mov ecx, ebx
push 4
push 0
push 0x53bc58
push 0x12
push 0x22
push esi
push 0x140
call fcn.004ee820
mov eax, dword [ebx + 0xb4]
push 0
movzx eax, byte [eax + 0xa1]
push 0
push eax
push 0x12
push 0x32
push edi
push 0x163
mov edi, ebx
push 0x83
push dword [edi + 0x14]
lea ecx, [edi + 0x478]
call fcn.004d36f0
mov esi, dword [ebp - 8]
push 5
push 0
push str.Attack:
push 0x12
push 0x4b
add esi, 0x4b
push esi
push 0x14
mov ecx, edi
call fcn.004ee820
add esi, 0x14
push 4
push 0
push str.Pow_min:
push 0x1a
push 0x23
lea ebx, [esi - 4]
push ebx
push 0x14
mov ecx, edi
mov dword [ebp - 8], esi
call fcn.004ee820
mov eax, dword [edi + 0xb4]
push 0
movzx eax, word [eax + 0x86]
push 0
push eax
push 0x12
push 0x32
push esi
push 0x37
push 0x7f
push dword [edi + 0x14]
lea ecx, [edi + 0x3dc]
call fcn.004d36f0
push 4
push 0
push str.Pow_max:
push 0x1a
push 0x23
push ebx
push 0x78
mov ecx, edi
call fcn.004ee820
mov eax, dword [edi + 0xb4]
push 0
movzx eax, word [eax + 0x88]
push 0
push eax
push 0x12
push 0x32
push esi
push 0x9b
push 0x80
push dword [edi + 0x14]
lea ecx, [edi + 0x3e8]
call fcn.004d36f0
mov ecx, edi
push 4
push 0
push str.Atk_range:
push 0x1a
push 0x1e
push ebx
push 0xdc
call fcn.004ee820
mov eax, dword [ebp - 4]
push 0
push 0
push 0xc8
push 0x32
lea edi, [esi - 2]
push edi
push 0xff
push 0x84
push dword [eax + 0x14]
lea esi, [eax + 0x574]
mov ecx, esi
call fcn.004d3670
push 0x5243d8
mov ecx, esi
call fcn.004d2f80
push 0x53bc8c
mov ecx, esi
call fcn.004d2f80
push 0x53bc90
mov ecx, esi
call fcn.004d2f80
push 0x53bc94
mov ecx, esi
call fcn.004d2f80
mov ecx, dword [ebp - 4]
push 0
mov eax, dword [ecx + 0xb4]
movsx eax, word [eax + 0x7e]
push eax
push 0x14e
push dword [ecx + 0x578]
call dword [sym.imp.USER32.dll_SendMessageA]
push 4
push 0
push str.Atk_speed:
push 0x1a
push 0x1e
push ebx
mov ebx, dword [ebp - 4]
push 0x140
mov ecx, ebx
call fcn.004ee820
push 0
push 0
push 0xc8
push 0x32
push edi
push 0x163
push 0x87
push dword [ebx + 0x14]
lea ecx, [ebx + 0x5c4]
call fcn.004d3670
push 0x5243d8
lea ecx, [ebx + 0x5c4]
call fcn.004d2f80
push 0x539d74
lea ecx, [ebx + 0x5c4]
call fcn.004d2f80
push 0x539d78
lea ecx, [ebx + 0x5c4]
call fcn.004d2f80
push 0x539d7c
lea ecx, [ebx + 0x5c4]
call fcn.004d2f80
mov esi, dword [ebp - 8]
push 5
push 0
push str.Special:
push 0x12
push 0x4b
add esi, 0x1e
push esi
push 0x14
mov ecx, ebx
call fcn.004ee820
push 4
push 0
push str.Endu:
push 0x12
add esi, 0x14
push 0x1e
lea edi, [esi + 2]
push edi
push 0x14
mov ecx, ebx
mov dword [ebp - 8], esi
call fcn.004ee820
mov ecx, dword [ebp - 4]
push 0
mov eax, dword [ecx + 0xb4]
push 0
movzx eax, word [eax + 0x84]
push eax
push 0x13
push 0x32
lea ebx, [esi - 1]
push ebx
push 0x37
push 0x7e
push dword [ecx + 0x14]
add ecx, 0x3d0
call fcn.004d36f0
mov ecx, dword [ebp - 4]
push 4
push 0
push str.Move_speed:
push 0x1a
push 0x1e
lea eax, [esi - 4]
push eax
push 0x78
call fcn.004ee820
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push 0
push 0
push 0xc8
push 0x32
add eax, 0xfffffffe
push eax
push 0x9b
push 0x88
push dword [ecx + 0x14]
lea esi, [ecx + 0x59c]
mov ecx, esi
call fcn.004d3670
push 0x5243d8
mov ecx, esi
call fcn.004d2f80
push 0x539d74
mov ecx, esi
call fcn.004d2f80
push 0x539d78
mov ecx, esi
call fcn.004d2f80
push 0x539d7c
mov ecx, esi
call fcn.004d2f80
mov ecx, dword [ebp - 4]
push 4
push 0
push str.Spell:
push 0x12
push 0x1e
push edi
push 0xdc
call fcn.004ee820
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push 0
push 0
push 0
push 0xc8
push 0x5f
lea eax, [edi - 3]
push eax
push 0xff
push 0x9b
push dword [ecx + 0x14]
lea esi, [ecx + 0x5ec]
mov ecx, esi
call fcn.004d3c50
push 0xffffffffffffffff
push str.Other
mov ecx, esi
call fcn.004d2fd0
push 0
push str.None
mov ecx, esi
call fcn.004d2fd0
push 1
push 0x526b80
mov ecx, esi
call fcn.004d2fd0
push 4
push str.Darkness
mov ecx, esi
call fcn.004d2fd0
push 7
push str.Dying
mov ecx, esi
call fcn.004d2fd0
push 8
push str.Death
mov ecx, esi
call fcn.004d2fd0
push 9
push str.Poison
mov ecx, esi
call fcn.004d2fd0
push 0xa
push str.Illness
mov ecx, esi
call fcn.004d2fd0
push 0xb
push str.Delusion
mov ecx, esi
call fcn.004d2fd0
push 0xd
push str.Fear
mov ecx, esi
call fcn.004d2fd0
push 0xe
push str.Dull
mov ecx, esi
call fcn.004d2fd0
push 0xf
push str.Bad_Luck
mov ecx, esi
call fcn.004d2fd0
push 0xcd
push str.Pain_Lv1
mov ecx, esi
call fcn.004d2fd0
push 0xce
push str.Pain_Lv2
mov ecx, esi
call fcn.004d2fd0
push 0xd0
push str.Freezing_Lv1
mov ecx, esi
call fcn.004d2fd0
push 0xd1
push str.Freezing_Lv2
mov ecx, esi
call fcn.004d2fd0
push 0xd3
push str.Blindside_Lv1
mov ecx, esi
call fcn.004d2fd0
push 0xd4
push str.Blindside_Lv2
mov ecx, esi
call fcn.004d2fd0
push 0xd6
push str.Silent_Lv1
mov ecx, esi
call fcn.004d2fd0
push 0xd7
push str.Silent_Lv2
mov ecx, esi
call fcn.004d2fd0
push 0xd9
push str.Crawl_Lv1
mov ecx, esi
call fcn.004d2fd0
push 0xda
push str.Crawl_Lv2
mov ecx, esi
call fcn.004d2fd0
push 0xdc
push str.Panic_Lv1
mov ecx, esi
call fcn.004d2fd0
push 0xdd
push str.Panic_Lv2
mov ecx, esi
call fcn.004d2fd0
push 0xdf
push str.Curse_Lv1
mov ecx, esi
call fcn.004d2fd0
push 0xe0
push str.Curse_Lv2
mov ecx, esi
call fcn.004d2fd0
push 0xe2
push str.Slowmo_Lv1
mov ecx, esi
call fcn.004d2fd0
push 0xe3
push str.Slowmo_Lv2
mov ecx, esi
call fcn.004d2fd0
push 0xe5
push str.Toxin_Lv1
mov ecx, esi
call fcn.004d2fd0
push 0xe6
push str.Toxin_Lv2
mov ecx, esi
call fcn.004d2fd0
push 0xe8
push str.Disease_Lv1
mov ecx, esi
call fcn.004d2fd0
push 0xe9
push str.Disease_Lv2
mov ecx, esi
call fcn.004d2fd0
push 0xeb
push str.Confusion_Lv1
mov ecx, esi
call fcn.004d2fd0
push 0xec
push str.Confusion_Lv2
mov ecx, esi
call fcn.004d2fd0
push 0xee
push str.Jinx_Lv1
mov ecx, esi
call fcn.004d2fd0
push 0xef
push str.Jinx_Lv2
mov ecx, esi
call fcn.004d2fd0
push 0xf1
push str.Slumber_Lv1
mov ecx, esi
call fcn.004d2fd0
push 0xf2
push str.Slumber_Lv2
mov ecx, esi
call fcn.004d2fd0
mov ecx, dword [ebp - 4]
push 0
mov eax, dword [ecx + 0xb4]
push 0
movzx eax, byte [eax + 0x82]
push eax
push 0x13
push 0x32
push ebx
push 0x163
mov ebx, ecx
push 0x9c
push dword [ebx + 0x14]
lea ecx, [ebx + 0x614]
call fcn.004d36f0
add edi, 0x1e
push 4
push 0
push str.Drop_group:
push 0x1a
push 0x23
lea eax, [edi - 4]
push eax
push 0x14
mov ecx, ebx
call fcn.004ee820
mov eax, dword [ebx + 0xb4]
push 0
movsx eax, word [eax + 0xac]
push 0
push eax
push 0x12
push 0x32
push edi
push 0x37
push 0x94
push dword [ebx + 0x14]
lea ecx, [ebx + 0x49c]
call fcn.004d36f0
lea esi, [edi + 2]
push 4
push 0
push str.Stack:
push 0x12
push 0x1e
push esi
push 0x78
mov ecx, ebx
call fcn.004ee820
mov eax, dword [ebx + 0xb4]
push 0
movzx eax, byte [eax + 0xb1]
push 0
push eax
push 0x12
push 0x32
push edi
push 0x9b
push 0x95
push dword [ebx + 0x14]
lea ecx, [ebx + 0x4b4]
call fcn.004d36f0
push 4
push 0
push str.Elem:
push 0x12
push 0x1e
push esi
push 0xdc
mov ecx, ebx
call fcn.004ee820
push 0
push 0
push 0xc8
push 0x5f
lea eax, [edi - 2]
push eax
push 0xff
push 0x86
push dword [ebx + 0x14]
lea esi, [ebx + 0x358]
mov ecx, esi
call fcn.004d3670
push str.None
mov ecx, esi
call fcn.004d2f80
push str.Fire_Lv1
mov ecx, esi
call fcn.004d2f80
push str.Water_Lv1
mov ecx, esi
call fcn.004d2f80
push str.Earth_Lv1
mov ecx, esi
call fcn.004d2f80
push str.Wind_Lv1
mov ecx, esi
call fcn.004d2f80
push str.Fire_Lv2
mov ecx, esi
call fcn.004d2f80
push str.Water_Lv2
mov ecx, esi
call fcn.004d2f80
push str.Earth_Lv2
mov ecx, esi
call fcn.004d2f80
push str.Wind_Lv2
mov ecx, esi
call fcn.004d2f80
push 1
push ebx
lea eax, [edi + 0x1e]
push eax
push 0x14
mov ecx, ebx
call fcn.004a1290
mov ecx, ebx
call fcn.004a37c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret