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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4cd14c
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x4f86c0]
xor eax, esp
mov dword [esp + 0x2d4], eax
push esi
push edi
mov eax, dword [0x4f86c0]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov dword [esp + 0x3c], edx
mov eax, ecx
mov dword [esp + 0x38], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], ecx
test edx, edx
je 0x444cb8
test eax, eax
je 0x444cb8
lea eax, [esp + 0x1d0]
mov dword [esp + 0x1cc], eax
lea ecx, [esp + 0x1cc]
push 0xffffffffffffffff
xor eax, eax
push esi
mov word [esp + 0x1d8], ax
call fcn.0042c1d0
lea eax, [esp + 0x258]
mov dword [esp + 0x2f0], 0
mov dword [esp + 0x254], eax
xor eax, eax
mov word [esp + 0x258], ax
movdqu xmm0, xmmword [edi]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x30], al
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc0]
movdqa xmmword [esp + 0x84], xmm0
movdqa xmmword [esp + 0x54], xmm0
xorps xmm0, xmm0
mov dword [esp + 0xbc], eax
xor eax, eax
movdqa xmmword [esp + 0x94], xmm0
movdqa xmmword [esp + 0x74], xmm0
movdqa xmmword [esp + 0xa4], xmm0
movdqa xmmword [esp + 0x64], xmm0
mov byte [esp + 0x24], 0xff
mov word [esp + 0xc0], ax
lea eax, [esp + 0x148]
mov dword [esp + 0x144], eax
xor eax, eax
mov word [esp + 0x148], ax
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x2f0], 3
mov edi, dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], eax
cmp eax, 1
cmove esi, ecx
test esi, esi
je 0x444bbd
cmp word [esi], 0
je 0x444bbd
lea ebx, [ebx]
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0xc0]
cmp eax, ecx
je 0x4442eb
push eax
call fcn.004a8344
add esp, 4
lea eax, [esp + 0xc0]
mov dword [esp + 0xbc], eax
lea ecx, [esp + 0x148]
xor eax, eax
mov word [esp + 0xc0], ax
mov eax, dword [esp + 0x144]
cmp eax, ecx
je 0x44431e
push eax
call fcn.004a8344
add esp, 4
lea eax, [esp + 0x148]
mov dword [esp + 0x144], eax
xor eax, eax
mov word [esp + 0x148], ax
movzx eax, word [esi]
test ax, ax
je 0x444353
mov edi, edi
cmp ax, 0x20
ja 0x444353
push esi
call edi
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x444340
movzx eax, word [esi]
test ax, ax
je 0x4443ce
jmp 0x444360
cmp ax, 0x3d
je 0x4443ce
cmp ax, 0x20
jbe 0x4443ce
push esi
call edi
mov edi, eax
mov dword [esp + 0x14], 0
sub edi, esi
xor ecx, ecx
inc edi
shr edi, 1
cmp esi, eax
cmova edi, ecx
test edi, edi
je 0x4443c0
lea esp, [esp]
mov ax, word [esi]
lea ecx, [esp + 0xbc]
mov word [esp + 0x48], ax
xor eax, eax
mov word [esp + 0x4a], ax
lea eax, [esp + 0x48]
push eax
call fcn.0042c0a0
mov eax, dword [esp + 0x14]
add esi, 2
inc eax
mov dword [esp + 0x14], eax
cmp eax, edi
jb 0x444390
movzx eax, word [esi]
mov edi, dword [sym.imp.USER32.dll_CharNextW]
test ax, ax
jne 0x444360
movzx eax, word [esi]
test ax, ax
je 0x4443e9
cmp ax, 0x20
ja 0x4443e9
push esi
call edi
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x4443d6
mov ax, word [esi]
add esi, 2
cmp ax, 0x3d
jne 0x444baf
movzx eax, word [esi]
test ax, ax
je 0x444414
cmp ax, 0x20
ja 0x444414
push esi
call edi
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x444401
mov ax, word [esi]
add esi, 2
cmp ax, 0x27
jne 0x444baf
movzx eax, word [esi]
test ax, ax
je 0x44449e
lea esp, [esp]
cmp ax, 0x27
je 0x44449e
push esi
call edi
mov edi, eax
mov dword [esp + 0x14], 0
sub edi, esi
xor ecx, ecx
inc edi
shr edi, 1
cmp esi, eax
cmova edi, ecx
test edi, edi
je 0x444490
jmp 0x444460
mov ax, word [esi]
lea ecx, [esp + 0x144]
mov word [esp + 0x40], ax
xor eax, eax
mov word [esp + 0x42], ax
lea eax, [esp + 0x40]
push eax
call fcn.0042c0a0
mov eax, dword [esp + 0x14]
add esi, 2
inc eax
mov dword [esp + 0x14], eax
cmp eax, edi
jb 0x444460
movzx eax, word [esi]
mov edi, dword [sym.imp.USER32.dll_CharNextW]
test ax, ax
jne 0x444430
mov ax, word [esi]
add esi, 2
cmp ax, 0x27
jne 0x444baf
mov eax, dword [esp + 0x144]
movzx edi, word [eax]
test di, di
je 0x444b93
mov eax, dword [esp + 0xbc]
mov ecx, 0x4e9bac
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4444f6
test dx, dx
je 0x4444f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4444f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4444d0
xor eax, eax
jmp 0x4444fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x444a11
mov eax, dword [esp + 0xbc]
mov ecx, 0x4e9bb8
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x444536
test dx, dx
je 0x444532
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x444536
add eax, 4
add ecx, 4
test dx, dx
jne 0x444510
xor eax, eax
jmp 0x44453b
sbb eax, eax
or eax, 1
test eax, eax
je 0x444a11
mov eax, dword [esp + 0xbc]
mov ecx, str.restype
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x444576
test dx, dx
je 0x444572
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x444576
add eax, 4
add ecx, 4
test dx, dx
jne 0x444550
xor eax, eax
jmp 0x44457b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x44461f
mov edi, dword [esp + 0x18]
test edi, edi
jle 0x444600
movdqa xmm0, xmmword [esp + 0xa4]
sub esp, 0x10
mov eax, esp
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov ecx, dword [esp + 0x58]
movdqu xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movdqa xmm0, xmmword [esp + 0xc4]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqa xmm0, xmmword [esp + 0xb4]
push dword [esp + 0x60]
push dword [esp + 0x60]
movdqu xmmword [eax], xmm0
lea eax, [esp + 0x28c]
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [esp + 0x5c]
push eax
lea eax, [esp + 0x214]
push eax
push dword [esp + 0x80]
push dword [esp + 0x78]
call fcn.00443f90
add esp, 0x54
push 0xffffffffffffffff
push dword [esp + 0x148]
lea ecx, [esp + 0x25c]
call fcn.0042c1d0
inc edi
mov dword [esp + 0x18], edi
jmp 0x444b93
mov eax, dword [esp + 0xbc]
mov ecx, str.dest
jmp 0x444630
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x444656
test dx, dx
je 0x444652
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x444656
add eax, 4
add ecx, 4
test dx, dx
jne 0x444630
xor eax, eax
jmp 0x44465b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x444702
push 0xa
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14c]
call fcn.004c733c
mov edi, dword [esp + 0x34]
add esp, 0xc
add eax, dword [edi]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.004c733c
add eax, dword [edi + 4]
add esp, 0xc
mov dword [esp + 0x58], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.004c733c
add eax, dword [edi]
add esp, 0xc
cmp eax, dword [edi + 8]
cmovg eax, dword [edi + 8]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.004c733c
add eax, dword [edi + 4]
add esp, 0xc
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x60], eax
cmp eax, ecx
jle 0x4446ee
mov dword [esp + 0x60], ecx
movdqa xmm0, xmmword [esp + 0x54]
movdqa xmmword [esp + 0x84], xmm0
jmp 0x444b93
mov eax, dword [esp + 0xbc]
mov ecx, str.source
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x444736
test dx, dx
je 0x444732
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x444736
add eax, 4
add ecx, 4
test dx, dx
jne 0x444710
xor eax, eax
jmp 0x44473b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4447c5
push 0xa
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14c]
call fcn.004c733c
add esp, 0xc
mov dword [esp + 0x74], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.004c733c
add esp, 0xc
mov dword [esp + 0x78], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.004c733c
add esp, 0xc
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.004c733c
mov dword [esp + 0x8c], eax
add esp, 0xc
movdqa xmm0, xmmword [esp + 0x74]
movdqa xmmword [esp + 0x94], xmm0
jmp 0x444b93
push str.corner
lea ecx, [esp + 0xc0]
call fcn.0042c2b0
test al, al
je 0x444859
push 0xa
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14c]
call fcn.004c733c
add esp, 0xc
mov dword [esp + 0x64], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.004c733c
add esp, 0xc
mov dword [esp + 0x68], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.004c733c
add esp, 0xc
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x10]
push 0xa
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.004c733c
mov dword [esp + 0x7c], eax
add esp, 0xc
movdqa xmm0, xmmword [esp + 0x64]
movdqa xmmword [esp + 0xa4], xmm0
jmp 0x444b93
push str.mask
lea ecx, [esp + 0xc0]
call fcn.0042c2b0
test al, al
je 0x4448ae
lea eax, [esp + 0x10]
push 0x10
push eax
cmp edi, 0x23
jne 0x444896
mov eax, dword [esp + 0x14c]
add eax, 2
push eax
call fcn.004c7354
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x444b93
push dword [esp + 0x14c]
call fcn.004c7354
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x444b93
push str.fade
lea ecx, [esp + 0xc0]
call fcn.0042c2b0
test al, al
je 0x4448e2
push 0xa
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14c]
call fcn.004c7354
add esp, 0xc
mov byte [esp + 0x24], al
jmp 0x444b93
push str.hole
lea ecx, [esp + 0xc0]
call fcn.0042c2b0
test al, al
je 0x444944
mov eax, dword [esp + 0x144]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x444933
test dx, dx
je 0x444925
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x444933
add eax, 4
add ecx, 4
test dx, dx
jne 0x444903
xor eax, eax
test eax, eax
sete byte [esp + 0x20]
jmp 0x444b93
sbb eax, eax
or eax, 1
test eax, eax
sete byte [esp + 0x20]
jmp 0x444b93
push str.xtiled
lea ecx, [esp + 0xc0]
call fcn.0042c2b0
test al, al
je 0x4449a6
mov eax, dword [esp + 0x144]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x444995
test dx, dx
je 0x444987
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x444995
add eax, 4
add ecx, 4
test dx, dx
jne 0x444965
xor eax, eax
test eax, eax
sete byte [esp + 0x2c]
jmp 0x444b93
sbb eax, eax
or eax, 1
test eax, eax
sete byte [esp + 0x2c]
jmp 0x444b93
push str.ytiled
lea ecx, [esp + 0xc0]
call fcn.0042c2b0
test al, al
je 0x444b93
mov eax, dword [esp + 0x144]
mov ecx, str.true
jmp 0x4449d0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x444a00
test dx, dx
je 0x4449f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x444a00
add eax, 4
add ecx, 4
test dx, dx
jne 0x4449d0
xor eax, eax
test eax, eax
sete byte [esp + 0x30]
jmp 0x444b93
sbb eax, eax
or eax, 1
test eax, eax
sete byte [esp + 0x30]
jmp 0x444b93
cmp dword [esp + 0x18], 0
jle 0x444a8d
movdqa xmm0, xmmword [esp + 0xa4]
sub esp, 0x10
mov eax, esp
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov ecx, dword [esp + 0x58]
movdqu xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movdqa xmm0, xmmword [esp + 0xc4]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqa xmm0, xmmword [esp + 0xb4]
push dword [esp + 0x60]
push dword [esp + 0x60]
movdqu xmmword [eax], xmm0
lea eax, [esp + 0x28c]
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [esp + 0x5c]
push eax
lea eax, [esp + 0x214]
push eax
push dword [esp + 0x80]
push dword [esp + 0x78]
call fcn.00443f90
add esp, 0x54
mov eax, dword [esp + 0x144]
mov edx, 0x4e6774
test eax, eax
cmovne edx, eax
mov edi, edx
mov dword [esp + 0x50], edx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x444aa7
mov edx, dword [esp + 0x1cc]
sub edi, ecx
sar edi, 1
cmp edi, 0x3f
jge 0x444adf
lea eax, [esp + 0x1d0]
cmp edx, eax
je 0x444b39
push edx
call fcn.004a8344
add esp, 4
lea edx, [esp + 0x1d0]
jmp 0x444b32
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x14], eax
jmp 0x444af0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444af0
sub ecx, dword [esp + 0x14]
lea eax, [esp + 0x1d0]
sar ecx, 1
cmp edi, ecx
jg 0x444b12
cmp edx, eax
jne 0x444b39
jmp 0x444b16
cmp edx, eax
jne 0x444b1f
xor edx, edx
mov dword [esp + 0x1cc], edx
lea eax, [edi*2 + 2]
push eax
push edx
call fcn.004a840e
add esp, 8
mov edx, eax
mov dword [esp + 0x1cc], edx
push edi
push dword [esp + 0x54]
push edx
call fcn.004c9cb4
mov eax, dword [esp + 0x1d8]
add esp, 0xc
xor ecx, ecx
mov word [eax + edi*2], cx
mov ecx, 0x4e9bac
mov eax, dword [esp + 0xbc]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x444b86
test dx, dx
je 0x444b82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x444b86
add eax, 4
add ecx, 4
test dx, dx
jne 0x444b60
xor eax, eax
jmp 0x444b8b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x444b93
inc dword [esp + 0x18]
mov ax, word [esi]
add esi, 2
cmp ax, 0x20
jne 0x444baf
cmp word [esi], 0
mov edi, dword [sym.imp.USER32.dll_CharNextW]
jne 0x4442d0
mov edi, dword [sym.imp.USER32.dll_CharNextW]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x44], eax
cmp eax, 2
jl 0x4442b2
movdqa xmm0, xmmword [esp + 0xa4]
sub esp, 0x10
mov eax, esp
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov ecx, dword [esp + 0x58]
movdqu xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movdqa xmm0, xmmword [esp + 0xc4]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqa xmm0, xmmword [esp + 0xb4]
push dword [esp + 0x60]
push dword [esp + 0x60]
movdqu xmmword [eax], xmm0
lea eax, [esp + 0x28c]
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [esp + 0x5c]
push eax
lea eax, [esp + 0x214]
push eax
push dword [esp + 0x80]
push dword [esp + 0x78]
call fcn.00443f90
mov eax, dword [esp + 0x198]
lea ecx, [esp + 0x19c]
add esp, 0x54
cmp eax, ecx
je 0x444c63
push eax
call fcn.004a8344
add esp, 4
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0xc0]
cmp eax, ecx
je 0x444c7e
push eax
call fcn.004a8344
add esp, 4
mov eax, dword [esp + 0x254]
lea ecx, [esp + 0x258]
cmp eax, ecx
je 0x444c99
push eax
call fcn.004a8344
add esp, 4
mov eax, dword [esp + 0x1cc]
lea ecx, [esp + 0x1d0]
cmp eax, ecx
je 0x444cb4
push eax
call fcn.004a8344
add esp, 4
mov al, 1
jmp 0x444cba
xor al, al
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2d4]
xor ecx, esp
call fcn.004a768e
mov esp, ebp
pop ebp
ret