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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46055c
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x47201c]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push esi
push edi
mov eax, dword [0x47201c]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x64], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x78], edx
test eax, eax
je 0x4420a4
test ecx, ecx
je 0x4420a4
lea eax, [esp + 0x190]
mov dword [esp + 0x18c], eax
xor ecx, ecx
push edi
or eax, 0xffffffff
lea esi, [esp + 0x190]
mov word [esp + 0x194], cx
call fcn.00418a20
xor edx, edx
mov dword [esp + 0x2b0], edx
lea eax, [esp + 0x218]
xor ecx, ecx
mov dword [esp + 0x214], eax
mov word [esp + 0x218], cx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x108]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x18], edx
mov byte [esp + 0x38], 0xff
mov byte [esp + 0x2c], al
mov byte [esp + 0x3c], al
mov byte [esp + 0x34], al
mov dword [esp + 0x14], edx
mov dword [esp + 0x104], ecx
mov word [esp + 0x108], ax
lea eax, [esp + 0x80]
mov dword [esp + 0x7c], eax
xor eax, eax
mov word [esp + 0x80], ax
mov byte [esp + 0x2b0], 3
mov dword [esp + 0x10], edx
mov dword [esp + 0x74], eax
lea ebx, [ebx]
mov esi, dword [sym.imp.USER32.dll_CharNextW]
cmp eax, 1
jne 0x44173f
mov edi, dword [esp + 0x78]
cmp edi, edx
je 0x441f72
cmp word [edi], dx
je 0x441f72
jmp 0x44175f
mov esi, dword [sym.imp.USER32.dll_CharNextW]
mov ecx, dword [esp + 0x104]
lea edx, [esp + 0x108]
cmp ecx, edx
je 0x441773
push ecx
call fcn.00450199
add esp, 4
lea eax, [esp + 0x108]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x7c]
xor ecx, ecx
lea edx, [esp + 0x80]
mov word [esp + 0x108], cx
cmp eax, edx
je 0x4417a3
push eax
call fcn.00450199
add esp, 4
lea eax, [esp + 0x80]
xor ecx, ecx
mov dword [esp + 0x7c], eax
mov word [esp + 0x80], cx
movzx eax, word [edi]
test ax, ax
je 0x4417d3
cmp ax, 0x20
ja 0x4417d3
push edi
call esi
mov edi, eax
movzx eax, word [edi]
test ax, ax
jne 0x4417c0
movzx eax, word [edi]
test ax, ax
je 0x441823
cmp ax, 0x3d
je 0x441823
cmp ax, 0x20
jbe 0x441823
push edi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp edi, esi
jae 0x44181b
mov dx, word [edi]
lea ecx, [esp + 0x6c]
xor eax, eax
push ecx
lea ebx, [esp + 0x108]
mov word [esp + 0x70], dx
mov word [esp + 0x72], ax
call fcn.004188d0
add edi, 2
cmp edi, esi
jb 0x4417f4
movzx eax, word [edi]
test ax, ax
jne 0x4417db
movzx eax, word [edi]
test ax, ax
je 0x441844
mov esi, dword [sym.imp.USER32.dll_CharNextW]
cmp ax, 0x20
ja 0x441844
push edi
call esi
mov edi, eax
movzx eax, word [edi]
test ax, ax
jne 0x441831
mov dx, word [edi]
add edi, 2
cmp dx, 0x3d
jne 0x441f69
movzx eax, word [edi]
test ax, ax
je 0x441875
mov esi, dword [sym.imp.USER32.dll_CharNextW]
cmp ax, 0x20
ja 0x441875
push edi
call esi
mov edi, eax
movzx eax, word [edi]
test ax, ax
jne 0x441862
mov ax, word [edi]
add edi, 2
cmp ax, 0x27
jne 0x441f69
movzx eax, word [edi]
test ax, ax
je 0x4418cf
cmp ax, 0x27
je 0x4418cf
push edi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp edi, esi
jae 0x4418c7
mov cx, word [edi]
lea eax, [esp + 0x70]
xor edx, edx
push eax
lea ebx, [esp + 0x80]
mov word [esp + 0x74], cx
mov word [esp + 0x76], dx
call fcn.004188d0
add edi, 2
cmp edi, esi
jb 0x4418a0
movzx eax, word [edi]
test ax, ax
jne 0x44188d
mov cx, word [edi]
add edi, 2
cmp cx, 0x27
jne 0x441f69
mov edx, dword [esp + 0x7c]
movzx esi, word [edx]
test si, si
je 0x441f53
mov ebx, dword [esp + 0x104]
mov ecx, 0x46b9c0
mov eax, ebx
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441926
test dx, dx
je 0x441922
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441926
add eax, 4
add ecx, 4
test dx, dx
jne 0x441900
xor eax, eax
jmp 0x44192b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x441e45
mov ecx, 0x46b9cc
mov eax, ebx
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441966
test dx, dx
je 0x441962
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441966
add eax, 4
add ecx, 4
test dx, dx
jne 0x441940
xor eax, eax
jmp 0x44196b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x441e45
mov ecx, str.restype
mov eax, ebx
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4419a6
test dx, dx
je 0x4419a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4419a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x441980
xor eax, eax
jmp 0x4419ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x441a85
cmp dword [esp + 0x14], eax
jle 0x441a6c
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x40]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0x258]
push edx
mov edx, dword [esp + 0xb0]
lea eax, [esp + 0x1d4]
push eax
push ecx
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0x84]
call fcn.00441440
add esp, 0x54
mov eax, dword [esp + 0x7c]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x218]
call fcn.00418a20
jmp 0x441f4f
mov ecx, str.dest
mov eax, ebx
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441ab6
test dx, dx
je 0x441ab2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441ab6
add eax, 4
add ecx, 4
test dx, dx
jne 0x441a90
xor eax, eax
jmp 0x441abb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x441b5d
mov edx, dword [esp + 0x7c]
push 0xa
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004522ca
mov esi, dword [esp + 0x3c]
add eax, dword [esi]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x1c], eax
push 0xa
lea eax, [esp + 0x14]
push eax
add ecx, 2
push ecx
call fcn.004522ca
add eax, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
push 0xa
lea edx, [esp + 0x14]
push edx
add eax, 2
push eax
call fcn.004522ca
mov ecx, eax
add ecx, dword [esi]
mov eax, dword [esi + 8]
add esp, 0xc
mov dword [esp + 0x24], ecx
cmp ecx, eax
jle 0x441b29
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x10]
push 0xa
lea ecx, [esp + 0x14]
push ecx
add edx, 2
push edx
call fcn.004522ca
mov ecx, eax
add ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [esp + 0x28], ecx
cmp ecx, eax
jle 0x441f53
mov dword [esp + 0x28], eax
jmp 0x441f53
mov ecx, str.source
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441b8a
test dx, dx
je 0x441b86
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441b8a
add eax, 4
add ecx, 4
test dx, dx
jne 0x441b64
xor eax, eax
jmp 0x441b8f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x441c01
mov ecx, dword [esp + 0x7c]
push 0xa
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004522ca
add esp, 0xc
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
push 0xa
lea edx, [esp + 0x14]
push edx
add eax, 2
push eax
call fcn.004522ca
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x14]
push ecx
add edx, 2
push edx
mov dword [esp + 0x50], eax
call fcn.004522ca
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x48], eax
push 0xa
lea eax, [esp + 0x14]
push eax
add ecx, 2
push ecx
call fcn.004522ca
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x441f53
mov ecx, str.corner
lea eax, [esp + 0x104]
call fcn.00418af0
test al, al
je 0x441c84
mov eax, dword [esp + 0x7c]
push 0xa
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004522ca
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x14]
push ecx
add edx, 2
push edx
mov dword [esp + 0x5c], eax
call fcn.004522ca
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x54], eax
push 0xa
lea eax, [esp + 0x14]
push eax
add ecx, 2
push ecx
call fcn.004522ca
add esp, 0xc
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
push 0xa
lea edx, [esp + 0x14]
push edx
add eax, 2
push eax
call fcn.004522ca
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x441f53
mov ecx, str.mask
lea eax, [esp + 0x104]
call fcn.00418af0
test al, al
je 0x441cdf
push 0x10
cmp esi, 0x23
jne 0x441cc1
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x14]
push ecx
add edx, 2
push edx
call fcn.004522e4
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x441f53
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004522e4
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x441f53
mov ecx, str.fade
lea eax, [esp + 0x104]
call fcn.00418af0
test al, al
je 0x441d11
mov eax, dword [esp + 0x7c]
push 0xa
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004522e4
add esp, 0xc
mov byte [esp + 0x38], al
jmp 0x441f53
mov ecx, str.hole
lea eax, [esp + 0x104]
call fcn.00418af0
test al, al
je 0x441d75
mov eax, dword [esp + 0x7c]
mov ecx, str.true
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441d62
test dx, dx
je 0x441d52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441d62
add eax, 4
add ecx, 4
test dx, dx
jne 0x441d30
xor eax, eax
test eax, eax
sete cl
mov byte [esp + 0x2c], cl
jmp 0x441f53
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete cl
mov byte [esp + 0x2c], cl
jmp 0x441f53
mov ecx, str.xtiled
lea eax, [esp + 0x104]
call fcn.00418af0
test al, al
je 0x441dd8
mov eax, dword [esp + 0x7c]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441dc5
test dx, dx
je 0x441db5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441dc5
add eax, 4
add ecx, 4
test dx, dx
jne 0x441d93
xor eax, eax
test eax, eax
sete dl
mov byte [esp + 0x3c], dl
jmp 0x441f53
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete dl
mov byte [esp + 0x3c], dl
jmp 0x441f53
mov ecx, str.ytiled
lea eax, [esp + 0x104]
call fcn.00418af0
test al, al
je 0x441f53
mov eax, dword [esp + 0x7c]
mov ecx, str.true
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441e32
test dx, dx
je 0x441e22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441e32
add eax, 4
add ecx, 4
test dx, dx
jne 0x441e00
xor eax, eax
test eax, eax
sete al
mov byte [esp + 0x34], al
jmp 0x441f53
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
mov byte [esp + 0x34], al
jmp 0x441f53
cmp dword [esp + 0x14], 0
jle 0x441eff
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x40]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0x258]
push edx
mov edx, dword [esp + 0xb0]
lea eax, [esp + 0x1d4]
push eax
push ecx
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0x84]
call fcn.00441440
add esp, 0x54
mov eax, dword [esp + 0x7c]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x190]
call fcn.00418a20
mov eax, dword [esp + 0x104]
mov ecx, 0x46b9c0
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441f46
test dx, dx
je 0x441f42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441f46
add eax, 4
add ecx, 4
test dx, dx
jne 0x441f20
xor eax, eax
jmp 0x441f4b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x441f53
inc dword [esp + 0x14]
mov cx, word [edi]
add edi, 2
cmp cx, 0x20
jne 0x441f69
cmp word [edi], 0
jne 0x441752
mov ecx, dword [esp + 0x104]
xor edx, edx
mov eax, dword [esp + 0x74]
inc eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x14], edx
cmp eax, 2
jl 0x441730
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x40]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x258]
push ecx
mov ecx, dword [esp + 0xb0]
lea edx, [esp + 0x1d4]
push edx
mov edx, dword [esp + 0x7c]
push eax
push ecx
mov ecx, dword [esp + 0xb4]
call fcn.00441440
mov eax, dword [esp + 0xd0]
lea edx, [esp + 0xd4]
add esp, 0x54
cmp eax, edx
je 0x44204f
push eax
call fcn.00450199
add esp, 4
mov eax, dword [esp + 0x104]
lea ecx, [esp + 0x108]
cmp eax, ecx
je 0x44206a
push eax
call fcn.00450199
add esp, 4
mov eax, dword [esp + 0x214]
lea edx, [esp + 0x218]
cmp eax, edx
je 0x442085
push eax
call fcn.00450199
add esp, 4
mov eax, dword [esp + 0x18c]
lea ecx, [esp + 0x190]
cmp eax, ecx
je 0x4420a0
push eax
call fcn.00450199
add esp, 4
mov al, 1
jmp 0x4420a6
xor al, al
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0044eeef
mov esp, ebp
pop ebp
ret