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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x65743e
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x6a9fa4]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
add esi, 8
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
je 0x58fd81
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x58fd86
call fcn.0062472f
mov eax, dword [esi + 4]
mov eax, dword [eax]
push 0xffffffffffffffff
mov edi, 8
add eax, edi
push ebx
push eax
lea ecx, [esp + 0x1d8]
mov dword [esp + 0x1f0], 7
mov dword [esp + 0x1ec], ebx
mov word [esp + 0x1dc], bx
call fcn.00404e90
mov dword [esp + 0x230], ebx
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
mov byte [esp + 0x13], 0
mov byte [esp + 0x23], 0
jae 0x58fde4
lea eax, [esp + 0x1d0]
push str.Define
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x590092
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x592856
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, 3
jne 0x592856
cmp ecx, ebx
je 0x58fe27
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, 1
ja 0x58fe2c
call fcn.0062472f
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
cmp byte [eax + 4], 0
jne 0x590862
mov ecx, edx
cmp ecx, ebx
je 0x58fe4f
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, 1
ja 0x58fe54
call fcn.0062472f
mov eax, dword [esi + 4]
mov ebx, dword [eax + 4]
add eax, 4
add ebx, 8
lea edi, [esp + 0x1e8]
call fcn.005b5de0
mov eax, edi
mov byte [esp + 0x230], 1
call fcn.005bf910
test al, al
jne 0x590074
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
add edi, 0x60
push ecx
push edi
lea eax, [esp + 0x1f0]
mov dword [esp + 0x40], edi
call fcn.005a17a0
mov ebx, dword [esp + 0x2c]
test ebx, ebx
mov edx, dword [edi + 4]
mov dword [esp + 0x40], edx
je 0x58feb3
cmp ebx, edi
je 0x58feb8
call fcn.0062472f
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x40]
je 0x58fef1
lea esi, [esp + 0x2c]
call fcn.005c2b10
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x58fedc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x30]
push ecx
push ebx
lea edx, [esp + 0x34]
push edx
push edi
call fcn.005a1490
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov eax, dword [eax]
cmp byte [eax + 4], 0
je 0x58ff95
push 0x18
call fcn.00624227
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x230], 2
je 0x58ff2b
push eax
call fcn.005bf2f0
mov ebx, eax
jmp 0x58ff2d
xor ebx, ebx
mov esi, dword [esp + 0x18]
mov edi, 2
mov byte [esp + 0x230], 1
call fcn.005470e0
mov ecx, dword [eax]
push ebx
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.005bfb80
test al, al
jne 0x58ff6e
test ebx, ebx
je 0x58ff62
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
lea ecx, [esp + 0x1e8]
jmp 0x592929
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1ec]
push edx
lea esi, [esp + 0x8c]
mov dword [esp + 0x2c], ebx
call fcn.005a21f0
mov byte [esp + 0x230], 3
jmp 0x58ffe1
mov esi, dword [esp + 0x18]
call fcn.005470e0
mov esi, dword [eax]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esi + 8]
push edx
call eax
test eax, eax
je 0x590017
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1ec]
push edx
lea esi, [esp + 0x8c]
mov dword [esp + 0x2c], eax
call fcn.005a21f0
mov byte [esp + 0x230], 4
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov ebx, eax
call fcn.005a1360
lea esi, [esp + 0x84]
call fcn.00592970
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x230], 0
call fcn.00404db0
jmp 0x590857
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1ec]
push ecx
lea esi, [esp + 0x8c]
call fcn.005a21f0
lea edx, [esp + 0x2c]
mov byte [esp + 0x230], 5
mov ecx, dword [esp + 0x38]
push edx
push ecx
mov ebx, eax
call fcn.005a1360
call fcn.00592970
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x230], 0
call fcn.00404db0
jmp 0x590857
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x13], 1
mov byte [esp + 0x230], 0
call fcn.00404db0
jmp 0x590857
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x5900a9
lea eax, [esp + 0x1d0]
push str.CreateHorzSpanRectList
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x590609
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x592856
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, 4
jne 0x592856
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
cmp ecx, ebx
mov byte [esp + 0x230], 7
je 0x590115
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, 1
ja 0x59011a
call fcn.0062472f
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
cmp byte [eax + 4], 0
jne 0x5905c0
mov edi, 2
call fcn.005470e0
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1b0]
push ecx
push edx
push eax
call fcn.005c07b0
test al, al
je 0x5905c0
mov ecx, dword [esp + 0x1b4]
cmp ecx, ebx
je 0x5905c0
mov eax, dword [esp + 0x1b8]
sub eax, ecx
sar eax, 2
cmp eax, 4
jne 0x5905c0
mov esi, dword [esp + 0x18]
lea edi, [eax - 1]
call fcn.005470e0
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x48]
push ecx
push edx
push eax
call fcn.005c07b0
test al, al
je 0x5905c0
mov edi, 1
call fcn.005470e0
mov ebx, dword [eax]
add ebx, 8
lea edi, [esp + 0x204]
call fcn.005b5de0
mov bl, 8
mov byte [esp + 0x230], bl
xor esi, esi
push 0x18
mov dword [esp + 0x48], esi
call fcn.00624227
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, esi
mov byte [esp + 0x230], 9
je 0x5901eb
push eax
call fcn.005bf2f0
mov dword [esp + 0x1c], eax
jmp 0x5901ef
mov dword [esp + 0x1c], esi
mov byte [esp + 0x230], bl
mov dword [esp + 0x18], esi
lea ebx, [ebx]
mov ecx, dword [esp + 0x4c]
cmp ecx, esi
je 0x590515
mov eax, dword [esp + 0x50]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x18], eax
jae 0x590515
push 0x18
call fcn.00624227
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, esi
mov byte [esp + 0x230], 0xa
je 0x590245
push eax
call fcn.005bf2f0
mov dword [esp + 0x38], eax
jmp 0x590249
mov dword [esp + 0x38], esi
mov byte [esp + 0x230], bl
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
add esi, 8
lea ebx, [esp + 0x24]
mov dword [esp + 0x24], ecx
call fcn.005a1300
xor eax, eax
mov dword [esp + 0x200], 7
mov dword [esp + 0x1fc], eax
mov word [esp + 0x1ec], ax
mov bl, 0xb
xor edi, edi
lea esi, [esp + 0x1b0]
mov byte [esp + 0x230], bl
call fcn.005470e0
mov edx, dword [eax]
add edx, dword [esp + 0x44]
lea ecx, [esp + 0x68]
push edx
push 0x6644b0
call fcn.005b7520
add esp, 8
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x23c], 0xc
call fcn.00404e90
lea ecx, [esp + 0x68]
mov byte [esp + 0x230], bl
call fcn.00404db0
push 0x28
call fcn.00624227
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x230], 0xd
je 0x590305
lea ecx, [esp + 0x1e8]
push ecx
push eax
call fcn.005bf0e0
jmp 0x590307
xor eax, eax
mov byte [esp + 0x230], bl
mov esi, dword [esp + 0x38]
add esi, 8
lea ebx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], esi
call fcn.005a1300
mov edi, 1
lea esi, [esp + 0x1b0]
call fcn.005470e0
mov edx, dword [eax]
push edx
push 0x6644b0
lea ecx, [esp + 0x70]
call fcn.005b7520
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x23c], 0xe
call fcn.00404e90
mov bl, 0xb
lea ecx, [esp + 0x68]
mov byte [esp + 0x230], bl
call fcn.00404db0
push 0x28
call fcn.00624227
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x230], 0xf
je 0x5903a0
lea ecx, [esp + 0x1e8]
push ecx
push eax
call fcn.005bf0e0
jmp 0x5903a2
xor eax, eax
mov byte [esp + 0x230], bl
mov esi, dword [esp + 0x38]
lea ebx, [esp + 0x24]
mov dword [esp + 0x24], eax
call fcn.005a1300
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x48]
call fcn.005470e0
mov edx, dword [eax]
push edx
push 0x6644b0
lea ecx, [esp + 0x70]
call fcn.005b7520
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x23c], 0x10
call fcn.00404e90
mov bl, 0xb
lea ecx, [esp + 0x68]
mov byte [esp + 0x230], bl
call fcn.00404db0
push 0x28
call fcn.00624227
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x230], 0x11
je 0x590430
lea ecx, [esp + 0x1e8]
push ecx
push eax
call fcn.005bf0e0
jmp 0x590432
xor eax, eax
mov byte [esp + 0x230], bl
mov esi, dword [esp + 0x38]
lea ebx, [esp + 0x24]
mov dword [esp + 0x24], eax
call fcn.005a1300
mov edi, 3
lea esi, [esp + 0x1b0]
call fcn.005470e0
mov edx, dword [eax]
push edx
push 0x6644b0
lea ecx, [esp + 0x70]
call fcn.005b7520
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x23c], 0x12
call fcn.00404e90
mov bl, 0xb
lea ecx, [esp + 0x68]
mov byte [esp + 0x230], bl
call fcn.00404db0
push 0x28
call fcn.00624227
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x230], 0x13
je 0x5904c4
lea ecx, [esp + 0x1e8]
push ecx
push eax
call fcn.005bf0e0
jmp 0x5904c6
xor eax, eax
mov byte [esp + 0x230], bl
mov esi, dword [esp + 0x38]
lea ebx, [esp + 0x24]
mov dword [esp + 0x24], eax
call fcn.005a1300
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x48]
call fcn.005470e0
mov edx, dword [eax]
add dword [esp + 0x44], edx
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x230], 8
call fcn.00404db0
add edi, 1
mov dword [esp + 0x18], edi
mov bl, 8
xor esi, esi
jmp 0x590200
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
add ebx, 0x60
push ebx
lea eax, [esp + 0x20c]
call fcn.005a17a0
mov ecx, dword [ebx + 4]
lea esi, [esp + 0x3c]
lea edi, [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebx
call fcn.005c3430
test al, al
je 0x590577
mov esi, edi
call fcn.005c2b10
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x590562
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea eax, [esp + 0x34]
push eax
push ebx
call fcn.005a1490
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x208]
push eax
lea esi, [esp + 0x8c]
mov dword [esp + 0x2c], ecx
call fcn.005a21f0
lea ecx, [esp + 0x2c]
push ecx
push ebx
mov ebx, eax
mov byte [esp + 0x238], 0x14
call fcn.005a1360
call fcn.00592970
lea ecx, [esp + 0x204]
call fcn.00404db0
jmp 0x5905c5
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x4c]
xor esi, esi
cmp eax, esi
je 0x5905d8
push eax
call fcn.0062414c
add esp, 4
mov byte [esp + 0x230], 0
mov eax, dword [esp + 0x1b4]
cmp eax, esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
je 0x590857
push eax
call fcn.0062414c
add esp, 4
jmp 0x590857
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x590620
lea eax, [esp + 0x1d0]
push str.SetDefaultPointSize
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x5906b7
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x592856
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, 2
jne 0x592856
lea edi, [eax - 1]
call fcn.005470e0
mov edx, dword [eax]
cmp byte [edx + 4], 0
jne 0x590862
mov esi, dword [esp + 0x18]
lea ebx, [esp + 0x24]
call fcn.005470e0
mov eax, dword [eax]
sub esp, 0x1c
add eax, 8
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.0041fe00
mov esi, ebx
call fcn.005b63d0
add esp, 0x1c
test al, al
je 0x590862
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov dword [edx + 0x78], ecx
lea ecx, [esp + 0x1cc]
call fcn.00404db0
mov al, 1
jmp 0x59293c
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x5906ce
lea eax, [esp + 0x1d0]
push str.SetCharMap
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x590880
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x592856
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, 3
jne 0x592856
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
lea edi, [eax - 2]
mov byte [esp + 0x230], 0x16
call fcn.005470e0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x1b4]
call fcn.005c0460
test al, al
je 0x590835
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x4c]
call fcn.005c0460
test al, al
je 0x590835
lea ecx, [esp + 0x1b0]
call fcn.0051f090
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.0051f090
cmp esi, eax
jne 0x59082e
xor edi, edi
cmp esi, ebx
jbe 0x59083a
lea ebx, [edi + 1]
mov edi, edi
lea esi, [esp + 0x1b0]
call fcn.0051f0c0
cmp dword [eax + 0x14], ebx
jne 0x590811
lea esi, [esp + 0x48]
call fcn.0051f0c0
cmp dword [eax + 0x14], ebx
jne 0x590811
push 0
call fcn.0051f0c0
mov ecx, eax
call fcn.00461300
push 0
lea esi, [esp + 0x1b4]
mov ebx, eax
call fcn.0051f0c0
mov ecx, eax
call fcn.00461300
mov ax, word [eax]
mov cx, word [ebx]
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
mov word [esp + 0x1c], ax
push edx
lea eax, [esp + 0x30]
push eax
add ebx, 0x7c
mov word [esp + 0x26], cx
call fcn.005a1d00
mov ebx, 1
jmp 0x590816
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x1b0]
add edi, ebx
call fcn.0051f090
cmp edi, eax
jb 0x5907a0
jmp 0x59083a
mov byte [esp + 0x23], 1
jmp 0x59083a
mov byte [esp + 0x13], 1
lea esi, [esp + 0x48]
call fcn.0051f050
lea esi, [esp + 0x1b0]
mov byte [esp + 0x230], 0
call fcn.0051f050
cmp byte [esp + 0x13], 0
je 0x5928bd
push str.Invalid_Paramater_Type
lea ecx, [esp + 0x208]
call fcn.00404d70
mov byte [esp + 0x230], 0x4a
jmp 0x59290f
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x590897
lea eax, [esp + 0x1d0]
push str.CreateLayer
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x590a18
mov eax, esi
call fcn.005470c0
cmp eax, 2
jne 0x592856
lea edi, [eax - 1]
call fcn.005470e0
mov ecx, dword [eax]
cmp byte [ecx + 4], 0
jne 0x590862
mov esi, dword [esp + 0x18]
call fcn.005470e0
mov ebx, dword [eax]
add ebx, 8
lea edi, [esp + 0x68]
call fcn.005b5de0
mov ebx, eax
lea edi, [esp + 0x204]
mov byte [esp + 0x230], 0x17
call fcn.005b6000
lea ecx, [esp + 0x68]
mov byte [esp + 0x230], 0x19
call fcn.00404db0
mov esi, dword [esp + 0x14]
push esi
lea edx, [esp + 0xdc]
push edx
call fcn.0058f040
lea edi, [esi + 0x88]
mov ebx, edi
mov byte [esp + 0x230], 0x1a
call fcn.005a1ea0
lea eax, [esp + 0xd8]
push eax
mov byte [esp + 0x234], 0x19
call fcn.005929a0
call fcn.005a1e80
push 0xffffffffffffffff
mov edi, eax
push 0
lea edx, [esp + 0x20c]
lea ecx, [edi + 0x10]
push edx
mov dword [esp + 0x30], edi
call fcn.00405660
mov esi, dword [esi + 0x90]
lea eax, [esp + 0x24]
add esi, 0xffffffff
push eax
lea ecx, [esp + 0x208]
mov dword [edi + 0xd0], esi
push ecx
lea esi, [esp + 0x8c]
call fcn.005a2220
mov edi, dword [esp + 0x14]
push eax
lea edx, [edi + 0x94]
push edx
lea ebx, [esp + 0x34]
mov byte [esp + 0x238], 0x1b
call fcn.005a1ed0
cmp byte [eax + 8], 0
mov byte [esp + 0x230], 0x19
sete bl
call fcn.00548c80
test bl, bl
je 0x5909f9
push str.Layer_Already_Exists
lea ecx, [esp + 0x1ec]
call fcn.00404d70
mov byte [esp + 0x230], 0x1c
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x1e8]
call fcn.00404db0
lea ecx, [esp + 0x204]
call fcn.00405480
lea ecx, [esp + 0x1cc]
call fcn.00404db0
mov al, 1
jmp 0x59293c
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x590a2f
lea eax, [esp + 0x1d0]
push str.CreateLayerFrom
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x590bb0
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
lea edi, [eax - 2]
call fcn.005470e0
mov eax, dword [eax]
cmp byte [eax + 4], 0
jne 0x590862
mov ebx, dword [esp + 0x18]
mov edi, 2
mov esi, ebx
call fcn.005470e0
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0058f9c0
test al, al
je 0x590862
mov edi, 1
mov esi, ebx
call fcn.005470e0
mov ebx, dword [eax]
add ebx, 8
lea edi, [esp + 0x68]
call fcn.005b5de0
mov ebx, eax
lea edi, [esp + 0x204]
mov byte [esp + 0x230], 0x1d
call fcn.005b6000
lea ecx, [esp + 0x68]
mov byte [esp + 0x230], 0x1f
call fcn.00404db0
mov edi, dword [esp + 0x24]
lea eax, [esp + 0xd8]
push eax
call fcn.0058f1e0
mov esi, dword [esp + 0x14]
lea edi, [esi + 0x88]
mov ebx, edi
mov byte [esp + 0x230], 0x20
call fcn.005a1ea0
lea ecx, [esp + 0xd8]
push ecx
mov byte [esp + 0x234], 0x1f
call fcn.005929a0
call fcn.005a1e80
push 0xffffffffffffffff
mov edi, eax
push 0
lea edx, [esp + 0x20c]
lea ecx, [edi + 0x10]
push edx
mov dword [esp + 0x30], edi
call fcn.00405660
mov eax, dword [esi + 0x90]
add eax, 0xffffffff
mov dword [edi + 0xd0], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x208]
push ecx
lea esi, [esp + 0x8c]
call fcn.005a2220
mov edi, dword [esp + 0x14]
push eax
lea edx, [edi + 0x94]
push edx
lea ebx, [esp + 0x34]
mov byte [esp + 0x238], 0x21
call fcn.005a1ed0
cmp byte [eax + 8], 0
mov byte [esp + 0x230], 0x1f
sete bl
call fcn.00548c80
test bl, bl
je 0x5909f9
push str.Layer_Already_Exists
lea ecx, [esp + 0x1ec]
call fcn.00404d70
mov byte [esp + 0x230], 0x22
jmp 0x5909dc
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x590bc7
lea eax, [esp + 0x1d0]
push str.LayerRequireTags
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x590cff
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], ebx
lea edi, [eax - 2]
mov byte [esp + 0x230], 0x23
call fcn.005470e0
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0058f9c0
test al, al
je 0x590cf5
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x1b4]
call fcn.005c0460
test al, al
je 0x590cf5
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1c], ebx
call fcn.0051f090
test eax, eax
jbe 0x590843
mov edx, dword [esp + 0x24]
add edx, 0x2c
mov dword [esp + 0x24], edx
mov edi, dword [esp + 0x1c]
lea esi, [esp + 0x1b0]
call fcn.0051f0c0
mov ebx, eax
lea edi, [esp + 0x204]
call fcn.005b5de0
mov ebx, eax
lea edi, [esp + 0x68]
mov byte [esp + 0x230], 0x24
call fcn.005b6000
mov byte [esp + 0x230], 0x25
mov esi, dword [esp + 0x24]
push eax
call fcn.00547130
mov ecx, edi
call fcn.00405480
lea ecx, [esp + 0x204]
mov byte [esp + 0x230], 0x23
call fcn.00404db0
mov esi, dword [esp + 0x1c]
add esi, 1
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1c], esi
call fcn.0051f090
cmp esi, eax
jb 0x590c77
jmp 0x590843
mov byte [esp + 0x13], 1
jmp 0x590843
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x590d16
lea eax, [esp + 0x1d0]
push str.LayerExcludeTags
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x590e44
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], ebx
lea edi, [eax - 2]
mov byte [esp + 0x230], 0x26
call fcn.005470e0
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0058f9c0
test al, al
je 0x590cf5
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x1b4]
call fcn.005c0460
test al, al
je 0x590cf5
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1c], ebx
call fcn.0051f090
test eax, eax
jbe 0x590843
mov edx, dword [esp + 0x24]
add edx, 0x3c
mov dword [esp + 0x24], edx
mov edi, dword [esp + 0x1c]
lea esi, [esp + 0x1b0]
call fcn.0051f0c0
mov ebx, eax
lea edi, [esp + 0x204]
call fcn.005b5de0
mov ebx, eax
lea edi, [esp + 0x68]
mov byte [esp + 0x230], 0x27
call fcn.005b6000
mov byte [esp + 0x230], 0x28
mov esi, dword [esp + 0x24]
push eax
call fcn.00547130
mov ecx, edi
call fcn.00405480
lea ecx, [esp + 0x204]
mov byte [esp + 0x230], 0x26
call fcn.00404db0
mov esi, dword [esp + 0x1c]
add esi, 1
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1c], esi
call fcn.0051f090
cmp esi, eax
jb 0x590dc6
jmp 0x590843
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x590e5b
lea eax, [esp + 0x1d0]
push str.LayerPointRange
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x590f65
mov eax, esi
call fcn.005470c0
cmp eax, 4
jne 0x592856
lea edi, [eax - 3]
call fcn.005470e0
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0058f9c0
test al, al
je 0x590862
mov ebx, dword [esp + 0x18]
mov edi, 2
mov esi, ebx
call fcn.005470e0
mov eax, dword [eax]
cmp byte [eax + 4], 0
jne 0x590862
mov edi, 3
call fcn.005470e0
mov ecx, dword [eax]
cmp byte [ecx + 4], 0
jne 0x590862
mov edi, 2
call fcn.005470e0
mov edx, dword [eax]
sub esp, 0x1c
add edx, 8
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.0041fe00
lea esi, [esp + 0x38]
call fcn.005b63d0
add esp, 0x1c
test al, al
je 0x590862
mov edi, 3
mov esi, ebx
call fcn.005470e0
mov eax, dword [eax]
sub esp, 0x1c
add eax, 8
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.0041fe00
lea esi, [esp + 0x60]
call fcn.005b63d0
add esp, 0x1c
test al, al
je 0x590862
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
mov dword [eax + 0xb0], ecx
lea ecx, [esp + 0x1cc]
mov dword [eax + 0xb4], edx
call fcn.00404db0
mov al, 1
jmp 0x59293c
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x590f7c
lea eax, [esp + 0x1d0]
push str.LayerSetPointSize
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x59102d
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
lea edi, [eax - 2]
call fcn.005470e0
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0058f9c0
test al, al
je 0x590862
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov eax, dword [eax]
cmp byte [eax + 4], 0
jne 0x590862
lea ebx, [esp + 0x1c]
call fcn.005470e0
mov edx, dword [eax]
sub esp, 0x1c
add edx, 8
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.0041fe00
mov esi, ebx
call fcn.005b63d0
add esp, 0x1c
test al, al
je 0x590862
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xb8], ecx
lea ecx, [esp + 0x1cc]
call fcn.00404db0
mov al, 1
jmp 0x59293c
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x591044
lea eax, [esp + 0x1d0]
push str.LayerSetHeight
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x5910f5
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
lea edi, [eax - 2]
call fcn.005470e0
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.0058f9c0
test al, al
je 0x590862
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov ecx, dword [eax]
cmp byte [ecx + 4], 0
jne 0x590862
lea ebx, [esp + 0x1c]
call fcn.005470e0
mov edx, dword [eax]
sub esp, 0x1c
add edx, 8
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.0041fe00
mov esi, ebx
call fcn.005b63d0
add esp, 0x1c
test al, al
je 0x590862
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc4], ecx
lea ecx, [esp + 0x1cc]
call fcn.00404db0
mov al, 1
jmp 0x59293c
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x59110c
lea eax, [esp + 0x1d0]
push str.LayerSetImage
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x5913b7
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
mov dword [esp + 0x200], 7
mov dword [esp + 0x1fc], ebx
mov word [esp + 0x1ec], bx
lea edi, [eax - 2]
mov byte [esp + 0x230], 0x29
call fcn.005470e0
mov eax, dword [eax]
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push eax
mov esi, ebx
call fcn.0058f9c0
test al, al
je 0x590074
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov edx, dword [eax]
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, ebx
call fcn.005c0230
test al, al
je 0x590074
lea eax, [ebx + 0xa0]
lea esi, [esp + 0xbc]
call fcn.005b70e0
mov esi, eax
lea ebx, [esp + 0x1e8]
lea eax, [esp + 0x68]
mov byte [esp + 0x230], 0x2a
call fcn.005b60c0
mov edx, eax
mov eax, esi
lea esi, [esp + 0x1b0]
mov byte [esp + 0x230], 0x2b
call fcn.005b6a50
lea ecx, [esp + 0x68]
call fcn.00405480
lea ecx, [esp + 0xbc]
mov byte [esp + 0x230], 0x2e
call fcn.00405480
mov eax, dword [0x6ba058]
mov bl, byte [eax + 0x504]
push 0x660950
lea ecx, [esp + 0x208]
mov byte [eax + 0x504], 0
call fcn.00405520
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x67]
push eax
lea eax, [esp + 0x208]
push eax
mov byte [esp + 0x238], 0x2f
mov ecx, dword [edi + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10c]
mov eax, esi
push eax
lea eax, [esp + 0x38]
push eax
call edx
lea ecx, [esp + 0x204]
mov byte [esp + 0x230], 0x31
call fcn.00405480
mov esi, dword [esp + 0x24]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x1b8]
lea ecx, [esi + 0x84]
push eax
call fcn.00405660
mov ecx, dword [0x6ba058]
mov byte [ecx + 0x504], bl
lea ecx, [esp + 0x2c]
call fcn.005a0b00
test eax, eax
je 0x591361
cmp byte [esp + 0x67], 0
je 0x59131e
call fcn.005a0b00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x88]
call eax
push str.GetImage
lea ecx, [esp + 0x4c]
call fcn.00405520
lea eax, [esp + 0x2c]
mov byte [esp + 0x230], 0x32
call fcn.005a0b20
lea ecx, [esp + 0x1b0]
push ecx
lea edi, [esp + 0x88]
mov ebx, eax
call fcn.005b69e0
add esp, 4
mov byte [esp + 0x230], 0x33
mov edx, dword [ebx]
mov edx, dword [edx + 0xc8]
lea ecx, [esp + 0x48]
push ecx
push eax
mov ecx, ebx
call edx
mov ecx, edi
call fcn.00405480
lea ecx, [esp + 0x48]
mov byte [esp + 0x230], 0x31
call fcn.00405480
lea eax, [esp + 0x2c]
push eax
lea eax, [esi + 0x78]
call fcn.005a0aa0
lea esi, [esp + 0x2c]
mov byte [esp + 0x230], 0x2e
call fcn.005a0a40
lea ecx, [esp + 0x1b0]
call fcn.00405480
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x230], 0
call fcn.00404db0
jmp 0x590857
push str.Failed_to_Load_Image
lea ecx, [esp + 0x4c]
call fcn.00404d70
mov byte [esp + 0x230], 0x34
mov edx, dword [edi]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call edx
lea ecx, [esp + 0x48]
call fcn.00404db0
lea esi, [esp + 0x2c]
mov byte [esp + 0x230], 0x2e
call fcn.005a0a40
lea ecx, [esp + 0x1b0]
call fcn.00405480
lea ecx, [esp + 0x1e8]
jmp 0x592929
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x5913ce
lea eax, [esp + 0x1d0]
push str.LayerSetDrawMode
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x591488
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
lea edi, [eax - 2]
call fcn.005470e0
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.0058f9c0
test al, al
je 0x590862
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov eax, dword [eax]
cmp byte [eax + 4], 0
jne 0x590862
lea ebx, [esp + 0x24]
call fcn.005470e0
mov edx, dword [eax]
sub esp, 0x1c
add edx, 8
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.0041fe00
mov esi, ebx
call fcn.005b63d0
add esp, 0x1c
test al, al
je 0x590862
mov eax, dword [esp + 0x24]
cmp eax, 1
ja 0x590862
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0xa0], eax
lea ecx, [esp + 0x1cc]
call fcn.00404db0
mov al, 1
jmp 0x59293c
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x59149f
lea eax, [esp + 0x1d0]
push str.LayerSetColorMult
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x591511
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
lea edi, [eax - 2]
call fcn.005470e0
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.0058f9c0
test al, al
je 0x590862
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov ecx, dword [esp + 0x24]
mov edx, dword [eax]
add ecx, 0x58
push ecx
push edx
mov edx, dword [esp + 0x1c]
call fcn.0058fb40
test al, al
jne 0x5906a4
jmp 0x590862
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x591528
lea eax, [esp + 0x1d0]
push str.LayerSetColorAdd
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x59159a
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
lea edi, [eax - 2]
call fcn.005470e0
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0058f9c0
test al, al
je 0x590862
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov ecx, dword [esp + 0x24]
mov edx, dword [eax]
add ecx, 0x68
push ecx
push edx
mov edx, dword [esp + 0x1c]
call fcn.0058fb40
test al, al
jne 0x5906a4
jmp 0x590862
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x5915b1
lea eax, [esp + 0x1d0]
push str.LayerSetAscent
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x591662
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
lea edi, [eax - 2]
call fcn.005470e0
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0058f9c0
test al, al
je 0x590862
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov eax, dword [eax]
cmp byte [eax + 4], 0
jne 0x590862
lea ebx, [esp + 0x1c]
call fcn.005470e0
mov edx, dword [eax]
sub esp, 0x1c
add edx, 8
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.0041fe00
mov esi, ebx
call fcn.005b63d0
add esp, 0x1c
test al, al
je 0x590862
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xbc], ecx
lea ecx, [esp + 0x1cc]
call fcn.00404db0
mov al, 1
jmp 0x59293c
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x591679
lea eax, [esp + 0x1d0]
push str.LayerSetAscentPadding
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x59172a
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
lea edi, [eax - 2]
call fcn.005470e0
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.0058f9c0
test al, al
je 0x590862
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov ecx, dword [eax]
cmp byte [ecx + 4], 0
jne 0x590862
lea ebx, [esp + 0x1c]
call fcn.005470e0
mov edx, dword [eax]
sub esp, 0x1c
add edx, 8
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.0041fe00
mov esi, ebx
call fcn.005b63d0
add esp, 0x1c
test al, al
je 0x590862
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc0], ecx
lea ecx, [esp + 0x1cc]
call fcn.00404db0
mov al, 1
jmp 0x59293c
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x591741
lea eax, [esp + 0x1d0]
push str.LayerSetLineSpacingOffset
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x5917f2
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
lea edi, [eax - 2]
call fcn.005470e0
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.0058f9c0
test al, al
je 0x590862
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov ecx, dword [eax]
cmp byte [ecx + 4], 0
jne 0x590862
lea ebx, [esp + 0x1c]
call fcn.005470e0
mov edx, dword [eax]
sub esp, 0x1c
add edx, 8
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.0041fe00
mov esi, ebx
call fcn.005b63d0
add esp, 0x1c
test al, al
je 0x590862
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xcc], ecx
lea ecx, [esp + 0x1cc]
call fcn.00404db0
mov al, 1
jmp 0x59293c
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x591809
lea eax, [esp + 0x1d0]
push str.LayerSetOffset
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x59190b
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], ebx
lea edi, [eax - 2]
mov byte [esp + 0x230], 0x35
call fcn.005470e0
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.0058f9c0
test al, al
je 0x5918ed
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1b0]
push ecx
push edx
push eax
call fcn.005c07b0
test al, al
je 0x5918ed
mov ecx, dword [esp + 0x1b4]
cmp ecx, ebx
je 0x5918ed
mov eax, dword [esp + 0x1b8]
sub eax, ecx
sar eax, 2
cmp eax, edi
jne 0x5918ed
xor edi, edi
lea esi, [esp + 0x1b0]
call fcn.005470e0
mov ecx, dword [eax]
mov ebx, dword [esp + 0x24]
mov edi, 1
mov dword [ebx + 0xa4], ecx
call fcn.005470e0
mov edx, dword [eax]
mov dword [ebx + 0xa8], edx
mov byte [esp + 0x230], 0
call fcn.00517c40
jmp 0x590857
lea esi, [esp + 0x1b0]
mov byte [esp + 0x13], 1
mov byte [esp + 0x230], 0
call fcn.00517c40
jmp 0x590857
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x591922
lea eax, [esp + 0x1d0]
push str.LayerSetCharWidths
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x591aa7
mov eax, esi
call fcn.005470c0
cmp eax, 4
jne 0x592856
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
lea edi, [eax - 3]
mov byte [esp + 0x230], 0x37
call fcn.005470e0
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0058f9c0
test al, al
je 0x591a94
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x1b4]
call fcn.005c0460
test al, al
je 0x591a94
mov edi, 3
call fcn.005470e0
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x48]
push edx
push eax
push ecx
call fcn.005c07b0
test al, al
je 0x591a94
mov eax, dword [esp + 0x4c]
cmp eax, ebx
jne 0x5919eb
xor esi, esi
jmp 0x5919f4
mov esi, dword [esp + 0x50]
sub esi, eax
sar esi, 2
lea ecx, [esp + 0x1b0]
call fcn.0051f090
cmp eax, esi
jne 0x591a81
xor edi, edi
cmp eax, ebx
jbe 0x591a99
mov edi, edi
lea esi, [esp + 0x1b0]
call fcn.0051f0c0
cmp dword [eax + 0x14], 1
jne 0x591a5b
lea esi, [esp + 0x48]
call fcn.005470e0
push ebx
lea esi, [esp + 0x1b4]
mov dword [esp + 0x20], eax
call fcn.0051f0c0
mov ecx, eax
call fcn.00461300
movzx edx, word [eax]
mov ecx, dword [esp + 0x24]
push edx
call fcn.0058f380
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov dword [eax + 0x24], edx
jmp 0x591a60
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x1b0]
add edi, 1
call fcn.0051f090
cmp edi, eax
jb 0x591a10
lea esi, [esp + 0x48]
call fcn.00517c40
jmp 0x590843
lea esi, [esp + 0x48]
mov byte [esp + 0x23], 1
call fcn.00517c40
jmp 0x590843
mov byte [esp + 0x13], 1
lea esi, [esp + 0x48]
call fcn.00517c40
jmp 0x590843
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x591abe
lea eax, [esp + 0x1d0]
push str.LayerSetSpacing
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x591ba4
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
mov dword [esp + 0x1ec], ebx
mov dword [esp + 0x1f0], ebx
mov dword [esp + 0x1f4], ebx
lea edi, [eax - 2]
mov byte [esp + 0x230], 0x38
call fcn.005470e0
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0058f9c0
test al, al
je 0x591b86
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov eax, dword [eax]
cmp byte [eax + 4], 0
jne 0x591b86
lea ebx, [esp + 0x1c]
call fcn.005470e0
mov edx, dword [eax]
sub esp, 0x1c
add edx, 8
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.0041fe00
mov esi, ebx
call fcn.005b63d0
add esp, 0x1c
test al, al
je 0x591b86
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x1e8]
mov dword [eax + 0xac], ecx
mov byte [esp + 0x230], 0
call fcn.00517c40
jmp 0x590857
lea esi, [esp + 0x1e8]
mov byte [esp + 0x13], 1
mov byte [esp + 0x230], 0
call fcn.00517c40
jmp 0x590857
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x591bbb
lea eax, [esp + 0x1d0]
push str.LayerSetImageMap
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x591f87
mov eax, esi
call fcn.005470c0
cmp eax, 4
jne 0x592856
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], ebx
lea edx, [esp + 0x1e8]
push edx
mov byte [esp + 0x234], 0x39
call fcn.005bf2f0
mov edi, 1
mov byte [esp + 0x230], 0x3a
call fcn.005470e0
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.0058f9c0
test al, al
je 0x591f69
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x1b4]
call fcn.005c0460
test al, al
je 0x591f69
mov edi, 3
call fcn.005470e0
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x1e8]
call fcn.005c0770
test al, al
je 0x591f69
mov eax, dword [esp + 0x1f4]
cmp eax, ebx
jne 0x591c92
xor esi, esi
jmp 0x591c9e
mov esi, dword [esp + 0x1f8]
sub esi, eax
sar esi, 2
lea ecx, [esp + 0x1b0]
call fcn.0051f090
mov edx, eax
cmp edx, esi
jne 0x591f4b
mov esi, dword [esp + 0x38]
lea ecx, [esi + 0x78]
call fcn.005a0b00
test eax, eax
je 0x591f11
call fcn.005a0b00
call fcn.0058eae0
mov dword [esp + 0x3c], eax
call fcn.005a0b00
call fcn.0058eaf0
xor edi, edi
cmp edx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], edi
jbe 0x591e45
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
lea esi, [esp + 0x1b0]
mov byte [esp + 0x230], 0x3b
call fcn.0051f0c0
cmp dword [eax + 0x14], 1
jne 0x591e10
lea esi, [esp + 0x1f0]
call fcn.005470e0
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x48]
push edx
push eax
push ecx
call fcn.005c07b0
test al, al
je 0x591e10
mov ecx, dword [esp + 0x4c]
cmp ecx, ebx
je 0x591e10
mov eax, dword [esp + 0x50]
sub eax, ecx
sar eax, 2
cmp eax, 4
jne 0x591e10
lea edi, [eax - 1]
lea esi, [esp + 0x48]
call fcn.005470e0
mov edx, dword [eax]
mov edi, 2
mov dword [esp + 0x24], edx
call fcn.005470e0
mov eax, dword [eax]
mov edi, 1
mov dword [esp + 0x18], eax
call fcn.005470e0
mov ecx, dword [eax]
xor edi, edi
mov dword [esp + 0x44], ecx
call fcn.005470e0
mov ebx, dword [eax]
test ebx, ebx
jl 0x591eab
mov eax, dword [esp + 0x44]
test eax, eax
jl 0x591eab
mov edx, dword [esp + 0x18]
lea ecx, [ebx + edx]
cmp ecx, dword [esp + 0x3c]
jg 0x591eab
mov edx, dword [esp + 0x24]
add eax, edx
cmp eax, dword [esp + 0x2c]
jg 0x591eab
push edi
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x1b4]
call fcn.0051f0c0
mov ecx, eax
call fcn.00461300
movzx eax, word [eax]
mov ecx, dword [esp + 0x38]
push eax
call fcn.0058f380
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
xor ebx, ebx
jmp 0x591e15
mov byte [esp + 0x13], 1
lea esi, [esp + 0x48]
mov byte [esp + 0x230], 0x3a
call fcn.00517c40
add edi, 1
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1c], edi
call fcn.0051f090
cmp edi, eax
jb 0x591cf2
mov esi, dword [esp + 0x38]
mov dword [esi + 0xc8], ebx
mov eax, dword [esi + 0x50]
mov eax, dword [eax]
lea ebx, [esi + 0x4c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
nop
mov ecx, dword [ebx + 4]
lea esi, [esp + 0x3c]
lea edi, [esp + 0x2c]
mov dword [esp + 0x40], ecx
call fcn.005c3430
test al, al
je 0x591f6e
mov esi, edi
call fcn.005c2b10
mov edx, dword [eax + 0x18]
mov ecx, dword [esp + 0x38]
add eax, 4
mov eax, dword [eax + 0xc]
add eax, edx
cmp eax, dword [ecx + 0xc8]
jle 0x591ea0
mov dword [ecx + 0xc8], eax
lea esi, [esp + 0x2c]
call fcn.005a4f20
jmp 0x591e60
push str.Image_rectangle_out_of_bounds
lea ecx, [esp + 0x208]
call fcn.00404d70
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x230], 0x3c
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x204]
push eax
call edx
lea ecx, [esp + 0x204]
call fcn.00404db0
lea esi, [esp + 0x48]
call fcn.00517c40
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x230], 0x39
call fcn.005bf360
lea esi, [esp + 0x1b0]
call fcn.0051f050
jmp 0x59292e
push str.Layer_image_not_set
lea ecx, [esp + 0x208]
call fcn.00404d70
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x230], 0x3d
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x204]
push eax
call edx
lea ecx, [esp + 0x204]
call fcn.00404db0
jmp 0x591eec
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x23], 1
mov byte [esp + 0x230], 0x39
call fcn.005bf360
jmp 0x590843
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x230], 0x39
call fcn.005bf360
jmp 0x590843
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x591f9e
lea eax, [esp + 0x1d0]
push str.LayerSetCharOffsets
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x5921a7
mov eax, esi
call fcn.005470c0
cmp eax, 4
jne 0x592856
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
lea eax, [esp + 0x1e8]
push eax
mov byte [esp + 0x234], 0x3e
call fcn.005bf2f0
mov edi, 1
mov byte [esp + 0x230], 0x3f
call fcn.005470e0
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.0058f9c0
test al, al
je 0x592185
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
call fcn.005c0460
test al, al
je 0x592185
mov edi, 3
call fcn.005470e0
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x1e8]
call fcn.005c0770
test al, al
je 0x592185
mov eax, dword [esp + 0x1f4]
cmp eax, ebx
je 0x592071
mov ebx, dword [esp + 0x1f8]
sub ebx, eax
sar ebx, 2
lea ecx, [esp + 0x48]
call fcn.0051f090
cmp eax, ebx
jne 0x59217e
xor ebx, ebx
test eax, eax
jbe 0x59218a
lea esp, [esp]
xor eax, eax
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], eax
mov edi, ebx
lea esi, [esp + 0x48]
mov byte [esp + 0x230], 0x40
call fcn.0051f0c0
cmp dword [eax + 0x14], 1
jne 0x592157
lea esi, [esp + 0x1f0]
call fcn.005470e0
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1b0]
push edx
push eax
push ecx
call fcn.005c07b0
test al, al
je 0x592157
mov ecx, dword [esp + 0x1b4]
test ecx, ecx
je 0x592157
mov eax, dword [esp + 0x1b8]
sub eax, ecx
sar eax, 2
cmp eax, 2
jne 0x592157
lea edi, [eax - 1]
lea esi, [esp + 0x1b0]
call fcn.005470e0
mov edx, dword [eax]
xor edi, edi
mov dword [esp + 0x3c], edx
call fcn.005470e0
mov eax, dword [eax]
push edi
mov edi, ebx
lea esi, [esp + 0x4c]
mov dword [esp + 0x28], eax
call fcn.0051f0c0
mov ecx, eax
call fcn.00461300
movzx ecx, word [eax]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.0058f380
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
jmp 0x59215c
mov byte [esp + 0x13], 1
lea esi, [esp + 0x1b0]
call fcn.00517c40
lea ecx, [esp + 0x48]
add ebx, 1
call fcn.0051f090
cmp ebx, eax
jb 0x592090
jmp 0x59218a
mov byte [esp + 0x23], 1
jmp 0x59218a
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x230], 0x3e
call fcn.005bf360
lea esi, [esp + 0x48]
jmp 0x59084a
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x5921be
lea eax, [esp + 0x1d0]
push str.LayerSetKerningPairs
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x592393
mov eax, esi
call fcn.005470c0
cmp eax, 4
jne 0x592856
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x1ec], ebx
mov dword [esp + 0x1f0], ebx
mov dword [esp + 0x1f4], ebx
lea edi, [eax - 3]
mov byte [esp + 0x230], 0x42
call fcn.005470e0
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0058f9c0
test al, al
je 0x59237d
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x1b4]
call fcn.005c0460
test al, al
je 0x59237d
mov edi, 3
call fcn.005470e0
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1e8]
push edx
push eax
push ecx
call fcn.005c07b0
test al, al
je 0x59237d
mov eax, dword [esp + 0x1ec]
cmp eax, ebx
jne 0x592296
xor esi, esi
jmp 0x5922a2
mov esi, dword [esp + 0x1f0]
sub esi, eax
sar esi, 2
lea ecx, [esp + 0x1b0]
call fcn.0051f090
cmp eax, esi
jne 0x592367
xor edi, edi
cmp eax, ebx
jbe 0x592382
lea esi, [esp + 0x1b0]
call fcn.0051f0c0
cmp dword [eax + 0x14], 2
jne 0x59233a
push 0
call fcn.0051f0c0
mov ecx, eax
call fcn.00461300
movzx edx, word [eax]
mov ecx, dword [esp + 0x2c]
push edx
call fcn.0058f380
lea esi, [esp + 0x1e8]
mov ebx, eax
call fcn.005470e0
push 1
lea esi, [esp + 0x1b4]
mov dword [esp + 0x40], eax
call fcn.0051f0c0
mov ecx, eax
call fcn.00461300
mov ax, word [eax]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov word [esp + 0x24], ax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x4c]
push ecx
add ebx, 0x18
mov dword [esp + 0x30], edx
call fcn.005a1820
jmp 0x59233f
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x1b0]
add edi, 1
call fcn.0051f090
cmp edi, eax
jb 0x5922c0
lea esi, [esp + 0x1e8]
call fcn.00517c40
jmp 0x590843
lea esi, [esp + 0x1e8]
mov byte [esp + 0x23], 1
call fcn.00517c40
jmp 0x590843
mov byte [esp + 0x13], 1
lea esi, [esp + 0x1e8]
call fcn.00517c40
jmp 0x590843
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x5923aa
lea eax, [esp + 0x1d0]
push str.LayerSetBaseOrder
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x59245b
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
lea edi, [eax - 2]
call fcn.005470e0
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0058f9c0
test al, al
je 0x590862
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov ecx, dword [eax]
cmp byte [ecx + 4], 0
jne 0x590862
lea ebx, [esp + 0x3c]
call fcn.005470e0
mov edx, dword [eax]
sub esp, 0x1c
add edx, 8
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call fcn.0041fe00
mov esi, ebx
call fcn.005b63d0
add esp, 0x1c
test al, al
je 0x590862
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xd0], ecx
lea ecx, [esp + 0x1cc]
call fcn.00404db0
mov al, 1
jmp 0x59293c
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x592472
lea eax, [esp + 0x1d0]
push str.LayerSetCharOrders
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x5925eb
mov eax, esi
call fcn.005470c0
cmp eax, 4
jne 0x592856
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x1ec], ebx
mov dword [esp + 0x1f0], ebx
mov dword [esp + 0x1f4], ebx
lea edi, [eax - 3]
mov byte [esp + 0x230], 0x44
call fcn.005470e0
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0058f9c0
test al, al
je 0x59237d
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x1b4]
call fcn.005c0460
test al, al
je 0x59237d
mov edi, 3
call fcn.005470e0
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1e8]
push edx
push eax
push ecx
call fcn.005c07b0
test al, al
je 0x59237d
mov eax, dword [esp + 0x1ec]
cmp eax, ebx
jne 0x59254a
xor esi, esi
jmp 0x592556
mov esi, dword [esp + 0x1f0]
sub esi, eax
sar esi, 2
lea ecx, [esp + 0x1b0]
call fcn.0051f090
cmp eax, esi
jne 0x592367
xor edi, edi
cmp eax, ebx
jbe 0x592382
lea esi, [esp + 0x1b0]
call fcn.0051f0c0
cmp dword [eax + 0x14], 1
jne 0x5925c2
lea esi, [esp + 0x1e8]
call fcn.005470e0
push ebx
lea esi, [esp + 0x1b4]
mov dword [esp + 0x40], eax
call fcn.0051f0c0
mov ecx, eax
call fcn.00461300
movzx edx, word [eax]
mov ecx, dword [esp + 0x2c]
push edx
call fcn.0058f380
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov dword [eax + 0x28], edx
jmp 0x5925c7
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x1b0]
add edi, 1
call fcn.0051f090
cmp edi, eax
jb 0x592574
lea esi, [esp + 0x1e8]
call fcn.00517c40
jmp 0x590843
cmp dword [esp + 0x1e4], edi
mov eax, dword [esp + 0x1d0]
jae 0x592602
lea eax, [esp + 0x1d0]
push str.LayerSetExInfo
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x5927b9
mov eax, esi
call fcn.005470c0
cmp eax, 4
jne 0x592856
mov dword [esp + 0x1ec], ebx
mov dword [esp + 0x1f0], ebx
mov dword [esp + 0x1f4], ebx
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], ebx
lea edi, [eax - 3]
mov byte [esp + 0x230], 0x46
call fcn.005470e0
mov edx, dword [eax]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.0058f9c0
test al, al
je 0x59279c
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x1ec]
call fcn.005c0460
test al, al
je 0x59279c
mov edi, 3
call fcn.005470e0
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x1b4]
call fcn.005c0460
test al, al
je 0x59279c
lea ecx, [esp + 0x1e8]
call fcn.0051f090
lea ecx, [esp + 0x1b0]
mov esi, eax
call fcn.0051f090
cmp esi, eax
jne 0x59277f
xor edi, edi
cmp esi, ebx
jbe 0x5927a1
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x2c], eax
lea esi, [esp + 0x1b0]
call fcn.0051f0c0
push eax
lea esi, [esp + 0x1ec]
call fcn.0051f0c0
push eax
lea ecx, [esp + 0x8c]
push ecx
call fcn.005a2250
lea edx, [esp + 0x48]
mov byte [esp + 0x230], 0x47
mov ecx, dword [esp + 0x2c]
push edx
push ecx
mov ebx, eax
call fcn.005a1990
lea esi, [esp + 0x84]
mov byte [esp + 0x230], 0x46
call fcn.004474a0
lea ecx, [esp + 0x1e8]
add edi, 1
call fcn.0051f090
cmp edi, eax
jb 0x592700
lea esi, [esp + 0x1b0]
call fcn.0051f050
lea esi, [esp + 0x1e8]
jmp 0x59084a
lea esi, [esp + 0x1b0]
mov byte [esp + 0x23], 1
call fcn.0051f050
lea esi, [esp + 0x1e8]
jmp 0x59084a
mov byte [esp + 0x13], 1
lea esi, [esp + 0x1b0]
call fcn.0051f050
lea esi, [esp + 0x1e8]
jmp 0x59084a
push str.LayerSetAlphaCorrection
lea ecx, [esp + 0x1d0]
call fcn.00405370
push eax
call fcn.00626615
add esp, 8
test eax, eax
jne 0x5928f6
mov eax, esi
call fcn.005470c0
cmp eax, 3
jne 0x592856
lea edi, [eax - 2]
mov dword [esp + 0x24], ebx
call fcn.005470e0
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0058f9c0
test al, al
je 0x590862
mov esi, dword [esp + 0x18]
mov edi, 2
call fcn.005470e0
mov edx, dword [eax]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.005c0370
test al, al
je 0x590862
cmp dword [esp + 0x24], ebx
mov eax, dword [esp + 0x2c]
setne dl
lea ecx, [esp + 0x1cc]
mov byte [eax + 0xd4], dl
call fcn.00404db0
mov al, 1
jmp 0x59293c
push str.Invalid_Number_of_Parameters
lea ecx, [esp + 0x208]
call fcn.00404d70
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x230], 0x49
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x204]
push eax
call edx
cmp dword [esp + 0x21c], edi
jb 0x59289b
mov eax, dword [esp + 0x208]
push eax
call fcn.0062414c
add esp, 4
cmp dword [esp + 0x1e4], edi
jb 0x59293a
mov ecx, dword [esp + 0x1d0]
push ecx
call fcn.0062414c
add esp, 4
jmp 0x59293a
cmp byte [esp + 0x23], 0
je 0x5906a4
push str.List_Size_Mismatch
lea ecx, [esp + 0x208]
call fcn.00404d70
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x230], 0x4c
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
lea edx, [esp + 0x204]
push edx
call eax
jmp 0x592922
push str.Unknown_Command
lea ecx, [esp + 0x208]
call fcn.00404d70
mov byte [esp + 0x230], 0x48
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x204]
push eax
call edx
lea ecx, [esp + 0x204]
call fcn.00404db0
lea ecx, [esp + 0x1cc]
call fcn.00404db0
xor al, al
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00626d59
mov esp, ebp
pop ebp
ret 4