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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46057c
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 0x4420c4
test ecx, ecx
je 0x4420c4
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.00418a60
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 0x44175f
mov edi, dword [esp + 0x78]
cmp edi, edx
je 0x441f92
cmp word [edi], dx
je 0x441f92
jmp 0x44177f
mov esi, dword [sym.imp.USER32.dll_CharNextW]
mov ecx, dword [esp + 0x104]
lea edx, [esp + 0x108]
cmp ecx, edx
je 0x441793
push ecx
call fcn.004501b9
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 0x4417c3
push eax
call fcn.004501b9
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 0x4417f3
cmp ax, 0x20
ja 0x4417f3
push edi
call esi
mov edi, eax
movzx eax, word [edi]
test ax, ax
jne 0x4417e0
movzx eax, word [edi]
test ax, ax
je 0x441843
cmp ax, 0x3d
je 0x441843
cmp ax, 0x20
jbe 0x441843
push edi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp edi, esi
jae 0x44183b
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.00418910
add edi, 2
cmp edi, esi
jb 0x441814
movzx eax, word [edi]
test ax, ax
jne 0x4417fb
movzx eax, word [edi]
test ax, ax
je 0x441864
mov esi, dword [sym.imp.USER32.dll_CharNextW]
cmp ax, 0x20
ja 0x441864
push edi
call esi
mov edi, eax
movzx eax, word [edi]
test ax, ax
jne 0x441851
mov dx, word [edi]
add edi, 2
cmp dx, 0x3d
jne 0x441f89
movzx eax, word [edi]
test ax, ax
je 0x441895
mov esi, dword [sym.imp.USER32.dll_CharNextW]
cmp ax, 0x20
ja 0x441895
push edi
call esi
mov edi, eax
movzx eax, word [edi]
test ax, ax
jne 0x441882
mov ax, word [edi]
add edi, 2
cmp ax, 0x27
jne 0x441f89
movzx eax, word [edi]
test ax, ax
je 0x4418ef
cmp ax, 0x27
je 0x4418ef
push edi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp edi, esi
jae 0x4418e7
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.00418910
add edi, 2
cmp edi, esi
jb 0x4418c0
movzx eax, word [edi]
test ax, ax
jne 0x4418ad
mov cx, word [edi]
add edi, 2
cmp cx, 0x27
jne 0x441f89
mov edx, dword [esp + 0x7c]
movzx esi, word [edx]
test si, si
je 0x441f73
mov ebx, dword [esp + 0x104]
mov ecx, 0x46b9d0
mov eax, ebx
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441946
test dx, dx
je 0x441942
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441946
add eax, 4
add ecx, 4
test dx, dx
jne 0x441920
xor eax, eax
jmp 0x44194b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x441e65
mov ecx, 0x46b9dc
mov eax, ebx
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441986
test dx, dx
je 0x441982
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441986
add eax, 4
add ecx, 4
test dx, dx
jne 0x441960
xor eax, eax
jmp 0x44198b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x441e65
mov ecx, str.restype
mov eax, ebx
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4419c6
test dx, dx
je 0x4419c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4419c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4419a0
xor eax, eax
jmp 0x4419cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x441aa5
cmp dword [esp + 0x14], eax
jle 0x441a8c
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.00441460
add esp, 0x54
mov eax, dword [esp + 0x7c]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x218]
call fcn.00418a60
jmp 0x441f6f
mov ecx, str.dest
mov eax, ebx
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441ad6
test dx, dx
je 0x441ad2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441ad6
add eax, 4
add ecx, 4
test dx, dx
jne 0x441ab0
xor eax, eax
jmp 0x441adb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x441b7d
mov edx, dword [esp + 0x7c]
push 0xa
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004522ea
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.004522ea
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.004522ea
mov ecx, eax
add ecx, dword [esi]
mov eax, dword [esi + 8]
add esp, 0xc
mov dword [esp + 0x24], ecx
cmp ecx, eax
jle 0x441b49
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.004522ea
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 0x441f73
mov dword [esp + 0x28], eax
jmp 0x441f73
mov ecx, str.source
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441baa
test dx, dx
je 0x441ba6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441baa
add eax, 4
add ecx, 4
test dx, dx
jne 0x441b84
xor eax, eax
jmp 0x441baf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x441c21
mov ecx, dword [esp + 0x7c]
push 0xa
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004522ea
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.004522ea
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.004522ea
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.004522ea
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x441f73
mov ecx, str.corner
lea eax, [esp + 0x104]
call fcn.00418b30
test al, al
je 0x441ca4
mov eax, dword [esp + 0x7c]
push 0xa
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004522ea
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.004522ea
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.004522ea
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.004522ea
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x441f73
mov ecx, str.mask
lea eax, [esp + 0x104]
call fcn.00418b30
test al, al
je 0x441cff
push 0x10
cmp esi, 0x23
jne 0x441ce1
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x14]
push ecx
add edx, 2
push edx
call fcn.00452304
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x441f73
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00452304
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x441f73
mov ecx, str.fade
lea eax, [esp + 0x104]
call fcn.00418b30
test al, al
je 0x441d31
mov eax, dword [esp + 0x7c]
push 0xa
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00452304
add esp, 0xc
mov byte [esp + 0x38], al
jmp 0x441f73
mov ecx, str.hole
lea eax, [esp + 0x104]
call fcn.00418b30
test al, al
je 0x441d95
mov eax, dword [esp + 0x7c]
mov ecx, str.true
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441d82
test dx, dx
je 0x441d72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441d82
add eax, 4
add ecx, 4
test dx, dx
jne 0x441d50
xor eax, eax
test eax, eax
sete cl
mov byte [esp + 0x2c], cl
jmp 0x441f73
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete cl
mov byte [esp + 0x2c], cl
jmp 0x441f73
mov ecx, str.xtiled
lea eax, [esp + 0x104]
call fcn.00418b30
test al, al
je 0x441df8
mov eax, dword [esp + 0x7c]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441de5
test dx, dx
je 0x441dd5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441de5
add eax, 4
add ecx, 4
test dx, dx
jne 0x441db3
xor eax, eax
test eax, eax
sete dl
mov byte [esp + 0x3c], dl
jmp 0x441f73
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete dl
mov byte [esp + 0x3c], dl
jmp 0x441f73
mov ecx, str.ytiled
lea eax, [esp + 0x104]
call fcn.00418b30
test al, al
je 0x441f73
mov eax, dword [esp + 0x7c]
mov ecx, str.true
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441e52
test dx, dx
je 0x441e42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441e52
add eax, 4
add ecx, 4
test dx, dx
jne 0x441e20
xor eax, eax
test eax, eax
sete al
mov byte [esp + 0x34], al
jmp 0x441f73
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
mov byte [esp + 0x34], al
jmp 0x441f73
cmp dword [esp + 0x14], 0
jle 0x441f1f
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.00441460
add esp, 0x54
mov eax, dword [esp + 0x7c]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x190]
call fcn.00418a60
mov eax, dword [esp + 0x104]
mov ecx, 0x46b9d0
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x441f66
test dx, dx
je 0x441f62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x441f66
add eax, 4
add ecx, 4
test dx, dx
jne 0x441f40
xor eax, eax
jmp 0x441f6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x441f73
inc dword [esp + 0x14]
mov cx, word [edi]
add edi, 2
cmp cx, 0x20
jne 0x441f89
cmp word [edi], 0
jne 0x441772
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 0x441750
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.00441460
mov eax, dword [esp + 0xd0]
lea edx, [esp + 0xd4]
add esp, 0x54
cmp eax, edx
je 0x44206f
push eax
call fcn.004501b9
add esp, 4
mov eax, dword [esp + 0x104]
lea ecx, [esp + 0x108]
cmp eax, ecx
je 0x44208a
push eax
call fcn.004501b9
add esp, 4
mov eax, dword [esp + 0x214]
lea edx, [esp + 0x218]
cmp eax, edx
je 0x4420a5
push eax
call fcn.004501b9
add esp, 4
mov eax, dword [esp + 0x18c]
lea ecx, [esp + 0x190]
cmp eax, ecx
je 0x4420c0
push eax
call fcn.004501b9
add esp, 4
mov al, 1
jmp 0x4420c6
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.0044ef0f
mov esp, ebp
pop ebp
ret