Function at 0x50cb1b
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c0db3
mov eax, dword fs:[0]
push eax
sub esp, 0x490
push ebx
push esi
push edi
mov eax, dword [0x61dc40]
xor eax, esp
push eax
lea eax, [esp + 0x4a0]
mov dword fs:[0], eax
push 0x1a
pop edi
xor eax, eax
inc eax
xor esi, esi
mov ecx, str.Button
mov ebx, str.shot_graphbtn
push 4
pop edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0x3f0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x5fb03c
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], str.shot_rect
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], 0x3f1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], 0x5fb078
mov dword [esp + 0x78], 0x19
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], 0x33
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], str.shot_ellipse
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0x3f2
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], 0x5fb0a0
mov dword [esp + 0xc0], 0x32
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], 0x4c
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd0], str.shot_arrow
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], 0x3f3
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], 0x5fb0c4
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], esi
mov dword [esp + 0x110], 0x26
mov dword [esp + 0x114], edi
mov dword [esp + 0x118], str.shot_brush1
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], edx
mov dword [esp + 0x128], esi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x130], esi
mov dword [esp + 0x134], esi
mov dword [esp + 0x138], esi
push 3
mov dword [esp + 0x16c], ebx
pop ebx
push 0x17
mov dword [esp + 0x160], edi
mov dword [esp + 0x1a8], edi
mov dword [esp + 0x1e4], edi
pop edi
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x140], 0x3f4
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], esi
mov dword [esp + 0x14c], 0x5fb0e4
mov dword [esp + 0x150], 0x25
mov dword [esp + 0x154], esi
mov dword [esp + 0x158], 0x4b
mov dword [esp + 0x160], str.shot_brush2
mov dword [esp + 0x164], eax
mov dword [esp + 0x16c], edx
mov dword [esp + 0x170], esi
mov dword [esp + 0x174], esi
mov dword [esp + 0x178], esi
mov dword [esp + 0x17c], esi
mov dword [esp + 0x180], esi
mov dword [esp + 0x184], str.Image
mov dword [esp + 0x188], 0x3f5
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], esi
mov dword [esp + 0x194], esi
mov dword [esp + 0x198], 5
mov dword [esp + 0x19c], esi
mov dword [esp + 0x1a0], 0x15
mov dword [esp + 0x1a8], str.shot_text
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], str.drawtoolbar_btnmenu
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1bc], esi
mov dword [esp + 0x1c0], esi
mov dword [esp + 0x1c4], esi
mov dword [esp + 0x1c8], esi
mov dword [esp + 0x1cc], str.Combobox
mov dword [esp + 0x1d0], 0x3f6
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], esi
mov dword [esp + 0x1dc], esi
mov dword [esp + 0x1e4], ebx
mov dword [esp + 0x1e8], 0x4c
mov dword [esp + 0x1ec], edi
mov dword [esp + 0x1f0], str.shot_font
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x1f8], str.font_combo
mov dword [esp + 0x1fc], edx
mov dword [esp + 0x200], esi
mov dword [esp + 0x204], esi
mov dword [esp + 0x208], esi
mov dword [esp + 0x20c], esi
mov dword [esp + 0x210], esi
mov dword [esp + 0x214], str.Line
mov dword [esp + 0x218], 0x3ea
mov dword [esp + 0x21c], esi
mov dword [esp + 0x220], esi
mov dword [esp + 0x224], esi
mov dword [esp + 0x228], 0x50
mov dword [esp + 0x22c], ebx
mov dword [esp + 0x230], 0x51
mov dword [esp + 0x234], edi
mov dword [esp + 0x238], esi
mov dword [esp + 0x23c], esi
mov dword [esp + 0x240], esi
mov dword [esp + 0x244], edx
mov dword [esp + 0x248], esi
mov dword [esp + 0x24c], str.toolbar_line
mov dword [esp + 0x250], esi
mov dword [esp + 0x254], esi
mov dword [esp + 0x258], esi
mov dword [esp + 0x25c], ecx
mov dword [esp + 0x260], 0x3f8
mov dword [esp + 0x264], eax
mov dword [esp + 0x268], esi
mov dword [esp + 0x26c], 0x5fb180
mov dword [esp + 0x274], ebx
mov ebx, str.shot_clrbtn
mov dword [esp + 0x270], 0x58
mov dword [esp + 0x278], 0x6a
mov dword [esp + 0x27c], edi
mov dword [esp + 0x280], str.clr_btn1
mov dword [esp + 0x284], eax
mov dword [esp + 0x288], ebx
mov dword [esp + 0x28c], edx
mov dword [esp + 0x290], esi
mov dword [esp + 0x294], esi
mov dword [esp + 0x298], esi
mov dword [esp + 0x29c], esi
mov dword [esp + 0x2a0], esi
mov dword [esp + 0x2a4], ecx
mov dword [esp + 0x2a8], 0x3f9
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x2b0], esi
mov dword [esp + 0x2b4], 0x5fb1b4
mov dword [esp + 0x2b8], 0x6b
mov dword [esp + 0x2bc], 3
mov dword [esp + 0x2c0], 0x7d
mov dword [esp + 0x2c4], edi
mov dword [esp + 0x2c8], str.clr_btn2
mov dword [esp + 0x2cc], eax
mov dword [esp + 0x2d0], ebx
mov dword [esp + 0x2d4], edx
mov dword [esp + 0x2d8], esi
mov dword [esp + 0x2dc], esi
mov dword [esp + 0x2e0], esi
mov dword [esp + 0x2e4], esi
mov dword [esp + 0x2e8], esi
mov dword [esp + 0x2ec], ecx
mov dword [esp + 0x2f0], 0x3fa
mov dword [esp + 0x2f4], eax
mov dword [esp + 0x2f8], esi
mov dword [esp + 0x2fc], 0x5fb1d0
mov dword [esp + 0x300], 0x7e
mov dword [esp + 0x304], 3
mov dword [esp + 0x308], 0x90
mov dword [esp + 0x30c], edi
mov dword [esp + 0x310], str.clr_btn3
mov dword [esp + 0x314], eax
mov dword [esp + 0x318], ebx
mov dword [esp + 0x31c], edx
mov dword [esp + 0x320], esi
mov dword [esp + 0x324], esi
mov dword [esp + 0x328], esi
mov dword [esp + 0x32c], esi
mov dword [esp + 0x330], esi
mov dword [esp + 0x334], ecx
mov dword [esp + 0x338], 0x3fb
mov dword [esp + 0x33c], eax
mov dword [esp + 0x340], esi
mov dword [esp + 0x344], 0x5fb1ec
mov dword [esp + 0x348], 0x91
mov dword [esp + 0x34c], 3
mov dword [esp + 0x350], 0xa3
mov dword [esp + 0x354], edi
mov dword [esp + 0x358], str.clr_btn4
mov dword [esp + 0x35c], eax
mov dword [esp + 0x360], ebx
mov dword [esp + 0x364], edx
mov dword [esp + 0x368], esi
mov dword [esp + 0x36c], esi
mov dword [esp + 0x370], esi
mov dword [esp + 0x374], esi
mov dword [esp + 0x378], esi
mov dword [esp + 0x37c], ecx
mov dword [esp + 0x380], 0x3fc
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], esi
mov dword [esp + 0x38c], 0x5fb208
mov dword [esp + 0x390], 0xa4
mov dword [esp + 0x394], 3
mov dword [esp + 0x398], 0xb6
mov dword [esp + 0x39c], edi
mov dword [esp + 0x3a0], str.clr_btn5
mov dword [esp + 0x3a4], eax
mov dword [esp + 0x3a8], ebx
mov dword [esp + 0x3ac], edx
mov dword [esp + 0x3e4], edi
mov dword [esp + 0x42c], edi
mov dword [esp + 0x474], edi
mov edi, dword [ebp + 8]
or dword [edi + 0x44], 0xffffffff
mov dword [esp + 0x3f0], ebx
mov dword [esp + 0x438], ebx
mov dword [esp + 0x480], ebx
mov ebx, 0x5eefc0
mov dword [edi + 0x3c], str.shot_shadow
mov dword [edi + 0x40], esi
push ebx
mov dword [esp + 0x3b4], esi
mov dword [esp + 0x3b8], esi
mov dword [esp + 0x3bc], esi
mov dword [esp + 0x3c0], esi
mov dword [esp + 0x3c4], esi
mov dword [esp + 0x3c8], ecx
mov dword [esp + 0x3cc], 0x3fd
mov dword [esp + 0x3d0], eax
mov dword [esp + 0x3d4], esi
mov dword [esp + 0x3d8], 0x5fb224
mov dword [esp + 0x3dc], 0xb7
mov dword [esp + 0x3e0], 3
mov dword [esp + 0x3e4], 0xc9
mov dword [esp + 0x3ec], 0x5fb22c
mov dword [esp + 0x3f0], eax
mov dword [esp + 0x3f8], edx
mov dword [esp + 0x3fc], esi
mov dword [esp + 0x400], esi
mov dword [esp + 0x404], esi
mov dword [esp + 0x408], esi
mov dword [esp + 0x40c], esi
mov dword [esp + 0x410], ecx
mov dword [esp + 0x414], 0x3fe
mov dword [esp + 0x418], eax
mov dword [esp + 0x41c], esi
mov dword [esp + 0x420], 0x5fb240
mov dword [esp + 0x424], 0xca
mov dword [esp + 0x428], 3
mov dword [esp + 0x42c], 0xdc
mov dword [esp + 0x434], 0x5fb248
mov dword [esp + 0x438], eax
mov dword [esp + 0x440], edx
mov dword [esp + 0x444], esi
mov dword [esp + 0x448], esi
mov dword [esp + 0x44c], esi
mov dword [esp + 0x450], esi
mov dword [esp + 0x454], esi
mov dword [esp + 0x458], ecx
mov dword [esp + 0x45c], 0x3ff
mov dword [esp + 0x460], eax
mov dword [esp + 0x464], esi
mov dword [esp + 0x468], 0x5fb25c
mov dword [esp + 0x46c], 0xdd
mov dword [esp + 0x470], 3
mov dword [esp + 0x474], 0xef
mov dword [esp + 0x47c], 0x5fb264
mov dword [esp + 0x480], eax
mov dword [esp + 0x488], edx
mov dword [esp + 0x48c], esi
mov dword [esp + 0x490], esi
mov dword [esp + 0x494], esi
mov dword [esp + 0x498], esi
mov dword [esp + 0x49c], esi
add edi, 0x4c
call fcn.005154b1
pop ecx
push edi
push 0x10
pop ecx
lea edx, [esp + 0x20]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ebx
call fcn.00526309
push esi
mov ebx, 0x3ea
mov ecx, edi
call fcn.00526e6c
mov esi, eax
push 0
add ebx, 0xc
mov ecx, edi
call fcn.00526e6c
mov edi, eax
test esi, esi
je 0x50d4b4
mov dword [esi + 0x10c], 1
test edi, edi
je 0x50d5aa
push 1
mov ebx, edi
call fcn.0051bcc7
mov eax, 0x96
call fcn.005138c4
mov dword [edi + 0x124], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x50d4e3
add eax, 0x10c
jmp 0x50d4e5
xor eax, eax
push 0xc
mov dword [edi + 0x110], eax
pop ebx
mov eax, dword [0x63696c]
mov ecx, 0x63696c
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
and dword [esp + 0x4a8], 0
push ebx
push 0x5df944
lea eax, [esp + 0x1c]
call fcn.00404f66
push 0x114
call fcn.0058f82d
add esp, 0xc
mov dword [esp + 0x18], eax
mov byte [esp + 0x4a8], 1
test eax, eax
je 0x50d557
push 0
push 0
push ebx
push 0
lea esi, [esp + 0x24]
call fcn.00407a01
push eax
push str.Font
push dword [esp + 0x2c]
call fcn.00524bfa
jmp 0x50d559
xor eax, eax
mov byte [esp + 0x4a8], 0
test eax, eax
je 0x50d57b
push 0xffffffffffffffff
push 1
mov dword [eax + 0xc8], 0x800
push eax
mov eax, edi
call fcn.0051bb22
or dword [esp + 0x4a8], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00407b6b
inc ebx
inc ebx
cmp ebx, 0x29
jl 0x50d4ee
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x120]
mov ecx, edi
call fcn.005222a3
mov esi, dword [ebp + 8]
call fcn.0048812e
mov ecx, dword [esp + 0x4a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4