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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a1bc2
mov eax, dword fs:[0]
push eax
sub esp, 0x5e8
mov eax, dword [0x621810]
xor eax, esp
mov dword [esp + 0x5e0], eax
push ebx
push esi
push edi
mov eax, dword [0x621810]
xor eax, esp
push eax
lea eax, [esp + 0x5f8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0xa8], edx
test eax, eax
je 0x42795c
test ecx, ecx
je 0x42795c
lea eax, [esp + 0x350]
mov dword [esp + 0x34c], eax
xor eax, eax
mov word [esp + 0x350], ax
push ebx
or eax, 0xffffffff
lea esi, [esp + 0x350]
call fcn.0041503b
and dword [esp + 0x600], 0
lea eax, [esp + 0x4a0]
mov dword [esp + 0x49c], eax
xor eax, eax
mov word [esp + 0x4a0], ax
mov esi, dword [esp + 0x20]
lea edi, [esp + 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov dword [esp + 0x98], ecx
lea edi, [esp + 0x9c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x88], ecx
lea edi, [esp + 0x8c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x78], ecx
lea edi, [esp + 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x40], ecx
stosd dword es:[edi], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0xac], eax
xor eax, eax
mov dword [esp + 0x24], ecx
mov byte [esp + 0x48], 0xff
mov byte [esp + 0x3c], cl
mov byte [esp + 0x34], cl
mov byte [esp + 0x2c], cl
mov byte [esp + 0x4c], 1
mov byte [esp + 0x38], cl
mov byte [esp + 0x28], cl
mov byte [esp + 0x30], cl
mov dword [esp + 0x1c], ecx
mov word [esp + 0xb0], ax
lea eax, [esp + 0x200]
mov dword [esp + 0x1fc], eax
xor eax, eax
mov word [esp + 0x200], ax
mov byte [esp + 0x600], 3
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], ecx
cmp dword [esp + 0x50], 1
jne 0x426eec
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], eax
mov ebx, eax
test ebx, ebx
je 0x427866
jmp 0x42785c
lea esi, [esp + 0xac]
call fcn.004150c2
lea esi, [esp + 0x1fc]
call fcn.004150c2
movzx eax, word [ebx]
jmp 0x426f2e
cmp ax, 0x20
ja 0x426f7a
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x18], eax
movzx eax, word [eax]
mov ebx, dword [esp + 0x18]
test ax, ax
jne 0x426f16
jmp 0x426f7a
cmp ax, 0x3d
je 0x426f82
cmp ax, 0x20
jbe 0x426f82
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
cmp ebx, edi
jae 0x426f7a
mov ax, word [ebx]
mov word [esp + 0x74], ax
xor eax, eax
lea ebx, [esp + 0x74]
lea esi, [esp + 0xac]
mov word [esp + 0x76], ax
call fcn.00414fc9
add dword [esp + 0x18], 2
mov ebx, dword [esp + 0x18]
cmp ebx, edi
jb 0x426f4e
movzx eax, word [ebx]
test ax, ax
jne 0x426f35
movzx eax, word [ebx]
jmp 0x426f9f
cmp ax, 0x20
ja 0x426fa4
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x18], eax
movzx eax, word [eax]
mov ebx, dword [esp + 0x18]
test ax, ax
jne 0x426f87
mov ax, word [ebx]
add ebx, 2
mov dword [esp + 0x18], ebx
cmp ax, 0x3d
jne 0x427866
movzx eax, word [ebx]
jmp 0x426fd5
cmp ax, 0x20
ja 0x426fda
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x18], eax
movzx eax, word [eax]
mov ebx, dword [esp + 0x18]
test ax, ax
jne 0x426fbd
mov ax, word [ebx]
add ebx, 2
mov dword [esp + 0x18], ebx
cmp ax, 0x27
jne 0x427866
jmp 0x42702f
cmp ax, 0x27
je 0x427037
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
cmp ebx, edi
jae 0x42702f
mov ax, word [ebx]
mov word [esp + 0x70], ax
xor eax, eax
lea ebx, [esp + 0x70]
lea esi, [esp + 0x1fc]
mov word [esp + 0x72], ax
call fcn.00414fc9
add dword [esp + 0x18], 2
mov ebx, dword [esp + 0x18]
cmp ebx, edi
jb 0x427003
movzx eax, word [ebx]
test ax, ax
jne 0x426ff0
mov ax, word [ebx]
add ebx, 2
mov dword [esp + 0x18], ebx
cmp ax, 0x27
jne 0x427866
mov eax, dword [esp + 0x1fc]
xor esi, esi
cmp word [eax], si
je 0x42784c
push 0x6053c8
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
je 0x427763
push 0x6053d4
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
je 0x427763
push str.restype
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x427181
cmp dword [esp + 0x1c], esi
jle 0x427166
push dword [esp + 0x44]
lea esi, [esp + 0x7c]
push dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0xb0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0xd0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x78]
lea esi, [esp + 0xa8]
push dword [esp + 0x74]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
lea eax, [esp + 0x3a0]
push dword [esp + 0xa0]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x90]
lea edx, [esp + 0x4fc]
push dword [esp + 0x9c]
movsd dword es:[edi], dword [esi]
push dword [esp + 0xac]
push dword [esp + 0x8c]
push eax
push dword [esp + 0xc4]
push dword [esp + 0xe0]
push dword [esp + 0xd0]
call fcn.004267ca
add esp, 0x7c
push dword [esp + 0x1fc]
or eax, 0xffffffff
lea esi, [esp + 0x4a0]
call fcn.0041503b
jmp 0x427848
push str.rdest
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x427243
push 0xa
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.00490a36
mov esi, dword [esp + 0x2c]
add eax, dword [esi + 8]
add esp, 0xc
mov dword [esp + 0x5c], eax
push 0xa
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.00490a36
add eax, dword [esi + 0xc]
add esp, 0xc
mov dword [esp + 0x60], eax
push 0xa
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.00490a36
mov edi, eax
mov eax, dword [esi + 0xc]
add edi, dword [esi + 8]
add esp, 0xc
mov dword [esp + 0x18], eax
push 0xa
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
mov dword [esp + 0x70], edi
call fcn.00490a36
add eax, dword [esp + 0x24]
mov esi, dword [esi + 8]
add esp, 0xc
mov dword [esp + 0x68], eax
cmp edi, esi
jle 0x42722c
mov dword [esp + 0x64], esi
cmp eax, dword [esp + 0x18]
jle 0x42784c
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], eax
jmp 0x42784c
push str.dest
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x4272f8
push 0xa
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.00490a36
mov esi, dword [esp + 0x2c]
add eax, dword [esi]
add esp, 0xc
mov dword [esp + 0x5c], eax
push 0xa
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.00490a36
add eax, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x60], eax
push 0xa
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.00490a36
mov edi, eax
add edi, dword [esi]
add esp, 0xc
push 0xa
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
mov dword [esp + 0x70], edi
call fcn.00490a36
add eax, dword [esi + 4]
mov ecx, dword [esi + 8]
add esp, 0xc
mov dword [esp + 0x68], eax
cmp edi, ecx
jle 0x4272e4
mov dword [esp + 0x64], ecx
mov esi, dword [esi + 0xc]
cmp eax, esi
jle 0x42784c
mov dword [esp + 0x68], esi
jmp 0x42784c
push str.source
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x42738a
push 0xa
pop esi
push esi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.00490a36
add esp, 0xc
mov dword [esp + 0x98], eax
push esi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.00490a36
add esp, 0xc
mov dword [esp + 0x9c], eax
push esi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.00490a36
add esp, 0xc
mov dword [esp + 0xa0], eax
push esi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.00490a36
add esp, 0xc
mov dword [esp + 0xa4], eax
jmp 0x42784c
push str.corner
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x42741c
push 0xa
pop esi
push esi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.00490a36
add esp, 0xc
mov dword [esp + 0x88], eax
push esi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.00490a36
add esp, 0xc
mov dword [esp + 0x8c], eax
push esi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.00490a36
add esp, 0xc
mov dword [esp + 0x90], eax
push esi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.00490a36
add esp, 0xc
mov dword [esp + 0x94], eax
jmp 0x42784c
push str.centerrect
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x4274a8
push 0xa
pop esi
push esi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.00490a36
add esp, 0xc
mov dword [esp + 0x78], eax
push esi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.00490a36
add esp, 0xc
mov dword [esp + 0x7c], eax
push esi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.00490a36
add esp, 0xc
mov dword [esp + 0x80], eax
push esi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.00490a36
add esp, 0xc
mov dword [esp + 0x84], eax
jmp 0x42784c
push str.mask
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x4274e8
mov eax, dword [esp + 0x1fc]
cmp word [eax], 0x23
push 0x10
lea ecx, [esp + 0x18]
push ecx
jne 0x4274d6
add eax, 2
push eax
call fcn.00490a50
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x42784c
push 0x60541c
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x42751e
push 0xa
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.00490a50
add esp, 0xc
mov byte [esp + 0x48], al
jmp 0x42784c
push str.hole
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x427557
push 0x603508
push dword [esp + 0x200]
call fcn.0048d1fb
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x3c], al
jmp 0x42784c
push str.xtiled
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x427590
push 0x603508
push dword [esp + 0x200]
call fcn.0048d1fb
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x34], al
jmp 0x42784c
push str.ytiled
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x4275c9
push 0x603508
push dword [esp + 0x200]
call fcn.0048d1fb
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x2c], al
jmp 0x42784c
push 0x60094c
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x4275f8
push 0x603508
push dword [esp + 0x200]
call fcn.0048d1fb
pop ecx
pop ecx
jmp 0x42784c
push str.stretch
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x427631
push 0x603508
push dword [esp + 0x200]
call fcn.0048d1fb
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x4c], al
jmp 0x42784c
push str.center
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x42766a
push 0x603508
push dword [esp + 0x200]
call fcn.0048d1fb
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x38], al
jmp 0x42784c
push str.aligntop
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x4276a3
push 0x603508
push dword [esp + 0x200]
call fcn.0048d1fb
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x28], al
jmp 0x42784c
push str.alignleft
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x4276dc
push 0x603508
push dword [esp + 0x200]
call fcn.0048d1fb
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x30], al
jmp 0x42784c
push str.roundcorner
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x42772d
push 0xa
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.00490a36
add esp, 0xc
mov dword [esp + 0x40], eax
push 0xa
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.00490a36
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x42784c
push str.angle
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x42784c
push 0xa
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.00490a50
add esp, 0xc
jmp 0x42784c
cmp dword [esp + 0x1c], esi
jle 0x42781b
push dword [esp + 0x44]
lea esi, [esp + 0x7c]
push dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0xb0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0xd0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x78]
lea esi, [esp + 0xa8]
push dword [esp + 0x74]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
lea eax, [esp + 0x3a0]
push dword [esp + 0xa0]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x90]
lea edx, [esp + 0x4fc]
push dword [esp + 0x9c]
movsd dword es:[edi], dword [esi]
push dword [esp + 0xac]
push dword [esp + 0x8c]
push eax
push dword [esp + 0xc4]
push dword [esp + 0xe0]
push dword [esp + 0xd0]
call fcn.004267ca
add esp, 0x7c
push dword [esp + 0x1fc]
or eax, 0xffffffff
lea esi, [esp + 0x350]
call fcn.0041503b
push 0x6053c8
push dword [esp + 0xb0]
call fcn.0048d1fb
pop ecx
pop ecx
test eax, eax
jne 0x42784c
inc dword [esp + 0x1c]
mov ax, word [ebx]
add ebx, 2
mov dword [esp + 0x18], ebx
cmp ax, 0x20
jne 0x427866
cmp word [ebx], 0
jne 0x426ef9
inc dword [esp + 0x50]
and dword [esp + 0x1c], 0
cmp dword [esp + 0x50], 2
jl 0x426ed8
push dword [esp + 0x44]
lea esi, [esp + 0x7c]
push dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0xb0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0xd0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x78]
lea esi, [esp + 0xa8]
push dword [esp + 0x74]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
lea eax, [esp + 0x3a0]
push dword [esp + 0xa0]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x84]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x90]
lea edx, [esp + 0x4fc]
push dword [esp + 0x9c]
movsd dword es:[edi], dword [esi]
push dword [esp + 0xac]
push dword [esp + 0x8c]
push eax
push dword [esp + 0xc4]
push dword [esp + 0xe0]
push dword [esp + 0xd0]
call fcn.004267ca
add esp, 0x7c
lea ecx, [esp + 0x1fc]
call fcn.00414fb8
lea ecx, [esp + 0xac]
call fcn.00414fb8
lea ecx, [esp + 0x49c]
call fcn.00414fb8
lea ecx, [esp + 0x34c]
call fcn.00414fb8
mov al, 1
jmp 0x42795e
xor al, al
mov ecx, dword [esp + 0x5f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5e0]
xor ecx, esp
call fcn.0048b951
mov esp, ebp
pop ebp
ret