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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x194
mov eax, dword [0x45b170]
xor eax, esp
mov dword [esp + 0x190], eax
mov eax, ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x14]
push edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], ecx
test edx, edx
je 0x41b928
test eax, eax
je 0x41b928
push 0xffffffffffffffff
lea eax, [esp + 0x110]
push ebx
lea ecx, [esp + 0x110]
mov dword [esp + 0x110], eax
mov byte [esp + 0x114], 0
call fcn.00434de6
lea edi, [esp + 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x154]
mov dword [esp + 0x150], eax
xor eax, eax
mov dword [esp + 0x48], ecx
lea edi, [esp + 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x58], ecx
lea edi, [esp + 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x78], eax
lea eax, [esp + 0xc4]
mov edi, ecx
mov dword [esp + 0xc0], eax
mov eax, ecx
mov byte [esp + 0x154], cl
mov dword [esp + 0x10], ecx
mov byte [esp + 0x24], cl
mov byte [esp + 0x2c], cl
mov byte [esp + 0x20], cl
mov byte [esp + 0x7c], cl
mov byte [esp + 0xc4], cl
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x28], 0xff
mov dword [esp + 0x14], edi
mov dword [esp + 0x44], eax
cmp eax, 1
cmove ebx, ecx
test ebx, ebx
je 0x41b877
cmp byte [ebx], 0
je 0x41b877
lea ecx, [esp + 0x78]
call fcn.00434e73
lea ecx, [esp + 0xc0]
call fcn.00434e73
jmp 0x41b362
cmp al, 0x20
jg 0x41b39b
push ebx
call dword [sym.imp.USER32.dll_CharNextA]
mov ebx, eax
mov al, byte [ebx]
test al, al
jg 0x41b355
jmp 0x41b39b
cmp al, 0x3d
je 0x41b3b0
cmp al, 0x20
jle 0x41b3b0
push ebx
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x41b397
mov cl, byte [ebx]
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], cl
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x21], 0
call fcn.00434d28
inc ebx
cmp ebx, esi
jb 0x41b37d
mov al, byte [ebx]
test al, al
jne 0x41b36a
jmp 0x41b3b0
cmp al, 0x20
jg 0x41b3b6
push ebx
call dword [sym.imp.USER32.dll_CharNextA]
mov ebx, eax
mov al, byte [ebx]
test al, al
jg 0x41b3a3
mov al, byte [ebx]
inc ebx
cmp al, 0x3d
jne 0x41b86f
jmp 0x41b3d0
cmp al, 0x20
jg 0x41b3d6
push ebx
call dword [sym.imp.USER32.dll_CharNextA]
mov ebx, eax
mov al, byte [ebx]
test al, al
jg 0x41b3c3
mov al, byte [ebx]
inc ebx
cmp al, 0x27
jne 0x41b86f
jmp 0x41b413
cmp al, 0x27
je 0x41b419
push ebx
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x41b40f
mov cl, byte [ebx]
lea eax, [esp + 0x18]
mov byte [esp + 0x18], cl
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1d], 0
call fcn.00434d28
inc ebx
cmp ebx, esi
jb 0x41b3f2
mov al, byte [ebx]
test al, al
jne 0x41b3e3
mov al, byte [ebx]
inc ebx
cmp al, 0x27
jne 0x41b86f
mov eax, dword [esp + 0xc0]
cmp byte [eax], 0
je 0x41b85f
push 0x4507f8
push dword [esp + 0x7c]
call fcn.0043646b
pop ecx
pop ecx
test eax, eax
je 0x41b7bd
push 0x450800
push dword [esp + 0x7c]
call fcn.0043646b
pop ecx
pop ecx
test eax, eax
je 0x41b7bd
push 0x45080c
push dword [esp + 0x7c]
call fcn.0043646b
pop ecx
pop ecx
test eax, eax
jne 0x41b50a
test edi, edi
jle 0x41b4f0
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x68]
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 + 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x50]
lea esi, [esp + 0x9c]
push dword [esp + 0x60]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x5c]
lea eax, [esp + 0x18c]
push dword [esp + 0x64]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x50]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [esp + 0x150]
push eax
push dword [esp + 0x80]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x80]
call fcn.0041b11b
mov edi, dword [esp + 0x68]
add esp, 0x54
push 0xffffffffffffffff
push dword [esp + 0xc4]
lea ecx, [esp + 0x158]
call fcn.00434de6
jmp 0x41b85a
push str.dest
push dword [esp + 0x7c]
call fcn.0043646b
pop ecx
pop ecx
test eax, eax
jne 0x41b5b0
push 0xa
lea eax, [esp + 0x10]
push eax
push dword [esp + 0xc8]
call fcn.0043676b
mov esi, dword [esp + 0x3c]
add esp, 0xc
add eax, dword [esi]
push 0xa
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.0043676b
add eax, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x6c], eax
push 0xa
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.0043676b
add eax, dword [esi]
add esp, 0xc
cmp eax, dword [esi + 8]
push 0xa
cmovg eax, dword [esi + 8]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.0043676b
add eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov dword [esp + 0x74], eax
cmp eax, ecx
jle 0x41b85f
mov dword [esp + 0x74], ecx
jmp 0x41b85f
push str.source
push dword [esp + 0x7c]
call fcn.0043646b
pop ecx
pop ecx
test eax, eax
jne 0x41b62d
push 0xa
pop esi
push esi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0xc8]
call fcn.0043676b
add esp, 0xc
mov dword [esp + 0x48], eax
push esi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.0043676b
add esp, 0xc
mov dword [esp + 0x4c], eax
push esi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.0043676b
add esp, 0xc
mov dword [esp + 0x50], eax
push esi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.0043676b
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x41b85f
push str.corner
push dword [esp + 0x7c]
call fcn.0043646b
pop ecx
pop ecx
test eax, eax
jne 0x41b6aa
push 0xa
pop esi
push esi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0xc8]
call fcn.0043676b
add esp, 0xc
mov dword [esp + 0x58], eax
push esi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.0043676b
add esp, 0xc
mov dword [esp + 0x5c], eax
push esi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.0043676b
add esp, 0xc
mov dword [esp + 0x60], eax
push esi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.0043676b
add esp, 0xc
mov dword [esp + 0x64], eax
jmp 0x41b85f
push str.mask
push dword [esp + 0x7c]
call fcn.0043646b
pop ecx
pop ecx
test eax, eax
jne 0x41b6e4
mov eax, dword [esp + 0xc0]
push 0x10
cmp byte [eax], 0x23
lea ecx, [esp + 0x10]
push ecx
jne 0x41b6d2
inc eax
push eax
call fcn.00436795
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x41b85f
push str.fade
push dword [esp + 0x7c]
call fcn.0043646b
pop ecx
pop ecx
test eax, eax
jne 0x41b717
push 0xa
lea eax, [esp + 0x10]
push eax
push dword [esp + 0xc8]
call fcn.00436795
add esp, 0xc
mov byte [esp + 0x28], al
jmp 0x41b85f
push str.hole
push dword [esp + 0x7c]
call fcn.0043646b
pop ecx
pop ecx
test eax, eax
jne 0x41b74d
push 0x450844
push dword [esp + 0xc4]
call fcn.0043646b
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x24], al
jmp 0x41b85f
push str.xtiled
push dword [esp + 0x7c]
call fcn.0043646b
pop ecx
pop ecx
test eax, eax
jne 0x41b783
push 0x450854
push dword [esp + 0xc4]
call fcn.0043646b
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x2c], al
jmp 0x41b85f
push str.ytiled
push dword [esp + 0x7c]
call fcn.0043646b
pop ecx
pop ecx
test eax, eax
jne 0x41b85f
push 0x450864
push dword [esp + 0xc4]
call fcn.0043646b
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x20], al
jmp 0x41b85f
test edi, edi
jle 0x41b831
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x68]
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 + 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x50]
lea esi, [esp + 0x9c]
push dword [esp + 0x60]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x5c]
lea eax, [esp + 0x18c]
push dword [esp + 0x64]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x50]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [esp + 0x150]
push eax
push dword [esp + 0x80]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x80]
call fcn.0041b11b
mov edi, dword [esp + 0x68]
add esp, 0x54
push 0xffffffffffffffff
push dword [esp + 0xc4]
lea ecx, [esp + 0x110]
call fcn.00434de6
push 0x450804
push dword [esp + 0x7c]
call fcn.0043646b
pop ecx
pop ecx
test eax, eax
jne 0x41b85f
inc edi
mov dword [esp + 0x14], edi
mov al, byte [ebx]
inc ebx
cmp al, 0x20
jne 0x41b86f
cmp byte [ebx], 0
jne 0x41b33e
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
inc eax
xor edi, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], edi
cmp eax, 2
jl 0x41b327
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x68]
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 + 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x50]
lea esi, [esp + 0x9c]
push dword [esp + 0x60]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x5c]
lea eax, [esp + 0x18c]
push dword [esp + 0x64]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x50]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [esp + 0x150]
push eax
push dword [esp + 0x80]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x80]
call fcn.0041b11b
add esp, 0x54
lea ecx, [esp + 0xc0]
call fcn.00434d18
lea ecx, [esp + 0x78]
call fcn.00434d18
lea ecx, [esp + 0x150]
call fcn.00434d18
lea ecx, [esp + 0x108]
call fcn.00434d18
mov al, 1
jmp 0x41b92a
xor al, al
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004363cf
mov esp, ebp
pop ebp
ret