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

Disassembly:
sub esp, 0x3b4
mov eax, dword [esp + 0x3b8]
mov edx, dword [0x5debe0]
push ebx
mov ebx, dword [eax]
push esi
push edi
mov ecx, 7
mov esi, str.::tk::ensure_psenc_is_loaded
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
push 0x20000
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x3cc]
push 0xffffffffffffffff
lea ecx, [esp + 0xe8]
push ecx
xor edi, edi
push esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
call dword [edx + 0x494]
add esp, 0x10
cmp eax, edi
jne 0x5501a8
mov eax, dword [esp + 0x3c4]
mov ecx, dword [eax + 0x178]
lea edx, [esp + 0x18]
mov dword [eax + 0x178], edx
mov edx, dword [eax + 0x98]
mov dword [esp + 0xc8], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 0x9c]
push ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
or eax, 0xffffffff
lea ecx, [esp + 0x88]
mov dword [esp + 0x20], edx
mov edx, dword [0x5debe0]
push edi
push ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], 0x40732000
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], 0x4078c000
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 0x3ff00000
mov dword [esp + 0x6c], 8
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], 1
call dword [edx + 0x2dc]
mov ecx, dword [esp + 0x3dc]
mov edx, dword [esp + 0x3d8]
push 1
lea eax, [esp + 0x28]
push eax
add ecx, 8
push ecx
add edx, 0xfffffffe
push edx
push 0x5cecc8
push ebx
push esi
call fcn.00547c20
mov ebp, eax
add esp, 0x24
cmp ebp, edi
jne 0x550096
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
jne 0x54f5cb
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xffffffff
jne 0x54f5db
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x20]
add edx, eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x24]
add edx, ecx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x38]
test edx, edx
je 0x54f616
lea eax, [esp + 0x44]
push eax
push edx
push esi
call fcn.00550980
add esp, 0xc
test eax, eax
jne 0x550096
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x54f63d
lea ecx, [esp + 0x4c]
push ecx
push edx
push esi
call fcn.00550980
add esp, 0xc
test eax, eax
jne 0x550096
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
test edx, edx
je 0x54f672
lea eax, [esp + 0x5c]
push eax
push edx
push esi
call fcn.00550980
add esp, 0xc
test eax, eax
jne 0x550096
fild dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
fdivr qword [esp + 0x5c]
fstp qword [esp + 0x5c]
jmp 0x54f6e3
mov edx, dword [esp + 0x58]
test edx, edx
je 0x54f6a7
lea ecx, [esp + 0x5c]
push ecx
push edx
push esi
call fcn.00550980
add esp, 0xc
test eax, eax
jne 0x550096
fild dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
fdivr qword [esp + 0x5c]
fstp qword [esp + 0x5c]
jmp 0x54f6e3
mov edx, dword [ebx + 8]
mov edi, dword [ebx]
mov edi, dword [edi + 0x88]
lea edx, [edx + edx*4]
shl edx, 4
fild dword [edi + edx + 0x14]
fmul qword [0x5a3750]
fst qword [esp + 0x5c]
mov edx, dword [ebx + 8]
mov edi, dword [ebx]
mov edi, dword [edi + 0x88]
lea edx, [edx + edx*4]
shl edx, 4
fild dword [edi + edx + 0xc]
fdivr st(1)
fstp qword [esp + 0x5c]
fstp st(0)
mov edi, dword [esp + 0x64]
cmp edi, 8
ja case.default.0x54f6ec
jmp dword [edi*4 + 0x5501b4]
mov dword [esp + 0x18], 0
jmp 0x54f708
cdq
sub eax, edx
sar eax, 1
neg eax
mov dword [esp + 0x18], eax
jmp dword [edi*4 + 0x5501d8]
mov edx, dword [esp + 0x74]
test edx, edx
je 0x54f799
or ecx, 0xffffffff
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
push edi
push str.monochrome
push edx
call fcn.005833a0
add esp, 0xc
test eax, eax
jne 0x54f75d
mov dword [esp + 0x78], eax
jmp 0x54f7a1
mov eax, dword [esp + 0x74]
push edi
push str.gray
push eax
call fcn.005833a0
add esp, 0xc
test eax, eax
jne 0x54f77e
mov dword [esp + 0x78], 1
jmp 0x54f7a1
mov ecx, dword [esp + 0x74]
push edi
push str.color
push ecx
call fcn.005833a0
add esp, 0xc
test eax, eax
jne 0x550075
mov dword [esp + 0x78], 2
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x54f881
mov eax, dword [esp + 0x80]
test eax, eax
je 0x54f7de
mov edx, dword [0x5debe0]
push 0
push str._and__channel
push str.cant_specify_both__file
push esi
call dword [edx + 0x120]
add esp, 0x10
mov ebp, 1
jmp 0x550096
mov eax, dword [0x5debe0]
push esi
call dword [eax + 0x2ec]
add esp, 4
test eax, eax
je 0x54f817
mov ecx, dword [0x5debe0]
push 0
push str._safe_interpreter
push str.cant_specify__file_in_a
push esi
call dword [ecx + 0x120]
add esp, 0x10
mov ebp, 1
jmp 0x550096
mov eax, dword [esp + 0x7c]
mov ecx, dword [0x5debe0]
lea edx, [esp + 0x2f0]
push edx
push eax
push esi
call dword [ecx + 0x3ec]
add esp, 0xc
test eax, eax
je 0x550096
mov edx, dword [0x5debe0]
push 0x1b6
push 0x5a83b4
push eax
push esi
call dword [edx + 0x320]
mov ecx, dword [0x5debe0]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x300]
push eax
call dword [ecx + 0x1e8]
mov eax, dword [esp + 0x98]
add esp, 0x14
test eax, eax
je 0x550096
mov eax, dword [esp + 0x80]
test eax, eax
je 0x54f8f1
lea edx, [esp + 0xd0]
push edx
push eax
mov eax, dword [0x5debe0]
push esi
call dword [eax + 0x264]
add esp, 0xc
test eax, eax
mov dword [esp + 0x84], eax
jne 0x54f8b9
mov ebp, 1
jmp 0x550096
test byte [esp + 0xd0], 4
jne 0x54f8f1
mov ecx, dword [esp + 0x80]
mov edx, dword [0x5debe0]
push 0
push str.__wasnt_opened_for_writing
push ecx
push str.channel__
push esi
call dword [edx + 0x120]
add esp, 0x14
mov ebp, 1
jmp 0x550096
mov eax, dword [esp + 0x3c8]
mov edi, dword [eax + 0x10]
test edi, edi
mov dword [esp + 0xc0], 1
je 0x54f963
mov ecx, dword [edi + 0x24]
cmp ecx, dword [esp + 0x30]
jge 0x54f95c
mov edx, dword [esp + 0x20]
cmp dword [edi + 0x2c], edx
jl 0x54f95c
mov eax, dword [esp + 0x34]
cmp dword [edi + 0x28], eax
jge 0x54f95c
mov ecx, dword [esp + 0x24]
cmp dword [edi + 0x30], ecx
jl 0x54f95c
mov edx, dword [edi + 0x20]
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x54f95c
mov ecx, dword [esp + 0x3c8]
push 1
push edi
push ecx
push esi
call eax
mov edx, dword [0x5debe0]
push esi
mov ebx, eax
call dword [edx + 0x36c]
add esp, 0x14
test ebx, ebx
jne 0x54f963
mov edi, dword [edi + 4]
test edi, edi
jne 0x54f90a
mov eax, dword [esp + 0xc4]
test eax, eax
mov dword [esp + 0xc0], 0
je 0x54fe8b
mov eax, dword [0x5debe0]
push 0
push str.__Creator:_Tk_Canvas_Widget_n
push str.__PS_Adobe_3.0_EPSF_3.0_n
push esi
call dword [eax + 0x120]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x2c]
mov eax, dword [0x5debe0]
push 0
push 0x5a8fa4
push edx
push str.__Title:_Window
push esi
call dword [eax + 0x120]
lea ecx, [esp + 0xf8]
push ecx
call fcn.00586308
mov edx, dword [0x5debe0]
add esp, 0x28
lea eax, [esp + 0xd4]
push 0
push eax
lea edi, [edx + 0x120]
call fcn.005862ef
add esp, 4
push eax
push str.__CreationDate:
push esi
call dword [edi]
mov eax, dword [esp + 0x78]
add esp, 0x10
test eax, eax
jne 0x54fa5f
mov ecx, dword [esp + 0x2c]
fld qword [esp + 0x5c]
mov ebp, dword [esp + 0x10]
add ecx, ebp
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul st(1)
fadd qword [esp + 0x4c]
fadd qword [0x594bc0]
call fcn.00582b68
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
add edx, ebx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
push eax
fmul st(1)
fadd qword [esp + 0x48]
fadd qword [0x594bc0]
call fcn.00582b68
fild dword [esp + 0x14]
push eax
fmul st(1)
fadd qword [esp + 0x54]
call fcn.00582b68
fild dword [esp + 0x20]
push eax
fmul st(1)
fadd qword [esp + 0x50]
jmp 0x54fac5
mov ecx, dword [esp + 0x28]
fld qword [esp + 0x5c]
mov ebx, dword [esp + 0x18]
add ecx, ebx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul st(1)
fadd qword [esp + 0x4c]
fadd qword [0x594bc0]
call fcn.00582b68
fild dword [esp + 0x10]
push eax
fmul st(1)
fsubr qword [esp + 0x48]
fadd qword [0x594bc0]
call fcn.00582b68
fild dword [esp + 0x1c]
push eax
fmul st(1)
fadd qword [esp + 0x54]
call fcn.00582b68
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
add edx, ebp
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
push eax
fmul st(1)
fsubr qword [esp + 0x50]
call fcn.00582b68
fstp st(0)
push eax
lea eax, [esp + 0x114]
push str._d__d__d__d
push eax
call fcn.005827d9
mov edx, dword [0x5debe0]
add esp, 0x18
push 0
push 0x5a8fa4
lea ecx, [esp + 0x10c]
push ecx
push str.__BoundingBox:
push esi
call dword [edx + 0x120]
mov eax, dword [0x5debe0]
push 0
push str.__DocumentData:_Clean7Bit_n
push str.__Pages:_1_n
push esi
call dword [eax + 0x120]
mov eax, dword [esp + 0x8c]
add esp, 0x24
test eax, eax
mov eax, str.Landscape_n
jne 0x54fb33
mov eax, str.Portrait_n
mov ecx, dword [0x5debe0]
push 0
push eax
push str.__Orientation:
push esi
call dword [ecx + 0x120]
mov ecx, dword [0x5debe0]
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x9c]
push eax
mov edi, str.__DocumentNeededResources:_font
call dword [ecx + 0x24c]
add esp, 0x18
test eax, eax
je 0x54fbbf
mov ecx, dword [esp + 0xb0]
cmp ecx, 1
je 0x54fb86
cmp ecx, 0xffffffff
je 0x54fb86
add eax, 0x10
jmp 0x54fb89
mov eax, dword [eax + 0x10]
mov edx, dword [0x5debe0]
push 0
push 0x5a8fa4
push eax
push edi
push esi
call dword [edx + 0x120]
mov ecx, dword [0x5debe0]
lea eax, [esp + 0xec]
push eax
mov edi, str.___font
call dword [ecx + 0x30c]
add esp, 0x18
test eax, eax
jne 0x54fb70
mov edx, dword [0x5debe0]
push 0
push str.__EndComments_n_n
push esi
call dword [edx + 0x120]
mov eax, dword [0x5debe0]
add esp, 0xc
push 0
push 1
push str.::tk::ps_preamable
push esi
lea edi, [eax + 0x120]
call dword [eax + 0x2c4]
add esp, 0xc
push eax
push esi
call dword [edi]
mov eax, dword [esp + 0x90]
add esp, 0xc
test eax, eax
je 0x54fc41
mov eax, dword [0x5debe0]
push 0xffffffffffffffff
push esi
lea edi, [eax + 0x424]
call dword [eax + 0x2c0]
add esp, 4
push eax
mov eax, dword [esp + 0x8c]
push eax
call dword [edi]
mov ecx, dword [esp + 0x3d4]
mov edx, dword [ecx + 8]
mov eax, dword [0x5debe0]
push edx
call dword [eax + 0x36c]
add esp, 0x10
mov ecx, dword [esp + 0x78]
push ecx
lea edx, [esp + 0x108]
push str._CL__d_def_n
push edx
call fcn.005827d9
mov ecx, dword [0x5debe0]
push 0
lea eax, [esp + 0x114]
push eax
push str.__BeginSetup_n
push esi
call dword [ecx + 0x120]
mov ecx, dword [0x5debe0]
lea edx, [esp + 0xf4]
push edx
lea eax, [esp + 0xa8]
push eax
call dword [ecx + 0x24c]
add esp, 0x24
test eax, eax
je 0x54fce5
mov ecx, dword [esp + 0xb0]
cmp ecx, 1
je 0x54fcad
cmp ecx, 0xffffffff
je 0x54fcad
add eax, 0x10
jmp 0x54fcb0
mov eax, dword [eax + 0x10]
mov edx, dword [0x5debe0]
push 0
push 0x5a8fa4
push eax
push str.__IncludeResource:_font
push esi
call dword [edx + 0x120]
mov ecx, dword [0x5debe0]
lea eax, [esp + 0xec]
push eax
call dword [ecx + 0x30c]
add esp, 0x18
test eax, eax
jne 0x54fc97
mov edx, dword [0x5debe0]
push 0
push str.__EndSetup_n_n
push esi
call dword [edx + 0x120]
mov eax, dword [0x5debe0]
push 0
push str.save_n
push str.__Page:_1_1_n
push esi
call dword [eax + 0x120]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push ecx
lea edx, [esp + 0x130]
push str._.1f__.1f_translate_n
push edx
call fcn.005827d9
mov ecx, dword [0x5debe0]
push 0
lea eax, [esp + 0x13c]
push eax
push esi
call dword [ecx + 0x120]
mov eax, dword [esp + 0xa8]
add esp, 0x40
test eax, eax
je 0x54fd73
mov edx, dword [0x5debe0]
push 0
push str.90_rotate_n
push esi
call dword [edx + 0x120]
add esp, 0xc
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
push eax
push ecx
lea eax, [esp + 0x114]
push str._.4g__.4g_scale_n
push eax
call fcn.005827d9
mov edx, dword [0x5debe0]
push 0
lea ecx, [esp + 0x120]
push ecx
push esi
call dword [edx + 0x120]
push ebp
sub ebx, dword [esp + 0x48]
push ebx
lea eax, [esp + 0x130]
push str._d__d_translate_n
push eax
call fcn.005827d9
mov edx, dword [0x5debe0]
push 0
lea ecx, [esp + 0x13c]
push ecx
push esi
call dword [edx + 0x120]
fild dword [esp + 0x74]
add esp, 0x40
lea eax, [esp + 0x1c]
push eax
sub esp, 8
fstp qword [esp]
call fcn.005508a0
mov ecx, dword [esp + 0x2c]
fstp qword [esp + 4]
fild dword [esp + 0x40]
add esp, 4
push ecx
lea edx, [esp + 0x28]
push edx
sub esp, 8
fstp qword [esp]
call fcn.005508a0
mov eax, dword [esp + 0x48]
fstp qword [esp + 4]
fild dword [esp + 0x3c]
add esp, 4
push eax
lea ecx, [esp + 0x34]
push ecx
sub esp, 8
fstp qword [esp]
call fcn.005508a0
mov edx, dword [esp + 0x54]
fstp qword [esp + 4]
fild dword [esp + 0x48]
add esp, 4
push edx
lea eax, [esp + 0x40]
push eax
sub esp, 8
fstp qword [esp]
call fcn.005508a0
mov ecx, dword [esp + 0x50]
fstp qword [esp + 4]
add esp, 4
push ecx
lea edx, [esp + 0x134]
push str._d__.15g_moveto__d__.15g_lineto__d__.15g_lineto__d__.15g
push edx
call fcn.005827d9
mov ecx, dword [0x5debe0]
push 0
push str._lineto_closepath_clip_newpath_n
lea eax, [esp + 0x144]
push eax
push esi
call dword [ecx + 0x120]
add esp, 0x48
mov eax, dword [esp + 0x84]
test eax, eax
je 0x54fed2
mov eax, dword [0x5debe0]
push 0xffffffffffffffff
push esi
lea edi, [eax + 0x424]
call dword [eax + 0x2c0]
mov edx, dword [esp + 0x8c]
add esp, 4
push eax
push edx
call dword [edi]
mov eax, dword [esp + 0x3d4]
mov ecx, dword [eax + 8]
mov edx, dword [0x5debe0]
push ecx
call dword [edx + 0x36c]
add esp, 0x10
mov eax, dword [esp + 0x3c8]
mov ebx, dword [eax + 0x10]
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x10], ebp
je 0x54ffcf
mov ebp, 3
mov ecx, dword [ebx + 0x24]
cmp ecx, dword [esp + 0x30]
jge 0x54ffc0
mov edx, dword [ebx + 0x2c]
cmp edx, dword [esp + 0x20]
jl 0x54ffc0
mov eax, dword [ebx + 0x28]
cmp eax, dword [esp + 0x34]
jge 0x54ffc0
mov ecx, dword [ebx + 0x30]
cmp ecx, dword [esp + 0x24]
jl 0x54ffc0
mov edx, dword [ebx + 0x20]
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x54ffc0
cmp dword [ebx + 0x38], ebp
je 0x54ffc0
mov eax, dword [0x5debe0]
push 0
push str.gsave_n
push esi
call dword [eax + 0x120]
mov edx, dword [esp + 0x3d4]
mov ecx, dword [ebx + 0x20]
push 0
push ebx
push edx
push esi
call dword [ecx + 0x2c]
add esp, 0x1c
test eax, eax
mov dword [esp + 0x10], eax
jne 0x550043
push eax
mov eax, dword [0x5debe0]
push str.grestore_n
push esi
call dword [eax + 0x120]
mov eax, dword [esp + 0x90]
add esp, 0xc
test eax, eax
je 0x54ffc0
mov eax, dword [0x5debe0]
push 0xffffffffffffffff
push esi
lea edi, [eax + 0x424]
call dword [eax + 0x2c0]
mov ecx, dword [esp + 0x8c]
add esp, 4
push eax
push ecx
call dword [edi]
mov edx, dword [0x5debe0]
push esi
call dword [edx + 0x36c]
add esp, 0x10
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x54feef
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x54fff6
mov ecx, dword [0x5debe0]
push 0
push str.__Trailer_nend_n__EOF_n
push str.restore_showpage_n_n
push esi
call dword [ecx + 0x120]
add esp, 0x10
mov eax, dword [esp + 0x84]
test eax, eax
je 0x550096
mov eax, dword [0x5debe0]
push 0xffffffffffffffff
push esi
lea edi, [eax + 0x424]
call dword [eax + 0x2c0]
mov edx, dword [esp + 0x8c]
add esp, 4
push eax
push edx
call dword [edi]
mov eax, dword [esp + 0x3d4]
mov ecx, dword [eax + 8]
mov edx, dword [0x5debe0]
push ecx
call dword [edx + 0x36c]
add esp, 0x10
jmp 0x550096
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x29c]
push str._n_____generating_Postscript_for_item__d_
push ecx
call fcn.005827d9
mov eax, dword [0x5debe0]
lea edx, [esp + 0x2a4]
push edx
push esi
call dword [eax + 0x110]
mov ebp, dword [esp + 0x24]
add esp, 0x14
jmp 0x550096
mov eax, dword [esp + 0x74]
mov ecx, dword [0x5debe0]
push 0
push str._:_must_be_monochrome__gray__or_color
push eax
push str.bad_color_mode__
push esi
call dword [ecx + 0x120]
add esp, 0x14
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5500ab
mov edx, dword [0x5debe0]
push eax
call dword [edx + 0x18]
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5500bf
push eax
mov eax, dword [0x5debe0]
call dword [eax + 0x18]
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x5500d4
mov ecx, dword [0x5debe0]
push eax
call dword [ecx + 0x18]
add esp, 4
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5500e9
mov edx, dword [0x5debe0]
push eax
call dword [edx + 0x18]
add esp, 4
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x5500fd
push eax
mov eax, dword [0x5debe0]
call dword [eax + 0x18]
add esp, 4
mov eax, dword [esp + 0x70]
test eax, eax
je 0x550112
mov ecx, dword [0x5debe0]
push eax
call dword [ecx + 0x18]
add esp, 4
mov eax, dword [esp + 0x74]
test eax, eax
je 0x550127
mov edx, dword [0x5debe0]
push eax
call dword [edx + 0x18]
add esp, 4
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x55013b
push eax
mov eax, dword [0x5debe0]
call dword [eax + 0x18]
add esp, 4
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x550162
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x55016d
push ecx
mov ecx, dword [0x5debe0]
push esi
call dword [ecx + 0x14c]
add esp, 8
mov eax, dword [esp + 0x80]
test eax, eax
je 0x55017a
mov edx, dword [0x5debe0]
push eax
call dword [edx + 0x18]
add esp, 4
mov ecx, dword [0x5debe0]
lea eax, [esp + 0x88]
push eax
call dword [ecx + 0x1bc]
mov eax, dword [esp + 0xd0]
mov edx, dword [esp + 0x3cc]
add esp, 4
mov dword [edx + 0x178], eax
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3b4
ret