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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59fb22
mov eax, dword fs:[0]
push eax
sub esp, 0x5e8
mov eax, dword [0x61e810]
xor eax, esp
mov dword [esp + 0x5e0], eax
push ebx
push esi
push edi
mov eax, dword [0x61e810]
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 0x41e082
test ecx, ecx
je 0x41e082
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.00415f2f
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 0x41d612
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], eax
mov ebx, eax
test ebx, ebx
je 0x41df8c
jmp 0x41df82
lea esi, [esp + 0xac]
call fcn.00415fb6
lea esi, [esp + 0x1fc]
call fcn.00415fb6
movzx eax, word [ebx]
jmp 0x41d654
cmp ax, 0x20
ja 0x41d6a0
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 0x41d63c
jmp 0x41d6a0
cmp ax, 0x3d
je 0x41d6a8
cmp ax, 0x20
jbe 0x41d6a8
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
cmp ebx, edi
jae 0x41d6a0
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.00415ebd
add dword [esp + 0x18], 2
mov ebx, dword [esp + 0x18]
cmp ebx, edi
jb 0x41d674
movzx eax, word [ebx]
test ax, ax
jne 0x41d65b
movzx eax, word [ebx]
jmp 0x41d6c5
cmp ax, 0x20
ja 0x41d6ca
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 0x41d6ad
mov ax, word [ebx]
add ebx, 2
mov dword [esp + 0x18], ebx
cmp ax, 0x3d
jne 0x41df8c
movzx eax, word [ebx]
jmp 0x41d6fb
cmp ax, 0x20
ja 0x41d700
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 0x41d6e3
mov ax, word [ebx]
add ebx, 2
mov dword [esp + 0x18], ebx
cmp ax, 0x27
jne 0x41df8c
jmp 0x41d755
cmp ax, 0x27
je 0x41d75d
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
cmp ebx, edi
jae 0x41d755
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.00415ebd
add dword [esp + 0x18], 2
mov ebx, dword [esp + 0x18]
cmp ebx, edi
jb 0x41d729
movzx eax, word [ebx]
test ax, ax
jne 0x41d716
mov ax, word [ebx]
add ebx, 2
mov dword [esp + 0x18], ebx
cmp ax, 0x27
jne 0x41df8c
mov eax, dword [esp + 0x1fc]
xor esi, esi
cmp word [eax], si
je 0x41df72
push 0x602080
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
je 0x41de89
push 0x60208c
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
je 0x41de89
push str.restype
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41d8a7
cmp dword [esp + 0x1c], esi
jle 0x41d88c
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.0041cef0
add esp, 0x7c
push dword [esp + 0x1fc]
or eax, 0xffffffff
lea esi, [esp + 0x4a0]
call fcn.00415f2f
jmp 0x41df6e
push str.rdest
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41d969
push 0xa
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.0048eeb6
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.0048eeb6
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.0048eeb6
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.0048eeb6
add eax, dword [esp + 0x24]
mov esi, dword [esi + 8]
add esp, 0xc
mov dword [esp + 0x68], eax
cmp edi, esi
jle 0x41d952
mov dword [esp + 0x64], esi
cmp eax, dword [esp + 0x18]
jle 0x41df72
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], eax
jmp 0x41df72
push str.dest
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41da1e
push 0xa
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.0048eeb6
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.0048eeb6
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.0048eeb6
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.0048eeb6
add eax, dword [esi + 4]
mov ecx, dword [esi + 8]
add esp, 0xc
mov dword [esp + 0x68], eax
cmp edi, ecx
jle 0x41da0a
mov dword [esp + 0x64], ecx
mov esi, dword [esi + 0xc]
cmp eax, esi
jle 0x41df72
mov dword [esp + 0x68], esi
jmp 0x41df72
push str.source
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41dab0
push 0xa
pop esi
push esi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.0048eeb6
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.0048eeb6
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.0048eeb6
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.0048eeb6
add esp, 0xc
mov dword [esp + 0xa4], eax
jmp 0x41df72
push str.corner
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41db42
push 0xa
pop esi
push esi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.0048eeb6
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.0048eeb6
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.0048eeb6
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.0048eeb6
add esp, 0xc
mov dword [esp + 0x94], eax
jmp 0x41df72
push str.centerrect
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41dbce
push 0xa
pop esi
push esi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.0048eeb6
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.0048eeb6
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.0048eeb6
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.0048eeb6
add esp, 0xc
mov dword [esp + 0x84], eax
jmp 0x41df72
push str.mask
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41dc0e
mov eax, dword [esp + 0x1fc]
cmp word [eax], 0x23
push 0x10
lea ecx, [esp + 0x18]
push ecx
jne 0x41dbfc
add eax, 2
push eax
call fcn.0048eed0
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x41df72
push str.fade
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41dc44
push 0xa
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.0048eed0
add esp, 0xc
mov byte [esp + 0x48], al
jmp 0x41df72
push str.hole
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41dc7d
push 0x6015e8
push dword [esp + 0x200]
call fcn.0048b66b
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x3c], al
jmp 0x41df72
push str.xtiled
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41dcb6
push 0x6015e8
push dword [esp + 0x200]
call fcn.0048b66b
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x34], al
jmp 0x41df72
push str.ytiled
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41dcef
push 0x6015e8
push dword [esp + 0x200]
call fcn.0048b66b
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x2c], al
jmp 0x41df72
push 0x5feb80
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41dd1e
push 0x6015e8
push dword [esp + 0x200]
call fcn.0048b66b
pop ecx
pop ecx
jmp 0x41df72
push str.stretch
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41dd57
push 0x6015e8
push dword [esp + 0x200]
call fcn.0048b66b
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x4c], al
jmp 0x41df72
push str.center
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41dd90
push 0x6015e8
push dword [esp + 0x200]
call fcn.0048b66b
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x38], al
jmp 0x41df72
push str.aligntop
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41ddc9
push 0x6015e8
push dword [esp + 0x200]
call fcn.0048b66b
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x28], al
jmp 0x41df72
push str.alignleft
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41de02
push 0x6015e8
push dword [esp + 0x200]
call fcn.0048b66b
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x30], al
jmp 0x41df72
push str.roundcorner
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41de53
push 0xa
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.0048eeb6
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.0048eeb6
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x41df72
push str.angle
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41df72
push 0xa
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x204]
call fcn.0048eed0
add esp, 0xc
jmp 0x41df72
cmp dword [esp + 0x1c], esi
jle 0x41df41
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.0041cef0
add esp, 0x7c
push dword [esp + 0x1fc]
or eax, 0xffffffff
lea esi, [esp + 0x350]
call fcn.00415f2f
push 0x602080
push dword [esp + 0xb0]
call fcn.0048b66b
pop ecx
pop ecx
test eax, eax
jne 0x41df72
inc dword [esp + 0x1c]
mov ax, word [ebx]
add ebx, 2
mov dword [esp + 0x18], ebx
cmp ax, 0x20
jne 0x41df8c
cmp word [ebx], 0
jne 0x41d61f
inc dword [esp + 0x50]
and dword [esp + 0x1c], 0
cmp dword [esp + 0x50], 2
jl 0x41d5fe
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.0041cef0
add esp, 0x7c
lea ecx, [esp + 0x1fc]
call fcn.00415eac
lea ecx, [esp + 0xac]
call fcn.00415eac
lea ecx, [esp + 0x49c]
call fcn.00415eac
lea ecx, [esp + 0x34c]
call fcn.00415eac
mov al, 1
jmp 0x41e084
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.00489dc1
mov esp, ebp
pop ebp
ret